[1.1.0-Beta2] IDE: null pointer exception when coming back to IDE window after long time --- fixed in Beta3

Bug #1336695 reported by Shengyuan Gu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Fix Committed
Critical
RaiMan

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

Revision history for this message
RaiMan (raimund-hocke) wrote :

seems to be a Java AWT problem.
… but added code to avoid NPE.

description: updated
summary: - [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: [1.1.0-Beta2] IDE: null pointer exception when coming back to IDE window
- after long time
+ after long time --- fixed in Beta3
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → Critical
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.