sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #26774
[Bug 1336695] Re: [1.1.0 beta2] get null pointer exception on ide
seems to be a Java AWT problem.
… but added code to avoid NPE.
** Description changed:
When I use SikuliX Ide for a while and switch it to background for a
long time, then switch it to foreground and click on the editor tab,
null pointer exception occurs.
Environment:
Windows7 32bits
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) Client VM (build 24.60-b09, mixed mode, sharing)
-
<unittest.runner.TextTestResult run=3 errors=0 failures=1>
[debug] SikuliX: cleanUp: 0
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at org.sikuli.ide.CloseableModernTabbedPaneUI$TabPressedTracker.mousePressed(CloseableModernTabbedPaneUI.java:281)
- at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
- at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
- at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
- at java.awt.Component.processMouseEvent(Unknown Source)
- at javax.swing.JComponent.processMouseEvent(Unknown Source)
- at java.awt.Component.processEvent(Unknown Source)
- at java.awt.Container.processEvent(Unknown Source)
- at java.awt.Component.dispatchEventImpl(Unknown Source)
- at java.awt.Container.dispatchEventImpl(Unknown Source)
- at java.awt.Component.dispatchEvent(Unknown Source)
- at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
- at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
- at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
- at java.awt.Container.dispatchEventImpl(Unk
-
- nown Source)
- at java.awt.Window.dispatchEventImpl(Unknown Source)
- at java.awt.Component.dispatchEvent(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.doIntersectionPrivilege(Unknown Source)
- at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
- at java.awt.EventQueue$4.run(Unknown Source)
- at java.awt.EventQueue$4.run(Unknown Source)
- at java.security.AccessController.doPrivileged(Native Method)
- at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
- at java.awt.EventQueue.dispatchEvent(Unknown Source)
- at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
- at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
- at java.awt.EventDispatchThread.pumpEvent
-
- sForHierarchy(Unknown Source)
- at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
- at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
- at java.awt.EventDispatchThread.run(Unknown Source)
- Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
- at javax.swing.plaf.basic.BasicTabbedPaneUI.ensureCurrentLayout(Unknown Source)
- at javax.swing.plaf.basic.BasicTabbedPaneUI.getTabBounds(Unknown Source)
- at org.sikuli.ide.CloseableModernTabbedPaneUI$TabPressedTracker.mouseReleased(CloseableModernTabbedPaneUI.java:296)
- at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
- at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
- at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
- at java.awt.Component.processMouseEvent(Unknown Source)
- at javax.swing.JComponent.processMouseEvent(Unknown Source)
- at java.awt.Component.processEvent(Unknown Source)
- at java.awt.Container.processEvent(Unknown Source)
- at java.awt.Component.dispatchEventImpl(Unknown Sour
-
- ce)
- at java.awt.Container.dispatchEventImpl(Unknown Source)
- at java.awt.Component.dispatchEvent(Unknown Source)
- at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
- at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
- at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
- at java.awt.Container.dispatchEventImpl(Unknown Source)
- at java.awt.Window.dispatchEventImpl(Unknown Source)
- at java.awt.Component.dispatchEvent(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.doIntersectionPrivilege(Unknown Source)
- at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
- at java.awt.EventQueue$4.run(Unknown Source)
- at java.awt.EventQueue$4.run(Unknown Source)
- at java.secur
-
- ity.AccessController.doPrivileged(Native Method)
- at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
- at java.awt.EventQueue.dispatchEvent(Unknown Source)
- at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
- at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
- at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
- at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
- at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
- at java.awt.EventDispatchThread.run(Unknown Source)
+ … more stack trace
** Summary changed:
- [1.1.0 beta2] get null pointer exception on ide
+ [1.1.0-Beta2] IDE: null pointer exception when coming back to IDE window after long time
** Summary changed:
- [1.1.0-Beta2] IDE: null pointer exception when coming back to IDE window after long time
+ [1.1.0-Beta2] IDE: null pointer exception when coming back to IDE window after long time --- fixed in Beta3
** Changed in: sikuli
Status: New => Fix Committed
** Changed in: sikuli
Importance: Undecided => Critical
** Changed in: sikuli
Assignee: (unassigned) => RaiMan (raimund-hocke)
** Changed in: sikuli
Milestone: None => 1.1.0
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1336695
Title:
[1.1.0-Beta2] IDE: null pointer exception when coming back to IDE
window after long time --- fixed in Beta3
Status in Sikuli:
Fix Committed
Bug description:
When I use SikuliX Ide for a while and switch it to background for a
long time, then switch it to foreground and click on the editor tab,
null pointer exception occurs.
Environment:
Windows7 32bits
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) Client VM (build 24.60-b09, mixed mode, sharing)
<unittest.runner.TextTestResult run=3 errors=0 failures=1>
[debug] SikuliX: cleanUp: 0
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at org.sikuli.ide.CloseableModernTabbedPaneUI$TabPressedTracker.mousePressed(CloseableModernTabbedPaneUI.java:281)
… more stack trace
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1336695/+subscriptions
References