"Error trying to set new file into editor" problem [message #104253] |
Tue, 30 August 2005 03:45  |
Eclipse User |
|
|
|
Hi all,
When I try to open a java class with VE or try to create a new visual
class I get the following error message:
Error trying to set new file into editor.
Reason: java.lang.NullPointerException
Has anyone face something similar?
I use Eclipse SDK 3.1 with the following features:
- JDT 3.1
- EMF 2.1
- GEF 3.1
- JST 0.7
- WST 0.7
- UML2 1.1
- JEM 1.1
- XSD 2.1
- VE 1.1
--
jfeid
|
|
|
|
|
|
|
|
|
Re: "Error trying to set new file into editor" problem [message #105038 is a reply to message #105032] |
Fri, 02 September 2005 09:02   |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Thanks, can you please open a defect so that we can track this down with
WST and see what the conflict is?
Also, add in the defect what steps you used to reproduce the problem.
When creating the web project, what options did you choose. when
creating the VE class what options did you choose.
jfeid wrote:
> Rich Kulp wrote:
>
>> I have no idea. That shouldn't be occuring. Can you try it with a new
>> configuration of just Eclipse, GEF, EMF, and VE, and on a new
>> workspace.? That way we can narrow it down to see if it is VE or
>> something colliding with it.
>>
>
> Well, it seems to be a collide with the WST feature. I'm working a
> Dynamic Web Project under WST in which a package is a standalone Swing
> application developed with VE. The "Error trying to set new file into
> editor" error message displays only when I try to access java files with
> VE which exists under the Web Project. If I create another standard Java
> Project (in the same workspace) VE works ok. Moreover, the problem is
> reproducible. If I create a new workspace and CVS checkout the Web
> Project or create a new one, behaves similarly.
>
> --
> jfeid
--
Thanks,
Rich Kulp
|
|
|
Re: "Error trying to set new file into editor" problem [message #105042 is a reply to message #105038] |
Fri, 02 September 2005 09:58  |
Eclipse User |
|
|
|
Rich Kulp wrote:
> Thanks, can you please open a defect so that we can track this down with
> WST and see what the conflict is?
>
> Also, add in the defect what steps you used to reproduce the problem.
> When creating the web project, what options did you choose. when
> creating the VE class what options did you choose.
>
> jfeid wrote:
>
>> Rich Kulp wrote:
>>
>>> I have no idea. That shouldn't be occuring. Can you try it with a new
>>> configuration of just Eclipse, GEF, EMF, and VE, and on a new
>>> workspace.? That way we can narrow it down to see if it is VE or
>>> something colliding with it.
>>>
>>
>> Well, it seems to be a collide with the WST feature. I'm working a
>> Dynamic Web Project under WST in which a package is a standalone Swing
>> application developed with VE. The "Error trying to set new file into
>> editor" error message displays only when I try to access java files
>> with VE which exists under the Web Project. If I create another
>> standard Java Project (in the same workspace) VE works ok. Moreover,
>> the problem is reproducible. If I create a new workspace and CVS
>> checkout the Web Project or create a new one, behaves similarly.
>>
>> --
>> jfeid
>
>
Ok, bug submitted.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=108671
|
|
|
|
Re: "Error trying to set new file into editor" problem [message #610455 is a reply to message #104329] |
Wed, 31 August 2005 05:25  |
Eclipse User |
|
|
|
Rich Kulp wrote:
> Could you please attach the .log file? That will give where the error
> occurred.
Ok, here is the log:
!ENTRY org.eclipse.ve.java.core 4 0 2005-08-31 12:23:09.187
!MESSAGE Exception thrown.
!STACK 0
java.lang.NullPointerException
at org.eclipse.emf.ecore.impl.EClassImpl.getFeatureID(EClassImp l.java:661)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicFeatureI D(BasicEObjectImpl.java:215)
at
org.eclipse.jem.internal.instantiation.base.JavaObjectInstan ce.eDynamicFeatureID(JavaObjectInstance.java:282)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicGet(Basi cEObjectImpl.java:493)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjec tImpl.java:488)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjec tImpl.java:483)
at
org.eclipse.ve.internal.jfc.core.JLayeredPaneProxyAdapter.ge tCurrentOrder(JLayeredPaneProxyAdapter.java:86)
at
org.eclipse.ve.internal.jfc.core.JLayeredPaneGraphicalEditPa rt.getModelChildren(JLayeredPaneGraphicalEditPart.java:58)
at
org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(A bstractEditPart.java:716)
at
org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractE ditPart.java:684)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh( AbstractGraphicalEditPart.java:554)
at
org.eclipse.gef.editparts.AbstractEditPart.addNotify(Abstrac tEditPart.java:232)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotif y(AbstractGraphicalEditPart.java:212)
at
org.eclipse.gef.editparts.AbstractEditPart.addChild(Abstract EditPart.java:195)
at
org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(A bstractEditPart.java:734)
at
org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractE ditPart.java:684)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh( AbstractGraphicalEditPart.java:554)
at
org.eclipse.gef.editparts.AbstractEditPart.addNotify(Abstrac tEditPart.java:232)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotif y(AbstractGraphicalEditPart.java:212)
at
org.eclipse.gef.editparts.AbstractEditPart.addChild(Abstract EditPart.java:195)
at
org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(A bstractEditPart.java:734)
at
org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractE ditPart.java:684)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh( AbstractGraphicalEditPart.java:554)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart.setRootModel(JavaVisualEditorPart.java:506)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart.initializeViewers(JavaVisualEditorPart.java:987)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$12.run(JavaVisualEditorPart.java:1977)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3057)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2716)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
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.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
!ENTRY org.eclipse.ui 4 4 2005-08-31 12:23:09.234
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 2005-08-31 12:23:09.234
!MESSAGE Failed to execute runnable (java.lang.NullPointerException)
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:2942)
at org.eclipse.swt.SWT.error(SWT.java:2865)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:126)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3057)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2716)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
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.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Caused by: java.lang.NullPointerException
at org.eclipse.emf.ecore.impl.EClassImpl.getFeatureID(EClassImp l.java:661)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicFeatureI D(BasicEObjectImpl.java:215)
at
org.eclipse.jem.internal.instantiation.base.JavaObjectInstan ce.eDynamicFeatureID(JavaObjectInstance.java:282)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicGet(Basi cEObjectImpl.java:493)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjec tImpl.java:488)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjec tImpl.java:483)
at
org.eclipse.ve.internal.jfc.core.JLayeredPaneProxyAdapter.ge tCurrentOrder(JLayeredPaneProxyAdapter.java:86)
at
org.eclipse.ve.internal.jfc.core.JLayeredPaneGraphicalEditPa rt.getModelChildren(JLayeredPaneGraphicalEditPart.java:58)
at
org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(A bstractEditPart.java:716)
at
org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractE ditPart.java:684)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh( AbstractGraphicalEditPart.java:554)
at
org.eclipse.gef.editparts.AbstractEditPart.addNotify(Abstrac tEditPart.java:232)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotif y(AbstractGraphicalEditPart.java:212)
at
org.eclipse.gef.editparts.AbstractEditPart.addChild(Abstract EditPart.java:195)
at
org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(A bstractEditPart.java:734)
at
org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractE ditPart.java:684)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh( AbstractGraphicalEditPart.java:554)
at
org.eclipse.gef.editparts.AbstractEditPart.addNotify(Abstrac tEditPart.java:232)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotif y(AbstractGraphicalEditPart.java:212)
at
org.eclipse.gef.editparts.AbstractEditPart.addChild(Abstract EditPart.java:195)
at
org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(A bstractEditPart.java:734)
at
org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractE ditPart.java:684)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh( AbstractGraphicalEditPart.java:554)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart.setRootModel(JavaVisualEditorPart.java:506)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart.initializeViewers(JavaVisualEditorPart.java:987)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$12.run(JavaVisualEditorPart.java:1977)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
... 18 more
|
|
|
Re: "Error trying to set new file into editor" problem [message #610457 is a reply to message #104507] |
Wed, 31 August 2005 10:03  |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
That shouldn't be happening. We've fixed a lot of bugs with 1.1.0.1. We
have a release candidate of it available. It is Maintenance build
M20050830.
Try:
1) installing that
2) start with -clean
3) Bring up a VE. If it still fails, then
4) Close the editor
5) Run Project->Clean...->Clean All
6) Wait for the build to finish
7) Try the VE again.
--
Thanks,
Rich Kulp
|
|
|
Re: "Error trying to set new file into editor" problem [message #610471 is a reply to message #104538] |
Thu, 01 September 2005 05:46  |
Eclipse User |
|
|
|
Rich Kulp wrote:
> That shouldn't be happening. We've fixed a lot of bugs with 1.1.0.1. We
> have a release candidate of it available. It is Maintenance build
> M20050830.
>
> Try:
>
> 1) installing that
> 2) start with -clean
> 3) Bring up a VE. If it still fails, then
> 4) Close the editor
> 5) Run Project->Clean...->Clean All
> 6) Wait for the build to finish
> 7) Try the VE again.
>
Thanx for the response.
1) I've downloaded VE-runtime-M20050830.zip and extracted in eclipse's dir.
2) Launch eclipse with -clean.
3) VE fails again with the same error.
4) Closed the editor->Clean All projects->Wait for build to finish
5) VE fails again with same error.
Here is the new log:
!ENTRY org.eclipse.ve.java.core 4 0 2005-09-01 12:39:10.390
!MESSAGE Exception thrown.
!STACK 0
java.lang.NullPointerException
at
org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.getSetting Delegate(EStructuralFeatureImpl.java:790)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSettingDelegate (BasicEObjectImpl.java:822)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicIsSet(Ba sicEObjectImpl.java:609)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eIsSet(BasicEObj ectImpl.java:600)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLS aveImpl.java:951)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XML SaveImpl.java:2272)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSa veImpl.java:889)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveContainedMany (XMLSaveImpl.java:2001)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLS aveImpl.java:1221)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XML SaveImpl.java:2272)
at
org.eclipse.emf.ecore.xmi.impl.XMISaveImpl.writeTopObjects(X MISaveImpl.java:78)
at
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.traverse(XMLSaveI mpl.java:478)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.save(XMLSaveImpl. java:206)
at
org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doSave(XMLRes ourceImpl.java:193)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(Resour ceImpl.java:893)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(Resour ceImpl.java:813)
at
org.eclipse.ve.internal.java.codegen.util.VEModelCacheUtilit y.doSaveCache(VEModelCacheUtility.java:158)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.doSave(JavaSourceTranslator.java:1357)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or$2.doRun(JavaSourceTranslator.java:922)
at
org.eclipse.ve.internal.java.codegen.util.ReverseParserJob.r un(ReverseParserJob.java:56)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
!ENTRY org.eclipse.ve.java.core 4 0 2005-09-01 12:39:10.859
!MESSAGE Exception thrown.
!STACK 0
java.lang.NullPointerException
at org.eclipse.emf.ecore.impl.EClassImpl.getFeatureID(EClassImp l.java:661)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicFeatureI D(BasicEObjectImpl.java:215)
at
org.eclipse.jem.internal.instantiation.base.JavaInstance.eDy namicFeatureID(JavaInstance.java:281)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicGet(Basi cEObjectImpl.java:493)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjec tImpl.java:488)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjec tImpl.java:483)
at
org.eclipse.ve.internal.jfc.core.JLayeredPaneProxyAdapter.ge tCurrentOrder(JLayeredPaneProxyAdapter.java:86)
at
org.eclipse.ve.internal.jfc.core.JLayeredPaneGraphicalEditPa rt.getModelChildren(JLayeredPaneGraphicalEditPart.java:58)
at
org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(A bstractEditPart.java:716)
at
org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractE ditPart.java:684)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh( AbstractGraphicalEditPart.java:554)
at
org.eclipse.gef.editparts.AbstractEditPart.addNotify(Abstrac tEditPart.java:232)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotif y(AbstractGraphicalEditPart.java:212)
at
org.eclipse.gef.editparts.AbstractEditPart.addChild(Abstract EditPart.java:195)
at
org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(A bstractEditPart.java:734)
at
org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractE ditPart.java:684)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh( AbstractGraphicalEditPart.java:554)
at
org.eclipse.gef.editparts.AbstractEditPart.addNotify(Abstrac tEditPart.java:232)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotif y(AbstractGraphicalEditPart.java:212)
at
org.eclipse.gef.editparts.AbstractEditPart.addChild(Abstract EditPart.java:195)
at
org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(A bstractEditPart.java:734)
at
org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractE ditPart.java:684)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh( AbstractGraphicalEditPart.java:554)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart.setRootModel(JavaVisualEditorPart.java:505)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart.initializeViewers(JavaVisualEditorPart.java:986)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$13.run(JavaVisualEditorPart.java:2001)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3057)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2716)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
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.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
!ENTRY org.eclipse.ui 4 4 2005-09-01 12:39:10.906
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 2005-09-01 12:39:10.906
!MESSAGE Failed to execute runnable (java.lang.NullPointerException)
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:2942)
at org.eclipse.swt.SWT.error(SWT.java:2865)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:126)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3057)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2716)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
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.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Caused by: java.lang.NullPointerException
at org.eclipse.emf.ecore.impl.EClassImpl.getFeatureID(EClassImp l.java:661)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicFeatureI D(BasicEObjectImpl.java:215)
at
org.eclipse.jem.internal.instantiation.base.JavaInstance.eDy namicFeatureID(JavaInstance.java:281)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicGet(Basi cEObjectImpl.java:493)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjec tImpl.java:488)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjec tImpl.java:483)
at
org.eclipse.ve.internal.jfc.core.JLayeredPaneProxyAdapter.ge tCurrentOrder(JLayeredPaneProxyAdapter.java:86)
at
org.eclipse.ve.internal.jfc.core.JLayeredPaneGraphicalEditPa rt.getModelChildren(JLayeredPaneGraphicalEditPart.java:58)
at
org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(A bstractEditPart.java:716)
at
org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractE ditPart.java:684)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh( AbstractGraphicalEditPart.java:554)
at
org.eclipse.gef.editparts.AbstractEditPart.addNotify(Abstrac tEditPart.java:232)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotif y(AbstractGraphicalEditPart.java:212)
at
org.eclipse.gef.editparts.AbstractEditPart.addChild(Abstract EditPart.java:195)
at
org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(A bstractEditPart.java:734)
at
org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractE ditPart.java:684)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh( AbstractGraphicalEditPart.java:554)
at
org.eclipse.gef.editparts.AbstractEditPart.addNotify(Abstrac tEditPart.java:232)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotif y(AbstractGraphicalEditPart.java:212)
at
org.eclipse.gef.editparts.AbstractEditPart.addChild(Abstract EditPart.java:195)
at
org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(A bstractEditPart.java:734)
at
org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractE ditPart.java:684)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh( AbstractGraphicalEditPart.java:554)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart.setRootModel(JavaVisualEditorPart.java:505)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart.initializeViewers(JavaVisualEditorPart.java:986)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$13.run(JavaVisualEditorPart.java:2001)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
... 18 more
|
|
|
Re: "Error trying to set new file into editor" problem [message #610476 is a reply to message #104622] |
Thu, 01 September 2005 10:08  |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
I have no idea. That shouldn't be occuring. Can you try it with a new
configuration of just Eclipse, GEF, EMF, and VE, and on a new
workspace.? That way we can narrow it down to see if it is VE or
something colliding with it.
--
Thanks,
Rich Kulp
|
|
|
Re: "Error trying to set new file into editor" problem [message #610617 is a reply to message #104654] |
Fri, 02 September 2005 07:39  |
Eclipse User |
|
|
|
Rich Kulp wrote:
> I have no idea. That shouldn't be occuring. Can you try it with a new
> configuration of just Eclipse, GEF, EMF, and VE, and on a new
> workspace.? That way we can narrow it down to see if it is VE or
> something colliding with it.
>
Well, it seems to be a collide with the WST feature. I'm working a
Dynamic Web Project under WST in which a package is a standalone Swing
application developed with VE. The "Error trying to set new file into
editor" error message displays only when I try to access java files with
VE which exists under the Web Project. If I create another standard Java
Project (in the same workspace) VE works ok. Moreover, the problem is
reproducible. If I create a new workspace and CVS checkout the Web
Project or create a new one, behaves similarly.
--
jfeid
|
|
|
Re: "Error trying to set new file into editor" problem [message #610621 is a reply to message #105032] |
Fri, 02 September 2005 09:02  |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Thanks, can you please open a defect so that we can track this down with
WST and see what the conflict is?
Also, add in the defect what steps you used to reproduce the problem.
When creating the web project, what options did you choose. when
creating the VE class what options did you choose.
jfeid wrote:
> Rich Kulp wrote:
>
>> I have no idea. That shouldn't be occuring. Can you try it with a new
>> configuration of just Eclipse, GEF, EMF, and VE, and on a new
>> workspace.? That way we can narrow it down to see if it is VE or
>> something colliding with it.
>>
>
> Well, it seems to be a collide with the WST feature. I'm working a
> Dynamic Web Project under WST in which a package is a standalone Swing
> application developed with VE. The "Error trying to set new file into
> editor" error message displays only when I try to access java files with
> VE which exists under the Web Project. If I create another standard Java
> Project (in the same workspace) VE works ok. Moreover, the problem is
> reproducible. If I create a new workspace and CVS checkout the Web
> Project or create a new one, behaves similarly.
>
> --
> jfeid
--
Thanks,
Rich Kulp
|
|
|
Re: "Error trying to set new file into editor" problem [message #610624 is a reply to message #105038] |
Fri, 02 September 2005 09:58  |
Eclipse User |
|
|
|
Rich Kulp wrote:
> Thanks, can you please open a defect so that we can track this down with
> WST and see what the conflict is?
>
> Also, add in the defect what steps you used to reproduce the problem.
> When creating the web project, what options did you choose. when
> creating the VE class what options did you choose.
>
> jfeid wrote:
>
>> Rich Kulp wrote:
>>
>>> I have no idea. That shouldn't be occuring. Can you try it with a new
>>> configuration of just Eclipse, GEF, EMF, and VE, and on a new
>>> workspace.? That way we can narrow it down to see if it is VE or
>>> something colliding with it.
>>>
>>
>> Well, it seems to be a collide with the WST feature. I'm working a
>> Dynamic Web Project under WST in which a package is a standalone Swing
>> application developed with VE. The "Error trying to set new file into
>> editor" error message displays only when I try to access java files
>> with VE which exists under the Web Project. If I create another
>> standard Java Project (in the same workspace) VE works ok. Moreover,
>> the problem is reproducible. If I create a new workspace and CVS
>> checkout the Web Project or create a new one, behaves similarly.
>>
>> --
>> jfeid
>
>
Ok, bug submitted.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=108671
|
|
|
Powered by
FUDForum. Page generated in 0.07884 seconds