Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Nullptr Exception Everytime
Nullptr Exception Everytime [message #66925] Wed, 13 October 2004 09:30 Go to next message
Eclipse UserFriend
Originally posted by: ben.nguyen.lab.ntt.co.jp

Hello,

I've been getting a null pointer exception everytime i try to create a
visual class. The error says the following:

"Error trying to set new file into editor.

Reason:
java.lang.NullPointerException"

My Eclipse is configured as follows:

Eclipse Platform 3.0.1
VE 1.0.1
JDT 3.0.1
PDE 3.0.1
EMF Model 1.0.1

in my error log file, it says:

"
!ENTRY org.eclipse.ve.java.core 4 0 Oct 13, 2004 18:26:41.138
!MESSAGE Exception thrown.
!STACK 0
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:628)
at
org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teBeanProxy(BeanProxyAdapter.java:757)
at
org.eclipse.ve.internal.java.core.CompositionProxyAdapter.in itSetting(CompositionProxyAdapter.java:158)
at
org.eclipse.ve.internal.java.core.CompositionProxyAdapter.in itBeanProxy(CompositionProxyAdapter.java:119)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1488)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)"

Please help, thank you!
Re: Nullptr Exception Everytime [message #66934 is a reply to message #66925] Wed, 13 October 2004 12:35 Go to previous message
Eclipse UserFriend
Originally posted by: ben.nguyen.lab.ntt.co.jp

To answer my own problem, I launched eclipse with the -clean parameter and
it works now. It must of had to do with the order I installed plugins.

ben nguyen wrote:

> Hello,

> I've been getting a null pointer exception everytime i try to create a
> visual class. The error says the following:

> "Error trying to set new file into editor.

> Reason:
> java.lang.NullPointerException"

> My Eclipse is configured as follows:

> Eclipse Platform 3.0.1
> VE 1.0.1
> JDT 3.0.1
> PDE 3.0.1
> EMF Model 1.0.1

> in my error log file, it says:

> "
> !ENTRY org.eclipse.ve.java.core 4 0 Oct 13, 2004 18:26:41.138
> !MESSAGE Exception thrown.
> !STACK 0
> 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:628)
> at
>
org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teBeanProxy(BeanProxyAdapter.java:757)
> at
>
org.eclipse.ve.internal.java.core.CompositionProxyAdapter.in itSetting(CompositionProxyAdapter.java:158)
> at
>
org.eclipse.ve.internal.java.core.CompositionProxyAdapter.in itBeanProxy(CompositionProxyAdapter.java:119)
> at
>
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1488)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)"

> Please help, thank you!
Re: Nullptr Exception Everytime [message #601475 is a reply to message #66925] Wed, 13 October 2004 12:35 Go to previous message
Eclipse UserFriend
Originally posted by: ben.nguyen.lab.ntt.co.jp

To answer my own problem, I launched eclipse with the -clean parameter and
it works now. It must of had to do with the order I installed plugins.

ben nguyen wrote:

> Hello,

> I've been getting a null pointer exception everytime i try to create a
> visual class. The error says the following:

> "Error trying to set new file into editor.

> Reason:
> java.lang.NullPointerException"

> My Eclipse is configured as follows:

> Eclipse Platform 3.0.1
> VE 1.0.1
> JDT 3.0.1
> PDE 3.0.1
> EMF Model 1.0.1

> in my error log file, it says:

> "
> !ENTRY org.eclipse.ve.java.core 4 0 Oct 13, 2004 18:26:41.138
> !MESSAGE Exception thrown.
> !STACK 0
> 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:628)
> at
>
org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teBeanProxy(BeanProxyAdapter.java:757)
> at
>
org.eclipse.ve.internal.java.core.CompositionProxyAdapter.in itSetting(CompositionProxyAdapter.java:158)
> at
>
org.eclipse.ve.internal.java.core.CompositionProxyAdapter.in itBeanProxy(CompositionProxyAdapter.java:119)
> at
>
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1488)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)"

> Please help, thank you!
Previous Topic:Nullptr Exception Everytime
Next Topic:Adding to the Palette
Goto Forum:
  


Current Time: Fri Jul 19 10:30:38 GMT 2024

Powered by FUDForum. Page generated in 0.03697 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top