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 3365

Summary: printing exception on output window is inccorect by printStackTrace()
Product: platform Reporter: pzajac <pzajac>
Component: -- Other --Assignee: pzajac <pzajac>
Status: CLOSED WORKSFORME    
Severity: normal    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description pzajac 1999-08-15 22:32:14 UTC
this is correct output on censole  :

Loaded the appropriate driver.
SQL Exception: Failed to start database `c:/pz/bookcase`, see the next exception
 for details.
        at COM.jbms._6._403._872(Unknown Source)

        at COM.jbms._6._403._872(Unknown Source)
        at COM.jbms._6._403._868(Unknown Source)
        at COM.jbms._6._608.<init>(Unknown Source)
        at COM.jbms._46._223.<init>(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Native Method)
        at COM.jbms._46._217.newLocalConnection(Unknown Source)
        at COM.jbms._6._1048.connect(Unknown Source)
        at java.sql.DriverManager.getConnection(DriverManager.java:457)
        at java.sql.DriverManager.getConnection(DriverManager.java:137)
        at testsql.Pokus.main(Pokus.java:34)
SQL Exception: Failed to start database `c:/pz/bookcase`, see the next exception
 for details.

This is incorrect output on Output window:

Loaded the appropriate driver.
SQL Exception: Failed to start database `c:/pz/bookcase`, see the next exception for details.
        at COM.jbms._6._403._872(Unknown Source)
        at COM.jbms._6._403._872(Unknown Source)
        at COM.jbms._6._403._868(Unknown Source)
        at COM.jbms._6._608.<init>(Unknown Source)
        at COM.jbms._46._223.<init>(Unknown Source)
        at java.lang.reflect.ConstruScQtLo rE.xnceewpItnisotna:n cFea(iNlaetdi vteo  Msettahrotd )da

t        aabta sCeO M`.cj:b/mpsz./_b4o6o.k_c2a1s7e.`n,e wsLeoec atlhCeo nnneexctt ieoxnc(eUpntkinoonw nf oSro udrectea)il
s        .at
 COM.jbms._6._1048.connect(Unknown Source)
        at java.sql.DriverManager.getConnection(DriverManager.java:457)
        at java.sql.DriverManager.getConnection(DriverManager.java:137)
        at testsql.Pokus.main(Pokus.java:34)
Comment 1 Marek Grummich 2000-07-25 09:40:59 UTC
Priority is changed to P4 (normal).