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: | WaitScreen executes CancellableTask two times. | ||
---|---|---|---|
Product: | javame | Reporter: | lauri <lauri> |
Component: | Visual Designer | Assignee: | Martin Brehovsky <breh> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
lauri
2007-01-21 12:27:28 UTC
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 |