Some things to check:
1) Are you running Java ME on the RasPi as sudo to make sure Java has full access to all peripherals? E.g. $ sudo usertest.sh
2) Did you request GPIO permissions for the MIDlet, and did you sign the MIDlet or set the NullAuthenticationProvider? See
3) Can you post the Java log?