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 271042 - 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: NEW
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: 2017-07-05 22:16 UTC by javydreamercsw
Modified: 2017-07-05 22:16 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 229631


Attachments
stacktrace (1.73 KB, text/plain)
2017-07-05 22:16 UTC, javydreamercsw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2017-07-05 22:16:51 UTC
This bug was originally marked as duplicate of bug 268276, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.2 (Build 201705191307)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime Environment, 1.8.0_121-b13
OS: Windows 7

User Comments:
toben: text search

sreder: Opening a newly checked out Git+Java project and building it

GUEST: dont know what i did

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

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

toben: nevertheless the UI does respond well

sreder: Some background issue?

ebakke: Editing a Java file while running a build.

toben: and again

javydreamercsw: Not sure what triggered it.

GUEST: dont know what i did

GUEST: general editing, nothing special

atlioddsson: .

sreder: No idea

GUEST: Depurar o projeto

GUEST: ......

sreder: Running a custom maven goal:  'clean package'

GUEST: just writing code and noticed this...

GUEST: ......

GUEST: ......

javydreamercsw: Tried an invalid maven command.

toben: starting a maven build

GUEST: Deployment to Server

FrantaM: -




Stacktrace: 
java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
   at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:2062)
   at java.awt.Component.getLocationOnScreen(Component.java:2036)
   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 javydreamercsw 2017-07-05 22:16:55 UTC
Created attachment 164701 [details]
stacktrace