Exception happen in IDE when change script sheet

Asked by Stranger on 2018-01-25

Exception happen in IDE when change script sheet, the log will be printed in Message box:

[info] IDE startup: 9.1 seconds

Exception in thread "AWT-EventQueue-0" java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
at java.awt.Component.getLocationOnScreen_NoTreeLock(Unknown Source)
at java.awt.Component.getLocationOnScreen(Unknown Source)
at javax.swing.text.JTextComponent$InputMethodRequestsHandler.getTextLocation(Unknown Source)
at sun.awt.im.InputMethodContext.getTextLocation(Unknown Source)
at sun.awt.windows.WInputMethod$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(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$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.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$JavaSecurityAccessImpl.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)

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2018-02-07
Last reply:
2018-02-07
RaiMan (raimund-hocke) said : #1

Just ignore it.

happens from time to time ;-)

Stranger (peterlee007) said : #2

How to uninstall sikulix? I think after this exception happens, my sikulix IDE becomes unstable, some strange problems appear, I want to reinstall sikulix again

RaiMan (raimund-hocke) said : #3

what version?

Stranger (peterlee007) said : #4

V1.1.1

RaiMan (raimund-hocke) said : #5

ok, no need to reinstall.
The problem might be with one of your scripts.
Just close all tabs and restart IDE, so you only have the one empty tab and reload and run your scripts one after the other.

--- my sikulix IDE becomes unstable, some strange problems appear,
what symptoms? what problems?

Did you change anything in your environment?

What system version?
What Java?

Stranger (peterlee007) said : #6

Hello RaiMan

On bench, this problem still happens, it is very terrible for me to design scripts in IDE. The script sheets will be freezed for several seconds when change script sheet in IDE. I update my video in below link.
Look forward your feedback. thanks
link: https://pan.baidu.com/s/1gg7OgCz password: 36js

By the way, it seems that this problem occur after JRE update, system prompts that my JRE will be expired so I update it.
Now my system is Win7, and Java is Version 8 Update 162(build 1.8.0_162-b12)

RaiMan (raimund-hocke) said : #7

-- 1. reinstall latest version 1.1.1 (purge everything and download the setup jar again)

-- 2. with open IDE close all tabs one after the other and restart IDE so you have only one empty tab. then reopen one of your scripts do some editing, save it and leave it open. then open the next script , ... and so on

Stranger (peterlee007) said : #8

How to purge everything of installed version?

If I minimum or hide IDE window, then set IDE window forward, this problem happens.

RaiMan (raimund-hocke) said : #9

-- How to purge everything of installed version?
all stuff in the folder where you have the setup jar and the artifacts created by the setup process.
You might also delete the Sikulix folder in user/app data/roaming (env var %APPDATA%/Sikulix)

-- then set IDE window forward
I do not understand. please explain.

Can you help with this problem?

Provide an answer of your own, or ask Stranger for more information if necessary.

To post a message you must log in.