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 33259 - Click on 'Database Connection' throws NPE
Summary: Click on 'Database Connection' throws NPE
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2003-04-25 14:51 UTC by Martin Schovanek
Modified: 2008-12-22 20:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE at .beaninfo.editors.IntEditor.getAsText(IntEditor.java:133) (2.51 KB, text/plain)
2003-04-25 14:52 UTC, Martin Schovanek
Details
CCE at .beaninfo.editors.IntEditor.getAsText(IntEditor.java:133) (2.51 KB, text/plain)
2003-04-28 10:20 UTC, Martin Schovanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2003-04-25 14:51:36 UTC
{Nb Build 200304250100, j2sdk1.4.1]
Comment 1 Martin Schovanek 2003-04-25 14:52:35 UTC
Created attachment 10167 [details]
NPE at .beaninfo.editors.IntEditor.getAsText(IntEditor.java:133)
Comment 2 Martin Schovanek 2003-04-28 10:19:17 UTC
Reproducible on:
jdbc:weblogic:mssqlserver4:
jdbc:oracle:thin:

Next click on a Table > Indexes > Index > Column throws: CCE on the
same place.
Comment 3 Martin Schovanek 2003-04-28 10:20:33 UTC
Created attachment 10173 [details]
CCE at .beaninfo.editors.IntEditor.getAsText(IntEditor.java:133)
Comment 4 Radko Najman 2003-05-05 14:36:11 UTC
Implementation of IntEditor causes NPE in Database Explorer module.
This is a regression, it worked until IntEditor was implemented.

If you click on disconnected connection node under Databases node
(Runtime tab) you will see the attached NPE. It is not possible to get
information about the database if the connection to the database is
not estableshed so 'null' values are set for connection node
properties. getAsText() method in IntEditor doesn't expect null values
and NPE is thrown. (I guess that's the reason of this exception)
Comment 5 pzajac 2003-05-05 16:28:43 UTC
regression -> P2
Comment 6 _ tboudreau 2003-05-09 11:57:20 UTC
Fixed in trunk, IntEditor 1.3
Comment 7 Martin Schovanek 2003-07-16 16:28:15 UTC
VERIFIED