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.
Cannot register databases nor use any database-related wizards (Entity or REST). Clicking the arrow next to Databases causes the arrow to disappear, and right-clicking does not bring up a popup menu unlike all other Services options below it. Installed 6.9 RC1 on a system with 6.8 installed, but settings were not imported from 6.8. Should be a clean install with no shared/inherited settings. Database integration works perfectly under 6.8. Using Macbook Pro with Snow Leopard, Java6 VM.
Not clear where a problem is exactly. Could you describe your steps in detail? Which DB are you registering (MySQL, Java DB)? Is anything important in your messages.log (menu item View|IDE Log)? Please, attach here. Thanks
(In reply to comment #1) > Not clear where a problem is exactly. Could you describe your steps in detail? > Which DB are you registering (MySQL, Java DB)? Is anything important in your > messages.log (menu item View|IDE Log)? Please, attach here. Thanks Steps are right-clicking or clicking on the arrow next to Databases under the Services tab has no effect. Looking at the message log, it looks like the IDE can't get access to the OS X security manager, throws an uncaught exception, and silently fails with only an icon in the status bar. messages.log (abbreviated for clarity -- let me know if you want everything including initialization warnings): INFO [org.netbeans.core.startup.layers.BinaryFS]: value = org.netbeans.modules.db.explorer.node.RootNode.instance from UI/Runtime/org-netbeans-modules-db-explorer-node-RootNode-instance.instance java.lang.UnsatisfiedLinkError: com.sun.jna.Native.sizeof(I)I at com.sun.jna.Native.sizeof(Native Method) at com.sun.jna.Native.<clinit>(Native.java:107) at org.netbeans.modules.keyring.mac.SecurityLibrary.<clinit>(SecurityLibrary.java:54) at org.netbeans.modules.keyring.mac.MacProvider.read(MacProvider.java:72) at org.netbeans.api.keyring.Keyring.read(Keyring.java:94) at org.netbeans.modules.db.explorer.DatabaseConnectionConvertor.createDatabaseConnection(DatabaseConnectionConvertor.java:239) at org.netbeans.modules.db.explorer.DatabaseConnectionConvertor.instanceCreate(DatabaseConnectionConvertor.java:217) at org.openide.loaders.FolderLookup$ICItem.getInstance(FolderLookup.java:587) at org.openide.util.lookup.AbstractLookup$R.allInstances(AbstractLookup.java:1006) at org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:551) at org.openide.util.lookup.ProxyLookup$R.allInstances(ProxyLookup.java:491) at org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:551) at org.openide.util.lookup.ProxyLookup$R.allInstances(ProxyLookup.java:491) at org.netbeans.modules.db.explorer.ConnectionList.<init>(ConnectionList.java:98) at org.netbeans.modules.db.explorer.ConnectionList.getDefault(ConnectionList.java:89) at org.netbeans.modules.db.explorer.node.RootNode.instance(RootNode.java:84) Caused: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.netbeans.core.startup.layers.BinaryFS$AttrImpl$MethodAndParams.invoke(BinaryFS.java:607) at org.netbeans.core.startup.layers.BinaryFS$AttrImpl.getValue(BinaryFS.java:540) at org.netbeans.core.startup.layers.BinaryFS$BFSBase.getAttribute(BinaryFS.java:386) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:907) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:844) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:903) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:844) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:772) at org.netbeans.core.startup.layers.BinaryFS$FileMap.get(BinaryFS.java:955) at org.openide.nodes.LazyNode.switchToOriginal(LazyNode.java:83) at org.openide.nodes.LazyNode$SwitchChildren.addNotify(LazyNode.java:107) at org.openide.nodes.Children.callAddNotify(Children.java:554) at org.openide.nodes.EntrySupport$Default.getArray(EntrySupport.java:758) at org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:169) at org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:225) at org.openide.nodes.EntrySupport$Default.getNodesCount(EntrySupport.java:229) at org.openide.nodes.Children.getNodesCount(Children.java:488) at org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:258) at org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:248) at org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:325) at javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:168) at javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.expand(FixedHeightLayoutCache.java:1135) at javax.swing.tree.FixedHeightLayoutCache.ensurePathIsExpanded(FixedHeightLayoutCache.java:645) at javax.swing.tree.FixedHeightLayoutCache.setExpandedState(FixedHeightLayoutCache.java:282) at javax.swing.plaf.basic.BasicTreeUI.updateExpandedDescendants(BasicTreeUI.java:1643) at javax.swing.plaf.basic.BasicTreeUI$Handler.treeExpanded(BasicTreeUI.java:3716) at javax.swing.JTree.fireTreeExpanded(JTree.java:2656) at javax.swing.JTree.setExpandedState(JTree.java:3427) at javax.swing.JTree.expandPath(JTree.java:2163) at javax.swing.plaf.basic.BasicTreeUI.toggleExpandState(BasicTreeUI.java:2204) at com.apple.laf.AquaTreeUI.access$1400(AquaTreeUI.java:28) at com.apple.laf.AquaTreeUI$TreeArrowMouseInputHandler.mouseReleased(AquaTreeUI.java:377) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273) at java.awt.Component.processMouseEvent(Component.java:6348) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6113) at java.awt.Container.processEvent(Container.java:2085) at java.awt.Component.dispatchEventImpl(Component.java:4714) at java.awt.Container.dispatchEventImpl(Container.java:2143) at java.awt.Component.dispatchEvent(Component.java:4544) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212) at java.awt.Container.dispatchEventImpl(Container.java:2129) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4544) at java.awt.EventQueue.dispatchEvent(EventQueue.java:635) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:137) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) [catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) INFO [org.netbeans.core.startup.layers.BinaryFS]: value = org.netbeans.modules.db.explorer.node.RootNode.instance from UI/Runtime/org-netbeans-modules-db-explorer-node-RootNode-instance.instance java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.modules.keyring.mac.SecurityLibrary at org.netbeans.modules.keyring.mac.MacProvider.read(MacProvider.java:72) at org.netbeans.api.keyring.Keyring.read(Keyring.java:94) at org.netbeans.modules.db.explorer.DatabaseConnectionConvertor.createDatabaseConnection(DatabaseConnectionConvertor.java:239) at org.netbeans.modules.db.explorer.DatabaseConnectionConvertor.instanceCreate(DatabaseConnectionConvertor.java:217) at org.openide.loaders.FolderLookup$ICItem.getInstance(FolderLookup.java:587) at org.openide.util.lookup.AbstractLookup$R.allInstances(AbstractLookup.java:1006) at org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:551) at org.openide.util.lookup.ProxyLookup$R.allInstances(ProxyLookup.java:491) at org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:551) at org.openide.util.lookup.ProxyLookup$R.allInstances(ProxyLookup.java:491) at org.netbeans.modules.db.explorer.ConnectionList.<init>(ConnectionList.java:98) at org.netbeans.modules.db.explorer.ConnectionList.getDefault(ConnectionList.java:89) at org.netbeans.modules.db.explorer.node.RootNode.instance(RootNode.java:84) Caused: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.netbeans.core.startup.layers.BinaryFS$AttrImpl$MethodAndParams.invoke(BinaryFS.java:607) at org.netbeans.core.startup.layers.BinaryFS$AttrImpl.getValue(BinaryFS.java:540) at org.netbeans.core.startup.layers.BinaryFS$BFSBase.getAttribute(BinaryFS.java:386) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:907) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:844) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:903) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:844) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:772) at org.netbeans.core.startup.layers.BinaryFS$FOEntry.getValue(BinaryFS.java:1041) at java.util.AbstractMap.toString(AbstractMap.java:487) at java.lang.String.valueOf(String.java:2826) at java.lang.StringBuilder.append(StringBuilder.java:115) at org.openide.nodes.LazyNode.switchToOriginal(LazyNode.java:85) at org.openide.nodes.LazyNode$SwitchChildren.addNotify(LazyNode.java:107) at org.openide.nodes.Children.callAddNotify(Children.java:554) at org.openide.nodes.EntrySupport$Default.getArray(EntrySupport.java:758) at org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:169) at org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:225) at org.openide.nodes.EntrySupport$Default.getNodesCount(EntrySupport.java:229) at org.openide.nodes.Children.getNodesCount(Children.java:488) at org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:258) at org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:248) at org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:325) at javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:168) at javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.expand(FixedHeightLayoutCache.java:1135) at javax.swing.tree.FixedHeightLayoutCache.ensurePathIsExpanded(FixedHeightLayoutCache.java:645) at javax.swing.tree.FixedHeightLayoutCache.setExpandedState(FixedHeightLayoutCache.java:282) at javax.swing.plaf.basic.BasicTreeUI.updateExpandedDescendants(BasicTreeUI.java:1643) at javax.swing.plaf.basic.BasicTreeUI$Handler.treeExpanded(BasicTreeUI.java:3716) at javax.swing.JTree.fireTreeExpanded(JTree.java:2656) at javax.swing.JTree.setExpandedState(JTree.java:3427) at javax.swing.JTree.expandPath(JTree.java:2163) at javax.swing.plaf.basic.BasicTreeUI.toggleExpandState(BasicTreeUI.java:2204) at com.apple.laf.AquaTreeUI.access$1400(AquaTreeUI.java:28) at com.apple.laf.AquaTreeUI$TreeArrowMouseInputHandler.mouseReleased(AquaTreeUI.java:377) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273) at java.awt.Component.processMouseEvent(Component.java:6348) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6113) at java.awt.Container.processEvent(Container.java:2085) at java.awt.Component.dispatchEventImpl(Component.java:4714) at java.awt.Container.dispatchEventImpl(Container.java:2143) at java.awt.Component.dispatchEvent(Component.java:4544) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212) at java.awt.Container.dispatchEventImpl(Container.java:2129) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4544) at java.awt.EventQueue.dispatchEvent(EventQueue.java:635) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:137) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) [catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) SEVERE [global] 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@194fe60f[Name=Databases, displayName=Databases]} is null at org.openide.nodes.LazyNode.switchToOriginal(LazyNode.java:85) at org.openide.nodes.LazyNode$SwitchChildren.addNotify(LazyNode.java:107) at org.openide.nodes.Children.callAddNotify(Children.java:554) at org.openide.nodes.EntrySupport$Default.getArray(EntrySupport.java:758) at org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:169) at org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:225) at org.openide.nodes.EntrySupport$Default.getNodesCount(EntrySupport.java:229) at org.openide.nodes.Children.getNodesCount(Children.java:488) at org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:258) at org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:248) at org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:325) at javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:168) at javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.expand(FixedHeightLayoutCache.java:1135) at javax.swing.tree.FixedHeightLayoutCache.ensurePathIsExpanded(FixedHeightLayoutCache.java:645) at javax.swing.tree.FixedHeightLayoutCache.setExpandedState(FixedHeightLayoutCache.java:282) at javax.swing.plaf.basic.BasicTreeUI.updateExpandedDescendants(BasicTreeUI.java:1643) at javax.swing.plaf.basic.BasicTreeUI$Handler.treeExpanded(BasicTreeUI.java:3716) at javax.swing.JTree.fireTreeExpanded(JTree.java:2656) at javax.swing.JTree.setExpandedState(JTree.java:3427) at javax.swing.JTree.expandPath(JTree.java:2163) at javax.swing.plaf.basic.BasicTreeUI.toggleExpandState(BasicTreeUI.java:2204) at com.apple.laf.AquaTreeUI.access$1400(AquaTreeUI.java:28) at com.apple.laf.AquaTreeUI$TreeArrowMouseInputHandler.mouseReleased(AquaTreeUI.java:377) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273) at java.awt.Component.processMouseEvent(Component.java:6348) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6113) at java.awt.Container.processEvent(Container.java:2085) at java.awt.Component.dispatchEventImpl(Component.java:4714) at java.awt.Container.dispatchEventImpl(Container.java:2143) at java.awt.Component.dispatchEvent(Component.java:4544) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212) at java.awt.Container.dispatchEventImpl(Container.java:2129) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4544) at java.awt.EventQueue.dispatchEvent(EventQueue.java:635) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:137) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) [catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) INFO [org.netbeans.core.startup.layers.BinaryFS]: value = org.netbeans.modules.db.explorer.node.RootNode.instance from UI/Runtime/org-netbeans-modules-db-explorer-node-RootNode-instance.instance java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.modules.keyring.mac.SecurityLibrary at org.netbeans.modules.keyring.mac.MacProvider.read(MacProvider.java:72) at org.netbeans.api.keyring.Keyring.read(Keyring.java:94) at org.netbeans.modules.db.explorer.DatabaseConnectionConvertor.createDatabaseConnection(DatabaseConnectionConvertor.java:239) at org.netbeans.modules.db.explorer.DatabaseConnectionConvertor.instanceCreate(DatabaseConnectionConvertor.java:217) at org.openide.loaders.FolderLookup$ICItem.getInstance(FolderLookup.java:587) at org.openide.util.lookup.AbstractLookup$R.allInstances(AbstractLookup.java:1006) at org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:551) at org.openide.util.lookup.ProxyLookup$R.allInstances(ProxyLookup.java:491) at org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:551) at org.openide.util.lookup.ProxyLookup$R.allInstances(ProxyLookup.java:491) at org.netbeans.modules.db.explorer.ConnectionList.<init>(ConnectionList.java:98) at org.netbeans.modules.db.explorer.ConnectionList.getDefault(ConnectionList.java:89) at org.netbeans.modules.db.explorer.node.RootNode.instance(RootNode.java:84) Caused: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.netbeans.core.startup.layers.BinaryFS$AttrImpl$MethodAndParams.invoke(BinaryFS.java:607) at org.netbeans.core.startup.layers.BinaryFS$AttrImpl.getValue(BinaryFS.java:540) at org.netbeans.core.startup.layers.BinaryFS$BFSBase.getAttribute(BinaryFS.java:386) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:907) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:844) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:903) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:844) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:772) at org.netbeans.core.startup.layers.BinaryFS$FileMap.get(BinaryFS.java:955) at org.openide.nodes.LazyNode.switchToOriginal(LazyNode.java:83) at org.openide.nodes.LazyNode$SwitchChildren.getNodesCount(LazyNode.java:119) [catch] at org.openide.explorer.view.TreeView$6.run(TreeView.java:959) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1957) INFO [org.netbeans.core.startup.layers.BinaryFS]: value = org.netbeans.modules.db.explorer.node.RootNode.instance from UI/Runtime/org-netbeans-modules-db-explorer-node-RootNode-instance.instance java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.modules.keyring.mac.SecurityLibrary at org.netbeans.modules.keyring.mac.MacProvider.read(MacProvider.java:72) at org.netbeans.api.keyring.Keyring.read(Keyring.java:94) at org.netbeans.modules.db.explorer.DatabaseConnectionConvertor.createDatabaseConnection(DatabaseConnectionConvertor.java:239) at org.netbeans.modules.db.explorer.DatabaseConnectionConvertor.instanceCreate(DatabaseConnectionConvertor.java:217) at org.openide.loaders.FolderLookup$ICItem.getInstance(FolderLookup.java:587) at org.openide.util.lookup.AbstractLookup$R.allInstances(AbstractLookup.java:1006) at org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:551) at org.openide.util.lookup.ProxyLookup$R.allInstances(ProxyLookup.java:491) at org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:551) at org.openide.util.lookup.ProxyLookup$R.allInstances(ProxyLookup.java:491) at org.netbeans.modules.db.explorer.ConnectionList.<init>(ConnectionList.java:98) at org.netbeans.modules.db.explorer.ConnectionList.getDefault(ConnectionList.java:89) at org.netbeans.modules.db.explorer.node.RootNode.instance(RootNode.java:84) Caused: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.netbeans.core.startup.layers.BinaryFS$AttrImpl$MethodAndParams.invoke(BinaryFS.java:607) at org.netbeans.core.startup.layers.BinaryFS$AttrImpl.getValue(BinaryFS.java:540) at org.netbeans.core.startup.layers.BinaryFS$BFSBase.getAttribute(BinaryFS.java:386) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:907) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:844) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:903) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:844) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:772) at org.netbeans.core.startup.layers.BinaryFS$FOEntry.getValue(BinaryFS.java:1041) at java.util.AbstractMap.toString(AbstractMap.java:487) at java.lang.String.valueOf(String.java:2826) at java.lang.StringBuilder.append(StringBuilder.java:115) at org.openide.nodes.LazyNode.switchToOriginal(LazyNode.java:85) at org.openide.nodes.LazyNode$SwitchChildren.getNodesCount(LazyNode.java:119) [catch] at org.openide.explorer.view.TreeView$6.run(TreeView.java:959) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1957) WARNING [org.openide.explorer.view.TreeView] 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@4ee5259d[Name=Databases, displayName=Databases]} is null at org.openide.nodes.LazyNode.switchToOriginal(LazyNode.java:85) at org.openide.nodes.LazyNode$SwitchChildren.getNodesCount(LazyNode.java:119) [catch] at org.openide.explorer.view.TreeView$6.run(TreeView.java:959) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1957)
Created attachment 99697 [details] messages.log after expanding databases node in services view
I am unable to reproduce this issue on Snow Leopard 10.6.3 with java 1.6.0_20 - see messages.log file above.
Thanks ttfkam. I see what are the steps to reproduce. Your problem seems to be related to using Keyring API since Nb6.9 (ccing jglick). Please, run your NetBeans again with a switch -J-Dorg.netbeans.modules.keyring.level=0, open Database node in Services tab and then attach your messages.log (found in /Users/<your_account_name>/.netbeans/6.9rc1). The latest 6.9 builds are in http://dlc.sun.com.edgesuite.net/netbeans/6.9/rc/ I'm waiting for your response. Thank you.
Created attachment 99735 [details] Log from startup to selecting Databases under Services
FYI: used the following on the mac command line without line breaks % open -a /Applications/NetBeans/NetBeans\ 6.9\ RC1.app --args -J-Dorg.netbeans.modules.keyring.level=0 Let me know if you need me to start it differently to get the desired output.
Thank you. Your command gave full output. The most important part is: java.lang.UnsatisfiedLinkError: com.sun.jna.Native.sizeof(I)I at com.sun.jna.Native.sizeof(Native Method) at com.sun.jna.Native.<clinit>(Native.java:107) at org.netbeans.modules.keyring.mac.SecurityLibrary.<clinit>(SecurityLibrary.java:54) at org.netbeans.modules.keyring.mac.MacProvider.read(MacProvider.java:72) I guess a culprit could be MacProvider for KeyRing API. It can affect all parts of IDE using that API. Reassigning to Jesse.
Stando, please help. Jesse is on vacation this week.
i can't reproduce this issue with nb 6.9 rc2, jdk 1.6.0_20 please try deleting your user dir and don't tick 'remember password' option when creating a new database connection. then it should be possible to use the database nodes.
(In reply to comment #10) > i can't reproduce this issue with nb 6.9 rc2, jdk 1.6.0_20 > > please try deleting your user dir and don't tick 'remember password' option > when creating a new database connection. then it should be possible to use the > database nodes. Works like a charm for me in 6.9 rc2. FYI: I was never prompted for a "remember password" option in either rc1 or rc2. It simply failed in the former and works in the latter for me.
not fixed, but works for reporter -> WORKSFORME
cannot reproduce neither on my mac with SL 10.6.3
(In reply to comment #8) > java.lang.UnsatisfiedLinkError: com.sun.jna.Native.sizeof(I)I > at com.sun.jna.Native.sizeof(Native Method) > I guess a culprit could be MacProvider for KeyRing API. Rather sounds like some problem in JNA - either a corrupted jna.jar, or an older/newer copy present somewhere in the system. Likely caused by some problem in reporter's environment.
Created attachment 146397 [details] database under service tab not expanding
(In reply to gurmohit from comment #15) > Created attachment 146397 [details] > database under service tab not expanding I recommend to download the latest release (*) of NetBeans IDE, a lot of fixes were delivered since IDE 6.8. * https://netbeans.org/downloads/