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

Posts: 238
Registered: ‎08-26-2008
My Device: Not Specified

New ByteArrayOutputStream null when ODD on Storm



i faced the following problem.


I updated the firmware of my bb storm yesterday (

Now doing a ondevice debug calling the line :

baos = new ByteArrayOutputStream();


results that baos is null!!

No exception is thrown. And even better, it happens not every time, but almost!


Any suggestions to that **bleep**ty behaviour?


Best regards,


BlackBerry Development Advisor
Posts: 15,784
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: New ByteArrayOutputStream null when ODD on Storm

I haven't been able to reproduce this.  Does it only happen when you are debugging on a live device?  Can you provide any further details on the circumstances for when this occurs?
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