Problema java con acceso a sql server 2005
[Microsoft][ODBC SQL Server Driver]Índice descriptor no válido
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at frmRecursos$3.actionPerformed(frmRecursos.java:206)
At javax. Swing. AbstractButton. FireActionPerformed(AbstractButton.java:1995)
At javax. Swing.AbstractButton$Handler. ActionPerformed(AbstractButton.java:2318)
At javax. Swing. DefaultButtonModel. FireActionPerformed(DefaultButtonModel.java:387)
At javax. Swing. DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
At javax. Swing. Plaf. Basic. BasicButtonListener. MouseReleased(BasicButtonListener.java:236)
At java. Awt. Component.processMouseEvent(Component.java:6263)
At javax. Swing. JComponent.processMouseEvent(JComponent.java:3267)
At java. Awt. Component.processEvent(Component.java:6028)
At java. Awt. Container.processEvent(Container.java:2041)
At java. Awt. Component.dispatchEventImpl(Component.java:4630)
At java. Awt. Container.dispatchEventImpl(Container.java:2099)
At java. Awt. Component.dispatchEvent(Component.java:4460)
At java. Awt. LightweightDispatcher.retargetMouseEvent(Container.java:4574)
At java. Awt. LightweightDispatcher.processMouseEvent(Container.java:4238)
At java. Awt. LightweightDispatcher.dispatchEvent(Container.java:4168)
At java. Awt. Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
At java. Awt. Component.dispatchEvent(Component.java:4460)
At java. Awt. EventQueue.dispatchEvent(EventQueue.java:599)
At java. Awt. EventDispatchThread. PumpOneEventForFilters(EventDispatchThread.java:269)
At java. Awt. EventDispatchThread. PumpEventsForFilter(EventDispatchThread.java:184)
At java. Awt. EventDispatchThread. PumpEventsForHierarchy(EventDispatchThread.java:174)
At java. Awt. EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
At java. Awt. EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
At java. Awt. EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at frmRecursos$3.actionPerformed(frmRecursos.java:206)
At javax. Swing. AbstractButton. FireActionPerformed(AbstractButton.java:1995)
At javax. Swing.AbstractButton$Handler. ActionPerformed(AbstractButton.java:2318)
At javax. Swing. DefaultButtonModel. FireActionPerformed(DefaultButtonModel.java:387)
At javax. Swing. DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
At javax. Swing. Plaf. Basic. BasicButtonListener. MouseReleased(BasicButtonListener.java:236)
At java. Awt. Component.processMouseEvent(Component.java:6263)
At javax. Swing. JComponent.processMouseEvent(JComponent.java:3267)
At java. Awt. Component.processEvent(Component.java:6028)
At java. Awt. Container.processEvent(Container.java:2041)
At java. Awt. Component.dispatchEventImpl(Component.java:4630)
At java. Awt. Container.dispatchEventImpl(Container.java:2099)
At java. Awt. Component.dispatchEvent(Component.java:4460)
At java. Awt. LightweightDispatcher.retargetMouseEvent(Container.java:4574)
At java. Awt. LightweightDispatcher.processMouseEvent(Container.java:4238)
At java. Awt. LightweightDispatcher.dispatchEvent(Container.java:4168)
At java. Awt. Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
At java. Awt. Component.dispatchEvent(Component.java:4460)
At java. Awt. EventQueue.dispatchEvent(EventQueue.java:599)
At java. Awt. EventDispatchThread. PumpOneEventForFilters(EventDispatchThread.java:269)
At java. Awt. EventDispatchThread. PumpEventsForFilter(EventDispatchThread.java:184)
At java. Awt. EventDispatchThread. PumpEventsForHierarchy(EventDispatchThread.java:174)
At java. Awt. EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
At java. Awt. EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
At java. Awt. EventDispatchThread.run(EventDispatchThread.java:122)
1 Respuesta
Respuesta de zeusnay
1