×

Discussion Board

Page 4 of 6 FirstFirst 123456 LastLast
Results 46 to 60 of 90
  1. #46
    andu77
    Guest

    Re: Nokia SDK 2.0 for Java (beta) released - a prize for your feedback sir?

    Hello everybody,

    I'm having problems debugging MIDlets using Nokia IDE for Java ME (Eclipse) v1. Here is the link detailing my problems. Any idea ? Thank you!

    Best,
    Andu.

  2. #47
    andu77
    Guest

    Re: Nokia SDK 2.0 for Java (beta) released - a prize for your feedback sir?

    I increased communication to debugger timeout as described here and here from default 15s to half a minute and seems better. Launch was already 20s. I'll come back if I still have pbs.
    Last edited by andu77; 2012-08-18 at 15:58.

  3. #48
    Registered User
    Join Date
    Jan 2007
    Posts
    49

    Re: Nokia SDK 2.0 for Java (beta) released - a prize for your feedback sir?

    Debugging 1 out of 2 attempts shows this:

    Uncaught exception java/lang/IllegalArgumentException.
    at com.nokia.targetdebug.KDWPDebugger.shutdown()V(+34)
    at com.nokia.targetdebug.KDWPDebugger.run()V(+32)
    Connected to KVM
    Interfaces cmd: exception java.lang.Exception: Couldn't get ClassFile object for Interfaces cmd
    ALL_CLASSES_CMD: couldn't find classfile object

  4. #49
    Registered User
    Join Date
    Jan 2007
    Posts
    49

    Re: Nokia SDK 2.0 for Java (beta) released - a prize for your feedback sir?

    1 out of 2 attempts i get this:

    Emulator: Could not delete C:\Users\jkoorts\AppData\Local\Temp\ueiemulator7864682597137290226\MyApp.jad
    Emulator: Could not delete C:\Users\jkoorts\AppData\Local\Temp\ueiemulator7864682597137290226\MyApp.jar
    Emulator: Could not delete C:\Users\jkoorts\AppData\Local\Temp\ueiemulator7864682597137290226

  5. #50
    Registered User
    Join Date
    Jan 2007
    Posts
    49

    Re: Nokia SDK 2.0 for Java (beta) released - a prize for your feedback sir?

    Debugging shows:

    "Invalid application. Delete?"

    I click no - cause I want to debug. Now the emulator is frozen.

  6. #51
    Registered User
    Join Date
    Jan 2007
    Posts
    49

    Re: Nokia SDK 2.0 for Java (beta) released - a prize for your feedback sir?

    Codename one Hallo World app does not debug:

    WARNING: Jar file is too large to run on actual device.
    Emulator command: C:\Nokia\Devices\Nokia_SDK_2_0_Java\bin\Nokia_SDK_2_0_Java_em.exe -debugger -vm_port 49157 -Xdomain:trusted -classpath "C:\Users\jkoorts\AppData\Local\Temp\_mtj.tmpjkoorts\CNTestBench482295053257729640.launch\CNTestBench.jar" "C:\Users\jkoorts\AppData\Local\Temp\_mtj.tmpjkoorts\CNTestBench482295053257729640.launch\CNTestBench.jad"
    Connecting to Running "Nokia SDK 2.0 for Java" Instance #2000 ...
    connected to port 52145
    creating pipe
    replacing stdout or stderr handle
    WARNING: Unrecognized argument 4: -Xdomain:trusted
    Debug proxy command: kdp.KVMDebugProxy -l 52140 -p -r localhost 49157 -classpath C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\cldc10.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\cldc11.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\frameanimator.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\gesture.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\inapp.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr120.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr135.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr172_rpc.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr172_xmlparser.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr177_apdu.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr177_crypto.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr179.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr184.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr205.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr211.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr226.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr234.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr256.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr75_file.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr75_pim.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr82.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\midp10.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\midp20.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\midp21.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\nokiaui.jar;C:\Users\jkoorts\AppData\Local\Temp\_mtj.tmpjkoorts\CNTestBench482295053257729640.launch\CNTestBench.jar;C:\Users\jkoorts\AppData\Local\Temp\_mtj.tmpjkoorts\CNTestBench482295053257729640.launch\CNTestBench.jar
    Connecting to localhost on port 49157
    Waiting for debugger on port 52140
    Waiting for KVM...
    Connection received.
    Connected to KVM
    Uncaught exception java/lang/IllegalArgumentException.
    at com.nokia.targetdebug.KDWPServer.shutdown()V(+146)
    at com.nokia.targetdebug.KDWPStateManager.run()V(+139)


    I'm sorry to say this but I cant believe in this day of age, that a piece of software can be such junk. Debugging on this SDK is impossible.

  7. #52
    Registered User
    Join Date
    Jan 2007
    Posts
    49

    Re: Nokia SDK 2.0 for Java (beta) released - a prize for your feedback sir?

    HalloWorld app does not debug:

    public class HalloWorld extends MIDlet {

    protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
    }

    protected void pauseApp() {
    }

    protected void startApp() throws MIDletStateChangeException {
    Display display = Display.getDisplay(this);
    display.setCurrent(new GMain(display));
    }

    class GMain extends Canvas {

    public GMain(Display display) {
    this.setFullScreenMode(true);
    }

    protected void paint(Graphics g) {
    g.setColor(0x345344);
    g.fillRect(0, 0, 200, 300);
    g.setColor(0x0);
    g.drawLine(0, 0, 200, 300);
    }
    }
    }

    Emulator command: C:\Nokia\Devices\Nokia_SDK_2_0_Java\bin\Nokia_SDK_2_0_Java_em.exe -debugger -vm_port 49157 -classpath "C:\Users\jkoorts\AppData\Local\Temp\_mtj.tmpjkoorts\HalloWorldJ2me8186027188341982360.launch\HalloWorldJ2me.jar" "C:\Users\jkoorts\AppData\Local\Temp\_mtj.tmpjkoorts\HalloWorldJ2me8186027188341982360.launch\HalloWorldJ2me.jad"
    Connecting to Running "Nokia SDK 2.0 for Java" Instance #2000 ...
    connected to port 52204
    connected to port 52205
    Debug proxy command: kdp.KVMDebugProxy -l 52200 -p -r localhost 49157 -classpath C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\cldc10.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\cldc11.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\frameanimator.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\gesture.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\inapp.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr120.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr135.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr172_rpc.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr172_xmlparser.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr177_apdu.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr177_crypto.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr179.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr184.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr205.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr211.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr226.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr234.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr256.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr75_file.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr75_pim.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr82.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\midp10.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\midp20.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\midp21.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\nokiaui.jar;C:\Users\jkoorts\AppData\Local\Temp\_mtj.tmpjkoorts\HalloWorldJ2me8186027188341982360.launch\HalloWorldJ2me.jar;C:\Users\jkoorts\AppData\Local\Temp\_mtj.tmpjkoorts\HalloWorldJ2me8186027188341982360.launch\HalloWorldJ2me.jar
    Connecting to localhost on port 49157
    Waiting for KVM...
    Waiting for debugger on port 52200
    Connection received.
    Connected to KVM
    Uncaught exception java/lang/IllegalArgumentException.
    at com.nokia.targetdebug.KDWPServer.shutdown()V(+146)
    at com.nokia.targetdebug.KDWPStateManager.run()V(+139)

  8. #53
    Registered User
    Join Date
    Jan 2007
    Posts
    49

    Re: Nokia SDK 2.0 for Java (beta) released - a prize for your feedback sir?

    Opening a CN1 project gives me a Out of memory popup.

    "An out of memory error has occured. consult the running eclipse........."

    Do you want to exit the workbench?"

    JUNK

  9. #54
    Registered User
    Join Date
    Jan 2007
    Posts
    49

    Re: Nokia SDK 2.0 for Java (beta) released - a prize for your feedback sir?

    Switching between projects does not work. Project A runs. Close Project A. Open Project B. Debug B. Now it complains it cant find A!

    UEIInvocationParameters: About to call FileUtils.createFakeJadAndJar(classname=mobi.bozza.Bozzaclasspath=null)
    Emulator command: C:\Nokia\Devices\Nokia_SDK_2_0_Java\bin\Nokia_SDK_2_0_Java_em.exe -Xdomain:trusted
    Connecting to Running "Nokia SDK 2.0 for Java" Instance #2000 ...
    connected to port 52520
    connected to port 52521
    WARNING: Unrecognized argument 1: -Xdomain:trusted
    Warning: File not found: C:\Users\jkoorts\AppData\Local\Temp\ueiemulator2999646427098920842\HalloWorld.jar
    WARNING: File not found: C:\Users\jkoorts\AppData\Local\Temp\ueiemulator2999646427098920842\HalloWorld.jar

  10. #55
    Registered User
    Join Date
    Jan 2007
    Posts
    49

    Re: Nokia SDK 2.0 for Java (beta) released - a prize for your feedback sir?

    Warning: File not found: C:\Nokia\NokiaDevEnv\workspace\mobileclient\.mtj.tmp\emulation\mobileclient.jar
    WARNING: File not found: C:\Nokia\NokiaDevEnv\workspace\mobileclient\.mtj.tmp\emulation\mobileclient.jar

    One is "Warning" other is "WARNING"

  11. #56
    Registered User
    Join Date
    Jan 2007
    Posts
    49

    Re: Nokia SDK 2.0 for Java (beta) released - a prize for your feedback sir?

    Cleaning a project does not work:

    Errors occurred during the build.
    Errors running builder 'Package Builder' on project 'mobileclient'.
    Problems encountered while deleting resources.
    Could not delete 'C:\Nokia\NokiaDevEnv\workspace\mobileclient\.mtj.tmp\emulation\4A82146D76287C2231F9ABA37C4DF710276.jar'.
    Problems encountered while deleting files.
    Could not delete: C:\Nokia\NokiaDevEnv\workspace\mobileclient\.mtj.tmp\emulation\4A82146D76287C2231F9ABA37C4DF710276.jar.
    Problems encountered while deleting resources.
    Could not delete 'C:\Nokia\NokiaDevEnv\workspace\mobileclient\.mtj.tmp\emulation\4A82146D76287C2231F9ABA37C4DF710276.jar'.
    Problems encountered while deleting files.
    Could not delete: C:\Nokia\NokiaDevEnv\workspace\mobileclient\.mtj.tmp\emulation\4A82146D76287C2231F9ABA37C4DF710276.jar.

  12. #57
    Registered User
    Join Date
    Jan 2007
    Posts
    49

    Re: Nokia SDK 2.0 for Java (beta) released - a prize for your feedback sir?

    Sometimes debugging wont work because "Invalid Preverifier file" mysteriously appear as an error in Preferences > Java ME > Preverfication

  13. #58
    Registered User
    Join Date
    Jan 2007
    Posts
    49

    Re: Nokia SDK 2.0 for Java (beta) released - a prize for your feedback sir?

    Sometimes hitting the Debug button, does nothing. Nothing happens. Absolutely nothing.

  14. #59
    Registered User
    Join Date
    Jan 2007
    Posts
    49

    Re: Nokia SDK 2.0 for Java (beta) released - a prize for your feedback sir?

    Sometimes debugging shows some emulator life, even without any errors, but the app does not start.


    UEIInvocationParameters: About to call FileUtils.createFakeJadAndJar(classname=mobi.bozza.Bozzaclasspath=null)
    Emulator command: C:\Nokia\Devices\Nokia_SDK_2_0_Java\bin\Nokia_SDK_2_0_Java_em.exe -debugger -vm_port 49157 -Xdomain:trusted
    Connecting to Running "Nokia SDK 2.0 for Java" Instance #2000 ...
    connected to port 53362
    creating pipe
    replacing stdout or stderr handle
    WARNING: Unrecognized argument 4: -Xdomain:trusted
    Debug proxy command: kdp.KVMDebugProxy -l 53354 -p -r localhost 49157 -classpath C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\cldc10.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\cldc11.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\frameanimator.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\gesture.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\inapp.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr120.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr135.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr172_rpc.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr172_xmlparser.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr177_apdu.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr177_crypto.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr179.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr184.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr205.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr211.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr226.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr234.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr256.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr75_file.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr75_pim.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\jsr82.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\midp10.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\midp20.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\midp21.jar;C:\Nokia\Devices\Nokia_SDK_2_0_Java\lib\nokiaui.jar
    Connecting to localhost on port 49157
    Waiting for debugger on port 53354
    Waiting for KVM...
    Connection received.

  15. #60
    Registered User
    Join Date
    Jan 2007
    Posts
    49

    Re: Nokia SDK 2.0 for Java (beta) released - a prize for your feedback sir?

    Sometimes when trying to debug, something connects to a port and then disconnects almost immediately.


    UEIInvocationParameters: About to call FileUtils.createFakeJadAndJar(classname=mobi.bozza.Bozzaclasspath=null)
    Emulator command: C:\Nokia\Devices\Nokia_SDK_2_0_Java\bin\Nokia_SDK_2_0_Java_em.exe -Xdomain:trusted
    Connecting to Running "Nokia SDK 2.0 for Java" Instance #2000 ...
    connected to port 53623
    connected to port 53624
    WARNING: Unrecognized argument 1: -Xdomain:trusted
    "Nokia SDK 2.0 for Java" Connection Terminated

Page 4 of 6 FirstFirst 123456 LastLast

Similar Threads

  1. Nokia SDK 1.1 Beta for Java available for review and feedback
    By rebloor in forum Mobile Java General
    Replies: 12
    Last Post: 2012-03-09, 00:07
  2. Nokia SDK 1.1 Beta for Java available for review and feedback
    By rebloor in forum Mobile Java Tools & SDKs
    Replies: 7
    Last Post: 2012-01-12, 06:49
  3. [news] Nokia Qt SDK v1.0 Beta released
    By ltomuta in forum [Archived] Qt SDKs and Tools
    Replies: 0
    Last Post: 2010-04-27, 12:35
  4. Nokia N97 SDK - beta - released . Feedback welcomed.
    By Nokia Ron in forum Symbian Tools & SDKs
    Replies: 34
    Last Post: 2009-07-28, 06:20

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •