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.
Using NetBeans 6.0 Beta1 in Linux & Windows Vista, I found out that after a batch build, the generated JAR files were corrupted. If you create a new project using NB 5.5.1 and copy the SRC files, this doesn't happen. I think that this could be the version contriol system or something that keeps track of the written code, because it spends a lot of time eliminating the DIST and BUILD directories. PD: All the tests were performed using the exact WTK (2.5.1) and J2mePolish version (2.0 RC4), and the same build files.
could you attach a sample application + the corrupted jars?
Created attachment 51417 [details] Jars corrupted and fine
Here are the jar files: one corrupted and one working fine. I can't give you the source code because of licensing restrictions, but I can tell you it is a simple currency calculator, the texts are in spanish, just wait for the main menu and push fire in the first option to see the crash. Those jars don't fail in the emulator but it fails in motorola's and nokia's handsets (sony-ericsson works fine with both). The working jar was generated using nb5.5 with exactly the same environment (source, libs, wtk, etc). The error produced is NoSuchFieldError over a string array. I hope that's enough for you.
Obsolete