Languages

Menu
Sites
Language
Cannot create native app project

Hi.

I've installed Tizen SDK 3.0 (dev version) and just playing around with samples.
When trying to create a native app (Stopwatch sample, for example) the IDE crashes
with multiple errors:

Decoration Calculation:
An internal error occurred during: "Decoration Calculation".
java.lang.StackOverflowError

Project cannot be created:
Project cannot be created
java.lang.StackOverflowError

Log file:

!SESSION 2015-02-13 12:37:19.438 -----------------------------------------------
eclipse.buildId=3.0 (developer version)
java.version=1.8.0_05
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en
Framework arguments:  -keyring /Users/diz/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring /Users/diz/.eclipse_keyring -showlocation

This is a continuation of log file /Users/diz/Desktop/Development/Projects/Tizen/.metadata/.bak_0.log
Created Time: 2015-02-13 13:00:08.532

!ENTRY org.eclipse.ui 4 0 2015-02-13 13:00:08.532
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
        at org.eclipse.cdt.managedbuilder.core.ManagedBuildManager.getBuildInfo(ManagedBuildManager.java:2990)
        at org.eclipse.cdt.managedbuilder.core.ManagedBuildManager.getBuildInfo(ManagedBuildManager.java:2945)
        at org.tizen.nativecpp.build.NativeConfigurationManager.setInitialDebugDefinitionSymbolIfNeeded(NativeConfigurationManager.java:762)
        at org.tizen.nativecpp.wizards.TizenCppProjectWizard.getProject(TizenCppProjectWizard.java:70)
        at org.tizen.nativeappcommon.wizards.TizenProjectWizard.performFinishInCDT(TizenProjectWizard.java:326)
        at org.tizen.nativeappcommon.wizards.TizenProjectWizard.performFinish(TizenProjectWizard.java:196)
        at org.tizen.nativecpp.wizards.TizenCppProjectWizard.performFinish(TizenCppProjectWizard.java:51)
        at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
        at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
        at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:628)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)
        at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
        at org.eclipse.jface.window.Window.open(Window.java:802)
        at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:259)
        at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:279)
        at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
        at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
        at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243)
        at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:224)
        at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
        at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:167)
        at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
        at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
        at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
        at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:420)
        at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
        at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)
        at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651)
        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:140)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
        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.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
        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(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        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)

!ENTRY org.eclipse.osgi 4 0 2015-02-13 13:00:08.713
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
        at org.eclipse.swt.SWT.error(SWT.java:4397)
        at org.eclipse.swt.SWT.error(SWT.java:4312)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3976)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3653)
        at org.eclipse.swt.widgets.Display.release(Display.java:3714)
        at org.eclipse.swt.graphics.Device.dispose(Device.java:190)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:140)
        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(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        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)
Caused by: java.lang.NullPointerException
        at org.tizen.webuibuilder.BuilderPlugin$1$1.run(Unknown Source)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
        ... 17 more
(END)

 

 

 


 


 


 

 

 

Responses

12 Replies
colin Rao

Hi, as I know the Tizen SDK 2.3 was not support java 1.8. I am not sure is it supported in Tizen SDK 3.0

Could you try to use the java 1.7 if possible.

Alex Ashirov

Hi,

According to prerequisites for Tizen SDK:

https://developer.tizen.org/downloads/sdk/installing-sdk/prerequisites-tizen-sdk

“Oracle® Java* v7 or later” are recommended. So, 1.8 should be ok. But, indeed, I remember that there were some issues with JDK 8 on previous Tizen SDK releases.

Marco Buettner

I use Java 8 for Tizen SDK 2.3 (Linux and Windows) without any problems... I install always only Java as JRE

where did you download Tizen 3.0 SDK from?

colin Rao

I think that's just a typo of Tizen SDK 2.3.0 :)

There isn't a 3.0 released.

Alex Dem

Hi,
Do you mean Tizen 2.3.0 rev2 sdk (from Feb 13)?
with 2.3.0 rev1 jdk-8u25-windows-x64 works ok for me.
Alexey.

Alex Dem

Hi, 
With rev Tizen 2.3.0rev2 jdk-8u25-windows-x64 is ok too.
Alexey.

Alex Ashirov

Hi,

What SDK version do you use? I can find native Stopwatch sample in the Tizen SDK 2.3. There was such sample in the SDK 2.2.x:

https://developer.tizen.org/dev-guide/2.2.0/org.tizen.native.appprogramming/html/sample_descriptions/stopwatch.htm

Also, there is Web Stopwatch sample for 2.3:

https://developer.tizen.org/documentation/articles/stopwatch-sample-overview

Please correct me if I am wrong.

Dmitry Bakhvalov

Guys, it was not a typo. I was talking about v3.0 and you can install it right now for yourselves.

Run installation programm and click on "Advanced", then press "Change server" button and enter
"http://download.tizen.org/sdk/latest/" URL there. Uncheck "Auto update" and check "Show all".
You should get a list of different versions. Select one with the latest date and install it. 

Do not forget to change installation folder if you want to keep v2.3. This version some nice features,
for example the emulator comes with lots of preinstalled apps (browser including). Unfortunatelly some
features dont work as expected.

P.S: I've installed SDK v2.3 and was able to create a new native app - that means it's not Java 8 fault.
Obviously there's some kind of a bug in v3.0.


 

Alex Ashirov

Hi,

Thank you for the interesting explanation. I didn’t know about that before. But of course, such SDK version can’t be stable because it isn’t officially released yet.

Alex Dem

Hi,
I think you have downloaded this:
https://wiki.tizen.org/wiki/Tizen_IVI_SDK
Alexey.

Marco Buettner

The Tizen SDK 3.0 SDK isn't official released, so if you want to make real apps use Tizen SDK 2.3