This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 268276 - java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
Summary: java.awt.IllegalComponentStateException: component must be showing on the scr...
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-29 19:16 UTC by sreder
Modified: 2016-10-01 03:04 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 224919


Attachments
stacktrace (1.73 KB, text/plain)
2016-09-29 19:16 UTC, sreder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sreder 2016-09-29 19:16:23 UTC
Build: NetBeans IDE 8.2 RC (Build 201609140952)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.91-b14, Java(TM) SE Runtime Environment, 1.8.0_91-b14
OS: Windows 7

User Comments:
gtzabari: Added a Java Dependency to a Maven project. Exception thrown.

FrantaM: Maven Project context menu > Custom > Goals?

sreder: No idea

gtzabari: Updated project properties. Clicked OK to save. Exception thrown.

GUEST: <Please provide a description of the problem or the steps to reproduce>s

FrantaM: -




Stacktrace: 
java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
   at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:2064)
   at java.awt.Component.getLocationOnScreen(Component.java:2038)
   at org.netbeans.modules.maven.TextValueCompleter.showPopup(TextValueCompleter.java:331)
   at org.netbeans.modules.maven.TextValueCompleter.access$900(TextValueCompleter.java:80)
   at org.netbeans.modules.maven.TextValueCompleter$BuildTimer$1.actionPerformed(TextValueCompleter.java:359)
   at javax.swing.Timer.fireActionPerformed(Timer.java:313)
Comment 1 sreder 2016-09-29 19:16:26 UTC
Created attachment 162275 [details]
stacktrace
Comment 2 Tomas Stupka 2016-09-30 09:19:03 UTC
fixed in jet-main #f03f7fbbcbb9
Comment 3 Quality Engineering 2016-10-01 03:04:26 UTC
Integrated into 'main-silver', will be available in build *201610010002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f03f7fbbcbb9
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #268276 - java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location