Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » VE Silent Failure
VE Silent Failure [message #67070] Thu, 14 October 2004 17:14 Go to next message
Eclipse UserFriend
Originally posted by: cdouglas.nospam.oz.net

I've passed some critical juncture in complexity, I think, and broken VE.

I have a fairly busy UI -- a tabbed panel with about 9 tabs and a total
of 50 or 60 fields.

10 or so of these fields are JTables inside JScrollPanes.

It was working reasonably well for me until I decided to "genericize" my
tables (using 1.5 generics) using Eclipse 3.1M2.

Of course, I was fixing bugs at the same time -- nothing is ever
constant.

At any rate, VE now silently fails to display anything in the design
panel or the java-beans view when editing my main dialog.

PDE log shows:

Error Oct 14, 2004 10:12:33.46 Exception thrown.
java.lang.NullPointerException
at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdap ter.reflectPr
operties(BeaninfoClassAdapter.java:991)
at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdap ter.introspec
tProperties(BeaninfoClassAdapter.java:684)
at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdap ter.getEStruc
turalFeatures(BeaninfoClassAdapter.java:588)
at org.eclipse.jem.java.impl.JavaClassImpl.getEStructuralFeatur es
(JavaClassImpl.java:346)
at org.eclipse.jem.java.impl.JavaClassImpl.getProperties
(JavaClassImpl.java:1243)
at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdap ter.allProper
ties(BeaninfoClassAdapter.java:751)
at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdap ter.getAllPro
perties(BeaninfoClassAdapter.java:596)
at org.eclipse.jem.java.impl.JavaClassImpl.getAllProperties
(JavaClassImpl.java:1284)
at
org.eclipse.ve.internal.java.codegen.java.ExpressionDecoderF actory.reSetC
acheIfNeeded(ExpressionDecoderFactory.java:134)
at
org.eclipse.ve.internal.java.codegen.java.ExpressionDecoderF actory.getExp
Decoder(ExpressionDecoderFactory.java:92)
at org.eclipse.ve.internal.java.codegen.model.BeanPart.setEObje ct
(BeanPart.java:479)
at org.eclipse.ve.internal.java.codegen.model.BeanPart.createEO bject
(BeanPart.java:846)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.createJava
Instances(JavaSourceTranslator.java:693)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.buildCompo
sitionModel(JavaSourceTranslator.java:774)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocu
ment(JavaSourceTranslator.java:881)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel
(JavaSourceTranslator.java:656)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart
$Setup.run(JavaVisualEditorPart.java:1444)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

Is there some possibility of tracking this down? Or should I back off
using generics?

Chas Douglass
Re: VE Silent Failure [message #67091 is a reply to message #67070] Thu, 14 October 2004 17:50 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

We don't support any of the new 1.5 syntax features yet. If it broke
when you stepped up to using some new 1.5 syntax I wouldn't be
surprised. :-)

Generics will cause new class types, which messes up our introspection
because we aren't looking for those new types.


--
Thanks,
Rich Kulp
Re: VE Silent Failure [message #601612 is a reply to message #67070] Thu, 14 October 2004 17:50 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

We don't support any of the new 1.5 syntax features yet. If it broke
when you stepped up to using some new 1.5 syntax I wouldn't be
surprised. :-)

Generics will cause new class types, which messes up our introspection
because we aren't looking for those new types.


--
Thanks,
Rich Kulp
Previous Topic:VE Silent Failure
Next Topic:Error loading file "platform:/plugin/com.abc.ve/overrides/com/abc/MyButton.overr
Goto Forum:
  


Current Time: Sat Aug 10 07:04:44 GMT 2024

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

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

Back to the top