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 139387 - NullPointerException at org.netbeans.modules.visualweb.dataconnectivity.model.DatasourceTransferManager$DatasourceBeanCreateInfoSet.beansCreatedSetup
Summary: NullPointerException at org.netbeans.modules.visualweb.dataconnectivity.model...
Status: RESOLVED INCOMPLETE
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: John Baker
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-09 13:06 UTC by jhalupka
Modified: 2009-04-15 12:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 38327


Attachments
stacktrace (2.28 KB, text/plain)
2008-07-09 13:07 UTC, jhalupka
Details
MySQL driver for MySQL 4.1 (230.55 KB, application/octet-stream)
2008-09-25 13:23 UTC, jhalupka
Details
MySQL driver for MySQL 5.0 - current driver (686.78 KB, application/octet-stream)
2008-09-25 13:25 UTC, jhalupka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jhalupka 2008-07-09 13:06:56 UTC
Build: NetBeans IDE 6.1 (Build 200804211638)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05, Java(TM) SE Runtime Environment, 1.6.0_03-b05
OS: Windows XP, 5.1, x86

User Comments: 
Drag-and-drop DB table onto page in Navigator.

cachedRowSetDataProvider appears but not CachedRowSetXImpl.
Comment 1 jhalupka 2008-07-09 13:07:09 UTC
Created attachment 64168 [details]
stacktrace
Comment 2 John Baker 2008-09-19 04:24:17 UTC
The exception occurs when trying to obtain the metadata from the database.

I need to know the database driver and version used.

It's possible the driver is not supported.  I could check if metadata is null and if so discard the drop
Comment 3 John Baker 2008-09-23 17:40:55 UTC
Reporter, please provide the database driver and version used
Comment 4 jhalupka 2008-09-25 13:23:52 UTC
Created attachment 70571 [details]
MySQL driver for MySQL 4.1
Comment 5 jhalupka 2008-09-25 13:25:34 UTC
Created attachment 70573 [details]
MySQL driver for MySQL 5.0 - current driver
Comment 6 John Baker 2008-09-25 19:17:27 UTC
From the stack trace the problem is the driver doesn't retrieve the metadata.

Now we had a bug that was fixed recently where if MySQL is not running, the connection still appears to be connected.

Please make sure MySQL is running then connect and try to drag and drop the MySQL database table to the page.
Comment 7 John Baker 2008-09-25 19:26:32 UTC
reporter, please try the drag and drop again.

If you still get an error, please attach the stack trace in case this time there's a different error (such as related to
using JSF 1.1)