Embedded Firebird database and java 1.5

Hello everybody!

I wanted connect to embedded database Firebird in java 1.5 and I got follow error:

Exception occurred during event dispatching:

org.firebirdsql.gds.impl.jni.InternalError: Unexpected exception caught.

at org.firebirdsql.gds.impl.jni.JniGDSImpl.native_isc_dsql_fetch(Native Method)

at org.firebirdsql.gds.impl.jni.BaseGDSImpl.iscDsqlFetch(BaseGDSImpl.java:440)

at org.firebirdsql.gds.impl.GDSHelper.fetch(GDSHelper.java:260)

at org.firebirdsql.jdbc.FBStatementFetcher.fetch(FBStatementFetcher.java:201)

at org.firebirdsql.jdbc.FBStatementFetcher.next(FBStatementFetcher.java:119)

at org.firebirdsql.jdbc.FBResultSet.next(FBResultSet.java:250)

at main.Receptionist.login(Receptionist.java:297)

at gui.LoginDlg.btnOkActionPerformed(LoginDlg.java:142)

at gui.LoginDlg.access$1(LoginDlg.java:138)

at gui.LoginDlg$2.actionPerformed(LoginDlg.java:91)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)

at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)

at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)

at java.awt.Component.processMouseEvent(Component.java:5488)

at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)

at java.awt.Component.processEvent(Component.java:5253)

at java.awt.Container.processEvent(Container.java:1966)

at java.awt.Component.dispatchEventImpl(Component.java:3955)

at java.awt.Container.dispatchEventImpl(Container.java:2024)

at java.awt.Component.dispatchEvent(Component.java:3803)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)

at java.awt.Container.dispatchEventImpl(Container.java:2010)

at java.awt.Window.dispatchEventImpl(Window.java:1774)

at java.awt.Component.dispatchEvent(Component.java:3803)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)

at java.awt.Dialog$1.run(Dialog.java:515)

at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

I don't understand that because it works fine if I used firebird via localhost or if I changed java to 1.4 version embedded firebird also works fine. Thank you for any help!

[3384 byte] By [janzitniaka] at [2007-10-2 16:55:30]
# 1

Hello,

now I changed dll libraries in system32 folder but still I got error like this:

org.firebirdsql.jdbc.FBSQLException: GDS Exception. 335544854. No message for code 335544854 found.

null

at org.firebirdsql.jdbc.FBStatementFetcher.fetch(FBStatementFetcher.java:206)

at org.firebirdsql.jdbc.FBStatementFetcher.next(FBStatementFetcher.java:119)

at org.firebirdsql.jdbc.FBResultSet.next(FBResultSet.java:250)

Any help?

janzitniaka at 2007-7-13 18:07:59 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...