×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    17

    Series 60 Concept Emulator (SDK Beta 0.2 Linux) not working

    Hello, it worked yesterday but not today. When launching it, both from my build script and from the NDS Java front-end, I get the following output, suggesting a bug in the program (binding to a port no. above 65535!)

    Any ideas for how to fix it / work-arounds? Or indeed what might have happened to my laptop since yesterday to cause this weird behaviour? Restarting doesn't seem to help.

    Nokia Series 60 MIDP Concept SDK Beta 0.2: java.lang.IllegalArgumentException: Port value out of range: 66412
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at java.net.ServerSocket.<init>(ServerSocket.java:177)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: Emulator command: /home/mattbee/Nokia/Devices/Nokia_Series_60_MIDP_Concept_SDK_Beta_0_2/bin/midp -heapsize 8M -classpath /home/mattbee/Nokia/Devices/Nokia_Series_60_MIDP_Concept_SDK_Beta_0_2/lib/classes.zip:/home/mattbee/Work/premjava/dist/football-nokia_7650.jar -Xdescriptor /home/mattbee/Work/premjava/dist/football-nokia_7650.jad -DcommandPort=57412 -DmirrorPort=57413
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at java.net.ServerSocket.<init>(ServerSocket.java:94)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at s60midpbh.e([DashoPro-V1.32-013000])
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at s60midpbh.c([DashoPro-V1.32-013000])
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at s60midpm.d([DashoPro-V1.32-013000])
    Nokia Series 60 MIDP Concept SDK Beta 0.2: java.lang.IllegalArgumentException
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at s60midpm.run([DashoPro-V1.32-013000])
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.sun.cldc.io.j2me.socket.Protocol.openPrim(+7)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at java.lang.Thread.run(Thread.java:536)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.sun.midp.io.InternalConnector.openPrim(+332)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: java.lang.IllegalArgumentException: Port value out of range: 66413
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.sun.midp.io.InternalConnector.open(+28)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at java.net.ServerSocket.<init>(ServerSocket.java:177)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at javax.microedition.io.Connector.open(+6)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at java.net.ServerSocket.<init>(ServerSocket.java:94)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at javax.microedition.io.Connector.open(+6)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at s60midpbh.e([DashoPro-V1.32-013000])
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at javax.microedition.io.Connector.open(+5)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at s60midpbh.c([DashoPro-V1.32-013000])
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.nokia.phone.sdk.concept.util.io.bridge.CLIBridge.ensureConnection(+28)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at s60midpm.d([DashoPro-V1.32-013000])
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.nokia.phone.sdk.concept.util.io.bridge.CLIBridge.getOutputStream(+4)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at s60midpm.run([DashoPro-V1.32-013000])
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.nokia.phone.sdk.concept.gateway.MirrorSocketClient.ensureConnection(+51)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at java.lang.Thread.run(Thread.java:536)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.nokia.phone.sdk.concept.gateway.MirrorSocketClient.sendInvocation(+10)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.sun.midp.io.j2me.storage.RandomAccessStream.connect(+58)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.sun.midp.dev.DevMIDletSuiteImpl.initialize(+42)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.sun.midp.dev.DevMIDletSuiteImpl.<init>(+32)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.sun.midp.Main.runLocalClass(+15)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.sun.midp.Main.main(+68)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: java.lang.IllegalArgumentException
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.sun.cldc.io.j2me.socket.Protocol.openPrim(+7)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.sun.midp.io.InternalConnector.openPrim(+332)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.sun.midp.io.InternalConnector.open(+28)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at javax.microedition.io.Connector.open(+6)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at javax.microedition.io.Connector.open(+6)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at javax.microedition.io.Connector.open(+5)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.nokia.phone.sdk.concept.util.io.bridge.CLIBridge.ensureConnection(+28)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.nokia.phone.sdk.concept.util.io.bridge.CLIBridge.getInputStream(+4)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.nokia.phone.sdk.concept.gateway.MirrorSocketClient.ensureConnection(+69)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.nokia.phone.sdk.concept.gateway.MirrorSocketClient.sendInvocation(+10)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.sun.midp.io.j2me.storage.RandomAccessStream.connect(+58)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.sun.midp.dev.DevMIDletSuiteImpl.initialize(+42)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.sun.midp.dev.DevMIDletSuiteImpl.<init>(+32)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.sun.midp.Main.runLocalClass(+15)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.sun.midp.Main.main(+68)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: java.lang.NullPointerException
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.nokia.phone.sdk.concept.gateway.MirrorProtocol$MBInputStream.reset(+12)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.nokia.phone.sdk.concept.gateway.MirrorProtocol.initInputPacket(+13)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.sun.midp.io.j2me.storage.RandomAccessStream.connect(+67)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.sun.midp.dev.DevMIDletSuiteImpl.initialize(+42)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.sun.midp.dev.DevMIDletSuiteImpl.<init>(+32)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.sun.midp.Main.runLocalClass(+15)
    Nokia Series 60 MIDP Concept SDK Beta 0.2: at com.sun.midp.Main.main(+68)

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    17

    New version of the SDK, new bugs!

    Well the just-released new version of the SDK fixed the above problem, but now there appears to be a bug in the new bundled Series 60 emulator: it throws IllegalArgumentException where I try to call drawChars with Graphics.HCENTER as an anchor. The 7650 treats HCENTER correctly as an anchor. Another work-around, hooray.

Posting Permissions

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