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 214084 - IllegalStateException when configuring public packages from Javadoc warning dialog
Summary: IllegalStateException when configuring public packages from Javadoc warning d...
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2012-06-13 07:03 UTC by mienamoo
Modified: 2012-06-15 13:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mienamoo 2012-06-13 07:03:29 UTC
NetBeans build 201206100001
JDK 7u3

While testing the API Support Ant Project Operations [1], I came across this issue. Specifically, I was at test suite 1 test 7.

[1] http://wiki.netbeans.org/TS_71_APISupport_Ant_ProjectOperations

As per the test I invoked generating Javadocs on a module with no public packages. The "No Public Packages" dialog was displayed as expected. When I clicked on the Configure Public Packages... button, I encountered this exception:


java.lang.IllegalStateException: Problem in some module which uses Window System: Window System API is required to be called from AWT thread only, see http://core.netbeans.org/proposals/threading/
	at org.netbeans.core.windows.WindowManagerImpl.warnIfNotInEDT(WindowManagerImpl.java:1709)
	at org.netbeans.core.windows.WindowManagerImpl.getMainWindow(WindowManagerImpl.java:172)
	at org.netbeans.modules.project.uiapi.CustomizerDialog.createDialog(CustomizerDialog.java:174)
	at org.netbeans.spi.project.ui.support.ProjectCustomizer.createCustomizerDialog(ProjectCustomizer.java:181)
	at org.netbeans.spi.project.ui.support.ProjectCustomizer.createCustomizerDialog(ProjectCustomizer.java:264)
	at org.netbeans.spi.project.ui.support.ProjectCustomizer.createCustomizerDialog(ProjectCustomizer.java:213)
	at org.netbeans.modules.apisupport.project.ui.customizer.BasicCustomizer.showCustomizer(BasicCustomizer.java:147)
	at org.netbeans.modules.apisupport.project.ui.ModuleActions.promptForPublicPackagesToDocument(ModuleActions.java:635)
	at org.netbeans.modules.apisupport.project.ui.ModuleActions.access$1200(ModuleActions.java:112)
	at org.netbeans.modules.apisupport.project.ui.ModuleActions$1.doRun(ModuleActions.java:496)
	at org.netbeans.modules.apisupport.project.ui.ModuleActions$1.run(ModuleActions.java:376)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1452)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2032)
Comment 1 Jesse Glick 2012-06-13 14:19:44 UTC
Likely regression due to some responsiveness fix.
Comment 2 Jesse Glick 2012-06-13 18:25:31 UTC
core-main #008d392e2d52
Comment 3 Quality Engineering 2012-06-15 06:12:52 UTC
Integrated into 'main-golden', will be available in build *201206150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/008d392e2d52
User: Jesse Glick <jglick@netbeans.org>
Log: #214084: IllegalStateException when configuring public packages from Javadoc warning dialog
Comment 4 mienamoo 2012-06-15 13:26:38 UTC
Verified with build 201206150001.