VE: Error when opening a new created Visual Class [message #57803] |
Fri, 27 August 2004 04:54 |
Eclipse User |
|
|
|
Originally posted by: m.stavang.ancosys.com
Hello,
i have recently installed Eclipse 3.0, with GEF 3.0, VE 1.0 and EMF 2.0. I
wanted to create a Visual Class, by clicking using the Wizard. I selected
file->new->other and then in the wizard java->Visual Class. After naming
the class and pressing finish, Eclipse tries to load the class and creates
the following error:
Error trying to set new file in editor
Reason:
java.lang.NullPointerException
The error log looks like this:
5. Exception thrown.
4. Exception thrown.
3. +++ Warning +++: Fri Aug 27 10:49:17 CEST 2004 Skipping expression:
org.eclipse.ve.internal.java.codegen.model.CodeExpressionRef @11d6a9d: jContentPane.setLayout(new
java.awt.BorderLayout());
{ States: SRCLOCFIXED#} Offset: 215
2. Exception thrown.
1. +++ Warning +++: Fri Aug 27 10:49:17 CEST 2004 Skipping expression:
org.eclipse.ve.internal.java.codegen.model.CodeExpressionRef @4ebdf0: jContentPane
= new javax.swing.JPanel();
{ States: INSYNC#INIT#SRCLOCFIXED#} Offset: 170
Exception Stack Trace:
2. Exception thrown:
java.lang.NullPointerException
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicSet(Basi cEObjectImpl.java:513)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjec tImpl.java:508)
at
org.eclipse.jem.internal.instantiation.base.JavaObjectInstan ce.setAllocation(JavaObjectInstance.java:48)
at
org.eclipse.ve.internal.java.core.BeanProxyUtilities.wrapper BeanProxy(BeanProxyUtilities.java:111)
at
org.eclipse.ve.internal.java.core.BeanProxyUtilities.wrapper BeanProxy(BeanProxyUtilities.java:93)
at
org.eclipse.ve.internal.jfc.core.ComponentProxyAdapter.apply AllSettings(ComponentProxyAdapter.java:625)
at
org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teBeanProxy(BeanProxyAdapter.java:754)
at
org.eclipse.ve.internal.java.core.CompositionProxyAdapter.in itSetting(CompositionProxyAdapter.java:143)
at
org.eclipse.ve.internal.java.core.CompositionProxyAdapter.in itBeanProxy(CompositionProxyAdapter.java:115)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1443)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
Any clue whats wrong?
|
|
|
Powered by
FUDForum. Page generated in 0.03346 seconds