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 171670 - DB explorer kicks in during IDE shutdown.
Summary: DB explorer kicks in during IDE shutdown.
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-08 03:29 UTC by _ rkubacki
Modified: 2009-09-18 22:47 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 _ rkubacki 2009-09-08 03:29:32 UTC
NB6.7.1, JDK 6, Ubuntu 9.04

I did nothing related to DB support (created C++ project) and took a random thread dump during IDE shutdown since it
took too long. Interesting part shows some db explorer code trying to load classes.

        at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:224)
	- locked <0x4c48db40> (a org.netbeans.StandardModule$OneModuleClassLoader)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
	- locked <0x4c48db40> (a org.netbeans.StandardModule$OneModuleClassLoader)
	at org.netbeans.modules.db.explorer.DatabaseConnectionConvertor.importOldConnections(DatabaseConnectionConvertor.java:260)
	at org.netbeans.modules.db.explorer.ConnectionList.getDefault(ConnectionList.java:79)
	- locked <0x898f7928> (a java.lang.Class for org.netbeans.modules.db.explorer.ConnectionList)
	at org.netbeans.modules.db.DatabaseModule.close(DatabaseModule.java:59)
	at org.netbeans.core.startup.NbInstaller.close(NbInstaller.java:709)
	at org.netbeans.ModuleManager.shutDown(ModuleManager.java:1585)
	at org.netbeans.core.startup.ModuleSystem.shutDown(ModuleSystem.java:291)
	at org.netbeans.core.NbTopManager.doExit(NbTopManager.java:514)
Comment 1 Jiri Rechtacek 2009-09-09 11:25:29 UTC
I'll fix it.
Comment 2 Jiri Rechtacek 2009-09-14 15:12:51 UTC
The most problematic places were fixed by 95b5c14239a4 and 54dbf7d8c612.
Comment 3 Quality Engineering 2009-09-18 22:47:58 UTC
Integrated into 'main-golden', will be available in build *200909181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/54dbf7d8c612
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #171670: DB explorer kicks in during IDE shutdown.