Ticket #590 (closed task: fixed)

Opened 2 months ago

Last modified 7 weeks ago

Pimo Perspective Problem

Reported by: francesco_lelli Owned by: EVERYONE
Priority: major Milestone: m36-redmeteor
Component: ---UNSPECIFIED--- Version:
Keywords: Cc:

Description

Hi guys,

i am reporting you a problem that I have running Nepomuk on mac:

if i open the Pimo perspective i get the following exception.

Best, Francesco

[SimpleLogWriter?] 2008.09.08 17:31:29 [INFO] BundleEvent? STOPPED

!ENTRY org.eclipse.osgi 4 0 2008-09-08 17:31:29.238 !MESSAGE An error occurred while automatically activating bundle org.semanticdesktop.nepomuk.psew.pimo (231). !STACK 0 org.osgi.framework.BundleException?: Exception in org.semanticdesktop.nepomuk.psew.pimo.PIMOUIActivator.start() of bundle org.semanticdesktop.nepomuk.psew.pimo.

at org.eclipse.osgi.framework.internal.core.BundleContextImpl?.startActivator(BundleContextImpl?.java:1018) at org.eclipse.osgi.framework.internal.core.BundleContextImpl?.start(BundleContextImpl?.java:974) at org.eclipse.osgi.framework.internal.core.BundleHost?.startWorker(BundleHost?.java:346) at org.eclipse.osgi.framework.internal.core.AbstractBundle?.start(AbstractBundle?.java:260) at org.eclipse.osgi.framework.util.SecureAction?.start(SecureAction?.java:400) at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter?.postFindLocalClass(EclipseLazyStarter?.java:111) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager?.findLocalClass(ClasspathManager?.java:417) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader?.findLocalClass(DefaultClassLoader?.java:189) at org.eclipse.osgi.framework.internal.core.BundleLoader?.findLocalClass(BundleLoader?.java:340) at org.eclipse.osgi.framework.internal.core.BundleLoader?.findClassInternal(BundleLoader?.java:408) at org.eclipse.osgi.framework.internal.core.BundleLoader?.findClass(BundleLoader?.java:369) at org.eclipse.osgi.framework.internal.core.BundleLoader?.findClass(BundleLoader?.java:357) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader?.loadClass(DefaultClassLoader?.java:83) at java.lang.ClassLoader?.loadClass(ClassLoader?.java:251) at org.eclipse.osgi.framework.internal.core.BundleLoader?.loadClass(BundleLoader?.java:289) at org.eclipse.osgi.framework.internal.core.BundleHost?.loadClass(BundleHost?.java:227) at org.eclipse.osgi.framework.internal.core.AbstractBundle?.loadClass(AbstractBundle?.java:1269) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160) at org.eclipse.core.internal.registry.ExtensionRegistry?.createExecutableExtension(ExtensionRegistry?.java:788) at org.eclipse.core.internal.registry.ConfigurationElement?.createExecutableExtension(ConfigurationElement?.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle?.createExecutableExtension(ConfigurationElementHandle?.java:51) at org.eclipse.ui.internal.registry.PerspectiveDescriptor?.createFactory(PerspectiveDescriptor?.java:172) at org.eclipse.ui.internal.Perspective.loadPredefinedPersp(Perspective.java:696) at org.eclipse.ui.internal.Perspective.createPresentation(Perspective.java:258) at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:146) at org.eclipse.ui.internal.WorkbenchPage?.createPerspective(WorkbenchPage?.java:1537) at org.eclipse.ui.internal.WorkbenchPage?.busySetPerspective(WorkbenchPage?.java:981) at org.eclipse.ui.internal.WorkbenchPage?.access$17(WorkbenchPage?.java:972) at org.eclipse.ui.internal.WorkbenchPage?$18.run(WorkbenchPage?.java:3560) at org.eclipse.swt.custom.BusyIndicator?.showWhile(BusyIndicator?.java:67) at org.eclipse.ui.internal.WorkbenchPage?.setPerspective(WorkbenchPage?.java:3558) at org.eclipse.ui.internal.Workbench.showPerspective(Workbench.java:2555) at org.semanticdesktop.nepomuk.psew.ui.actions.ShowPerspectiveAction?.run(ShowPerspectiveAction?.java:33) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem?.handleWidgetSelection(ActionContributionItem?.java:545) at org.eclipse.jface.action.ActionContributionItem?.access$2(ActionContributionItem?.java:490) at org.eclipse.jface.action.ActionContributionItem?$5.handleEvent(ActionContributionItem?.java:402) at org.eclipse.swt.widgets.EventTable?.sendEvent(EventTable?.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2952) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) 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(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.semanticdesktop.nepomuk.psew.Application.start(Application.java:34) at org.eclipse.equinox.internal.app.EclipseAppHandle?.run(EclipseAppHandle?.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(EclipseStarter?.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter?.run(EclipseStarter?.java:176) at sun.reflect.NativeMethodAccessorImpl?.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl?.invoke(NativeMethodAccessorImpl?.java:39) at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:25) at java.lang.reflect.Method.invoke(Method.java:585) 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)

Caused by: java.lang.InternalError?: Can't start the AWT because Java was started on the first thread. Make sure StartOnFirstThread? is not specified in your application's Info.plist or on the command line

at java.lang.ClassLoader?$NativeLibrary?.load(Native Method) at java.lang.ClassLoader?.loadLibrary0(ClassLoader?.java:1822) at java.lang.ClassLoader?.loadLibrary(ClassLoader?.java:1723) at java.lang.Runtime.loadLibrary0(Runtime.java:822) at java.lang.System.loadLibrary(System.java:993) at sun.security.action.LoadLibraryAction?.run(LoadLibraryAction?.java:50) at java.security.AccessController?.doPrivileged(Native Method) at apple.awt.RuntimeOptions?.getScaleFactor(RuntimeOptions?.java:47) at apple.awt.RuntimeOptions?.getAntialiasing(RuntimeOptions?.java:161) at apple.awt.RuntimeOptions?.getTextAntialiasing(RuntimeOptions?.java:180) at apple.laf.CUIAquaLookAndFeel.initialize(CUIAquaLookAndFeel.java:126) at javax.swing.UIManager.setLookAndFeel(UIManager.java:444) at javax.swing.UIManager.setLookAndFeel(UIManager.java:485) at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1178) at javax.swing.UIManager.initialize(UIManager.java:1265) at javax.swing.UIManager.maybeInitialize(UIManager.java:1253) at javax.swing.UIManager.getDefaults(UIManager.java:564) at javax.swing.filechooser.FileSystemView?.getFileSystemView(FileSystemView?.java:63) at org.semanticdesktop.nepomuk.psew.pimo.dropbox.DropBoxWatchdog?.start(DropBoxWatchdog?.java:148) at org.semanticdesktop.nepomuk.psew.pimo.PIMOUIActivator.start2(PIMOUIActivator.java:164) at org.semanticdesktop.nepomuk.util.NepomukDependencyHelper?.check(NepomukDependencyHelper?.java:67) at org.semanticdesktop.nepomuk.util.NepomukDependencyHelper?.<init>(NepomukDependencyHelper?.java:57) at org.semanticdesktop.nepomuk.util.ui.NepomukUIDependencyActivator.start(NepomukUIDependencyActivator.java:44) at org.semanticdesktop.nepomuk.psew.pimo.PIMOUIActivator.start(PIMOUIActivator.java:112) at org.eclipse.osgi.framework.internal.core.BundleContextImpl?$2.run(BundleContextImpl?.java:999) at java.security.AccessController?.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl?.startActivator(BundleContextImpl?.java:993) ... 63 more

