Results 1 to 4 of 4
  1. #1
    gvjoshi25 is offline Member
    Join Date
    Aug 2011
    Posts
    3
    Rep Power
    0

    Exclamation cant create database connection

    helloo frndds...
    im using netbeans 6.9
    i want to connect mysql with netbeans.
    bt i cant create database connection in netbeans.
    i tried to create, but i cant right click on database in service.
    help me. for this problem.

  2. #2
    gvjoshi25 is offline Member
    Join Date
    Aug 2011
    Posts
    3
    Rep Power
    0

    Default

    i got this error whn i click on database.

    java.lang.IllegalArgumentException: Original Node from map {position=101, iconResource=org/netbeans/modules/db/resources/database.gif, name=Databases, original=null, displayName=Databases, instanceCreate=org.openide.nodes.LazyNode[name=null][Name=Databases, displayName=Databases]} is null
    at org.openide.nodes.LazyNode.switchToOriginal(LazyNo de.java:85)
    at org.openide.nodes.LazyNode.getActions(LazyNode.jav a:74)
    at org.openide.nodes.NodeOp.findActions(NodeOp.java:1 61)
    at org.openide.explorer.view.TreeView.createPopup(Tre eView.java:1016)
    at org.openide.explorer.view.TreeView$PopupAdapter.sh owPopup(TreeView.java:1500)
    at org.openide.awt.MouseUtils$PopupMouseAdapter.maybe Popup(MouseUtils.java:189)
    at org.openide.awt.MouseUtils$PopupMouseAdapter.mouse Released(MouseUtils.java:184)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEven tMulticaster.java:290)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEven tMulticaster.java:289)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEven tMulticaster.java:289)
    at java.awt.Component.processMouseEvent(Component.jav a:6504)
    at javax.swing.JComponent.processMouseEvent(JComponen t.java:3321)
    at java.awt.Component.processEvent(Component.java:626 9)
    at java.awt.Container.processEvent(Container.java:222 9)
    at java.awt.Component.dispatchEventImpl(Component.jav a:4860)
    at java.awt.Container.dispatchEventImpl(Container.jav a:2287)
    at java.awt.Component.dispatchEvent(Component.java:46 86)
    at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:4832)
    at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:4492)
    at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:4422)
    at java.awt.Container.dispatchEventImpl(Container.jav a:2273)
    at java.awt.Window.dispatchEventImpl(Window.java:2713 )
    at java.awt.Component.dispatchEvent(Component.java:46 86)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava:707)
    at java.awt.EventQueue.access$000(EventQueue.java:101 )
    at java.awt.EventQueue$3.run(EventQueue.java:666)
    at java.awt.EventQueue$3.run(EventQueue.java:664)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPri vilege(ProtectionDomain.java:76)
    at java.security.ProtectionDomain$1.doIntersectionPri vilege(ProtectionDomain.java:87)
    at java.awt.EventQueue$4.run(EventQueue.java:680)
    at java.awt.EventQueue$4.run(EventQueue.java:678)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPri vilege(ProtectionDomain.java:76)
    [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java: 677)
    at org.netbeans.core.TimableEventQueue.dispatchEvent( TimableEventQueue.java:137)
    at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:128)
    at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:117)
    at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:113)
    at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:105)
    at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:90)

  3. #3
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Posts
    12,040
    Rep Power
    20

    Default

    Looks like an ongoing bug.
    From the Netbeans Bugzilla.
    Though, reading this one, it seems to be fixed in Netbeans 7.

  4. #4
    gvjoshi25 is offline Member
    Join Date
    Aug 2011
    Posts
    3
    Rep Power
    0

Similar Threads

  1. connection to database
    By buston01 in forum JDBC
    Replies: 4
    Last Post: 02-21-2010, 01:32 AM
  2. getting database connection
    By ravidasineni in forum AWT / Swing
    Replies: 0
    Last Post: 11-27-2009, 04:33 AM
  3. getting database connection
    By ravidasineni in forum AWT / Swing
    Replies: 1
    Last Post: 11-22-2009, 02:01 AM
  4. database connection in jsf
    By Srikala in forum JavaServer Faces (JSF)
    Replies: 0
    Last Post: 10-06-2008, 06:53 AM
  5. Database connection
    By oaklander in forum New To Java
    Replies: 2
    Last Post: 11-12-2007, 11:11 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •