Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2010
    Posts
    4
    Rep Power
    0

    Default "AWT-EventQueue-0"

    hi to all
    i m new one to this plateform..can anybody tell me about this error.
    in GUI application when i clik on run button.it is throwing this exception.


    Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError
    at com.iflex.fcat.infra.JFConnection.getConnection(JF Connection.jav
    )
    at com.iflex.fcat.services.tools.internal.ScreenTempl ateXMLGenerato
    rateXML(ScreenTemplateXMLGenerator.java:186)
    at com.iflex.fcat.services.tools.internal.ScreenTempl ateGUI$2.actio
    ormed(ScreenTemplateGUI.java:168)
    at javax.swing.AbstractButton.fireActionPerformed(Abs tractButton.ja
    49)
    at javax.swing.AbstractButton$Handler.actionPerformed (AbstractButto
    a:2169)
    at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButton
    .java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultB uttonModel.jav
    )
    at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(BasicBu
    istener.java:234)
    at java.awt.Component.processMouseEvent(Component.jav a:5488)
    at javax.swing.JComponent.processMouseEvent(JComponen t.java:3126)
    at java.awt.Component.processEvent(Component.java:525 3)
    at java.awt.Container.processEvent(Container.java:196 6)
    at java.awt.Component.dispatchEventImpl(Component.jav a:3955)
    at java.awt.Container.dispatchEventImpl(Container.jav a:2024)
    at java.awt.Component.dispatchEvent(Component.java:38 03)
    at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java
    )
    at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:

    at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:3822
    at java.awt.Container.dispatchEventImpl(Container.jav a:2010)
    at java.awt.Window.dispatchEventImpl(Window.java:1774 )
    at java.awt.Component.dispatchEvent(Component.java:38 03)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java: 463)
    at java.awt.EventDispatchThread.pumpOneEventForHierar chy(EventDispa
    read.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatc
    ad.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java

    at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java

    at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:110)

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,421
    Rep Power
    25

    Default

    NoClassDefFoundError
    The JVM is unable to find a class

    in GUI application when i clik on run button
    Can you describe this application and what it does when the "run" button is pressed?
    Is it your program or an IDE?

    Your posting has left off some of the information in the error message. Can you do it again and get ALL of the text of the error message?
    Last edited by Norm; 09-20-2010 at 02:33 PM.

  3. #3
    Join Date
    Sep 2010
    Posts
    4
    Rep Power
    0

    Default

    the application is "screentemplate Xmlgenerator". so actually when i press run button it should generate a xml file.and msg also that xml is generated successfully. but as i press run button nothing hapens and in the cmd prompt it shows these exceptions.
    actually this class is present in that desired location.

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,421
    Rep Power
    25

    Default

    Your posting has left off some of the information in the error message. Can you do it again and get ALL of the text of the error message?

    Is the application a java program that you are working with? Does it require libraries/jar files that you do not have?

  5. #5
    Join Date
    Sep 2010
    Posts
    4
    Rep Power
    0

    Default

    no actually this is the only message.yes i m using java.and i have all the related jar files on the proper path.

  6. #6
    Join Date
    Sep 2010
    Posts
    4
    Rep Power
    0

    Default

    hi , can u explain me in brief about those mouse related exceptions...
    means in which scenarios these types of exception can occur..

    istener.java:234)
    at java.awt.Component.processMouseEvent(Component.jav a:5488)
    at javax.swing.JComponent.processMouseEvent(JComponen t.java:3126)
    at java.awt.Component.processEvent(Component.java:525 3)
    at java.awt.Container.processEvent(Container.java:196 6)
    at java.awt.Component.dispatchEventImpl(Component.jav a:3955)
    at java.awt.Container.dispatchEventImpl(Container.jav a:2024)
    at java.awt.Component.dispatchEvent(Component.java:38 03)
    at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java
    )
    at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:

    at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:3822
    at java.awt.Container.dispatchEventImpl(Container.jav a:2010)
    at java.awt.Window.dispatchEventImpl(Window.java:1774 )
    at java.awt.Component.dispatchEvent(Component.java:38 03)

    Thanks

  7. #7
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,242
    Rep Power
    19

    Default

    Quote Originally Posted by bhartdeep_goyal View Post
    hi , can u explain me in brief about those mouse related exceptions...
    Not until you learn to post a complete stack trace and adequate information about the code that produced it.

    Recommended reading: How To Ask Questions The Smart Way

    db

Similar Threads

  1. Replies: 3
    Last Post: 04-30-2010, 07:44 PM
  2. Replies: 5
    Last Post: 08-26-2009, 11:37 AM
  3. Replies: 3
    Last Post: 06-07-2009, 12:14 AM
  4. Replies: 12
    Last Post: 05-26-2009, 01:48 PM
  5. Replies: 10
    Last Post: 01-29-2009, 08:00 AM

Posting Permissions

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