cloudAndMonkey / veloeclipse

Automatically exported from code.google.com/p/veloeclipse
Other
1 stars 0 forks source link

Cannot open VM files #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi.

I sometimes get the following error message after starting Eclipse and
trying to open a .vm file (but I cannot reproduce it):

"Unable to create editor ID com.googlecode.veloeclipse.editor.Editor: The
editor class could not be instantiated. This usually indicates a missing
no-arg constructor or that the editor's class name was mistyped in plugin.xml."

The full stack trace:

org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNot
FoundException:
An error occurred while automatically activating bundle
com.googlecode.veloeclipse.ui (2).
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(
EclipseLazyStarter.java:125)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathMan
ager.java:427)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultC
lassLoader.java:193)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoade
r.java:368)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLo
ader.java:444)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.jav
a:397)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.jav
a:385)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassL
oader.java:87)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.jav
a:313)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:22
7)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle
.java:1274)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExt
ension(RegistryStrategyOSGI.java:160)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(E
xtensionRegistry.java:867)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtensio
n(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableEx
tension(ConfigurationElementHandle.java:51)
at
org.eclipse.debug.internal.ui.views.console.ProcessConsoleManager.getLineTracker
s(ProcessConsoleManager.java:275)
at
org.eclipse.debug.internal.ui.views.console.ProcessConsole.<init>(ProcessConsole
.java:192)
at
org.eclipse.debug.internal.ui.views.console.ProcessConsoleManager.launchChanged(
ProcessConsoleManager.java:145)
at
org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.run(LaunchManager.j
ava:455)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.notify(LaunchManage
r.java:436)
at
org.eclipse.debug.internal.core.LaunchManager.fireUpdate(LaunchManager.java:998)
at org.eclipse.debug.core.Launch.fireChanged(Launch.java:388)
at org.eclipse.debug.core.Launch.addProcess(Launch.java:351)
at org.eclipse.debug.core.model.RuntimeProcess.<init>(RuntimeProcess.java:125)
at org.eclipse.debug.core.DebugPlugin.newProcess(DebugPlugin.java:704)
at
org.eclipse.jdt.launching.AbstractVMRunner.newProcess(AbstractVMRunner.java:110)
at
org.eclipse.jdt.internal.launching.StandardVMRunner.run(StandardVMRunner.java:32
8)
at
org.eclipse.jst.server.generic.core.internal.GenericServerLaunchConfigurationDel
egate.launch(GenericServerLaunchConfigurationDelegate.java:120)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.j
ava:764)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.j
ava:614)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.j
ava:607)
at org.eclipse.wst.server.core.internal.Server.startImpl2(Server.java:2776)
at org.eclipse.wst.server.core.internal.Server.startImpl(Server.java:2726)
at org.eclipse.wst.server.core.internal.Server$StartJob.run(Server.java:306)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.osgi.framework.BundleException: The activator
com.googlecode.veloeclipse.vaulttec.ui.VelocityPlugin for bundle
com.googlecode.veloeclipse.ui is invalid
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(Abst
ractBundle.java:146)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextIm
pl.java:980)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:
346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.jav
a:265)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(
EclipseLazyStarter.java:111)
... 36 more
Caused by: java.lang.IllegalArgumentException: Argument cannot be null
at org.eclipse.swt.SWT.error(SWT.java:3761)
at org.eclipse.swt.SWT.error(SWT.java:3695)
at org.eclipse.swt.SWT.error(SWT.java:3666)
at org.eclipse.swt.widgets.Widget.error(Widget.java:463)
at org.eclipse.swt.widgets.Widget.checkParent(Widget.java:273)
at org.eclipse.swt.widgets.Widget.<init>(Widget.java:146)
at org.eclipse.swt.widgets.Control.<init>(Control.java:101)
at org.eclipse.swt.widgets.Scrollable.<init>(Scrollable.java:74)
at org.eclipse.swt.widgets.Composite.<init>(Composite.java:94)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:79)
at
com.googlecode.veloeclipse.vaulttec.ui.VelocityPlugin.<init>(VelocityPlugin.java
:116)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorI
mpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorA
ccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(Abst
ractBundle.java:141)
... 41 more

My environment:

eclipse.buildId=M20080911-1700
java.version=1.6.0
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

Original issue reported on code.google.com by putypur...@gmail.com on 3 Feb 2009 at 12:28

GoogleCodeExporter commented 9 years ago
I believe this is now fixed in 2.0.7, please try and report back.

Original comment by byron.foster@gmail.com on 7 Feb 2009 at 4:52

GoogleCodeExporter commented 9 years ago
So far, so good!

Original comment by putypur...@gmail.com on 10 Feb 2009 at 6:50

GoogleCodeExporter commented 9 years ago

Original comment by byron.foster@gmail.com on 11 Feb 2009 at 8:25