Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Problems running VE
Problems running VE [message #139634] Mon, 06 August 2007 14:25 Go to next message
Rob is currently offline Rob
Messages: 10
Registered: July 2009
Junior Member
I get a NPE when I open a new class file with VE.

I created a new project and new package.
Then I created a new class file and the class extends javax.swingJFrame and
contains a main method.
I then open the new file with the Visual Editor and I get and NPE. The Error
window shows Unhandled event loop exception in org.eclipse.ui followed by
Exception thrown in org.eclipse.ve.java.core and a bunch of IWAV0155E
Introspection failed on class...
One for "javax.swing.JFrame." msg="."
"java.awt.Frame", "java.awt.Window". "java.awt.Container",
"java.awt.Component", "java.lang.Object" and one for the class I created all
in org.eclipse.jem.beaninfo.

What does it all mean? I can't use VE. If I try to place a component in the
VE window I get another one of those IWAV0155E errors on the component class
I try to use, i.e. "javax.swing.JLabel".

I am using Eclipse 3.3. I install the latest EMF, GEF and the VE files
modified for 3.3.


Thanks,
Rob
Re: Problems running VE [message #139646 is a reply to message #139634] Mon, 06 August 2007 14:31 Go to previous message
Rob is currently offline Rob
Messages: 10
Registered: July 2009
Junior Member
Never mind. I had started the new project using a 1.4.2 jdk. I switched it
to 1.6 and everything is OK now.

Rob


"Rob Roy" <rroy@unica.com> wrote in message
news:f97b0m$5me$1@build.eclipse.org...
>I get a NPE when I open a new class file with VE.
>
> I created a new project and new package.
> Then I created a new class file and the class extends javax.swingJFrame
> and contains a main method.
> I then open the new file with the Visual Editor and I get and NPE. The
> Error window shows Unhandled event loop exception in org.eclipse.ui
> followed by Exception thrown in org.eclipse.ve.java.core and a bunch of
> IWAV0155E Introspection failed on class...
> One for "javax.swing.JFrame." msg="."
> "java.awt.Frame", "java.awt.Window". "java.awt.Container",
> "java.awt.Component", "java.lang.Object" and one for the class I created
> all in org.eclipse.jem.beaninfo.
>
> What does it all mean? I can't use VE. If I try to place a component in
> the VE window I get another one of those IWAV0155E errors on the component
> class I try to use, i.e. "javax.swing.JLabel".
>
> I am using Eclipse 3.3. I install the latest EMF, GEF and the VE files
> modified for 3.3.
>
>
> Thanks,
> Rob
>
>
Re: Problems running VE [message #616374 is a reply to message #139634] Mon, 06 August 2007 14:31 Go to previous message
Rob is currently offline Rob
Messages: 10
Registered: July 2009
Junior Member
Never mind. I had started the new project using a 1.4.2 jdk. I switched it
to 1.6 and everything is OK now.

Rob


"Rob Roy" <rroy@unica.com> wrote in message
news:f97b0m$5me$1@build.eclipse.org...
>I get a NPE when I open a new class file with VE.
>
> I created a new project and new package.
> Then I created a new class file and the class extends javax.swingJFrame
> and contains a main method.
> I then open the new file with the Visual Editor and I get and NPE. The
> Error window shows Unhandled event loop exception in org.eclipse.ui
> followed by Exception thrown in org.eclipse.ve.java.core and a bunch of
> IWAV0155E Introspection failed on class...
> One for "javax.swing.JFrame." msg="."
> "java.awt.Frame", "java.awt.Window". "java.awt.Container",
> "java.awt.Component", "java.lang.Object" and one for the class I created
> all in org.eclipse.jem.beaninfo.
>
> What does it all mean? I can't use VE. If I try to place a component in
> the VE window I get another one of those IWAV0155E errors on the component
> class I try to use, i.e. "javax.swing.JLabel".
>
> I am using Eclipse 3.3. I install the latest EMF, GEF and the VE files
> modified for 3.3.
>
>
> Thanks,
> Rob
>
>
Previous Topic:Problems running VE
Next Topic:VE Installation
Goto Forum:
  


Current Time: Wed Oct 22 14:10:12 GMT 2014

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

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