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 201310210001) VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: Windows 8 User Comments: rburkhead: Right-clicked on the Libraries node of a Netbeans platform module (UppercaseFilter from the tutorial) and selected "Add Module Dependency" Stacktrace: java.lang.AssertionError at org.netbeans.modules.apisupport.project.ui.customizer.CustomizerComponentFactory.createSortedDependencyListModel(CustomizerComponentFactory.java:95) at org.netbeans.modules.apisupport.project.ui.customizer.AddModulePanel.search(AddModulePanel.java:456) at org.netbeans.modules.apisupport.project.ui.customizer.AddModulePanel.access$500(AddModulePanel.java:101) at org.netbeans.modules.apisupport.project.ui.customizer.AddModulePanel$3.insertUpdate(AddModulePanel.java:204) at org.netbeans.modules.apisupport.project.api.UIUtil$DocumentAdapter.removeUpdate(UIUtil.java:117) at javax.swing.text.AbstractDocument.fireRemoveUpdate(AbstractDocument.java:260)
Created attachment 142148 [details] stacktrace
While editing the code for the platform quick start tutorial, I made a typo in the package name of the api interface ("ord.word.editor..." instead of "org.word.editor..."). This interface with the incorrect package name was made public. The import statement on the implementation, however, was hand-typed correctly as "org.word.editor...". Once the error was noticed, the code was fixed by hand and the source was moved manually to the correct package, but the api interface was not made public again under its new package (through the project properties).
https://hg.netbeans.org/core-main/rev/8d178ba99f16
Integrated into 'main-silver', will be available in build *201401110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8d178ba99f16 User: Martin Kozeny <mkozeny@netbeans.org> Log: #238327: AssertionError at org.netbeans.modules.apisupport.project.ui.customizer.CustomizerComponentFactory.createSortedDependencyListModel.