Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-23096

JDBC N1QL Driver:java.sql.SQLException: Invalid username/password.

    XMLWordPrintable

Details

    • Untriaged
    • Yes

    Description

      Job which fails:
      cen006-jdbc-vset01-01-jdbc-sqljson-tests

      Error reported:

      09:38:57.076 [main] ERROR com.couchbase.jdbc.core.ProtocolImpl - Error executing query [INSERT INTO default (KEY, VALUE) VALUES ("1_testSimpleData",{"boolean":true,"data_time":"2001-01-01 01:01:01.00","double":12345.333,"specialchars":"()*&^%$!@{}{}:\"\\';::","name":"test_name","testid":"ProjectionJDBCDriverTests.testSimpleData","id":12345})] Invalid username/password.
      09:38:57.077 [main] ERROR com.couchbase.jdbc.core.ProtocolImpl - Error executing update query INSERT INTO default (KEY, VALUE) VALUES ("1_testSimpleData",{"boolean":true,"data_time":"2001-01-01 01:01:01.00","double":12345.333,"specialchars":"()*&^%$!@{}{}:\"\\';::","name":"test_name","testid":"ProjectionJDBCDriverTests.testSimpleData","id":12345}) Error executing update
      java.sql.SQLException: Error executing update
      	at com.couchbase.jdbc.core.ProtocolImpl.execute(ProtocolImpl.java:672)
      	at com.couchbase.jdbc.CBStatement.execute(CBStatement.java:429)
      	at com.couchbase.jdbc.JDBCTestUtils.runQueryWithoutResult(JDBCTestUtils.java:373)
      	at com.couchbase.jdbc.JDBCTestUtils.insertData(JDBCTestUtils.java:673)
      	at com.couchbase.jdbc.ProjectionJDBCDriverTests.testSimpleData(ProjectionJDBCDriverTests.java:51)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
      	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
      	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
      Caused by: java.sql.SQLException: Invalid username/password.
      	at com.couchbase.jdbc.core.ProtocolImpl.fillSQLException(ProtocolImpl.java:589)
      	at com.couchbase.jdbc.core.ProtocolImpl.handleResponse(ProtocolImpl.java:516)
      	at com.couchbase.jdbc.core.ProtocolImpl.doQuery(ProtocolImpl.java:620)
      	at com.couchbase.jdbc.core.ProtocolImpl.execute(ProtocolImpl.java:654)
      	... 34 more
      09:39:02.082 [main] TRACE com.couchbase.jdbc.CBConnection - Normal http connection
      09:39:02.143 [main] TRACE com.couchbase.jdbc.core.ProtocolImpl - Cluster response [{"cluster":"default","name":"172.23.105.169","queryEndpoint":"http://172.23.105.169:8093/query/service","adminEndpoint":"http://172.23.105.169:8093/admin","querySecure":"https://172.23.105.169:18093/query/service","adminSecure":"https://172.23.105.169:18093/admin","options":null}]
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            Prerna.Manaktala Prerna Manaktala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty