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 201279 - NoSuchMethodError: org.netbeans.modules.form.FormDataObject.getFormEditorSupport()Lorg/netbeans/modules/form/EditorSupport;
Summary: NoSuchMethodError: org.netbeans.modules.form.FormDataObject.getFormEditorSupp...
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-24 14:15 UTC by thealy
Modified: 2011-08-25 14:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 180566


Attachments
stacktrace (1.88 KB, text/plain)
2011-08-24 14:15 UTC, thealy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thealy 2011-08-24 14:15:16 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-7567-on-20110721)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Linux

User Comments:
thealy: Auto-restart after loading upddates.

thealy: Restart after updates applied.

GUEST: Started Netbeans.

venelin.valev: After software uppdate and Netbeans restart this exception occured.

thealy: Just opening NB




Stacktrace: 
java.lang.NoSuchMethodError: org.netbeans.modules.form.FormDataObject.getFormEditorSupport()Lorg/netbeans/modules/form/EditorSupport;
   at org.netbeans.modules.nbform.FormEditorSupport$JavaEditorTopComponent.setMultiViewCallback(FormEditorSupport.java:1423)
   at org.netbeans.core.multiview.MultiViewModel.getElementForDescription(MultiViewModel.java:212)
   at org.netbeans.core.multiview.MultiViewPeer.updateName(MultiViewPeer.java:650)
   at org.netbeans.core.multiview.MultiViewCloneableTopComponent.updateName(MultiViewCloneableTopComponent.java:320)
   at org.openide.text.CloneableEditorSupport.updateTitles(CloneableEditorSupport.java:2408)
   at org.openide.text.DataEditorSupport.callUpdateTitles(DataEditorSupport.java:624)
Comment 1 thealy 2011-08-24 14:15:20 UTC
Created attachment 110179 [details]
stacktrace
Comment 2 Jan Stola 2011-08-25 13:56:06 UTC
The exception is caused by incorrect setup of dependencies among GUI Builder modules.

There used to be 'form' module only. Some of its functionality has been moved into 'form.nb' module recently. Unfortunately, neither specification nor implementation number of 'form' module was increased. So, the update center found no change in 'form' module (i.e., kept the old version) but found a new module 'form.nb' that was downloaded and installed but that failed to work with the old 'form' module.
Comment 3 Jan Stola 2011-08-25 14:57:00 UTC
Fixed - I have increased the implementation version of 'form' module. That means that all GUI Builder modules should be available for update (via Update Center) soon (within several days) and should work correctly once updated.

Modified file: http://hg.netbeans.org/jet-main/rev/aa1dda519353