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 207452 - BasicCustomizer.showCustomizer loads metadata in EQ
Summary: BasicCustomizer.showCustomizer loads metadata in EQ
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Jesse Glick
URL:
Keywords: PERFORMANCE
: 178925 (view as bug list)
Depends on:
Blocks: 206311 172840
  Show dependency tree
 
Reported: 2012-01-18 14:43 UTC by Petr Cyhelsky
Modified: 2012-11-21 15:17 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 184525


Attachments
stacktrace (4.06 KB, text/plain)
2012-01-18 14:43 UTC, Petr Cyhelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Cyhelsky 2012-01-18 14:43:23 UTC
Build: NetBeans IDE Dev (Build 20120118-ab16ccd545a5)
VM: OpenJDK 64-Bit Server VM, 20.0-b11, OpenJDK Runtime Environment, 1.6.0_22-b22
OS: Linux

User Comments:
cyhelsky: in properties




Stacktrace: 
java.lang.IllegalStateException: getInputStream invoked in AWT
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.getInputStream(FileObj.java:219)
   at org.netbeans.modules.apisupport.project.api.Util.loadProperties(Util.java:95)
   at org.netbeans.modules.apisupport.project.universe.LocalizedBundleInfo.reload(LocalizedBundleInfo.java:176)
   at org.netbeans.modules.apisupport.project.ui.customizer.SingleModuleProperties.refresh(SingleModuleProperties.java:281)
   at org.netbeans.modules.apisupport.project.ui.customizer.SingleModuleProperties.<init>(SingleModuleProperties.java:221)
   at org.netbeans.modules.apisupport.project.ui.customizer.CustomizerProviderImpl.prepareData(CustomizerProviderImpl.java:100)
Comment 1 Petr Cyhelsky 2012-01-18 14:43:26 UTC
Created attachment 115017 [details]
stacktrace
Comment 2 Marian Mirilovic 2012-04-16 13:04:12 UTC
Increasing priority to P2 - after discussion with performance team and based on the goal for NB 7.2 (performance improvements) especially for remote filesystems.
Comment 3 Jesse Glick 2012-04-16 22:51:54 UTC
This only applies to NBM projects so I do not see why it matters so much; extremely few users will be using such projects on remote filesystems.
Comment 4 Jesse Glick 2012-04-18 18:31:57 UTC
Bug #170291 was really the original report, and was fixed by loading the customizer content asynchronously, but predictably enough this caused a regression in bug #172840; that was fixed by moving the load back into EQ and adding a wait cursor in the glass pane, but now FileObj.getInputStream rejects this fix too.
Comment 5 Jesse Glick 2012-04-18 18:45:32 UTC
core-main #b850ffc08533
Comment 6 Quality Engineering 2012-04-20 10:11:12 UTC
Integrated into 'main-golden', will be available in build *201204200400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b850ffc08533
User: Jesse Glick <jglick@netbeans.org>
Log: #207452: BasicCustomizer.showCustomizer loads metadata in EQ
Comment 7 Ondrej Vrabec 2012-11-21 15:17:52 UTC
*** Bug 178925 has been marked as a duplicate of this bug. ***