Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-61754

SQLException before checkout: Supplied locale description 'english' is invalid

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • integrity-plugin
    • None
    • Java 8, Jenkins 2.204.5, integrity-plugin 2.3, Windows Server 2012 R2

      When trying to checkout an integrity project on another agent I see the following stacktraces on the master:

       

      SQLException
      ERROR XBM0X: Supplied locale description 'english' is invalid, expecting ln[_CO[_variant]]
      ln=lower-case two-letter ISO-639 language code, CO=upper-case two-letter ISO-3166 country codes, see java.util.Locale.
      at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
      at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.staticGetLocaleFromString(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.setLocale(Unknown Source)
      at org.apache.derby.impl.services.monitor.FileMonitor.setLocale(Unknown Source)
      at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
      at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(Unknown Source)
      at org.apache.derby.impl.services.monitor.FileMonitor.createPersistentService(Unknown Source)
      at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection$5.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.apache.derby.impl.jdbc.EmbedConnection.createPersistentService(Unknown Source)
      Caused: ERROR XJ041: Failed to create database 'D:/devtools/Jenkins/IntegritySCM', see the next exception for details.
      at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
      at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown Source)
      Caused: java.sql.SQLException: Failed to create database 'D:/devtools/Jenkins/IntegritySCM', see the next exception for details.
      at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
      at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
      at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
      at org.apache.derby.jdbc.InternalDriver$1.run(Unknown Source)
      at org.apache.derby.jdbc.InternalDriver$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.apache.derby.jdbc.InternalDriver.getNewEmbedConnection(Unknown Source)
      at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
      at org.apache.derby.jdbc.BasicEmbeddedDataSource40.getConnection(Unknown Source)
      at org.apache.derby.jdbc.EmbedPooledConnection.openRealConnection(Unknown Source)
      at org.apache.derby.jdbc.EmbedPooledConnection.<init>(Unknown Source)
      at org.apache.derby.jdbc.InternalDriver.getNewPooledConnection(Unknown Source)
      at org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource.createPooledConnection(Unknown Source)
      at org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource.getPooledConnection(Unknown Source)
      at hudson.scm.DerbyUtils.cleanupProjectCache(DerbyUtils.java:561)
      at hudson.scm.IntegrityRunListenerImpl.onDeleted(IntegrityRunListenerImpl.java:43)
      at hudson.model.listeners.RunListener.fireDeleted(RunListener.java:269)
      at hudson.model.Run.delete(Run.java:1605)
      at hudson.tasks.LogRotator.perform(LogRotator.java:166)
      at hudson.model.Job.logRotate(Job.java:469)
      at org.jenkinsci.plugins.workflow.job.WorkflowRun.lambda$finish$2(WorkflowRun.java:620)
      at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:58)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

       

      This is also the content of the derby.log

            integrity_jenkins_plugin PTC ALM
            stefan_spieker Stefan Spieker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: