Skip to Main Content

jdk.dio.DeviceNotFoundException: Driver reported error

user8893511May 30 2016 — edited May 30 2016

I use JME sdk 8.3 with rspi 3 and other simulator of jme 8.3.

When i try following code in a midlet

GPIOPinConfig config1 = new GPIOPinConfig.Builder()

                    .setControllerNumber(0)

                    .setPinNumber(BTN_PIN)

                    .setDirection(GPIOPinConfig.DIR_INPUT_ONLY)

                    .setDriveMode(GPIOPinConfig.UNASSIGNED)

                    .setTrigger(GPIOPinConfig.TRIGGER_BOTH_EDGES)

                    .setInitValue(false)

                    .setControllerName(null)

                    .build();

                                

  button1 = DeviceManager.open(config1);

I obtain the following error :

jdk.dio.DeviceNotFoundException: Driver reported error

- .unknown...unknown.(), bci=0

- .unknown..<init>(), bci=84

- com/oracle/dio/gpio/impl/GPIOPinFactory..unknown.(), bci=6

- com/oracle/dio/gpio/impl/GPIOPinFactory..unknown.(), bci=3

- jdk/dio/DeviceManager..unknown.(), bci=49

- jdk/dio/DeviceManager.open(), bci=6

- jdk/dio/DeviceManager.open(), bci=2

- com/lombamarc/jmee/gpio/GPIOLed.startApp(GPIOLed.java:76)

- .unknown...unknown.(), bci=1

- .unknown...unknown.(), bci=5

- .unknown...unknown.(), bci=220

- .unknown...unknown.(), bci=38

- .unknown...unknown.(), bci=5

- .unknown...unknown.(), bci=130

- com/sun/midp/main/AppIsolateMIDletSuiteLoader.main(), bci=23

Any solutions ?

Comments
Post Details
Added on May 30 2016
0 comments
888 views