Root exception: java.lang.InternalError?: Can't start the AWT because Java was started on the first thread. Make sure StartOnFirstThread? is not specified in your application's Info.plist or on the command line

at java.lang.ClassLoader?$NativeLibrary?.load(Native Method) at java.lang.ClassLoader?.loadLibrary0(ClassLoader?.java:1822) at java.lang.ClassLoader?.loadLibrary(ClassLoader?.java:1723) at java.lang.Runtime.loadLibrary0(Runtime.java:822) at java.lang.System.loadLibrary(System.java:993) at sun.security.action.LoadLibraryAction?.run(LoadLibraryAction?.java:50) at java.security.AccessController?.doPrivileged(Native Method) at apple.awt.RuntimeOptions?.getScaleFactor(RuntimeOptions?.java:47) at apple.awt.RuntimeOptions?.getAntialiasing(RuntimeOptions?.java:161) at apple.awt.RuntimeOptions?.getTextAntialiasing(RuntimeOptions?.java:180) at apple.laf.CUIAquaLookAndFeel.initialize(CUIAquaLookAndFeel.java:126) at javax.swing.UIManager.setLookAndFeel(UIManager.java:444) at javax.swing.UIManager.setLookAndFeel(UIManager.java:485) at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1178) at javax.swing.UIManager.initialize(UIManager.java:1265) at javax.swing.UIManager.maybeInitialize(UIManager.java:1253) at javax.swing.UIManager.getDefaults(UIManager.java:564) at javax.swing.filechooser.FileSystemView?.getFileSystemView(FileSystemView?.java:63) at org.semanticdesktop.nepomuk.psew.pimo.dropbox.DropBoxWatchdog?.start(DropBoxWatchdog?.java:148) at org.semanticdesktop.nepomuk.psew.pimo.PIMOUIActivator.start2(PIMOUIActivator.java:164) at org.semanticdesktop.nepomuk.util.NepomukDependencyHelper?.check(NepomukDependencyHelper?.java:67) at org.semanticdesktop.nepomuk.util.NepomukDependencyHelper?.<init>(NepomukDependencyHelper?.java:57) at org.semanticdesktop.nepomuk.util.ui.NepomukUIDependencyActivator.start(NepomukUIDependencyActivator.java:44) at org.semanticdesktop.nepomuk.psew.pimo.PIMOUIActivator.start(PIMOUIActivator.java:112) at org.eclipse.osgi.framework.internal.core.BundleContextImpl?$2.run(BundleContextImpl?.java:999) at java.security.AccessController?.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl?.startActivator(BundleContextImpl?.java:993) at org.eclipse.osgi.framework.internal.core.BundleContextImpl?.start(BundleContextImpl?.java:974) at org.eclipse.osgi.framework.internal.core.BundleHost?.startWorker(BundleHost?.java:346) at org.eclipse.osgi.framework.internal.core.AbstractBundle?.start(AbstractBundle?.java:260) at org.eclipse.osgi.framework.util.SecureAction?.start(SecureAction?.java:400) at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter?.postFindLocalClass(EclipseLazyStarter?.java:111) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager?.findLocalClass(ClasspathManager?.java:417) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader?.findLocalClass(DefaultClassLoader?.java:189) at org.eclipse.osgi.framework.internal.core.BundleLoader?.findLocalClass(BundleLoader?.java:340) at org.eclipse.osgi.framework.internal.core.BundleLoader?.findClassInternal(BundleLoader?.java:408) at org.eclipse.osgi.framework.internal.core.BundleLoader?.findClass(BundleLoader?.java:369) at org.eclipse.osgi.framework.internal.core.BundleLoader?.findClass(BundleLoader?.java:357) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader?.loadClass(DefaultClassLoader?.java:83) at java.lang.ClassLoader?.loadClass(ClassLoader?.java:251) at org.eclipse.osgi.framework.internal.core.BundleLoader?.loadClass(BundleLoader?.java:289) at org.eclipse.osgi.framework.internal.core.BundleHost?.loadClass(BundleHost?.java:227) at org.eclipse.osgi.framework.internal.core.AbstractBundle?.loadClass(AbstractBundle?.java:1269) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160) at org.eclipse.core.internal.registry.ExtensionRegistry?.createExecutableExtension(ExtensionRegistry?.java:788) at org.eclipse.core.internal.registry.ConfigurationElement?.createExecutableExtension(ConfigurationElement?.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle?.createExecutableExtension(ConfigurationElementHandle?.java:51) at org.eclipse.ui.internal.registry.PerspectiveDescriptor?.createFactory(PerspectiveDescriptor?.java:172) at org.eclipse.ui.internal.Perspective.loadPredefinedPersp(Perspective.java:696) at org.eclipse.ui.internal.Perspective.createPresentation(Perspective.java:258) at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:146) at org.eclipse.ui.internal.WorkbenchPage?.createPerspective(WorkbenchPage?.java:1537) at org.eclipse.ui.internal.WorkbenchPage?.busySetPerspective(WorkbenchPage?.java:981) at org.eclipse.ui.internal.WorkbenchPage?.access$17(WorkbenchPage?.java:972) at org.eclipse.ui.internal.WorkbenchPage?$18.run(WorkbenchPage?.java:3560) at org.eclipse.swt.custom.BusyIndicator?.showWhile(BusyIndicator?.java:67) at org.eclipse.ui.internal.WorkbenchPage?.setPerspective(WorkbenchPage?.java:3558) at org.eclipse.ui.internal.Workbench.showPerspective(Workbench.java:2555) at org.semanticdesktop.nepomuk.psew.ui.actions.ShowPerspectiveAction?.run(ShowPerspectiveAction?.java:33) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem?.handleWidgetSelection(ActionContributionItem?.java:545) at org.eclipse.jface.action.ActionContributionItem?.access$2(ActionContributionItem?.java:490) at org.eclipse.jface.action.ActionContributionItem?$5.handleEvent(ActionContributionItem?.java:402) at org.eclipse.swt.widgets.EventTable?.sendEvent(EventTable?.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2952) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) 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(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.semanticdesktop.nepomuk.psew.Application.start(Application.java:34) at org.eclipse.equinox.internal.app.EclipseAppHandle?.run(EclipseAppHandle?.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(EclipseStarter?.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter?.run(EclipseStarter?.java:176) at sun.reflect.NativeMethodAccessorImpl?.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl?.invoke(NativeMethodAccessorImpl?.java:39) at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:25) at java.lang.reflect.Method.invoke(Method.java:585) 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)

Change History

Changed 7 weeks ago by leosauermann

we need to remove the few remaining SWT hacks (the "find the user's folder with FileOpenDialog? thingy)

Changed 7 weeks ago by leosauermann

  • status changed from new to closed
  • resolution set to fixed

is fixed by now. replaced use of AWT/SWING with homegrown code.

Note: See TracTickets for help on using tickets.