Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » NullPointerException
NullPointerException [message #617041] Wed, 16 April 2008 01:42
Eclipse User
Originally posted by: s.hemsley.bom.gov.au

Hi,
I'm getting a NullPointerException (see details below) while loading a
JPanel that has a JTable. Things have been fine for the last few months,
but I recently made a number of changes to this class and in doing so it
will now no longer display in ve (I'm using JBuilder 2007). I've tried the
usual technique of cleaning all projects but this doesn't help in this
case. I'm assuming that I've introduced some code that upsets the way ve
renders the class and I was wondering if there are any other souces of
addtional information/logging I can access that might tell me what part of
my code is causing ve to throw the NullPointerException. Also, if anyone
can offer any obvious do's and don'ts on writing Swing apps this might
also help me diagnose the problem. I'm happy to share the source code if
anyone is interested in digging in further. I look forward to hearing from
you.

Erro log report
java.lang.NullPointerException
at
org.eclipse.ve.internal.java.codegen.model.BeanPart.getSimpl eName(BeanPart.java:273)
at
org.eclipse.ve.internal.java.codegen.model.BeanPart.getImpli citName(BeanPart.java:282)
at
org.eclipse.ve.internal.java.codegen.model.BeanPart.getSimpl eName(BeanPart.java:276)
at
org.eclipse.ve.internal.java.codegen.model.BeanDeclModel.get UnreferencedBeanParts(BeanDeclModel.java:791)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.buildCompositionModel(JavaSourceTranslator.java:765)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.reverseParse(JavaSourceTranslator.java:874)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocument(JavaSourceTranslator.java:947)
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)
Previous Topic:Some file are not being used (uninstall them?)
Next Topic:How do I make a read-only property?
Goto Forum:
  


Current Time: Fri Jul 25 01:29:18 EDT 2014

Powered by FUDForum. Page generated in 0.15238 seconds