Results 1 to 3 of 3
  1. #1
    snowjo502 is offline Member
    Join Date
    Apr 2011
    Posts
    10
    Rep Power
    0

    Question jre 7u45 Applet has an exception

    In my applet program on jre7u45,it has a problem when click the JTree in a component.
    Exception as follows.

    Exception in thread "AWT-EventQueue-4" java.lang.NullPointerException
    at javax.swing.RepaintManager.scheduleProcessingRunna ble(Unknown Source)
    at javax.swing.RepaintManager.addDirtyRegion0(Unknown Source)
    at javax.swing.RepaintManager.addDirtyRegion(Unknown Source)
    at javax.swing.JComponent.repaint(Unknown Source)
    at java.awt.Component.repaint(Unknown Source)
    at java.awt.Component.repaintParentIfNeeded(Unknown Source)
    at java.awt.Component.reshape(Unknown Source)
    at javax.swing.JComponent.reshape(Unknown Source)
    at java.awt.Component.setBounds(Unknown Source)
    at java.awt.Component.resize(Unknown Source)
    at java.awt.Component.setSize(Unknown Source)
    at java.awt.Component.resize(Unknown Source)
    at java.awt.Component.setSize(Unknown Source)
    at javax.swing.JViewport.setViewSize(Unknown Source)
    at javax.swing.ViewportLayout.layoutContainer(Unknown Source)
    at java.awt.Container.layout(Unknown Source)
    at java.awt.Container.doLayout(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validate(Unknown Source)
    at javax.swing.RepaintManager$2.run(Unknown Source)
    at javax.swing.RepaintManager$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPri vilege(Unknown Source)
    at javax.swing.RepaintManager.validateInvalidComponen ts(Unknown Source)
    at javax.swing.RepaintManager$ProcessingRunnable.run( Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$200(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPri vilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    But on jre7u17 or jre6,there is no problem.Why the problem happen on jre7u45,anyone know how to solve?

  2. #2
    nageshvk is offline Member
    Join Date
    Mar 2014
    Posts
    3
    Rep Power
    0

    Default Re: jre 7u45 Applet has an exception

    I am facing the similar issue. Could you please let me know if you have resolved this issue.
    Nagesh


    Quote Originally Posted by snowjo502 View Post
    In my applet program on jre7u45,it has a problem when click the JTree in a component.
    Exception as follows.

    Exception in thread "AWT-EventQueue-4" java.lang.NullPointerException
    at javax.swing.RepaintManager.scheduleProcessingRunna ble(Unknown Source)
    at javax.swing.RepaintManager.addDirtyRegion0(Unknown Source)
    at javax.swing.RepaintManager.addDirtyRegion(Unknown Source)
    at javax.swing.JComponent.repaint(Unknown Source)
    at java.awt.Component.repaint(Unknown Source)
    at java.awt.Component.repaintParentIfNeeded(Unknown Source)
    at java.awt.Component.reshape(Unknown Source)
    at javax.swing.JComponent.reshape(Unknown Source)
    at java.awt.Component.setBounds(Unknown Source)
    at java.awt.Component.resize(Unknown Source)
    at java.awt.Component.setSize(Unknown Source)
    at java.awt.Component.resize(Unknown Source)
    at java.awt.Component.setSize(Unknown Source)
    at javax.swing.JViewport.setViewSize(Unknown Source)
    at javax.swing.ViewportLayout.layoutContainer(Unknown Source)
    at java.awt.Container.layout(Unknown Source)
    at java.awt.Container.doLayout(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validate(Unknown Source)
    at javax.swing.RepaintManager$2.run(Unknown Source)
    at javax.swing.RepaintManager$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPri vilege(Unknown Source)
    at javax.swing.RepaintManager.validateInvalidComponen ts(Unknown Source)
    at javax.swing.RepaintManager$ProcessingRunnable.run( Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$200(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPri vilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    But on jre7u17 or jre6,there is no problem.Why the problem happen on jre7u45,anyone know how to solve?

  3. #3
    nageshvk is offline Member
    Join Date
    Mar 2014
    Posts
    3
    Rep Power
    0

    Default Re: jre 7u45 Applet has an exception

    PLease share your code.

Similar Threads

  1. 7u45 Java Control Panel problems
    By Lewy in forum New To Java
    Replies: 5
    Last Post: 11-16-2013, 07:06 PM
  2. java update 1.7u45
    By steve68 in forum New To Java
    Replies: 0
    Last Post: 11-03-2013, 06:45 PM
  3. jre 7u45,applet access user files is denied
    By snowjo502 in forum Java JRE
    Replies: 4
    Last Post: 10-30-2013, 01:18 PM
  4. 7u45 and remote cameras
    By fatboy999 in forum New To Java
    Replies: 12
    Last Post: 10-25-2013, 08:59 PM
  5. Applet Blocked Exception
    By allaudin in forum New To Java
    Replies: 0
    Last Post: 08-17-2013, 06:48 AM

Tags for this Thread

Posting Permissions

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