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 135703 - org.netbeans.api.db.explorer.DatabaseException: java.sql.SQLException: Illegal connection port value 'viscous.czech:3306'
Summary: org.netbeans.api.db.explorer.DatabaseException: java.sql.SQLException: Illega...
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Rob Englander
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-23 14:32 UTC by Tomas Danek
Modified: 2008-08-28 06:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 56788


Attachments
stacktrace (2.37 KB, text/plain)
2008-05-23 14:32 UTC, Tomas Danek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2008-05-23 14:32:27 UTC
Build: NetBeans IDE Dev (Build 200805211202)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12
OS: Linux, 2.6.24-16-generic, i386

User Comments: 
after creating connection (connected sucesfully) to mysql DB. Seems to be harmless.
Comment 1 Tomas Danek 2008-05-23 14:32:32 UTC
Created attachment 61834 [details]
stacktrace
Comment 2 David Vancouvering 2008-05-27 19:42:14 UTC
I see this sometimes too; we should track this down.
Comment 3 Rob Englander 2008-08-26 17:43:46 UTC
It's actually not harmless.  Although the driver connection is properly established, the MySQL server connection that is
attempted fails.

The fix is pushed.  I'll update with the changeset shortly.
Comment 4 Rob Englander 2008-08-26 17:47:55 UTC
905abca027b7
Comment 5 Quality Engineering 2008-08-28 06:38:04 UTC
Integrated into 'main-golden', available in build *200808280201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/905abca027b7
User: Rob Englander <mindstream@netbeans.org>
Log: #135703 Fixed URLParser.getPort method to properly parse out the port.