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 57801 - java.lang.NoSuchMethodError when starting profiler
Summary: java.lang.NoSuchMethodError when starting profiler
Status: CLOSED INVALID
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-12 22:22 UTC by gaxzero
Modified: 2007-02-12 22:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gaxzero 2005-04-12 22:22:13 UTC
with netbeans 4.0

Profiler.profileClass: **************************************************
Instrumentation filter:
  Filter type: None
  Filter value:
*********** Exception occurred ************ at 1:15 PM on Apr 12, 2005
java.lang.NoSuchMethodError:
javax.swing.JTextPane.setComponentPopupMenu(Ljavax/swing/JPopupMenu;)V
        at
org.netbeans.modules.sql.editor.ui.SqlOutputPanel.initComponents(SqlOutputPanel.java:79)
        at
org.netbeans.modules.sql.editor.ui.SqlOutputPanel.<init>(SqlOutputPanel.java:46)
        at
org.netbeans.modules.sql.editor.ui.SqlOutputTopComponent.initComponents(SqlOutputTopComponent.java:86)
        at
org.netbeans.modules.sql.editor.ui.SqlOutputTopComponent.<init>(SqlOutputTopComponent.java:35)
        at
org.netbeans.modules.sql.editor.ui.SqlOutputTopComponent.getDefault(SqlOutputTopComponent.java:58)
        at
org.netbeans.modules.sql.editor.ui.SqlOutputTopComponent$ResolvableHelper.readResolve(SqlOutputTopComponent.java:120)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:925)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1655)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
        at
org.netbeans.modules.settings.convertors.XMLSettingsSupport$SettingsRecognizer.readSerial(XMLSettingsSupport.java:514)
        at
org.netbeans.modules.settings.convertors.XMLSettingsSupport$SettingsRecognizer.instanceCreate(XMLSettingsSupport.java:542)
        at
org.netbeans.modules.settings.convertors.SerialDataConvertor$SettingsInstance.instanceCreate(SerialDataConvertor.java:356)
        at
org.netbeans.core.windows.persistence.PersistenceManager.getTopComponentPersistentForID(PersistenceManager.java:423)
        at
org.netbeans.core.windows.persistence.PersistenceManager.getTopComponentForID(PersistenceManager.java:530)
        at
org.netbeans.core.windows.PersistenceHandler.getTopComponentForID(PersistenceHandler.java:348)
        at
org.netbeans.core.windows.WindowManagerImpl.getTopComponentForID(WindowManagerImpl.java:720)
        at
org.netbeans.core.windows.model.TopComponentSubModel.getTopComponent(TopComponentSubModel.java:299)
        at
org.netbeans.core.windows.model.TopComponentSubModel.getTopComponents(TopComponentSubModel.java:56)
        at
org.netbeans.core.windows.model.DefaultModeModel.getTopComponents(DefaultModeModel.java:236)
        at
org.netbeans.core.windows.model.DefaultModel.getModeTopComponents(DefaultModel.java:684)
        at org.netbeans.core.windows.Central.getModeTopComponents(Central.java:1127)
        at
org.netbeans.core.windows.Central.addModeClosedTopComponent(Central.java:581)
        at
org.netbeans.core.windows.ModeImpl.addClosedTopComponent(ModeImpl.java:253)
        at org.netbeans.core.windows.ModeImpl.dockIntoImpl(ModeImpl.java:205)
        at org.netbeans.core.windows.ModeImpl.dockInto(ModeImpl.java:119)
        at
org.netbeans.modules.profiler.ProfilerControlPanel.getDefault(ProfilerControlPanel.java:51)
        at
org.netbeans.modules.profiler.NetBeansProfiler.profileClass(NetBeansProfiler.java:479)
        at
org.netbeans.modules.profiler.ant.NBProfileOldStyleTask$1.run(NBProfileOldStyleTask.java:197)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
[catch] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Comment 1 Jan Lahoda 2005-04-14 13:14:30 UTC
Hello,
    thank you for the report. It seems to me that the SQL module uses JDK1.5's
method JTextPane.setComponentPopupMenu, but the IDE is being run on JDK1.4.
Please, can you confirm this? The solution would be either to run the IDE on
JDK1.5, or to disable the SQL module. I do not think there is anything that the
profiler can do to solve this.
Comment 2 iformanek 2005-04-14 15:31:38 UTC
Closing this issue per Jan's evaluation. Please reopen if you believe there is 
other cause of this.
Comment 3 ehucka 2006-10-09 12:10:21 UTC
Verification of old issues.
Comment 4 Alexander Kouznetsov 2007-02-12 22:22:26 UTC
Closing old issues.