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.
Problem causes WaitScreen to execute given CancellableTask two times. This is race problem can occur in following case: 1. DeleteFile is called as last operation in CancellableTask. 2. This makes OS to query if operation is allowed. 3. When user allows operation, CancellableTask terminates. 4. now OS makes WaiScreen visible. 5. As task is not running (it already terminated), it is started again (in showNotify). Problems is seen in Nokia 6233 (S40 3rd edition) devices. -- Lauri
I was able to reproduce the problem with the latest S40 emulator. This problem is caused by a race condition when switching displayables, The following fix helped on the emulator, please check whether it helps also on your device: cvs diff -- org\netbeans\microedition\lcdui\WaitScreen.java (in directory C:\space\cvs_root\trunk\mobility\designer\nb_midp_components\src\) Index: org/netbeans/microedition/lcdui/WaitScreen.java =================================================================== RCS file: /cvs/mobility/designer/nb_midp_components/src/org/netbeans/microedition/lcdui/WaitScreen.java,v retrieving revision 1.3 diff -r1.3 WaitScreen.java 208,209c208,214 < WaitScreen.this.backgroundExecutor = null; < doAction(); --- > getDisplay().callSerially(new Runnable() { > public void run() { > WaitScreen.this.backgroundExecutor = null; > doAction(); > } > }); >
Fix commited to release551.
according to http://wiki.netbeans.org/wiki/view/Release551BranchIntegrationRules developer must to add 551_HR_FIX keyword to issues committed to 5.5.1 branch
please, don't forget to set up the Target Milestone
verified in RC1 of 551