Nb 8.2RC "The type of DialogDescriptor .... is erroneous" - and a solution
"bruehlicke" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
After updating to 8.2RC and porting an older module I got the error in NetBeans that "The type of DialogDescriptor ... is erroneous" I see numerous similar issues with older versions (https://netbeans.org/bugzilla/show_bug.cgi?id=252729) or (https://netbeans.org/bugzilla/show_bug.cgi?id=244749). None of the suggested solution was the core of the issue. I have attached a small freshly made Netbeans Platform app with one module called "module" which as a "MyTopComponent" which opens a Dialog (line 94). Solution/Fix: Adding "Utilities API" to the dependencies. Question: I see this is done automatically for a new module created but this is a port and how would a humble programmer ever find that he/she needs to add Utilities API ? I was just lucky that another moduel using similar code had this added and did not have the error, hence I found out. This is not a show stopper at all, but if anyone can explain why and what this NetBeans error means that would be great. Bests and thanx for the 8.2RC ! Looking good so far. Attachments: http://forums.netbeans.org//files/erroneous_141.zip