Home » Archived » M2M (model-to-model transformation) » [QVTO] Problems occurred when invoking code from plug-in: "org.eclipse.jface".
[QVTO] Problems occurred when invoking code from plug-in: "org.eclipse.jface". [message #91649] |
Wed, 08 October 2008 09:19 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: mahdider.students.uni-mainz.de
This is a multi-part message in MIME format.
--------------080201000809030208060206
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Hello,
I tried to run a transformation from simplified UML to simplified Java.
When opening the "Run As Configuration", I get a NullPointerException,
so I cannot setup the transformation in and outs etc.
I figured, that it happens, when I use a certain metamodel: Java.ecore
(see attached) as in or out parameter. This file seems to be valid
though and I can open it properly in the ecore viewer.
For completeness, here is my transformation stub and the full stacktrace
of the Exception appended. You can find the metamodels attached.
Kind Regards,
Mahdi
------------------------------------------------------------ -------------
modeltype SIMPLE_UML "strict" uses
"platform:/resource/Benchmarks/metamodels/SimpleUML.ecore";
modeltype JAVA "strict" uses
"platform:/resource/Benchmarks/metamodels/Java.ecore";
-- When using SIMPLE for out also, no error appears.
transformation UML2Java(in model : SIMPLE_UML, out JAVA);
main() {
model.rootObjects()[SIMPLE_UML::UmlPackage]->map package2Package();
}
mapping SIMPLE_UML::UmlPackage::package2Package() : JAVA::Package {
}
------------------------------------------------------------ -------------
null
Error
Wed Oct 08 11:07:26 CEST 2008
Problems occurred when invoking code from plug-in: "org.eclipse.jface".
java.lang.NullPointerException
at
org.eclipse.m2m.internal.qvt.oml.common.ui.launch.Transforma tionControls.getParameterName(TransformationControls.java:65 )
at
org.eclipse.m2m.internal.qvt.oml.common.ui.launch.Transforma tionControls.createUriGroup(TransformationControls.java:38)
at
org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.Transform ationSignatureLaunchControl.createContents(TransformationSig natureLaunchControl.java:174)
at
org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.Transform ationSignatureLaunchControl.setTransformation(Transformation SignatureLaunchControl.java:85)
at
org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.QvtLaunch erTab$1.modifyText(QvtLauncherTab.java:315)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:167)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2434)
at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:3923 )
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3790 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:227 4)
at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:187)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877 )
at org.eclipse.swt.widgets.Text.windowProc(Text.java:2078)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
at org.eclipse.swt.internal.win32.OS.SetWindowTextW(Native Method)
at org.eclipse.swt.internal.win32.OS.SetWindowText(OS.java:3164 )
at org.eclipse.swt.widgets.Text.setText(Text.java:1869)
at
org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.QvtLaunch erTab.initializeFrom(QvtLauncherTab.java:221)
at
org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.QvtLaunch ConfigurationTabGroup$2.run(QvtLaunchConfigurationTabGroup.j ava:56)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at
org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.QvtLaunch ConfigurationTabGroup.initializeFrom(QvtLaunchConfigurationT abGroup.java:53)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupWrapper.initializeFrom(LaunchConfiguration TabGroupWrapper.java:143)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.displayInstanceTabs(LaunchConfigura tionTabGroupViewer.java:787)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer$8.run(LaunchConfigurationTabGroupVi ewer.java:663)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.inputChanged(LaunchConfigurationTab GroupViewer.java:680)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.setInput0(LaunchConfigurationTabGro upViewer.java:642)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.setInput(LaunchConfigurationTabGrou pViewer.java:618)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog.handleLaunchConfigurationSelectionChanged( LaunchConfigurationsDialog.java:959)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog$4.selectionChanged(LaunchConfigurationsDia log.java:566)
at
org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredV iewer.java:842)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:880)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:17 5)
at
org.eclipse.jface.viewers.StructuredViewer.firePostSelection Changed(StructuredViewer.java:840)
at
org.eclipse.jface.viewers.StructuredViewer.handlePostSelect( StructuredViewer.java:1153)
at
org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected( StructuredViewer.java:1178)
at
org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(O penStrategy.java:250)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.ja va:244)
at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java: 418)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
at org.eclipse.jface.window.Window.open(Window.java:801)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog.open(LaunchConfigurationsDialog.java:1113)
at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:38 8)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at
org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(DebugUITools.java:396)
at
org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(DebugUITools.java:332)
at
org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(Open LaunchDialogAction.java:81)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:583)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:500)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
--------------080201000809030208060206
Content-Type: text/xml;
name="Java.ecore"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="Java.ecore"
<?xml version="1.0" encoding="ISO-8859-1"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore">
<ecore:EPackage name="JAVA">
<eClassifiers xsi:type="ecore:EClass" name="JavaElement" abstract="true">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" unique="false" lowerBound="1" eType="/1/String"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ClassFeature" abstract="true" eSuperTypes="/0/JavaElement">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="isFinal" ordered="false" unique="false" lowerBound="1" eType="/1/Boolean"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ClassMember" abstract="true" eSuperTypes="/0/ClassFeature">
<eStructuralFeatures xsi:type="ecore:EReference" name="owner" ordered="false" lowerBound="1" eType="/0/JavaClass" eOpposite="/0/JavaClass/members"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="type" ordered="false" lowerBound="1" eType="/0/JavaClass" eOpposite="/0/JavaClass/typedElements"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="isStatic" ordered="false" unique="false" lowerBound="1" eType="/1/Boolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="isPublic" ordered="false" unique="false" lowerBound="1" eType="/1/Boolean"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Field" eSuperTypes="/0/ClassMember"/>
<eClassifiers xsi:type="ecore:EClass" name="JavaClass" eSuperTypes="/0/ClassFeature">
<eStructuralFeatures xsi:type="ecore:EReference" name="members" ordered="false" upperBound="-1" eType="/0/ClassMember" containment="true" eOpposite="/0/ClassMember/owner"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="package" ordered="false" lowerBound="1" eType="/0/Package" eOpposite="/0/Package/classes"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="typedElements" ordered="false" upperBound="-1" eType="/0/ClassMember" eOpposite="/0/ClassMember/type"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="parameters" ordered="false" upperBound="-1" eType="/0/FeatureParameter" eOpposite="/0/FeatureParameter/type"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="isAbstract" ordered="false" unique="false" lowerBound="1" eType="/1/Boolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="isStatic" ordered="false" unique="false" lowerBound="1" eType="/1/Boolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="isPublic" ordered="false" unique="false" lowerBound="1" eType="/1/Boolean"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Method" eSuperTypes="/0/ClassMember">
<eStructuralFeatures xsi:type="ecore:EReference" name="parameters" upperBound="-1" eType="/0/FeatureParameter" containment="true" eOpposite="/0/FeatureParameter/method"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Package" eSuperTypes="/0/JavaElement">
<eStructuralFeatures xsi:type="ecore:EReference" name="classes" ordered="false" upperBound="-1" eType="/0/JavaClass" containment="true" eOpposite="/0/JavaClass/package"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="PrimitiveType" eSuperTypes="/0/JavaClass"/>
<eClassifiers xsi:type="ecore:EClass" name="FeatureParameter" eSuperTypes="/0/ClassFeature">
<eStructuralFeatures xsi:type="ecore:EReference" name="type" ordered="false" lowerBound="1" eType="/0/JavaClass" eOpposite="/0/JavaClass/parameters"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="method" ordered="false" lowerBound="1" eType="/0/Method" eOpposite="/0/Method/parameters"/>
</eClassifiers>
</ecore:EPackage>
<ecore:EPackage name="PrimitiveTypes">
<eClassifiers xsi:type="ecore:EDataType" name="String"/>
<eClassifiers xsi:type="ecore:EDataType" name="Boolean"/>
</ecore:EPackage>
</xmi:XMI>
--------------080201000809030208060206
Content-Type: text/xml;
name="SimpleUML.ecore"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="SimpleUML.ecore"
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="SimpleUML"
nsURI="urn:SimpleUML.ecore" nsPrefix="SimpleUML">
<eClassifiers xsi:type="ecore:EClass" name="UmlAssociation" eSuperTypes="#//UmlPackageElement">
<eStructuralFeatures xsi:type="ecore:EReference" name="umlDestination" lowerBound="1"
eType="#//UmlClass" eOpposite="#//UmlClass/umlForward"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="umlSource" lowerBound="1"
eType="#//UmlClass" eOpposite="#//UmlClass/umlReverse"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="UmlAttribute" eSuperTypes="#//UmlModelElement">
<eStructuralFeatures xsi:type="ecore:EReference" name="umlOwner" eType="#//UmlClass"
eOpposite="#//UmlClass/umlAttribute"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="umlType" eType="#//UmlClassifier"
eOpposite="#//UmlClassifier/umlAttribute1"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="UmlClass" eSuperTypes="#//UmlClassifier">
<eStructuralFeatures xsi:type="ecore:EReference" name="umlForward" upperBound="-1"
eType="#//UmlAssociation" eOpposite="#//UmlAssociation/umlDestination"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="umlReverse" upperBound="-1"
eType="#//UmlAssociation" eOpposite="#//UmlAssociation/umlSource"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="umlAttribute" upperBound="-1"
eType="#//UmlAttribute" containment="true" eOpposite="#//UmlAttribute/umlOwner"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="umlGeneral" upperBound="-1"
eType="#//UmlClass" eOpposite="#//UmlClass/umlSpecific"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="umlSpecific" upperBound="-1"
eType="#//UmlClass" eOpposite="#//UmlClass/umlGeneral"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="UmlClassifier" eSuperTypes="#//UmlPackageElement">
<eStructuralFeatures xsi:type="ecore:EReference" name="umlAttribute1" upperBound="-1"
eType="#//UmlAttribute" eOpposite="#//UmlAttribute/umlType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="UmlModelElement">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="umlName" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="umlKind" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
iD="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="UmlPackage" eSuperTypes="#//UmlModelElement">
<eStructuralFeatures xsi:type="ecore:EReference" name="umlOwnedElement" upperBound="-1"
eType="#//UmlPackageElement" containment="true" eOpposite="#//UmlPackageElement/umlNamespace"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="UmlPackageElement" eSuperTypes="#//UmlModelElement">
<eStructuralFeatures xsi:type="ecore:EReference" name="umlNamespace" eType="#//UmlPackage"
eOpposite="#//UmlPackage/umlOwnedElement"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="UmlPrimitiveDataType" eSuperTypes="#//UmlClassifier"/>
<eClassifiers xsi:type="ecore:EClass" name="UmlGeneralization" eSuperTypes="#//UmlAssociation"/>
<eClassifiers xsi:type="ecore:EClass" name="UmlMethod" eSuperTypes="#//UmlModelElement">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="umlVisibility" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="umlParameters" upperBound="-1"
eType="#//UmlParameter"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="UmlParameter" eSuperTypes="#//UmlClassifier"/>
</ecore:EPackage>
--------------080201000809030208060206--
|
|
|
Re: [QVTO] Problems occurred when invoking code from plug-in: "org.eclipse.jface". [message #91677 is a reply to message #91649] |
Wed, 08 October 2008 09:45 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Radomil Dvorak![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=dvorak.radek%40gmail.com) Messages: 249 Registered: July 2009 |
Senior Member |
|
|
Hi Mahdi,
Change your transf signature as bellow:
transformation UML2Java(in model : SIMPLE_UML, out JAVA);
=3D>
transformation UML2Java(in model : SIMPLE_UML, out javaOut : JAVA);
The line above has added a name for the [out] JAVA model parameter.
Anyway, you have definetly hit a bug!
Regards,
/Radek
On Wed, 08 Oct 2008 11:19:49 +0200, Mahdi D-Manesh =
<mahdider@students.uni-mainz.de> wrote:
> Hello,
>
> I tried to run a transformation from simplified UML to simplified Java=
..
> When opening the "Run As Configuration", I get a NullPointerException,=
> so I cannot setup the transformation in and outs etc.
>
> I figured, that it happens, when I use a certain metamodel: Java.ecore=
> (see attached) as in or out parameter. This file seems to be valid
> though and I can open it properly in the ecore viewer.
>
> For completeness, here is my transformation stub and the full stacktra=
ce
> of the Exception appended. You can find the metamodels attached.
>
> Kind Regards,
> Mahdi
>
> ------------------------------------------------------------ ----------=
---
>
> modeltype SIMPLE_UML "strict" uses
> "platform:/resource/Benchmarks/metamodels/SimpleUML.ecore";
>
> modeltype JAVA "strict" uses
> "platform:/resource/Benchmarks/metamodels/Java.ecore";
>
> -- When using SIMPLE for out also, no error appears.
> transformation UML2Java(in model : SIMPLE_UML, out JAVA);
>
> main() {
> model.rootObjects()[SIMPLE_UML::UmlPackage]->map package2Package();
> }
>
> mapping SIMPLE_UML::UmlPackage::package2Package() : JAVA::Package {
> =
> }
>
> ------------------------------------------------------------ ----------=
---
>
> null
> Error
> Wed Oct 08 11:07:26 CEST 2008
> Problems occurred when invoking code from plug-in: "org.eclipse.jface"=
..
>
> java.lang.NullPointerException
> at
> org.eclipse.m2m.internal.qvt.oml.common.ui.launch.Transforma tionContro=
ls.getParameterName(TransformationControls.java:65)
> at
> org.eclipse.m2m.internal.qvt.oml.common.ui.launch.Transforma tionContro=
ls.createUriGroup(TransformationControls.java:38)
> at
> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.Transform ationSigna=
tureLaunchControl.createContents(TransformationSignatureLaun chControl.ja=
va:174)
> at
> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.Transform ationSigna=
tureLaunchControl.setTransformation(TransformationSignatureL aunchControl=
..java:85)
> at
> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.QvtLaunch erTab$1.mo=
difyText(QvtLauncherTab.java:315)
> at =
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:1=
67)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
> at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2434)
> at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:3923 )
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3790 )
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
> at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
> at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:227 4)
> at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:187)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877 )
> at org.eclipse.swt.widgets.Text.windowProc(Text.java:2078)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
> at org.eclipse.swt.internal.win32.OS.SetWindowTextW(Native Method)
> at org.eclipse.swt.internal.win32.OS.SetWindowText(OS.java:3164 )
> at org.eclipse.swt.widgets.Text.setText(Text.java:1869)
> at
> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.QvtLaunch erTab.init=
ializeFrom(QvtLauncherTab.java:221)
> at
> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.QvtLaunch Configurat=
ionTabGroup$2.run(QvtLaunchConfigurationTabGroup.java:56)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:7=
0)
> at
> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.QvtLaunch Configurat=
ionTabGroup.initializeFrom(QvtLaunchConfigurationTabGroup.ja va:53)
> at
> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figuration=
TabGroupWrapper.initializeFrom(LaunchConfigurationTabGroupWr apper.java:1=
43)
> at
> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figuration=
TabGroupViewer.displayInstanceTabs(LaunchConfigurationTabGro upViewer.jav=
a:787)
> at
> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figuration=
TabGroupViewer$8.run(LaunchConfigurationTabGroupViewer.java: 663)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:7=
0)
> at
> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figuration=
TabGroupViewer.inputChanged(LaunchConfigurationTabGroupViewe r.java:680)
> at
> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figuration=
TabGroupViewer.setInput0(LaunchConfigurationTabGroupViewer.j ava:642)
> at
> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figuration=
TabGroupViewer.setInput(LaunchConfigurationTabGroupViewer.ja va:618)
> at
> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figuration=
sDialog.handleLaunchConfigurationSelectionChanged(LaunchConf igurationsDi=
alog.java:959)
> at
> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figuration=
sDialog$4.selectionChanged(LaunchConfigurationsDialog.java:5 66)
> at
> org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredV iewer.java=
:842)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.core.runtime.Platform.run(Platform.java:880)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:17 5)
> at
> org.eclipse.jface.viewers.StructuredViewer.firePostSelection Changed(St=
ructuredViewer.java:840)
> at
> org.eclipse.jface.viewers.StructuredViewer.handlePostSelect( Structured=
Viewer.java:1153)
> at
> org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected( Structured=
Viewer.java:1178)
> at
> org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(O penStrateg=
y.java:250)
> at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.ja va:244)=
> at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java: 418)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.jav=
a:133)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)=
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
> at org.eclipse.jface.window.Window.open(Window.java:801)
> at
> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figuration=
sDialog.open(LaunchConfigurationsDialog.java:1113)
> at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:38 8)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:7=
0)
> at
> org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup=
(DebugUITools.java:396)
> at
> org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup=
(DebugUITools.java:332)
> at
> org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(Open LaunchDial=
ogAction.java:81)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(=
ActionContributionItem.java:583)
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContrib=
utionItem.java:500)
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionCo=
ntributionItem.java:411)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3823=
)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3422)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)=
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.jav=
a:288)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java=
:488)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149=
)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplic=
ation.java:113)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle=
..java:193)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplic=
ation(EclipseAppLauncher.java:110)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(Ecl=
ipseAppLauncher.java:79)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.jav=
a:386)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.jav=
a:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
>
-- =
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
|
|
|
Re: [QVTO] Problems occurred when invoking code from plug-in: "org.eclipse.jface". [message #91692 is a reply to message #91677] |
Wed, 08 October 2008 09:57 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: mahdider.students.uni-mainz.de
Hi Radek,
actually I tried that before posting and it did not work.
I did try it again now, but adding a name for the out param seems not to
solve the issue.
Did you try to run it like this?
Kind Regards,
Mahdi
Radek Dvorak schrieb:
> Hi Mahdi,
>
> Change your transf signature as bellow:
>
> transformation UML2Java(in model : SIMPLE_UML, out JAVA);
> =>
> transformation UML2Java(in model : SIMPLE_UML, out javaOut : JAVA);
>
> The line above has added a name for the [out] JAVA model parameter.
> Anyway, you have definetly hit a bug!
>
> Regards,
> /Radek
>
>
> On Wed, 08 Oct 2008 11:19:49 +0200, Mahdi D-Manesh
> <mahdider@students.uni-mainz.de> wrote:
>
>> Hello,
>>
>> I tried to run a transformation from simplified UML to simplified Java.
>> When opening the "Run As Configuration", I get a NullPointerException,
>> so I cannot setup the transformation in and outs etc.
>>
>> I figured, that it happens, when I use a certain metamodel: Java.ecore
>> (see attached) as in or out parameter. This file seems to be valid
>> though and I can open it properly in the ecore viewer.
>>
>> For completeness, here is my transformation stub and the full stacktrace
>> of the Exception appended. You can find the metamodels attached.
>>
>> Kind Regards,
>> Mahdi
>>
>> ------------------------------------------------------------ -------------
>>
>> modeltype SIMPLE_UML "strict" uses
>> "platform:/resource/Benchmarks/metamodels/SimpleUML.ecore";
>>
>> modeltype JAVA "strict" uses
>> "platform:/resource/Benchmarks/metamodels/Java.ecore";
>>
>> -- When using SIMPLE for out also, no error appears.
>> transformation UML2Java(in model : SIMPLE_UML, out JAVA);
>>
>> main() {
>> model.rootObjects()[SIMPLE_UML::UmlPackage]->map package2Package();
>> }
>>
>> mapping SIMPLE_UML::UmlPackage::package2Package() : JAVA::Package {
>>
>> }
>>
>> ------------------------------------------------------------ -------------
>>
>> null
>> Error
>> Wed Oct 08 11:07:26 CEST 2008
>> Problems occurred when invoking code from plug-in: "org.eclipse.jface".
>>
>> java.lang.NullPointerException
>> at
>> org.eclipse.m2m.internal.qvt.oml.common.ui.launch.Transforma tionControls.getParameterName(TransformationControls.java:65 )
>>
>> at
>> org.eclipse.m2m.internal.qvt.oml.common.ui.launch.Transforma tionControls.createUriGroup(TransformationControls.java:38)
>>
>> at
>> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.Transform ationSignatureLaunchControl.createContents(TransformationSig natureLaunchControl.java:174)
>>
>> at
>> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.Transform ationSignatureLaunchControl.setTransformation(Transformation SignatureLaunchControl.java:85)
>>
>> at
>> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.QvtLaunch erTab$1.modifyText(QvtLauncherTab.java:315)
>>
>> at
>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:167)
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
>> at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2434)
>> at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:3923 )
>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3790 )
>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
>> at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
>> at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:227 4)
>> at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:187)
>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877 )
>> at org.eclipse.swt.widgets.Text.windowProc(Text.java:2078)
>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
>> at org.eclipse.swt.internal.win32.OS.SetWindowTextW(Native Method)
>> at org.eclipse.swt.internal.win32.OS.SetWindowText(OS.java:3164 )
>> at org.eclipse.swt.widgets.Text.setText(Text.java:1869)
>> at
>> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.QvtLaunch erTab.initializeFrom(QvtLauncherTab.java:221)
>>
>> at
>> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.QvtLaunch ConfigurationTabGroup$2.run(QvtLaunchConfigurationTabGroup.j ava:56)
>>
>> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>> at
>> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.QvtLaunch ConfigurationTabGroup.initializeFrom(QvtLaunchConfigurationT abGroup.java:53)
>>
>> at
>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupWrapper.initializeFrom(LaunchConfiguration TabGroupWrapper.java:143)
>>
>> at
>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.displayInstanceTabs(LaunchConfigura tionTabGroupViewer.java:787)
>>
>> at
>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer$8.run(LaunchConfigurationTabGroupVi ewer.java:663)
>>
>> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>> at
>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.inputChanged(LaunchConfigurationTab GroupViewer.java:680)
>>
>> at
>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.setInput0(LaunchConfigurationTabGro upViewer.java:642)
>>
>> at
>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.setInput(LaunchConfigurationTabGrou pViewer.java:618)
>>
>> at
>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog.handleLaunchConfigurationSelectionChanged( LaunchConfigurationsDialog.java:959)
>>
>> at
>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog$4.selectionChanged(LaunchConfigurationsDia log.java:566)
>>
>> at
>> org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredV iewer.java:842)
>>
>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>> at org.eclipse.core.runtime.Platform.run(Platform.java:880)
>> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
>> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:17 5)
>> at
>> org.eclipse.jface.viewers.StructuredViewer.firePostSelection Changed(StructuredViewer.java:840)
>>
>> at
>> org.eclipse.jface.viewers.StructuredViewer.handlePostSelect( StructuredViewer.java:1153)
>>
>> at
>> org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected( StructuredViewer.java:1178)
>>
>> at
>> org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(O penStrategy.java:250)
>>
>> at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.ja va:244)
>> at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java: 418)
>> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>> at
>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
>>
>> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
>> at org.eclipse.jface.window.Window.open(Window.java:801)
>> at
>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog.open(LaunchConfigurationsDialog.java:1113)
>>
>> at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:38 8)
>> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>> at
>> org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(DebugUITools.java:396)
>>
>> at
>> org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(DebugUITools.java:332)
>>
>> at
>> org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(Open LaunchDialogAction.java:81)
>>
>> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
>> at
>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:583)
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:500)
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>>
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3823)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3422)
>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
>>
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
>>
>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>> at
>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>
>> at
>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> at java.lang.reflect.Method.invoke(Unknown Source)
>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
>>
>
>
>
|
|
|
Re: [QVTO] Problems occurred when invoking code from plug-in: "org.eclipse.jface". [message #91724 is a reply to message #91692] |
Wed, 08 October 2008 10:29 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Radomil Dvorak![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=dvorak.radek%40gmail.com) Messages: 249 Registered: July 2009 |
Senior Member |
|
|
Mahdi,
I have just tried that and found the reason.
Some of your metamodels has its 'Ns URI' attribute unset /* <null> value=
=
*/.
Surely, QVT should handle that more gracefully ;).
In any case, if you initialize this one, you get rid of the problem.
/Radek
On Wed, 08 Oct 2008 11:57:29 +0200, Mahdi D-Manesh =
<mahdider@students.uni-mainz.de> wrote:
> Hi Radek,
>
> actually I tried that before posting and it did not work.
> I did try it again now, but adding a name for the out param seems not =
to =
> solve the issue.
>
> Did you try to run it like this?
>
> Kind Regards,
> Mahdi
>
>
> Radek Dvorak schrieb:
>> Hi Mahdi,
>> Change your transf signature as bellow:
>> transformation UML2Java(in model : SIMPLE_UML, out JAVA);
>> =3D>
>> transformation UML2Java(in model : SIMPLE_UML, out javaOut : JAVA);
>> The line above has added a name for the [out] JAVA model parameter.
>> Anyway, you have definetly hit a bug!
>> Regards,
>> /Radek
>> On Wed, 08 Oct 2008 11:19:49 +0200, Mahdi D-Manesh =
>> <mahdider@students.uni-mainz.de> wrote:
>>
>>> Hello,
>>>
>>> I tried to run a transformation from simplified UML to simplified Ja=
va.
>>> When opening the "Run As Configuration", I get a NullPointerExceptio=
n,
>>> so I cannot setup the transformation in and outs etc.
>>>
>>> I figured, that it happens, when I use a certain metamodel: Java.eco=
re
>>> (see attached) as in or out parameter. This file seems to be valid
>>> though and I can open it properly in the ecore viewer.
>>>
>>> For completeness, here is my transformation stub and the full =
>>> stacktrace
>>> of the Exception appended. You can find the metamodels attached.
>>>
>>> Kind Regards,
>>> Mahdi
>>>
>>> ------------------------------------------------------------ --------=
-----
>>>
>>> modeltype SIMPLE_UML "strict" uses
>>> "platform:/resource/Benchmarks/metamodels/SimpleUML.ecore";
>>>
>>> modeltype JAVA "strict" uses
>>> "platform:/resource/Benchmarks/metamodels/Java.ecore";
>>>
>>> -- When using SIMPLE for out also, no error appears.
>>> transformation UML2Java(in model : SIMPLE_UML, out JAVA);
>>>
>>> main() {
>>> model.rootObjects()[SIMPLE_UML::UmlPackage]->map package2Package=
();
>>> }
>>>
>>> mapping SIMPLE_UML::UmlPackage::package2Package() : JAVA::Package {
>>> }
>>>
>>> ------------------------------------------------------------ --------=
-----
>>>
>>> null
>>> Error
>>> Wed Oct 08 11:07:26 CEST 2008
>>> Problems occurred when invoking code from plug-in: "org.eclipse.jfac=
e".
>>>
>>> java.lang.NullPointerException
>>> at
>>> org.eclipse.m2m.internal.qvt.oml.common.ui.launch.Transforma tionCont=
rols.getParameterName(TransformationControls.java:65) =
>>> at
>>> org.eclipse.m2m.internal.qvt.oml.common.ui.launch.Transforma tionCont=
rols.createUriGroup(TransformationControls.java:38) =
>>> at
>>> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.Transform ationSig=
natureLaunchControl.createContents(TransformationSignatureLa unchControl.=
java:174) =
>>> at
>>> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.Transform ationSig=
natureLaunchControl.setTransformation(TransformationSignatur eLaunchContr=
ol.java:85) =
>>> at
>>> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.QvtLaunch erTab$1.=
modifyText(QvtLauncherTab.java:315) =
>>> at =
>>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java=
:167)
>>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
>>> at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2434)
>>> at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:3923 )
>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3790 )
>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
>>> at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
>>> at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:227 4)
>>> at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:187)
>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877 )
>>> at org.eclipse.swt.widgets.Text.windowProc(Text.java:2078)
>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
>>> at org.eclipse.swt.internal.win32.OS.SetWindowTextW(Native Method)
>>> at org.eclipse.swt.internal.win32.OS.SetWindowText(OS.java:3164 )
>>> at org.eclipse.swt.widgets.Text.setText(Text.java:1869)
>>> at
>>> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.QvtLaunch erTab.in=
itializeFrom(QvtLauncherTab.java:221) =
>>> at
>>> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.QvtLaunch Configur=
ationTabGroup$2.run(QvtLaunchConfigurationTabGroup.java:56) =
>>> at =
>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70=
)
>>> at
>>> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.QvtLaunch Configur=
ationTabGroup.initializeFrom(QvtLaunchConfigurationTabGroup. java:53) =
>>> at
>>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurati=
onTabGroupWrapper.initializeFrom(LaunchConfigurationTabGroup Wrapper.java=
:143) =
>>> at
>>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurati=
onTabGroupViewer.displayInstanceTabs(LaunchConfigurationTabG roupViewer.j=
ava:787) =
>>> at
>>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurati=
onTabGroupViewer$8.run(LaunchConfigurationTabGroupViewer.jav a:663) =
>>> at =
>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70=
)
>>> at
>>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurati=
onTabGroupViewer.inputChanged(LaunchConfigurationTabGroupVie wer.java:680=
) =
>>> at
>>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurati=
onTabGroupViewer.setInput0(LaunchConfigurationTabGroupViewer .java:642) =
>>> at
>>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurati=
onTabGroupViewer.setInput(LaunchConfigurationTabGroupViewer. java:618) =
>>> at
>>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurati=
onsDialog.handleLaunchConfigurationSelectionChanged(LaunchCo nfigurations=
Dialog.java:959) =
>>> at
>>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurati=
onsDialog$4.selectionChanged(LaunchConfigurationsDialog.java :566) =
>>> at
>>> org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredV iewer.ja=
va:842) =
>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>>> at org.eclipse.core.runtime.Platform.run(Platform.java:880)
>>> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
>>> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:17 5)
>>> at
>>> org.eclipse.jface.viewers.StructuredViewer.firePostSelection Changed(=
StructuredViewer.java:840) =
>>> at
>>> org.eclipse.jface.viewers.StructuredViewer.handlePostSelect( Structur=
edViewer.java:1153) =
>>> at
>>> org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected( Structur=
edViewer.java:1178) =
>>> at
>>> org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(O penStrat=
egy.java:250) =
>>> at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.ja va:24=
4)
>>> at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java: 418)
>>> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>>> at
>>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.j=
ava:133) =
>>> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:380=
0)
>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425=
)
>>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
>>> at org.eclipse.jface.window.Window.open(Window.java:801)
>>> at
>>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurati=
onsDialog.open(LaunchConfigurationsDialog.java:1113) =
>>> at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:38 8)
>>> at =
>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70=
)
>>> at
>>> org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGro=
up(DebugUITools.java:396) =
>>> at
>>> org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGro=
up(DebugUITools.java:332) =
>>> at
>>> org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(Open LaunchDi=
alogAction.java:81) =
>>> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
>>> at
>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selectio=
n(ActionContributionItem.java:583) =
>>> at
>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContr=
ibutionItem.java:500) =
>>> at
>>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(Action=
ContributionItem.java:411) =
>>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:38=
23)
>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3422=
)
>>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:238=
2)
>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
>>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
>>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
>>> at
>>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.j=
ava:288) =
>>> at
>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.ja=
va:488) =
>>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:1=
49)
>>> at
>>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEAppl=
ication.java:113) =
>>> at
>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHand=
le.java:193) =
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runAppl=
ication(EclipseAppLauncher.java:110) =
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(E=
clipseAppLauncher.java:79) =
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.j=
ava:386) =
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.j=
ava:179) =
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> at java.lang.reflect.Method.invoke(Unknown Source)
>>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
>>>
>>
-- =
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
|
|
|
Re: [QVTO] Problems occurred when invoking code from plug-in: "org.eclipse.jface". [message #91737 is a reply to message #91724] |
Wed, 08 October 2008 10:39 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: mahdider.students.uni-mainz.de
Hey again,
thanks for the promt answers this is really awesome. :)
I was checking the MM before but I did not check the ns URI.
Adding those fixed the issue.
Yes, I agree. Some sort of error message would have been nice in this
case! Is this something that should be reported to the bug section? If
yes, whats the standard procedure for getting involved?
Regards,
Mahdi
Radek Dvorak schrieb:
> Mahdi,
>
> I have just tried that and found the reason.
> Some of your metamodels has its 'Ns URI' attribute unset /* <null> value
> */.
>
> Surely, QVT should handle that more gracefully ;).
> In any case, if you initialize this one, you get rid of the problem.
>
> /Radek
>
>
> On Wed, 08 Oct 2008 11:57:29 +0200, Mahdi D-Manesh
> <mahdider@students.uni-mainz.de> wrote:
>
>> Hi Radek,
>>
>> actually I tried that before posting and it did not work.
>> I did try it again now, but adding a name for the out param seems not
>> to solve the issue.
>>
>> Did you try to run it like this?
>>
>> Kind Regards,
>> Mahdi
>>
>>
>> Radek Dvorak schrieb:
>>> Hi Mahdi,
>>> Change your transf signature as bellow:
>>> transformation UML2Java(in model : SIMPLE_UML, out JAVA);
>>> =>
>>> transformation UML2Java(in model : SIMPLE_UML, out javaOut : JAVA);
>>> The line above has added a name for the [out] JAVA model parameter.
>>> Anyway, you have definetly hit a bug!
>>> Regards,
>>> /Radek
>>> On Wed, 08 Oct 2008 11:19:49 +0200, Mahdi D-Manesh
>>> <mahdider@students.uni-mainz.de> wrote:
>>>
>>>> Hello,
>>>>
>>>> I tried to run a transformation from simplified UML to simplified Java.
>>>> When opening the "Run As Configuration", I get a NullPointerException,
>>>> so I cannot setup the transformation in and outs etc.
>>>>
>>>> I figured, that it happens, when I use a certain metamodel: Java.ecore
>>>> (see attached) as in or out parameter. This file seems to be valid
>>>> though and I can open it properly in the ecore viewer.
>>>>
>>>> For completeness, here is my transformation stub and the full
>>>> stacktrace
>>>> of the Exception appended. You can find the metamodels attached.
>>>>
>>>> Kind Regards,
>>>> Mahdi
>>>>
>>>> ------------------------------------------------------------ -------------
>>>>
>>>>
>>>> modeltype SIMPLE_UML "strict" uses
>>>> "platform:/resource/Benchmarks/metamodels/SimpleUML.ecore";
>>>>
>>>> modeltype JAVA "strict" uses
>>>> "platform:/resource/Benchmarks/metamodels/Java.ecore";
>>>>
>>>> -- When using SIMPLE for out also, no error appears.
>>>> transformation UML2Java(in model : SIMPLE_UML, out JAVA);
>>>>
>>>> main() {
>>>> model.rootObjects()[SIMPLE_UML::UmlPackage]->map package2Package();
>>>> }
>>>>
>>>> mapping SIMPLE_UML::UmlPackage::package2Package() : JAVA::Package {
>>>> }
>>>>
>>>> ------------------------------------------------------------ -------------
>>>>
>>>>
>>>> null
>>>> Error
>>>> Wed Oct 08 11:07:26 CEST 2008
>>>> Problems occurred when invoking code from plug-in: "org.eclipse.jface".
>>>>
>>>> java.lang.NullPointerException
>>>> at
>>>> org.eclipse.m2m.internal.qvt.oml.common.ui.launch.Transforma tionControls.getParameterName(TransformationControls.java:65 )
>>>> at
>>>> org.eclipse.m2m.internal.qvt.oml.common.ui.launch.Transforma tionControls.createUriGroup(TransformationControls.java:38)
>>>> at
>>>> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.Transform ationSignatureLaunchControl.createContents(TransformationSig natureLaunchControl.java:174)
>>>> at
>>>> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.Transform ationSignatureLaunchControl.setTransformation(Transformation SignatureLaunchControl.java:85)
>>>> at
>>>> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.QvtLaunch erTab$1.modifyText(QvtLauncherTab.java:315)
>>>> at
>>>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:167)
>>>>
>>>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
>>>> at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2434)
>>>> at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:3923 )
>>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3790 )
>>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
>>>> at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
>>>> at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:227 4)
>>>> at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:187)
>>>> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877 )
>>>> at org.eclipse.swt.widgets.Text.windowProc(Text.java:2078)
>>>> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528 )
>>>> at org.eclipse.swt.internal.win32.OS.SetWindowTextW(Native Method)
>>>> at org.eclipse.swt.internal.win32.OS.SetWindowText(OS.java:3164 )
>>>> at org.eclipse.swt.widgets.Text.setText(Text.java:1869)
>>>> at
>>>> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.QvtLaunch erTab.initializeFrom(QvtLauncherTab.java:221)
>>>> at
>>>> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.QvtLaunch ConfigurationTabGroup$2.run(QvtLaunchConfigurationTabGroup.j ava:56)
>>>> at
>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>> at
>>>> org.eclipse.m2m.internal.qvt.oml.runtime.ui.launch.QvtLaunch ConfigurationTabGroup.initializeFrom(QvtLaunchConfigurationT abGroup.java:53)
>>>> at
>>>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupWrapper.initializeFrom(LaunchConfiguration TabGroupWrapper.java:143)
>>>> at
>>>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.displayInstanceTabs(LaunchConfigura tionTabGroupViewer.java:787)
>>>> at
>>>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer$8.run(LaunchConfigurationTabGroupVi ewer.java:663)
>>>> at
>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>> at
>>>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.inputChanged(LaunchConfigurationTab GroupViewer.java:680)
>>>> at
>>>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.setInput0(LaunchConfigurationTabGro upViewer.java:642)
>>>> at
>>>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.setInput(LaunchConfigurationTabGrou pViewer.java:618)
>>>> at
>>>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog.handleLaunchConfigurationSelectionChanged( LaunchConfigurationsDialog.java:959)
>>>> at
>>>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog$4.selectionChanged(LaunchConfigurationsDia log.java:566)
>>>> at
>>>> org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredV iewer.java:842)
>>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>>>> at org.eclipse.core.runtime.Platform.run(Platform.java:880)
>>>> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
>>>> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:17 5)
>>>> at
>>>> org.eclipse.jface.viewers.StructuredViewer.firePostSelection Changed(StructuredViewer.java:840)
>>>> at
>>>> org.eclipse.jface.viewers.StructuredViewer.handlePostSelect( StructuredViewer.java:1153)
>>>> at
>>>> org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected( StructuredViewer.java:1178)
>>>> at
>>>> org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(O penStrategy.java:250)
>>>> at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.ja va:244)
>>>> at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java: 418)
>>>> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>>>> at
>>>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
>>>> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
>>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
>>>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
>>>> at org.eclipse.jface.window.Window.open(Window.java:801)
>>>> at
>>>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog.open(LaunchConfigurationsDialog.java:1113)
>>>> at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:38 8)
>>>> at
>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>> at
>>>> org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(DebugUITools.java:396)
>>>> at
>>>> org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(DebugUITools.java:332)
>>>> at
>>>> org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(Open LaunchDialogAction.java:81)
>>>> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
>>>> at
>>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:583)
>>>> at
>>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:500)
>>>> at
>>>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>>>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>>>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3823)
>>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3422)
>>>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
>>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
>>>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
>>>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
>>>> at
>>>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
>>>> at
>>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
>>>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>>> at
>>>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>>> at
>>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>>>> at
>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>>> at
>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>> at java.lang.reflect.Method.invoke(Unknown Source)
>>>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
>>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
>>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
>>>>
>>>
>
>
>
|
|
|
Goto Forum:
Current Time: Sun Sep 01 07:45:46 GMT 2024
Powered by FUDForum. Page generated in 0.04228 seconds
|