Problem running my plugin [message #601466] |
Tue, 17 July 2007 04:12 |
Chris Thomas Messages: 7 Registered: July 2009 |
Junior Member |
|
|
Hi,
I'm the sole developer of a plugin called Esftp, it's a SFTP transfer
plugin which lets you right click files in your project and upload them
to the server.
recently I was wanting to get back to the grind and do another release,
I updated to europa (v3.3) and opened the plugin code and started to try
updating some things.
without wanting to go into detail about my problems with eclipse, I
shall link to my blog where I describe one problem with files and fat32
filesystems I found under eclipse, read more here:
http://www.antimatter-studios.co.uk/sites/chris/blog/?p=43
Anyway, that problem withstanding, I have another. When I try to debug
my eclipse plugin, I setup a debug session for my plugin, I sorted out
one problem already with this in that eclipse can have a plugin
installed and then when you debug your plugin, sometimes eclipse
determines that the plugin should use the ALREADY installed version and
not the one you are debugging. So you eventually figure that out and
disable the plugin you have installed during the debug session.
What happens is that my plugin cannot activate, eclipse debugging will
run the other eclipse session, but I cannot open a property page, this
is what happens, I run eclipse debug with the -consoleLog option and
then I look at the output, at the bottom you can find all the output
from various files I have and see if you can find any problem with
anything because I am stumped and cannot find anything.
I hope someone can help with this situation.
If anyone finds this plugin useful! PLEASE HELP ME FIX THIS!
<consoleLog>
!ENTRY org.eclipse.osgi 2 0 2007-07-16 22:54:27.236
!MESSAGE The activator com.antimatter_studios.esftp.Activator for bundle
com.antimatter_studios.esftp is invalid
!STACK 0
org.osgi.framework.BundleException: The activator
com.antimatter_studios.esftp.Activator for bundle
com.antimatter_studios.esftp is invalid
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:141)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:970)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:260)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:234)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1269)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:788)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at
org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:243)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:239)
at
org.eclipse.ui.internal.dialogs.RegistryPageContributor.crea tePage(RegistryPageContributor.java:119)
at
org.eclipse.ui.internal.dialogs.PropertyPageNode.createPage( PropertyPageNode.java:56)
at
org.eclipse.jface.preference.PreferenceDialog.createPage(Pre ferenceDialog.java:1294)
at
org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.cre atePage(FilteredPreferenceDialog.java:313)
at
org.eclipse.jface.preference.PreferenceDialog.showPage(Prefe renceDialog.java:1185)
at
org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.sho wPage(FilteredPreferenceDialog.java:433)
at
org.eclipse.jface.preference.PreferenceDialog$9.selectionCha nged(PreferenceDialog.java:698)
at
org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredV iewer.java:842)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:19 3)
at
org.eclipse.jface.viewers.StructuredViewer.firePostSelection Changed(StructuredViewer.java:840)
at
org.eclipse.jface.viewers.StructuredViewer.handlePostSelect( StructuredViewer.java:1153)
at
org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected( StructuredViewer.java:1178)
at
org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(O penStrategy.java:250)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.ja va:244)
at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java: 418)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3296)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2974)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at
org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDial ogAction.java:156)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:545)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3319)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
Caused by: java.lang.ClassNotFoundException:
com.antimatter_studios.esftp.Activator
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:434)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:289)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:134)
... 67 more
Root exception:
java.lang.ClassNotFoundException: com.antimatter_studios.esftp.Activator
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:434)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:289)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:134)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:970)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:260)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:234)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1269)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:788)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at
org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:243)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:239)
at
org.eclipse.ui.internal.dialogs.RegistryPageContributor.crea tePage(RegistryPageContributor.java:119)
at
org.eclipse.ui.internal.dialogs.PropertyPageNode.createPage( PropertyPageNode.java:56)
at
org.eclipse.jface.preference.PreferenceDialog.createPage(Pre ferenceDialog.java:1294)
at
org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.cre atePage(FilteredPreferenceDialog.java:313)
at
org.eclipse.jface.preference.PreferenceDialog.showPage(Prefe renceDialog.java:1185)
at
org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.sho wPage(FilteredPreferenceDialog.java:433)
at
org.eclipse.jface.preference.PreferenceDialog$9.selectionCha nged(PreferenceDialog.java:698)
at
org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredV iewer.java:842)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:19 3)
at
org.eclipse.jface.viewers.StructuredViewer.firePostSelection Changed(StructuredViewer.java:840)
at
org.eclipse.jface.viewers.StructuredViewer.handlePostSelect( StructuredViewer.java:1153)
at
org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected( StructuredViewer.java:1178)
at
org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(O penStrategy.java:250)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.ja va:244)
at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java: 418)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3296)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2974)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at
org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDial ogAction.java:156)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:545)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3319)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
</consoleLog>
<MANIFEST.MF>
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Sftp Plug-in
Bundle-SymbolicName: com.antimatter_studios.esftp; singleton:=true
Bundle-Version: 1.1.5
Bundle-Activator: com.antimatter_studios.esftp.Activator
Bundle-Vendor: Chris Alex Thomas
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.core.resources,
org.eclipse.jface.text,
org.eclipse.ui.console
Eclipse-LazyStart: true
Export-Package: com.antimatter_studios.esftp,
com.antimatter_studios.esftp.actions,
com.antimatter_studios.esftp.directory,
com.antimatter_studios.esftp.properties,
com.antimatter_studios.esftp.ui
Bundle-ClassPath: .,
lib/commons-logging.jar,
lib/esftp-sshtools.jar
</MANIFEST.MF>
<plugin.xml>
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
<extension
point="org.eclipse.ui.popupMenus">
<objectContribution
adaptable="true"
id="com.antimatter_studios.esftp.Menu"
objectClass="org.eclipse.core.resources.IResource">
<menu
id="com.antimatter_studios.esftp"
label="ESftp">
<separator name="group"/>
</menu>
<action
class="com.antimatter_studios.esftp.actions.GetSelection"
definitionId="com.antimatter_studios.esftp.get"
id="com.antimatter_studios.esftp.getItem"
label="Get File From Server"
menubarPath="com.antimatter_studios.esftp/group"/>
<action
class="com.antimatter_studios.esftp.actions.PutSelection"
definitionId="com.antimatter_studios.esftp.put"
id="com.antimatter_studios.esftp.putItem"
label="Put File to Server"
menubarPath="com.antimatter_studios.esftp/group"/>
<action
class="com.antimatter_studios.esftp.actions.PutSaveSelection "
definitionId="com.antimatter_studios.esftp.putSave"
id="com.antimatter_studios.esftp.putSaveItem"
label="Put File to Server and Save"
menubarPath="com.antimatter_studios.esftp/group"/>
</objectContribution>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
class="com.antimatter_studios.esftp.ui.Workbench"
id="com.antimatter_studios.esftp.properties.Workbench"
name="ESftp"/>
</extension>
<extension
point="org.eclipse.ui.propertyPages">
<page
class="com.antimatter_studios.esftp.ui.Project"
id="com.antimatter_studios.esftp.properties.Project"
name="ESftp"
objectClass="org.eclipse.core.resources.IProject"/>
</extension>
<extension point="org.eclipse.ui.actionSets">
<actionSet label="ESftp" visible="true"
id="com.antimatter_studios.esftp.actionSet">
<menu label="ESf&tp"
id="com.antimatter_studios.esftp.esftpmenu"
path="window">
<separator name="ESftpGroupMenu"></separator>
</menu>
<action
class="com.antimatter_studios.esftp.actions.PutSelection"
definitionId="com.antimatter_studios.esftp.put"
icon="icons/put.gif"
id="com.antimatter_studios.esftp.putActionSet"
label="&Put File"
menubarPath="com.antimatter_studios.esftp.esftpmenu/ESftpGroupMenu "
toolbarPath="ESftpGroupMenu"
tooltip="Put File to Server">
</action>
<action
class="com.antimatter_studios.esftp.actions.PutSaveSelection "
definitionId="com.antimatter_studios.esftp.putSave"
icon="icons/put.gif"
id="com.antimatter_studios.esftp.putSaveActionSet"
label="&Put+Save File"
menubarPath="com.antimatter_studios.esftp.esftpmenu/ESftpGroupMenu "
toolbarPath="ESftpGroupMenu"
tooltip="Put File to Server and Save">
</action>
<action
class="com.antimatter_studios.esftp.actions.GetSelection"
definitionId="com.antimatter_studios.esftp.get"
icon="icons/get.gif"
id="com.antimatter_studios.esftp.getActionSet"
label="&Get File"
menubarPath="com.antimatter_studios.esftp.esftpmenu/ESftpGroupMenu "
toolbarPath="ESftpGroupMenu"
tooltip="Get file from remote">
</action>
</actionSet>
</extension>
<extension point="org.eclipse.ui.commands">
<category name="EsftpCategory"
description="ESftp Commands"
id="com.antimatter_studios.esftp.commandCategory">
</category>
<command
categoryId="com.antimatter_studios.esftp.commandCategory"
name="Put File to Server"
id="com.antimatter_studios.esftp.put" />
<command
categoryId="com.antimatter_studios.esftp.commandCategory"
id="com.antimatter_studios.esftp.putSave"
name="Put File to Server and Save"/>
<command
categoryId="com.antimatter_studios.esftp.commandCategory"
name="Get File from Server"
id="com.antimatter_studios.esftp.get" />
</extension>
<extension point="org.eclipse.ui.bindings">
<key sequence="Ctrl+Alt+P"
commandId="com.antimatter_studios.esftp.put"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" />
<key sequence="Ctrl+Alt+S"
commandId="com.antimatter_studios.esftp.putSave"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" />
<key sequence="Ctrl+Alt+G"
commandId="com.antimatter_studios.esftp.get"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" />
</extension>
</plugin>
</plugin.xml>
<build.properties>
source.. = src/
output.. = bin/
bin.includes = plugin.xml,\
META-INF/,\
.,\
lib/
</build.properties>
|
|
|
Powered by
FUDForum. Page generated in 0.04127 seconds