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 179250 - OOME after trying to connect using wrong IP
Summary: OOME after trying to connect using wrong IP
Status: RESOLVED DUPLICATE of bug 174524
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-06 06:11 UTC by misterm
Modified: 2010-01-06 06:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump collected with jstack (299.84 KB, text/plain)
2010-01-06 06:34 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2010-01-06 06:11:46 UTC
I had just booted the IDE and edited the properties for a connection. I mistyped   the ip in the connection string and got an error. Then, I fixed it and when I try to expand the nodes, I get the following exception. It is always reproducible for me.


java.lang.OutOfMemoryError: unable to create new native thread
	at java.lang.Thread.start0(Native Method)
	at java.lang.Thread.start(Thread.java:597)
	at org.openide.util.RequestProcessor$Processor.get(RequestProcessor.java:979)
	at org.openide.util.RequestProcessor.enqueue(RequestProcessor.java:492)
	at org.openide.util.RequestProcessor$Task.schedule(RequestProcessor.java:662)
	at org.openide.nodes.AsynchChildren.refresh(AsynchChildren.java:121)
	at org.openide.nodes.ChildFactory.refresh(ChildFactory.java:160)
	at org.netbeans.api.db.explorer.node.ChildNodeFactory.refresh(ChildNodeFactory.java:74)
	at org.netbeans.api.db.explorer.node.BaseNode.update(BaseNode.java:251)
	at org.netbeans.api.db.explorer.node.BaseNode$1.stateChanged(BaseNode.java:198)
	at org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:130)
	at org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:116)
	at org.netbeans.modules.db.explorer.node.NodeRegistry.stateChanged(NodeRegistry.java:179)
	at org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:130)
	at org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:116)
	at org.netbeans.api.db.explorer.node.NodeProvider.setNodes(NodeProvider.java:186)
	at org.netbeans.modules.db.explorer.node.ConnectedNodeProvider.initialize(ConnectedNodeProvider.java:94)
	at org.netbeans.api.db.explorer.node.NodeProvider.getNodes(NodeProvider.java:103)
	at org.netbeans.modules.db.explorer.node.NodeRegistry.getNodes(NodeRegistry.java:164)
	at org.netbeans.api.db.explorer.node.ChildNodeFactory.createKeys(ChildNodeFactory.java:104)
	at org.openide.nodes.AsynchChildren.run(AsynchChildren.java:173)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)
Comment 1 misterm 2010-01-06 06:14:50 UTC
Connection string: jdbc:oracle:thin:@10.2.1.10:18000:ORALISTENER
Comment 2 misterm 2010-01-06 06:34:13 UTC
Created attachment 93096 [details]
Thread dump collected with jstack
Comment 3 Jiri Rechtacek 2010-01-06 06:37:59 UTC

*** This bug has been marked as a duplicate of bug 174524 ***