[Bug 206835] NullPointerException at org.netbeans.lib.ddl.adaptors.DefaultAdaptor.getDatabaseProductName

  • From:
  • To:
  • Subject: [Bug 206835] NullPointerException at org.netbeans.lib.ddl.adaptors.DefaultAdaptor.getDatabaseProductName
  • Date: Sun, 13 Jan 2013 18:46:32 +0000
  • Auto-submitted: auto-generated

http://netbeans.org/bugzilla/show_bug.cgi?id=206835

--- Comment #3 from 

 2013-01-13 18:46:32 UTC ---
This looks like a typical jdbc driver problem - returning NULL as productname
seems not to be sensible - whatever...

If the start of line 505 is changed from

            if (dmd != null) product = dmd.getDatabaseProductName().trim();

to

            if (dmd != null && dmd.getDatabaseProductName() != null) product =
dmd.getDatabaseProductName().trim();

this bug can be closed. I don't see how else a NULL Pointer Exception could be
created.

-- 
Configure bugmail: http://netbeans.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


[Bug 206835] NullPointerException at org.netbeans.lib.ddl.adaptors.DefaultAdaptor.getDatabaseProductName

matthias42 01/13/2013

<Possible follow-up(s)>

[Bug 206835] NullPointerException at org.netbeans.lib.ddl.adaptors.DefaultAdaptor.getDatabaseProductName

jhavlin 01/28/2013

[Bug 206835] NullPointerException at org.netbeans.lib.ddl.adaptors.DefaultAdaptor.getDatabaseProductName

quality 01/29/2013

Project Features

About this Project

DB was started in November 2009, is owned by Antonin Nebuzelsky, and has 113 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close