Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » No Beans; No Design
No Beans; No Design [message #126588] Tue, 20 June 2006 22:23 Go to next message
Eclipse UserFriend
Originally posted by: jmh.joelhalpern.com

Using Eclipse 3.1.0 and VE 1.1.0 on Windows XP (SP2)
I have a number of projects with a number of visual classes created by VE.
They worked just fine.

I did something that has broken VE.

I did not install any upgrades to VE or Eclipse.
However, now, when I open any of those visual classes (and yes, I
checked that I am opening them in the Visual Editor):
The Java Beans window shows up empty,
The design process runs, but then the Design window shows up empty,
and of course the properties window is empty.
The palette shows up fine, but that doesn't do me much good...


While I was debugging other code, I had to direct Eclipse as to where to
find the source for various parts of Java rt.jar.
However, none of the project properties appear to have changed.
So what do I need to change, and what do I need to change it to?

The Log is:
!SESSION 2006-06-20 17:41:59.203
-----------------------------------------------
eclipse.buildId=I20050627-1435
java.version=1.5.0_06
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

!ENTRY org.eclipse.core.runtime 4 2 2006-06-20 17:42:07.144
!MESSAGE Plug-in com.vp.vpsde.ec was unable to load class
com.vp.vpsde.ec.VPSDEECMain.
!STACK 0
java.lang.ClassNotFoundException: com.vp.vpsde.ec.VPSDEECMain
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:403)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:275)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1259)
at
org.eclipse.core.internal.plugins.PluginDescriptor.internalD oPluginActivation(PluginDescriptor.java:406)
at
org.eclipse.core.internal.plugins.PluginDescriptor.doPluginA ctivation(PluginDescriptor.java:371)
at
org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin (PluginDescriptor.java:340)
at
org.eclipse.core.internal.compatibility.PluginActivator.star t(PluginActivator.java:28)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:994)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:988)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:969)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:321)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:266)
at
org.eclipse.core.internal.plugins.PluginDescriptor.doPluginA ctivation(PluginDescriptor.java:361)
at
org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin (PluginDescriptor.java:340)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.ui.internal.EarlyStartupRunnable.getPluginForCom patibility(EarlyStartupRunnable.java:145)
at
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:73)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.Workbench$20.run(Workbench.java:1587 )
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

!ENTRY org.eclipse.core.runtime 4 2 2006-06-20 17:42:07.164
!MESSAGE Problems encountered starting up plug-in:
"org.osgi.framework.BundleException: Exception in
org.eclipse.core.internal.compatibility.PluginActivator.star t() of
bundle com.vp.vpsde.ec.".
!STACK 0
org.osgi.framework.BundleException: Exception in
org.eclipse.core.internal.compatibility.PluginActivator.star t() of
bundle com.vp.vpsde.ec.
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1013)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:969)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:321)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:266)
at
org.eclipse.core.internal.plugins.PluginDescriptor.doPluginA ctivation(PluginDescriptor.java:361)
at
org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin (PluginDescriptor.java:340)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.ui.internal.EarlyStartupRunnable.getPluginForCom patibility(EarlyStartupRunnable.java:145)
at
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:73)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.Workbench$20.run(Workbench.java:1587 )
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Caused by: org.eclipse.core.runtime.CoreException: Plug-in
com.vp.vpsde.ec was unable to load class com.vp.vpsde.ec.VPSDEECMain.
at
org.eclipse.core.internal.plugins.PluginDescriptor.throwExce ption(PluginDescriptor.java:296)
at
org.eclipse.core.internal.plugins.PluginDescriptor.internalD oPluginActivation(PluginDescriptor.java:409)
at
org.eclipse.core.internal.plugins.PluginDescriptor.doPluginA ctivation(PluginDescriptor.java:371)
at
org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin (PluginDescriptor.java:340)
at
org.eclipse.core.internal.compatibility.PluginActivator.star t(PluginActivator.java:28)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:994)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:988)
... 15 more
Root exception:
org.eclipse.core.runtime.CoreException[2]:
java.lang.ClassNotFoundException: com.vp.vpsde.ec.VPSDEECMain
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:403)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:275)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1259)
at
org.eclipse.core.internal.plugins.PluginDescriptor.internalD oPluginActivation(PluginDescriptor.java:406)
at
org.eclipse.core.internal.plugins.PluginDescriptor.doPluginA ctivation(PluginDescriptor.java:371)
at
org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin (PluginDescriptor.java:340)
at
org.eclipse.core.internal.compatibility.PluginActivator.star t(PluginActivator.java:28)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:994)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:988)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:969)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:321)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:266)
at
org.eclipse.core.internal.plugins.PluginDescriptor.doPluginA ctivation(PluginDescriptor.java:361)
at
org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin (PluginDescriptor.java:340)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.ui.internal.EarlyStartupRunnable.getPluginForCom patibility(EarlyStartupRunnable.java:145)
at
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:73)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.Workbench$20.run(Workbench.java:1587 )
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

