VE Parse Error [message #141621] |
Tue, 09 October 2007 21:59 |
Eclipse User |
|
|
|
Originally posted by: johnny.issa.l-3com.com
I am currently run eclipse 3.2 with VE 1.2. I am trying to open a file
using the Visual Editor but I keep getting a parse error. Is there a way
to figure out why I am getting the parse error. This file used to open in
VE but it was modified by another team member and I am trying to figure
what is causing the problem.
I am including the error I get and I can't tell where the problem is.
Regards,
jissa
eclipse.
buildId=M20060921-0945
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
This is a continuation of log file C:\workspace\.metadata\.bak_0.log
Created Time: 2007-10-08 15:47:48.363
Error
Tue Oct 09 14:56:48 PDT 2007
Exception thrown.
java.lang.NullPointerException
at
org.eclipse.jem.internal.instantiation.base.JavaInstantiatio n.getSFeature(JavaInstantiation.java:39)
at
org.eclipse.ve.internal.java.codegen.java.EventDecoderHelper .getEventSF(EventDecoderHelper.java:214)
at
org.eclipse.ve.internal.java.codegen.java.EventDecoderHelper .getInvocationIndex(EventDecoderHelper.java:693)
at
org.eclipse.ve.internal.java.codegen.java.AllocationStyleHel per.processEvent(AllocationStyleHelper.java:45)
at
org.eclipse.ve.internal.java.codegen.java.EventDecoderHelper .decode(EventDecoderHelper.java:489)
at
org.eclipse.ve.internal.java.codegen.java.AbstractEventDecod er.decode(AbstractEventDecoder.java:95)
at
org.eclipse.ve.internal.java.codegen.model.CodeEventRef.deco deExpression(CodeEventRef.java:146)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeExpression(JavaSourceTranslator.java:608)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.buildCompositionModel(JavaSourceTranslator.java:734)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.reverseParse(JavaSourceTranslator.java:866)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocument(JavaSourceTranslator.java:939)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(JavaSourceTranslator.java:597)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1978)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
|
|
|
Re: VE Parse Error [message #141630 is a reply to message #141621] |
Tue, 09 October 2007 22:23 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Hi,
Try clearing the cache first:
1) Open a VE, even though you get an error. Close it and all other VE's.
2) Do Project->Clean all... wait for build to finish
3) Open your VE.
The error shown is usually a stale cache problem.
> Error
> Tue Oct 09 14:56:48 PDT 2007
> Exception thrown.
>
> java.lang.NullPointerException
> at
> org.eclipse.jem.internal.instantiation.base.JavaInstantiatio n.getSFeature(JavaInstantiation.java:39)
>
> at
> org.eclipse.ve.internal.java.codegen.java.EventDecoderHelper .getEventSF(EventDecoderHelper.java:214)
--
Thanks,
Rich Kulp
|
|
|
|
Re: VE Parse Error [message #616756 is a reply to message #141621] |
Tue, 09 October 2007 22:23 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Hi,
Try clearing the cache first:
1) Open a VE, even though you get an error. Close it and all other VE's.
2) Do Project->Clean all... wait for build to finish
3) Open your VE.
The error shown is usually a stale cache problem.
> Error
> Tue Oct 09 14:56:48 PDT 2007
> Exception thrown.
>
> java.lang.NullPointerException
> at
> org.eclipse.jem.internal.instantiation.base.JavaInstantiatio n.getSFeature(JavaInstantiation.java:39)
>
> at
> org.eclipse.ve.internal.java.codegen.java.EventDecoderHelper .getEventSF(EventDecoderHelper.java:214)
--
Thanks,
Rich Kulp
|
|
|
|
Powered by
FUDForum. Page generated in 0.03937 seconds