BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-10-2010, 04:45 AM   #1 (permalink)
New Member
 
Join Date: Feb 2010
Model: 9500
PIN: N/A
Carrier: Vodacom
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default LWUIT IllegalArgumentException when returning to app

Please Login to Remove!

Hi there

I have ported a J2ME app to BlackBerry, 90% of it went pretty smooth with only minor adjustments required here and there. I have however noticed some random behaviour on the BlackBerry 9500 (only model tested on so far).

To reproduce the error:
- Open my application (basically a modifed version of the LWUIT demo app)
- Press the Call Button on the handset (green button)
- Press the Back button
- Upon returning to my application a LWUIT dialog pops up stating that there is an IllegalArgumentException. The exact wording of the errors is:

Error - An internal application error occured: java.lang.IllegalArgumentException: Component is already contained in Container: (insert lots or weird variables here)

Now it looks like the framework is trying to repaint or something the screen when it gets focus. What eventually happens on another screen is the exception occurs and then the main screen is empty with only the logo displaying.

Any ideas on how to fix this, or at least not show the dialogs? The application doesn't crash or anything as yet, but it is quite annoying.

Kind regards

Wilmar
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

MELLES GRIOT 17MMR001 Mainframe W/ 17MNA001
$97.99
MELLES GRIOT 17MMR001 Mainframe W/ 17MNA001 pictureTEKTRONIX TLA 715 LOGIC ANALYZER MAINFRAME w/ TLA 7AA4 MODULE & PROBES
$550.0
TEKTRONIX TLA 715 LOGIC ANALYZER MAINFRAME w/ TLA 7AA4 MODULE & PROBES pictureHP E8408A VXI Mainframe with E1406A Command & E1419A Multifunction Modules
$1049.95
HP E8408A VXI Mainframe with E1406A Command & E1419A Multifunction Modules pictureHP 35650A SYSTEM MAINFRAME W/ EIGHT 35652A 50KHZ INPUT MODULES
$250.0
HP 35650A SYSTEM MAINFRAME W/ EIGHT 35652A 50KHZ INPUT MODULES  picture500 Series Data Acquisition Mainframe | Keithley
$25.0
500 Series Data Acquisition Mainframe | Keithley picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.