!ENTRY org.eclipse.ui 4 4 2006-06-20 17:42:07.184
!MESSAGE Unhandled Exception

!ENTRY com.vp.vpsde.ec 4 0 2006-06-20 17:42:07.194
!MESSAGE Unable to execute early startup code for an extension
!STACK 0
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.ui.internal.EarlyStartupRunnable.getPluginForCom patibility(EarlyStartupRunnable.java:145)
at
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:73)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.Workbench$20.run(Workbench.java:1587 )
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Caused by: org.eclipse.core.runtime.CoreException: Problems encountered
starting up plug-in: "org.osgi.framework.BundleException: Exception in
org.eclipse.core.internal.compatibility.PluginActivator.star t() of
bundle com.vp.vpsde.ec.".
at
org.eclipse.core.internal.plugins.PluginDescriptor.throwExce ption(PluginDescriptor.java:296)
at
org.eclipse.core.internal.plugins.PluginDescriptor.doPluginA ctivation(PluginDescriptor.java:363)
at
org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin (PluginDescriptor.java:340)
... 10 more
Root exception:
org.eclipse.core.runtime.CoreException[2]:
org.osgi.framework.BundleException: Exception in
org.eclipse.core.internal.compatibility.PluginActivator.star t() of
bundle com.vp.vpsde.ec.
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1013)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:969)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:321)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:266)
at
org.eclipse.core.internal.plugins.PluginDescriptor.doPluginA ctivation(PluginDescriptor.java:361)
at
org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin (PluginDescriptor.java:340)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.ui.internal.EarlyStartupRunnable.getPluginForCom patibility(EarlyStartupRunnable.java:145)
at
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:73)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.Workbench$20.run(Workbench.java:1587 )
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Caused by: org.eclipse.core.runtime.CoreException: Plug-in
com.vp.vpsde.ec was unable to load class com.vp.vpsde.ec.VPSDEECMain.
at
org.eclipse.core.internal.plugins.PluginDescriptor.throwExce ption(PluginDescriptor.java:296)
at
org.eclipse.core.internal.plugins.PluginDescriptor.internalD oPluginActivation(PluginDescriptor.java:409)
at
org.eclipse.core.internal.plugins.PluginDescriptor.doPluginA ctivation(PluginDescriptor.java:371)
at
org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin (PluginDescriptor.java:340)
at
org.eclipse.core.internal.compatibility.PluginActivator.star t(PluginActivator.java:28)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:994)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:988)
... 15 more

!ENTRY org.eclipse.ui 4 4 2006-06-20 17:42:07.194
!MESSAGE Bad extension specification

!ENTRY com.vp.vpsde.ec 4 0 2006-06-20 17:42:07.204
!MESSAGE startup class must implement org.eclipse.ui.IStartup

