This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Cannot create J2ME application | ||
---|---|---|---|
Product: | javame | Reporter: | lehel |
Component: | -- Other -- | Assignee: | Roman Svitanic <rsvitanic> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
IDE log
J2ME project creating wizard |
Description
lehel
2013-06-12 12:14:43 UTC
Created attachment 135683 [details]
IDE log
Can you please specify the steps how we can reproduce this issue? Have you tried to create a new J2ME maven project using some archetype? (In reply to comment #2) > Can you please specify the steps how we can reproduce this issue? Have you > tried to create a new J2ME maven project using some archetype? No. Simply I did the following steps, using Netbeans' project wizard from menu: 1. File-New Project 2. Choose Maven from the "Categories:", then J2ME -> MobileApplication from "Projects:" 3. Press Next Could you please run NetBeans from command line, then go to the problematic step in wizard where this issue occurs and press Ctrl+Shift+F1 to print the AWT component hierarchy dump? Then please copy and attach here this dump. Thanks. Created attachment 135713 [details]
J2ME project creating wizard
NetBeans Dev 201306100004
It seems to problem with userdir. Java ME category should not be inside Maven since these are not Maven projects. Please try to run NetBeans with new userdir (or delete current dev userdir and cachedir). http://wiki.netbeans.org/FaqAlternateUserdir Ok. That was the problem. But I don't know why this happened...Beforehand I was creating a JSF primefaces maven web application. This could scramble my userdir or cachedir? Now I created a J2ME project but I still can't run the application. I got the following error: C:\Documents and Settings\Sipos Lehel\Dokumentumok\NetBeansProjects\NetbeansTest\731\MobileApplication1\nbproject\build-impl.xml:56: Classpath to J2ME Ant extension library (libs.j2me_ant_ext.classpath property) is not set. For example: location of mobility/modules/org-netbeans-mobility-antext.jar file in the IDE installation directory. Dev userdir could be corrupted by changing IDE dev builds without deleting of this userdir. Now it seems that you have corrupted build.properties and this is not a bug. Please run NetBeans with clean/new userdir and add ME SDK platform. Thean create a new project. Closing this as INVALID since original problem was not a bug. Now it seems to work correctly all things. But the problem was not with my build.properties, it was not corrupted. All things were deleted, before installing the new netbeans, and j2me platform was installed on my computer(Java_ME_platform_SDK_3.3_Preview) too, and j2me platforms were added to netbeans(with java platform manager in netbeans). One ting I did not do before running a j2me application: - installing all the java me plugins from Tools->Plugins->Available Plugins After doing also this step the j2me application run correctly without any error. So, you have right, this is not a bug, or not the bug what I thought at beginning. Thank you for closing this, but my question is should we always install those plugins for using j2me? -Mobility -Java ME SDK Tools -LWUIT Resource Editor -Java ME SDK Demos -Visual Mobile Designer (In reply to comment #9) > So, you have right, this is not a bug, or not the bug what I thought at > beginning. Thank you for closing this, but my question is should we always > install those plugins for using j2me? > > -Mobility > -Java ME SDK Tools > -LWUIT Resource Editor > -Java ME SDK Demos > -Visual Mobile Designer No, you can have only Mobility installed and activated. It comes with NetBeans full bundle. Activated it's when you create first ME project. And then of course, you need to have at least one Java ME Platform (SDK) installed. |