directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From laurent cop <laurent....@gmail.com>
Subject [Studio] Try to package a Studio fragment
Date Fri, 25 Oct 2013 08:06:37 GMT
Hello, 

I got this NPE (see context bellow). But don't know I to solve it.

!SESSION 2013-10-25 09:34:39.338 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Command-line arguments:  -os win32 -ws win32 -arch x86
 
!ENTRY org.eclipse.ui 4 0 2013-10-25 09:34:54.099
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
            at org.apache.directory.studio.preferences.ShutdownPreferencesPage.promptOnExit(ShutdownPreferencesPage.java:140)
            at org.apache.directory.studio.ApplicationWorkbenchAdvisor.preShutdown(ApplicationWorkbenchAdvisor.java:124)
            at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1027)
            at org.eclipse.ui.internal.Workbench.access$19(Workbench.java:1024)
            at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1327)
            at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
            at org.eclipse.ui.internal.Workbench.close(Workbench.java:1325)
            at org.eclipse.ui.internal.Workbench.close(Workbench.java:1298)
            at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:1227)
            at org.eclipse.ui.internal.WorkbenchWindow.access$14(WorkbenchWindow.java:1198)
            at org.eclipse.ui.internal.WorkbenchWindow$10.run(WorkbenchWindow.java:1261)
            at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
            at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1259)
            at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1271)
            at org.eclipse.ui.internal.WorkbenchWindow$6.close(WorkbenchWindow.java:474)
            at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer$12.shellClosed(WBWRenderer.java:612)
            at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:98)
            at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1081)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
            at org.eclipse.swt.widgets.Decorations.closeWidget(Decorations.java:309)
            at org.eclipse.swt.widgets.Decorations.WM_CLOSE(Decorations.java:1697)
            at org.eclipse.swt.widgets.Control.windowProc(Control.java:4613)
            at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340)
            at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)
            at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2075)
            at org.eclipse.swt.widgets.Display.windowProc(Display.java:4977)
            at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
            at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2544)
            at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:498)
            at org.eclipse.swt.widgets.Control.windowProc(Control.java:4706)
            at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340)
            at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)
            at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2075)
            at org.eclipse.swt.widgets.Display.windowProc(Display.java:4977)
            at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
            at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2544)
            at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:498)
            at org.eclipse.swt.widgets.Control.windowProc(Control.java:4706)
            at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340)
            at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)
            at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2075)
            at org.eclipse.swt.widgets.Display.windowProc(Display.java:4977)
            at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
            at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549)
            at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
            at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
            at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
            at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
            at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
            at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
            at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
            at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
            at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
            at org.apache.directory.studio.Application.start(Application.java:51)
            at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
            at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
            at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
            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.equinox.launcher.Main.invokeFramework(Main.java:636)
            at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
            at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
 

 
***************** CONTEXT **********************

Le 25 oct. 2013 à 09:01, Stefan Seelmann a écrit :

> On 10/24/2013 10:30 PM, laurent cop wrote:
>> 
>>> Hello sorry if i am reposting back. As I have just subscribing to the list, I
have posted before subscribing...To be sure, I send again. Last time ;-)
> 
> Then here my 1st reply again:
> 
> Do you get any error/stacktrace or message about missing dependencies in
> "workspace/.metadata/.log"?
> 
>>> 
>>> Here is my question : I want to add a popup menu in studio for few tests, no
commit at this point. So I try to make a fragment without anything from studio.rcp (as a host
plugin) as it contains the Application. And I want to add a small piece of code "above"
>>> 
>>> Under eclipse, my fragment works fine without any new code.
>>> 
>>> After when I want to package as a product Standalone without adding new code,
I loose all perspectives :-(  give me something like close all perspective. core MMI of eclipse
(File, Help, etc...). Perspective is an emmpty list...  
>>> 
>>> Any help welcomed.
>>> 
>>>       Thanks
>> 
>> 
> 


Mime
View raw message