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.
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: creating new anagram sample Stacktrace: java.lang.IllegalStateException: getInputStream invoked in AWT at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.getInputStream(FileObj.java:219) at org.netbeans.spi.project.support.ant.ProjectProperties$PP.getEditablePropertiesOrNull(ProjectProperties.java:194) at org.netbeans.spi.project.support.ant.ProjectProperties$PP.getProperties(ProjectProperties.java:325) at org.netbeans.spi.project.support.ant.SequentialPropertyEvaluator$1.run(SequentialPropertyEvaluator.java:106) at org.netbeans.spi.project.support.ant.SequentialPropertyEvaluator$1.run(SequentialPropertyEvaluator.java:95) at org.openide.util.Mutex.readAccess(Mutex.java:288)
Created attachment 115011 [details] stacktrace
Created attachment 115021 [details] stacktrace
One of the stack traces points to NewProject, which I will fix (core-main #9ec6023a72f5): at org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:233) at org.netbeans.modules.project.ui.actions.NewProject$2.run(NewProject.java:185) The other is unrelated: at org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:233) at org.netbeans.modules.projectapi.SimpleFileOwnerQueryImplementation.getOwner(SimpleFileOwnerQueryImplementation.java:131) at org.netbeans.modules.projectapi.SimpleFileOwnerQueryImplementation.getOwner(SimpleFileOwnerQueryImplementation.java:97) at org.netbeans.api.project.FileOwnerQuery.getOwner(FileOwnerQuery.java:150) at org.netbeans.modules.projectapi.ProjectSharabilityQuery2.getSharability(ProjectSharabilityQuery2.java:63) at org.netbeans.api.queries.SharabilityQuery.getSharability(SharabilityQuery.java:180) at org.netbeans.modules.versioning.core.spi.VCSContext.addProjectFiles(VCSContext.java:322) at org.netbeans.modules.versioning.core.spi.VCSContext.forNodes(VCSContext.java:160) at org.netbeans.modules.versioning.core.ProjectMenuItem.createVersioningSystemItems(ProjectMenuItem.java:152) at org.netbeans.modules.versioning.core.ProjectMenuItem.access$400(ProjectMenuItem.java:75) at org.netbeans.modules.versioning.core.ProjectMenuItem$LazyMenu.addVersioningSystemItems(ProjectMenuItem.java:291) at org.netbeans.modules.versioning.core.ProjectMenuItem$LazyMenu.getPopupMenu(ProjectMenuItem.java:283) at javax.swing.plaf.basic.BasicMenuUI$Handler.mouseEntered(BasicMenuUI.java:507)
Please ignore the duplicates - they were incorrectly duplicated by exception reporter and are now tracked in separate issue
In that case this one is fixed.
Integrated into 'main-golden', will be available in build *201201250600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/44ddf54e1095 User: Jesse Glick <jglick@netbeans.org> Log: Making it easier to reproduce "...invoked in AWT" issues such as #207446. Just add to nbbuild/user.build.properties: tryme.arg.log=-J-Dorg.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.level=FINE