Your SlideShare is downloading. ×
J2ME – Netbeans X.X – Frequent Errors & Their Solutions
Error: Execution failed with error code 1
Reason: When your Netbea...
J2ME – Netbeans X.X – Frequent Errors & Their Solutions
Error: Project Creation Error – NullPointerException – Sometimes E...
Upcoming SlideShare
Loading in...5
×

Frequent J2ME Netbeans Errors & its Resolutions

616

Published on

Some Few Frequent Errors which one can face while working with J2ME & Netbeans version <7.2 most probably.

Published in: Self Improvement
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
616
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Frequent J2ME Netbeans Errors & its Resolutions"

  1. 1. J2ME – Netbeans X.X – Frequent Errors & Their Solutions Error: Execution failed with error code 1 Reason: When your Netbeans is not able to find any suitable SDKs of mobility profile which has been set. Solution: Install latest i.e. 3.4 SDK version of J2ME which is available at http://www.oracle.com/technetwork/java/javame/javamobile/download/sdk/index.html (You need to register to Oracle to download the SDK). It is simple installer file which you have install in your suitable location. The plugins are also there to download for Netbeans, Also try to install those plugins for netbeans which you can do by going Tools->Plugins->Downloaded option->Add Plugins in your Netbeans IDE. After completion of installation process described above, you need to change the platform of your project. Once you have installed the JavaME SDK correctly & have configured your project with right plateform you are good to go. Details: http://forums.netbeans.org/topic22549.html http://stackoverflow.com/questions/16094938/build-impl-xml913-execution-failed-with-error-code-1j2me/19001697#19001697 http://www.vbforums.com/showthread.php?605685-RESOLVED-Netbeans-6-8-Execution-Failed-With-Error-Code-1 WCMP – J2ME – BE-7th Sem – Vintesh Patel – SCET
  2. 2. J2ME – Netbeans X.X – Frequent Errors & Their Solutions Error: Project Creation Error – NullPointerException – Sometimes Error Says-Node.java/Tree.java or something like that Reason: Multiple versions of Netbeans can lead to unmanaged user profile settings which stores user configurations in XML files & those files are corrupted & you need to reset it. Solution: Preferred that before you delete this you have taken backup of all of the content. So that you can restore if necessary. Remove/Delete the user settings by deleting the folder – For Windows XP – User settings folder is – which you need to delete is, C:Documents and Settings<Username>Local SettingsApplication DataNetbeans For Windows 7 – User settings folder is – which you need to delete is, C:Users<Username>AppDataRoamingNetBeans – Delete all folders in this current folder & try. There may be 2 folders for your login i.e. <username> & <username>.Remote or something like that – you have to check in both. If still no success then you better uninstall all versions of Netbeans & install the latest one. Details: http://wiki.netbeans.org/FaqWhatIsUserdir http://stackoverflow.com/questions/8689780/how-to-clear-the-cache-in-netbeans Error: Library/Reference Missing Errors Reasons: You may not have selected the correct CLDC & MIDP versions for the project or there is no J2ME SDK installed. Solution: Go to Project Properties & Check option Platform & Correct your CLDC & MIDP versions. Sometimes you need to change the Emulator of the Cell Phone/Handset. * If still anyone have some difficulties then you can always ask or just do email. WCMP – J2ME – BE-7th Sem – Vintesh Patel – SCET

×