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

Testing and Deployment

Reply
New Contributor
Posts: 4
Registered: ‎05-10-2010
My Device: blackberry curve 8300
My Carrier: software development

Access violation writing to 0x00000008

Friends.

 

I´m using Eclipse Galileo (3.5); JDK 1.6 and the last Blackberry Eclipse plugin (5.0). The installtion of the plugin was succesfull. I´m trying to run my first Hello world Aplication, everything is ok, there arent errors but when I want to run my aplication using the default simulator (Blackberry 8520 Simulator) I get the following error:

 

1933i137C6C7206DB60E9

 

Your help is welcome. Thank you so much.

 

Greetings. 

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

Re: Access violation writing to 0x00000008

Does this appear when you start the BlackBerry smartphone simulator or when you start your actual application?  If it is your application what line of code triggers this?

 

Note that you can run the clean.bat file located in the directory below to reset the simulator back to its default state.

 

.\Eclipse\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.25\components\simulator

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
New Contributor
Posts: 4
Registered: ‎05-10-2010
My Device: blackberry curve 8300
My Carrier: software development

Re: Access violation writing to 0x00000008

Thank you so much for Writing.

 

Yesterday I did use one of the default simlutors (9630) and the Hello world works with no problem because I´m following a great manual. But the strange thing is the application works with the 9630 simulator but with other simultars I´m getting the error I mentioned. This ocurrs with the JDE too  ( my aplication works only with the 9630 simulator )

 

I  ran the clean.bat ( because I found this information in other form posts) and the error is the same.

 

And the error appears when the application is tryng to open de Simulator.

 

my thoery and question.. ¿the new simulators with tactil screen like storm have some problem with my code bacause it is made to work wit standar blackberry with keyboard?

 

My hello world has 2 clases

package com.beginningblackberry.helloworld;
-------------------------------------------------------------------------------
import net.rim.device.api.ui.UiApplication;

class HelloWorldApp extends UiApplication {
    HelloWorldApp() {    
        HelloWorldMainScreen mainScreen = new HelloWorldMainScreen();
        pushScreen(mainScreen);
    }
    
    public static void main(String[] args) {
        HelloWorldApp app = new HelloWorldApp();
        app.enterEventDispatcher();
    }
}

-----------------------------------------------------------------------------

 

package com.beginningblackberry.helloworld;

import net.rim.device.api.ui.container.MainScreen;
import net.rim.device.api.ui.component.LabelField;

/**
 *
 */
class HelloWorldMainScreen extends MainScreen {
    HelloWorldMainScreen() {
        LabelField labelField = new LabelField("Hello World");
        add(labelField);
       }
}

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

Re: Access violation writing to 0x00000008

Is the BlackBerry 8520 simulator you are testing with also running BlackBerry device software version 5.0?  If not, the application you build in the version 5.0 BlackBerry Java SDK would not be compatible.

 

Appropriate version of the BlackBerry JDE

http://supportforums.blackberry.com/t5/Java-Development/Appropriate-version-of-the-BlackBerry-JDE/ta...

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.