Skip to Content
0
Former Member
Feb 01, 2016 at 09:57 AM

Not able to test a sample sdk extension following the sdk developer guide?

37 Views

I'm following the design studio sdk developer guide, everything is fine until I reach the step "3.17 Testing a Sample SDK Extension", I got the following error shown in the console, what's the problem? how to fix it??

!SESSION 2016-02-01 17:48:48.892 -----------------------------------------------

eclipse.buildId=@qualifier@

java.version=1.8.0_66

java.vendor=Oracle Corporation

BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US

Framework arguments: -product com.sap.ip.bi.zen

Command-line arguments: -product com.sap.ip.bi.zen -data C:\Users\I056958\workspace/../runtime-DesignStudioSDK -dev file:C:/Users/I056958/workspace/.metadata/.plugins/org.eclipse.pde.core/Design Studio SDK/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog

!ENTRY org.eclipse.equinox.ds 1 0 2016-02-01 17:48:50.037

!MESSAGE Could not bind a reference of component com.sap.ip.bi.base.application.DeclaredServiceActivator. The reference is: Reference[name = IActivatorBase, interface = com.sap.ip.bi.base.bundle.IActivatorBase, policy = dynamic, cardinality = 0..n, target = null, bind = addRICActivator, unbind = removeRICActivator]

!ENTRY org.eclipse.update.configurator 4 0 2016-02-01 17:49:02.886

!MESSAGE Unable to find feature.xml in directory: C:\Program Files\SAP BusinessObjects\Design Studio\features\__sap.dir

!ENTRY org.eclipse.core.resources 2 10035 2016-02-01 17:49:03.908

!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

!ENTRY com.sap.ip.bi.zen 4 0 2016-02-01 17:49:08.142

!MESSAGE Failed to create temporary folder

!STACK 1

org.eclipse.core.internal.resources.ResourceException: Resource '/com.sap.ip.bi.zen' is not open.

at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:143)

at org.eclipse.core.internal.resources.Folder.assertCreateRequirements(Folder.java:33)

at org.eclipse.core.internal.resources.Folder.create(Folder.java:93)

at org.eclipse.core.internal.resources.Folder.create(Folder.java:121)

at com.sap.ip.bi.zen.DesignerEnvironmentBase.getTempFolder(DesignerEnvironmentBase.java:163)

at com.sap.ip.bi.zen.ZenPluginBase.createApplicationProject(ZenPluginBase.java:401)

at com.sap.ip.bi.zen.ui.internal.application.ZenApplicationWorkbenchWindowAdvisor.preWindowOpen(ZenApplicationWorkbenchWindowAdvisor.java:111)

at org.eclipse.ui.internal.WorkbenchWindow.fireWindowOpening(WorkbenchWindow.java:1629)

at org.eclipse.ui.internal.WorkbenchWindow.setup(WorkbenchWindow.java:650)

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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)

at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:898)

at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:121)

at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:86)

at org.eclipse.e4.core.contexts.ContextInjectionFactory.inject(ContextInjectionFactory.java:73)

at org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1486)

at org.eclipse.ui.internal.Workbench.getActiveWorkbenchWindow(Workbench.java:1460)

at org.eclipse.ui.internal.services.WorkbenchSourceProvider.updateActiveShell(WorkbenchSourceProvider.java:944)

at org.eclipse.ui.internal.services.WorkbenchSourceProvider.getCurrentState(WorkbenchSourceProvider.java:138)

at org.eclipse.ui.internal.services.WorkbenchSourceProvider$6.handleEvent(WorkbenchSourceProvider.java:704)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1266)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1112)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1137)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1122)

at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1673)

at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2193)

at org.eclipse.swt.widgets.Control.windowProc(Control.java:4659)

at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:339)

at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1633)

at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2117)

at org.eclipse.swt.widgets.Display.windowProc(Display.java:5050)

at org.eclipse.swt.internal.win32.OS.BringWindowToTop(Native Method)

at org.eclipse.swt.widgets.Decorations.bringToTop(Decorations.java:230)

at org.eclipse.swt.widgets.Shell.open(Shell.java:1244)

at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.postProcess(WBWRenderer.java:694)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:658)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711)

at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1057)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)

at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)

at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)

at com.sap.ip.bi.zen.ui.internal.application.ZenApplication.start(ZenApplication.java:36)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)

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:669)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)

at org.eclipse.equinox.launcher.Main.run(Main.java:1515)

at org.eclipse.equinox.launcher.Main.main(Main.java:1488)

!SUBENTRY 1 org.eclipse.core.resources 4 372 2016-02-01 17:49:08.147

!MESSAGE Resource '/com.sap.ip.bi.zen' is not open.

!ENTRY org.eclipse.e4.ui.workbench.swt 4 2 2016-02-01 17:49:08.150

!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.e4.ui.workbench.swt".

!STACK 0

org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException

at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:68)

at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:898)

at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:121)

at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:86)

at org.eclipse.e4.core.contexts.ContextInjectionFactory.inject(ContextInjectionFactory.java:73)

at org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1486)