!ENTRY org.eclipse.ve.java.core 4 0 2006-06-20 17:42:10.689
!MESSAGE Exception thrown.
!STACK 0
java.lang.NullPointerException
at
org.eclipse.ve.internal.java.codegen.java.rules.DefaultVisit orFactoryRule.retrieveFromCache(DefaultVisitorFactoryRule.ja va:83)
at
org.eclipse.ve.internal.java.codegen.java.rules.DefaultVisit orFactoryRule.getTypeVisitor(DefaultVisitorFactoryRule.java: 109)
at
org.eclipse.ve.internal.java.codegen.java.JavaBeanModelBuild er.visitType(JavaBeanModelBuilder.java:508)
at
org.eclipse.ve.internal.java.codegen.java.JavaBeanModelBuild er.build(JavaBeanModelBuilder.java:417)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.reverseParse(JavaSourceTranslator.java:831)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocument(JavaSourceTranslator.java:911)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(JavaSourceTranslator.java:577)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1857)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Re: No Beans; No Design [message #126604 is a reply to message #126588] Tue, 20 June 2006 22:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

You may have a dirty cache from when you redirected the rt.jar stuff. So
let's try cleaning the cache:

1) Open a VE, close it and all other VE's.
2) Do Project->Clean All... and wait for build to finish.
3) Open a VE. See if ok now.

Also I would suggest stepping up to VE 1.1.0.1. It has many fixes. You
can use the update manager from your IDE and it should find the update.

In a few weeks you should probably step up to Eclipse 3.2 and the latest
VE (VE 1.2) when they get released. But VE 1.2 will not work with
Eclipse 3.1

--
Thanks,
Rich Kulp
Re: No Beans; No Design [message #126630 is a reply to message #126604] Tue, 20 June 2006 23:54 Go to previous message
Eclipse UserFriend
Originally posted by: jmh.joelhalpern.com

Thank you for the prompt and effective reply.
It actually took two round of cleaning and exiting before everything got
sorted out, but things are in working order again.

I will get the upgrades, and look forward to the next release as well.

Yours,
Joel M. Halpern

Rich Kulp wrote:
> You may have a dirty cache from when you redirected the rt.jar stuff. So
> let's try cleaning the cache:
>
> 1) Open a VE, close it and all other VE's.
> 2) Do Project->Clean All... and wait for build to finish.
> 3) Open a VE. See if ok now.
>
> Also I would suggest stepping up to VE 1.1.0.1. It has many fixes. You
> can use the update manager from your IDE and it should find the update.
>
> In a few weeks you should probably step up to Eclipse 3.2 and the latest
> VE (VE 1.2) when they get released. But VE 1.2 will not work with
> Eclipse 3.1
>
Re: No Beans; No Design [message #613378 is a reply to message #126588] Tue, 20 June 2006 22:51 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

You may have a dirty cache from when you redirected the rt.jar stuff. So
let's try cleaning the cache:

1) Open a VE, close it and all other VE's.
2) Do Project->Clean All... and wait for build to finish.
3) Open a VE. See if ok now.

Also I would suggest stepping up to VE 1.1.0.1. It has many fixes. You
can use the update manager from your IDE and it should find the update.

In a few weeks you should probably step up to Eclipse 3.2 and the latest
VE (VE 1.2) when they get released. But VE 1.2 will not work with
Eclipse 3.1

--
Thanks,
Rich Kulp
Re: No Beans; No Design [message #613380 is a reply to message #126604] Tue, 20 June 2006 23:54 Go to previous message
Eclipse UserFriend
Originally posted by: jmh.joelhalpern.com

Thank you for the prompt and effective reply.
It actually took two round of cleaning and exiting before everything got
sorted out, but things are in working order again.

I will get the upgrades, and look forward to the next release as well.

Yours,
Joel M. Halpern

Rich Kulp wrote:
> You may have a dirty cache from when you redirected the rt.jar stuff. So
> let's try cleaning the cache:
>
> 1) Open a VE, close it and all other VE's.
> 2) Do Project->Clean All... and wait for build to finish.
> 3) Open a VE. See if ok now.
>
> Also I would suggest stepping up to VE 1.1.0.1. It has many fixes. You
> can use the update manager from your IDE and it should find the update.
>
> In a few weeks you should probably step up to Eclipse 3.2 and the latest
> VE (VE 1.2) when they get released. But VE 1.2 will not work with
> Eclipse 3.1
>
Previous Topic:Can I use VE to make RCP applications for Eclipse?
Next Topic:Access by method name (xxxxx) (not by proxy) requires a receiver.
Goto Forum:
  


Current Time: Fri Apr 26 04:50:31 GMT 2024

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

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

Back to the top