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 238327 - AssertionError at org.netbeans.modules.apisupport.project.ui.customizer.CustomizerComponentFactory.createSortedDependencyListModel
Summary: AssertionError at org.netbeans.modules.apisupport.project.ui.customizer.Custo...
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-13 16:03 UTC by rburkhead
Modified: 2014-01-11 04:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 205235


Attachments
stacktrace (6.09 KB, text/plain)
2013-11-13 16:03 UTC, rburkhead
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rburkhead 2013-11-13 16:03:38 UTC
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)
Comment 1 rburkhead 2013-11-13 16:03:40 UTC
Created attachment 142148 [details]
stacktrace
Comment 2 rburkhead 2013-11-13 16:31:33 UTC
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).
Comment 3 Martin Kozeny 2014-01-10 07:33:06 UTC
https://hg.netbeans.org/core-main/rev/8d178ba99f16
Comment 4 Quality Engineering 2014-01-11 04:47:37 UTC
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.