at org.eclipse.ui.internal.Workbench.getActiveWorkbenchWindow(Workbench.java:1460)

at org.eclipse.ui.internal.services.WorkbenchSourceProvider.updateActiveShell(WorkbenchSourceProvider.java:944)

at org.eclipse.ui.internal.services.WorkbenchSourceProvider.getCurrentState(WorkbenchSourceProvider.java:138)

at org.eclipse.ui.internal.services.WorkbenchSourceProvider$6.handleEvent(WorkbenchSourceProvider.java:704)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1266)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1112)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1137)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1122)

at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1673)

at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2193)

at org.eclipse.swt.widgets.Control.windowProc(Control.java:4659)

at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:339)

at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1633)

at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2117)

at org.eclipse.swt.widgets.Display.windowProc(Display.java:5050)

at org.eclipse.swt.internal.win32.OS.BringWindowToTop(Native Method)

at org.eclipse.swt.widgets.Decorations.bringToTop(Decorations.java:230)

at org.eclipse.swt.widgets.Shell.open(Shell.java:1244)

at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.postProcess(WBWRenderer.java:694)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:658)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711)

at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1057)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)

at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)

at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)

at com.sap.ip.bi.zen.ui.internal.application.ZenApplication.start(ZenApplication.java:36)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)

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:669)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)

at org.eclipse.equinox.launcher.Main.run(Main.java:1515)

at org.eclipse.equinox.launcher.Main.main(Main.java:1488)

Caused by: java.lang.NullPointerException

at com.sap.ip.bi.zen.ZenPluginBase.createApplicationProject(ZenPluginBase.java:402)

at com.sap.ip.bi.zen.ui.internal.application.ZenApplicationWorkbenchWindowAdvisor.preWindowOpen(ZenApplicationWorkbenchWindowAdvisor.java:111)

at org.eclipse.ui.internal.WorkbenchWindow.fireWindowOpening(WorkbenchWindow.java:1629)

at org.eclipse.ui.internal.WorkbenchWindow.setup(WorkbenchWindow.java:650)

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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)

... 53 more

!ENTRY org.eclipse.e4.ui.workbench 4 0 2016-02-01 17:49:08.154

!MESSAGE Exception occurred while rendering: org.eclipse.e4.ui.model.application.ui.basic.impl.TrimmedWindowImpl@3babcaed (elementId: IDEWindow, tags: [topLevel], contributorURI: platform:/plugin/org.eclipse.ui.workbench) (widget: Shell {}, renderer: org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer@4caf875c, toBeRendered: true, onTop: false, visible: true, containerData: null, accessibilityPhrase: null) (label: null, iconURI: null, tooltip: null, context: TrimmedWindowImpl (IDEWindow) Context, variables: [], x: -2147483648, y: -2147483648, width: 5, height: 5)

!STACK 0

org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException

at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:68)

at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:898)

at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:121)

at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:86)

at org.eclipse.e4.core.contexts.ContextInjectionFactory.inject(ContextInjectionFactory.java:73)

at org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1486)

at org.eclipse.ui.internal.Workbench.getActiveWorkbenchWindow(Workbench.java:1460)

at org.eclipse.ui.internal.services.WorkbenchSourceProvider.updateActiveShell(WorkbenchSourceProvider.java:944)

at org.eclipse.ui.internal.services.WorkbenchSourceProvider.getCurrentState(WorkbenchSourceProvider.java:138)

at org.eclipse.ui.internal.services.WorkbenchSourceProvider$6.handleEvent(WorkbenchSourceProvider.java:704)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1266)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1112)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1137)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1122)

at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1673)

at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2193)

at org.eclipse.swt.widgets.Control.windowProc(Control.java:4659)

at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:339)

at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1633)

at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2117)

at org.eclipse.swt.widgets.Display.windowProc(Display.java:5050)

at org.eclipse.swt.internal.win32.OS.BringWindowToTop(Native Method)

at org.eclipse.swt.widgets.Decorations.bringToTop(Decorations.java:230)

at org.eclipse.swt.widgets.Shell.open(Shell.java:1244)

at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.postProcess(WBWRenderer.java:694)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:658)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711)

at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1057)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)

at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)

at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)

at com.sap.ip.bi.zen.ui.internal.application.ZenApplication.start(ZenApplication.java:36)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)

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:669)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)

at org.eclipse.equinox.launcher.Main.run(Main.java:1515)

at org.eclipse.equinox.launcher.Main.main(Main.java:1488)

Caused by: java.lang.NullPointerException

at com.sap.ip.bi.zen.ZenPluginBase.createApplicationProject(ZenPluginBase.java:402)

at com.sap.ip.bi.zen.ui.internal.application.ZenApplicationWorkbenchWindowAdvisor.preWindowOpen(ZenApplicationWorkbenchWindowAdvisor.java:111)

at org.eclipse.ui.internal.WorkbenchWindow.fireWindowOpening(WorkbenchWindow.java:1629)

at org.eclipse.ui.internal.WorkbenchWindow.setup(WorkbenchWindow.java:650)

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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)

... 53 more