Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User Manaluusua's Avatar
    Join Date
    Jun 2009
    Posts
    6
    Hi,

    I'm trying to use S60 UI design in carbide 2.0 to create a listbox view. The problem is that when I have selected the configuration I want, I try to click the "Finish" button. Nothing happens, no error message and even the wizard dialog doesn't disappear.

    Anyone know what might be the reason behind this behavior?

    Thanks,
    Mikko

  2. #2
    Nokia Developer Champion savaj's Avatar
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034
    Nothing happens means list box is not appear in application? You can close or minimize wizard using keys on the top right corner.

  3. #3
    Registered User Manaluusua's Avatar
    Join Date
    Jun 2009
    Posts
    6
    Yes, the listbox code does not appear to the application. Nothing happens.

    It is supposed to generate some sort of source code and maybe some resources etc, aye?

    Regards,
    Mikko

  4. #4
    Registered User Manaluusua's Avatar
    Join Date
    Jun 2009
    Posts
    6
    It seems that there are some errors in the carbide.c++ error logs when it tries to generate the UI. The following errors are reported:
    A)
    eclipse.buildId=I20080617-2000
    java.version=1.5.0_15
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fi_FI
    Command-line arguments: -os win32 -ws win32 -arch x86

    This is a continuation of log file C:\symbian\workspace\Symbian\.metadata\.bak_1.log
    Created Time: 2009-07-01 16:06:35.009


    Error
    Wed Jul 01 16:16:56 EEST 2009
    Could not create application design

    java.lang.IllegalStateException
    at com.nokia.sdt.utils.Check.checkState(Check.java:78)
    at com.nokia.sdt.series60.viewwizard.WizardUtils.addSourceGenPropertiesFromTemplate(WizardUtils.java:123)
    at com.nokia.sdt.series60.viewwizard.ViewWizardManager.createRootModelFromWizardData(ViewWizardManager.java:297)
    at com.nokia.sdt.series60.viewwizard.ViewWizardManager.generateModels(ViewWizardManager.java:702)
    at com.nokia.sdt.series60.viewwizard.ViewWizard.performFinish(ViewWizard.java:240)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
    ...
    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:386)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:549)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
    B)
    eclipse.buildId=I20080617-2000
    java.version=1.5.0_15
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fi_FI
    Command-line arguments: -os win32 -ws win32 -arch x86

    This is a continuation of log file C:\symbian\workspace\Symbian\.metadata\.bak_1.log
    Created Time: 2009-07-01 16:06:35.009


    Error
    Wed Jul 01 16:16:56 EEST 2009
    object state is inconsistent

    java.lang.IllegalStateException
    at com.nokia.sdt.utils.Check.checkState(Check.java:78)
    at com.nokia.sdt.series60.viewwizard.WizardUtils.addSourceGenPropertiesFromTemplate(WizardUtils.java:123)
    at com.nokia.sdt.series60.viewwizard.ViewWizardManager.createRootModelFromWizardData(ViewWizardManager.java:297)
    at com.nokia.sdt.series60.viewwizard.ViewWizardManager.generateModels(ViewWizardManager.java:702)
    at com.nokia.sdt.series60.viewwizard.ViewWizard.performFinish(ViewWizard.java:240)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at org.eclipse.ui.internal.navigator.wizards.WizardShortcutAction.run(WizardShortcutAction.java:94)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    ...
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

    C)

    eclipse.buildId=I20080617-2000
    java.version=1.5.0_15
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fi_FI
    Command-line arguments: -os win32 -ws win32 -arch x86

    This is a continuation of log file C:\symbian\workspace\Symbian\.metadata\.bak_1.log
    Created Time: 2009-07-01 16:06:35.009


    Error
    Wed Jul 01 16:11:39 EEST 2009
    Digest could not be parsed:Unable to retrieve remote reference "http://download.eclipse.org/modeling/emf/updates/releases/digest.zip". [Server returned HTTP response code: "404 Not Found" for URL: http://download.eclipse.org/modeling...s/digest.zip.]

    D)

    eclipse.buildId=I20080617-2000
    java.version=1.5.0_15
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fi_FI
    Command-line arguments: -os win32 -ws win32 -arch x86

    This is a continuation of log file C:\symbian\workspace\Symbian\.metadata\.bak_1.log
    Created Time: 2009-07-01 16:06:35.009


    Error
    Wed Jul 01 16:07:56 EEST 2009
    argument is null

    java.lang.NullPointerException
    at com.nokia.sdt.utils.Check.checkArg(Check.java:48)
    at com.nokia.sdt.symbian.dm.SymbianModelUtils.createSourceGenSession(SymbianModelUtils.java:560)
    at com.nokia.sdt.series60.viewwizard.ViewWizardManager.getSourceCollisions(ViewWizardManager.java:1059)
    at com.nokia.sdt.series60.viewwizard.ViewWizard.collisionDetected(ViewWizard.java:292)
    at com.nokia.sdt.series60.viewwizard.ViewWizard.performFinish(ViewWizard.java:241)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
    ...
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

    I have shortened the backtraces because they were way too long to post.

  5. #5
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    java.version=1.5.0_15 you need to use latest version of the JRE .

    note: to check your installed version use http://www.javatester.org/version.html

  6. #6
    Registered User Manaluusua's Avatar
    Join Date
    Jun 2009
    Posts
    6
    Quote Originally Posted by skumar_rao View Post
    java.version=1.5.0_15 you need to use latest version of the JRE .

    note: to check your installed version use http://www.javatester.org/version.html
    Thanks!

    I updated the JRE to 1.6 but still no go. Logs look a bit different (they don't report the version etc. anymore) but the errors remained the same.

    Regards,
    Mikko

  7. #7
    Registered User Manaluusua's Avatar
    Join Date
    Jun 2009
    Posts
    6
    Quote Originally Posted by Manaluusua View Post
    Thanks!

    I updated the JRE to 1.6 but still no go. Logs look a bit different (they don't report the version etc. anymore) but the errors remained the same.

    Regards,
    Mikko
    The logs seem to still state the following information:
    !SESSION 2009-07-02 23:11:48.718 -----------------------------------------------
    eclipse.buildId=I20080617-2000
    java.version=1.5.0_15
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fi_FI
    Command-line arguments: -os win32 -ws win32 -arch x86


    I think that the java.version is the version of java that carbide.c++ is using(?) I have installed the latest JRE and found no way to configure carbide to change the java version it uses

  8. #8
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    are you using VISTA ?
    refer to http://discussion.forum.nokia.com/fo...d.php?t=109924 which has same problem.

  9. #9
    Registered User Manaluusua's Avatar
    Join Date
    Jun 2009
    Posts
    6
    Quote Originally Posted by skumar_rao View Post
    are you using VISTA ?
    refer to http://discussion.forum.nokia.com/fo...d.php?t=109924 which has same problem.
    Yes, I'm using Vista. I tried the tips mentioned in your post but they didn't seem to solve this problem. I'm still a bit confused with that java.version property in the logs. Since I have latest JRE (it also says so in Java pages when trying to update) the only thing I can come up with is that the java.version property just tells what java version the carbide has been compiled to(?).

    Also, the problem in the thread seems to be about carbide not working at all. On my system carbide 2.0 works perfectly well except that S60 ui editor.

    Anyway, thank you for your help, I really appreciate it.

    -Mikko

Similar Threads

  1. UI Design
    By hudarsono in forum Python
    Replies: 3
    Last Post: 2009-05-16, 19:19
  2. Replies: 1
    Last Post: 2008-12-09, 18:21
  3. Nokia default theme template for Carbide UI s60?
    By mstipic in forum Themes/Carbide.ui
    Replies: 1
    Last Post: 2007-03-22, 06:18
  4. Carbide c++ and S60 3rd Edition Feature Pack 1 Working
    By jimgilmour1 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2006-10-18, 20:39

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved