You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
will fail if the SYSDBA pw is incorrect. (That's good.)
Unfortunately this is the stack trace:
org.firebirdsql.jdbc.FBSQLException: GDS Exception. 152. No message for code 152 found.
at org.firebirdsql.management.FBUserManager.userAction(FBUserManager.java:240)
at org.firebirdsql.management.FBUserManager.add(FBUserManager.java:254)
at testjbuser.Main.main(Main.java:33)
at org.firebirdsql.gds.GDSException: No message for code 152 found.
at org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.readStatusVector(AbstractJavaGDSImpl.java:2791)
at org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.receiveResponse(AbstractJavaGDSImpl.java:2743)
at org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.iscServiceAttach(AbstractJavaGDSImpl.java:2709)
at org.firebirdsql.management.FBServiceManager.attachServiceManager(FBServiceManager.java:207)
at org.firebirdsql.management.FBUserManager.userAction(FBUserManager.java:228)
at org.firebirdsql.management.FBUserManager.add(FBUserManager.java:254)
at testjbuser.Main.main(Main.java:33)
In fact, it should get mapped thus:
{335544472, "Your user name and password are not defined. Ask your database administrator to set up a Firebird login."}, /* 152, login */
JayBird certainly knows about this error code because it successfully retrieves the correct message if login to a normal database fails.
The text was updated successfully, but these errors were encountered:
I need to check how FB returns the error code for the services... I suspect that it returns 152 for the services call and 335544472 for a normal API call. I wonder if that is correct...
Hmmm... either it was fixed in HEAD or something different causes that correct error message is displayed. And I see that server sends the correct error code, not the 152 one...
Please re-open the ticket, when it happens with 2.2 version.
Submitted by: @reevespaul
Assigned to: Roman Rokytskyy (rrokytskyy)
This code (roughly similar to code in the test units)
will fail if the SYSDBA pw is incorrect. (That's good.)
Unfortunately this is the stack trace:
org.firebirdsql.jdbc.FBSQLException: GDS Exception. 152. No message for code 152 found.
at org.firebirdsql.management.FBUserManager.userAction(FBUserManager.java:240)
at org.firebirdsql.management.FBUserManager.add(FBUserManager.java:254)
at testjbuser.Main.main(Main.java:33)
at org.firebirdsql.gds.GDSException: No message for code 152 found.
at org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.readStatusVector(AbstractJavaGDSImpl.java:2791)
at org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.receiveResponse(AbstractJavaGDSImpl.java:2743)
at org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.iscServiceAttach(AbstractJavaGDSImpl.java:2709)
at org.firebirdsql.management.FBServiceManager.attachServiceManager(FBServiceManager.java:207)
at org.firebirdsql.management.FBUserManager.userAction(FBUserManager.java:228)
at org.firebirdsql.management.FBUserManager.add(FBUserManager.java:254)
at testjbuser.Main.main(Main.java:33)
In fact, it should get mapped thus:
{335544472, "Your user name and password are not defined. Ask your database administrator to set up a Firebird login."}, /* 152, login */
JayBird certainly knows about this error code because it successfully retrieves the correct message if login to a normal database fails.
The text was updated successfully, but these errors were encountered: