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 118499 - Profiled NB was shown as empty window
Summary: Profiled NB was shown as empty window
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC Solaris
: P3 blocker (vote)
Assignee: John Baker
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-10-11 08:59 UTC by Alexander Kouznetsov
Modified: 2007-10-18 03:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Profiler Thread Dump (15.00 KB, text/plain)
2007-10-11 09:00 UTC, Alexander Kouznetsov
Details
Profiled NB Thread Dump (13.89 KB, text/plain)
2007-10-11 09:01 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2007-10-11 08:59:50 UTC
Product Version         = NetBeans IDE Dev (Build 200710071200)
  Operating System        = SunOS version 5.10 running on x86
  Java; VM; Vendor        = 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05; Sun Microsystems Inc.

Tried to profile another instance of NetBeans using direct attach but the main window opened was blank, so I was not
able to profile anything.
Comment 1 Alexander Kouznetsov 2007-10-11 09:00:37 UTC
Created attachment 50660 [details]
Profiler Thread Dump
Comment 2 Alexander Kouznetsov 2007-10-11 09:01:05 UTC
Created attachment 50661 [details]
Profiled NB Thread Dump
Comment 3 Alexander Kouznetsov 2007-10-11 09:01:37 UTC
I hope this is just RANDOM.
Comment 4 J Bachorik 2007-10-11 10:25:01 UTC
i can not see anything wrong with profiler in thread dumps.
however there seems to be the db explorer trying to instantiate its jdbc drivers in AWT thread

"AWT-EventQueue-1" prio=10 tid=0x09457400 nid=0x22 in Object.wait() [0xc9dfe000..0xc9dffbf0]
   java.lang.Thread.State: RUNNABLE
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at org.netbeans.modules.db.explorer.DatabaseConnectionAccessor.class$(DatabaseConnectionAccessor.java:56)
        at org.netbeans.modules.db.explorer.DatabaseConnectionAccessor.<clinit>(DatabaseConnectionAccessor.java:56)
        at org.netbeans.modules.db.explorer.DatabaseConnection.<init>(DatabaseConnection.java:167)
        at org.netbeans.modules.db.explorer.DatabaseConnection.<init>(DatabaseConnection.java:192)
        at
org.netbeans.modules.db.explorer.DatabaseConnectionConvertor.createDatabaseConnection(DatabaseConnectionConvertor.java:218)
        at org.netbeans.modules.db.explorer.DatabaseConnectionConvertor.instanceCreate(DatabaseConnectionConvertor.java:194)
        - locked <0xd2ea7c68> (a org.netbeans.modules.db.explorer.DatabaseConnectionConvertor)
        at org.openide.loaders.FolderLookup$ICItem.getInstance(FolderLookup.java:538)
        at org.openide.util.lookup.AbstractLookup$R.allInstances(AbstractLookup.java:934)
        at org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:482)
        at org.openide.util.lookup.ProxyLookup$R.allInstances(ProxyLookup.java:422)
        at org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:482)
        at org.openide.util.lookup.ProxyLookup$R.allInstances(ProxyLookup.java:422)
        at org.netbeans.modules.db.explorer.ConnectionList.<init>(ConnectionList.java:92)
        at org.netbeans.modules.db.explorer.ConnectionList.getDefault(ConnectionList.java:83)
        - locked <0xf1d6df78> (a java.lang.Class for org.netbeans.modules.db.explorer.ConnectionList)
        at org.netbeans.api.db.explorer.ConnectionManager.getConnection(ConnectionManager.java:117)
        at org.netbeans.modules.visualweb.dataconnectivity.naming.DerbyWaiter.registerConnections(DerbyWaiter.java:105)
        - locked <0xd2e4f310> (a org.netbeans.modules.visualweb.dataconnectivity.naming.DerbyWaiter)
        at org.netbeans.modules.visualweb.dataconnectivity.naming.DerbyWaiter.<init>(DerbyWaiter.java:74)
        at
org.netbeans.modules.visualweb.dataconnectivity.DataconnectivityModuleInstaller$1.run(DataconnectivityModuleInstaller.java:127)
        at org.netbeans.core.windows.WindowManagerImpl$Exclusive.run(WindowManagerImpl.java:1284)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:135)

reassigning to the DB component for evaluation
Comment 5 John Baker 2007-10-18 03:10:41 UTC
I've since fixed a deadlock caused by registerConnections.

Please try a more recent build.