×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    21

    javax.microedition.m2g error

    I have developed the world's simplest SVG app under NetBeans 6.8 An SVGForm with a single SVGButton which when pressed prints Hello World to stdout. Told you it was simple !

    All works ok on the NetBeabs emulator but when running on the Nokia 40 series emulator I get the error in RED below.

    The Netbeans SVGForm does implement the SVGEventListener Interface


    |||| (4) => java/lang/String.charAt(I)C (Thread 12c472e0)
    |||| (4) <= java/lang/String.charAt(I)C (Thread 12c472e0)
    |||| (4) => java/lang/String.charAt(I)C (Thread 12c472e0)
    |||| (4) <= java/lang/String.charAt(I)C (Thread 12c472e0)
    |||| (4) => java/lang/String.charAt(I)C (Thread 12c472e0)
    |||| (4) <= java/lang/String.charAt(I)C (Thread 12c472e0)
    |||| (4) => java/lang/String.charAt(I)C (Thread 12c472e0)
    |||| (4) <= java/lang/String.charAt(I)C (Thread 12c472e0)
    |||| (4) => java/lang/String.charAt(I)C (Thread 12c472e0)
    |||| (4) <= java/lang/String.charAt(I)C (Thread 12c472e0)
    |||| (4) => java/lang/String.charAt(I)C (Thread 12c472e0)
    |||| (4) <= java/lang/String.charAt(I)C (Thread 12c472e0)
    |||| (4) => java/lang/String.charAt(I)C (Thread 12c472e0)
    |||| (4) <= java/lang/String.charAt(I)C (Thread 12c472e0)
    ||| (3) <= com/nokia/mid/impl/isa/ui/MIDletRTInfo.s_skipToken(Ljava/lang/String;II)I (Thread 12c472e0)
    ||| (3) => com/nokia/mid/impl/isa/ui/MIDletRTInfo.s_skipSpacesBack(Ljava/lang/String;I)I (Thread 12c472e0)
    |||| (4) => java/lang/String.charAt(I)C (Thread 12c472e0)
    |||| (4) <= java/lang/String.charAt(I)C (Thread 12c472e0)
    ||| (3) <= com/nokia/mid/impl/isa/ui/MIDletRTInfo.s_skipSpacesBack(Ljava/lang/String;I)I (Thread 12c472e0)
    ||| (3) => java/lang/String.substring(II)Ljava/lang/String; (Thread 12c472e0)
    |||| (4) => java/lang/String.<init>(II[C)V (Thread 12c472e0)
    ||||| (5) => java/lang/Object.<init>()V (Thread 12c472e0)
    ||||| (5) <= java/lang/Object.<init>()V (Thread 12c472e0)
    |||| (4) <= java/lang/String.<init>(II[C)V (Thread 12c472e0)
    ||| (3) <= java/lang/String.substring(II)Ljava/lang/String; (Thread 12c472e0)
    ||| (3) => java/lang/Class.forName(Ljava/lang/StringLjava/lang/Class; (Thread 12c472e0)
    Loading class 'hello/HelloMIDlet'
    Loading version information
    Loading constant pool
    Loading class info
    Class info loaded ok
    Loading interfaces
    Interfaces loaded ok
    Loading fields
    Field 'midletPaused' loaded
    Loading extra attributes
    Extra attributes loaded
    Field 'exitCommand' loaded
    Loading extra attributes
    Extra attributes loaded
    Field 'itemCommand' loaded
    Loading extra attributes
    Extra attributes loaded
    Field 'form' loaded
    Loading extra attributes
    Extra attributes loaded
    Field 'stringItem' loaded
    Loading extra attributes
    Extra attributes loaded
    Field 'svgForm' loaded
    Loading extra attributes
    Extra attributes loaded
    Field 'svgButton' loaded
    Loading extra attributes
    Extra attributes loaded
    Field 'svgImage' loaded
    Loading extra attributes
    Extra attributes loaded
    Fields loaded ok
    Loading methods
    Method '<init>' loaded
    Method 'initialize' loaded
    Method 'startMIDlet' loaded
    Method 'resumeMIDlet' loaded
    Method 'switchDisplayable' loaded
    Method 'commandAction' loaded
    Method 'getExitCommand' loaded
    Method 'getForm' loaded
    Method 'getStringItem' loaded
    Method 'getSvgForm' loaded
    Method 'getSvgImage' loaded
    Method 'getItemCommand' loaded
    Method 'getSvgButton' loaded
    Method 'myMethod' loaded
    Method 'getDisplay' loaded
    Method 'exitMIDlet' loaded
    Method 'startApp' loaded
    Method 'pauseApp' loaded
    Method 'destroyApp' loaded
    Method 'hideNotify' loaded
    Method 'keyPressed' loaded
    Method 'keyReleased' loaded
    Method 'pointerPressed' loaded
    Method 'pointerReleased' loaded
    Method 'showNotify' loaded
    Method 'sizeChanged' loaded
    Methods loaded ok
    Loading extra attributes
    Extra attributes loaded
    Closing classfile
    Class loaded ok
    Linking class: 'hello/HelloMIDlet'
    Class 'javax/microedition/m2g/SVGEventListener' not foundLoading class 'javax/microedition/m2g/SVGEventListener'
    Exception: java/lang/NoClassDefFoundError
    at com.nokia.mid.imUncaught exception java/lang/NoClassDefFoundErrorpl.isa.ui.MIDletRTInfo.<init>(+128)
    at com.nokia.mid.impl.isa.ui.MIDletManager.loadMIDlet(+275)
    at com.nokia.mid.impl.isa.ui.MIDletManager.main(+63)
    : hello/HelloMIDlet: javax/microedition/m2g/SVGEventListener .

    | (1) => com/nokia/mid/impl/isa/ui/MIDletManager.consumeEvent(III)V (Thread 12c46fa4)
    || (2) => com/nokia/mid/impl/isa/ui/MIDletManager.destroyMIDlet(I)V (Thread 12c46fa4)
    ||| (3) => com/nokia/mid/impl/isa/ui/MIDletManager.exitJALM()V (Thread 12c46fa4)
    |||| (4) => com/nokia/mid/impl/isa/ui/EventDispatcher.s_destroyEventDispatcher()V (Thread 12c46fa4)
    |||| (4) <= com/nokia/mid/impl/isa/ui/EventDispatcher.s_destroyEventDispatcher()V (Thread 12c46fa4)
    |||| (4) => com/nokia/mid/impl/isa/ui/MIDletManager.exitInternal()V (Thread 12c46fa4)

  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: javax.microedition.m2g error

    Hello neddamluap,

    please do not cross-post over same topic on several discussion board forums, you have already asked about this issue on the SDK forum:

    SVGEventListener not found error

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

Similar Threads

  1. XMl Parser Implementation for Symbian
    By ittiam in forum Symbian
    Replies: 26
    Last Post: 2009-09-16, 05:26
  2. to get ssid
    By d.devendran in forum Symbian
    Replies: 4
    Last Post: 2009-07-15, 09:42
  3. playing aduio file when call is rejected.
    By santosh_sangewar in forum Symbian
    Replies: 6
    Last Post: 2009-06-12, 11:35
  4. i cant build helloworld project
    By akhin in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2008-12-22, 12:38
  5. My BuilderX (with S60 SDK 2.1.NET MS version) cannot build ARMI UREL
    By danielvidonyi@hotmail.com in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-05-04, 21:30

Posting Permissions

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