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 98665 - Unable to open Query Editor: NPE
Summary: Unable to open Query Editor: NPE
Status: VERIFIED DUPLICATE of bug 98564
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: _ jimdavidson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-22 15:07 UTC by Alexey Butenko
Modified: 2007-03-29 15:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Butenko 2007-03-22 15:07:24 UTC
M8, Build 200703191900,
Steps to reproduce:
  - Create VW J2EE 5 Project
  - connect to bundled "sample" derby DB (jdbc:derby//localhost:1527/sample)
  - Add CUSTOMER table to the project 
  - Try to Open customerRowSet from SessionBean1 node in Navigator
Result:

Editor doesn't opened and exception occured:
java.lang.NullPointerException
	at 
org.netbeans.modules.visualweb.dataconnectivity.customizers.VisualSQLEditorMetaDataImpl.<init>
(VisualSQLEditorMetaDataImpl.java:103)
	at 
org.netbeans.modules.visualweb.dataconnectivity.customizers.VisualSQLEditorMetaDataImpl.getDataSo
urceCache(VisualSQLEditorMetaDataImpl.java:70)
	at 
org.netbeans.modules.visualweb.dataconnectivity.customizers.SqlCommandCustomizer.getCustomizer
Panel(SqlCommandCustomizer.java:101)
	at org.netbeans.modules.visualweb.insync.live.DesignBeanNode.invokeCustomizer
(DesignBeanNode.java:1178)
	at org.netbeans.modules.visualweb.insync.live.CustomizeAction.performAction
(CustomizeAction.java:85)
	at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:559)
	at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:55)
	at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:555)
	at org.netbeans.modules.visualweb.insync.live.CustomizeAction$DelegateAction.actionPerformed
(CustomizeAction.java:118)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
	at java.awt.Component.processMouseEvent(Component.java:5554)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
	at java.awt.Component.processEvent(Component.java:5319)
	at java.awt.Container.processEvent(Container.java:2010)
	at java.awt.Component.dispatchEventImpl(Component.java:4021)
	at java.awt.Container.dispatchEventImpl(Container.java:2068)
	at java.awt.Component.dispatchEvent(Component.java:3869)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
	at java.awt.Container.dispatchEventImpl(Container.java:2054)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3869)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 _ jimdavidson 2007-03-22 17:17:00 UTC

*** This issue has been marked as a duplicate of 98564 ***
Comment 2 Alexey Butenko 2007-03-29 15:19:30 UTC
Verified on build200703261600