Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
Posts: 5
Registered: ‎12-06-2009
My Device: Blackberry Z10
My Carrier: Verizon

JSR 239 Error

[ Edited ]

I am getting the following error when trying to run the Code sample: Rendering a multi color 2-D triangle from the OS 5.0 beta sample code.  I copied the code right from the PDF without changes but get the following error:

 

JVM Error 104

Uncaught:

IllegalArgumentException

 

Has anyone run this code?

 

Thanks

 

Life Is Full Of Pictures
BlackBerry Development Advisor
Posts: 15,753
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: JSR 239 Error

Are you testing this sample on a BlackBerry 9520/9550 (simulator) from a 5.0 beta 5 release?  OpenGLES is not supported on all BlackBerry smartphone models and was not included in previous 5.0 betas.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Highlighted
Developer
Posts: 1,807
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.3.2.858, Z10 (STL100-3)-10.3.1.2576, Z30 (STA100-5)-10.3.1.2582, Passport (SQW100-1)-10.3.1.2576, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: JSR 239 Error

As I posted in your other thread, yes. I created my own 3D app but never recieved an IllegalArgumentException. I recieved an Fatal Error Access code 0x00000000 but found that it was my fault for getting the error and actually used the same code you are using to fix the issue. Then created an app that used that code for testing and it worked just fine.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.