java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.locks.LockSupport

Apereo Issues | Shawn Connolly | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    While doing ant dbinit and regular running of uPortal HSQL / Hypersonic shuts down due to the following 2 Exceptions: 1. [java] Exception in thread "HSQLDB Connection @76dff374" java.lang.OutOfMemoryError: Java heap space [java] [Server@75cb1d37]: Initiating shutdown sequence... [java] Exception in thread "HSQLDB Server @75cb1d37" java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.locks.LockSupport [java] at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:834) [java] at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:867) [java] at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1197) [java] at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.lock(ReentrantReadWriteLock.java:945) [java] at org.hsqldb.TransactionManagerMVCC.rollback(Unknown Source) [java] at org.hsqldb.Session.rollback(Unknown Source) [java] at org.hsqldb.Session.close(Unknown Source) [java] at org.hsqldb.server.ServerConnection.close(Unknown Source) [java] at org.hsqldb.server.ServerConnection.signalClose(Unknown Source) [java] at org.hsqldb.server.Server.releaseDatabase(Unknown Source) [java] at org.hsqldb.server.Server.shutdown(Unknown Source) [java] at org.hsqldb.server.Server.run(Unknown Source) [java] at org.hsqldb.server.Server.access$000(Unknown Source) [java] at org.hsqldb.server.Server$ServerThread.run(Unknown Source) 2. [java] java.lang.OutOfMemoryError: GC overhead limit exceeded [java] at java.lang.String.toCharArray(String.java:2753) [java] at org.hsqldb.lib.StringConverter.stringToUnicodeBytes(Unknown Source) [java] at org.hsqldb.rowio.RowOutputTextLog.writeString(Unknown Source) [java] at org.hsqldb.rowio.RowOutputBase.writeData(Unknown Source) [java] at org.hsqldb.rowio.RowOutputTextLog.writeData(Unknown Source) [java] at org.hsqldb.scriptio.ScriptWriterText.writeDeleteStatement(Unknown Source) [java] at org.hsqldb.persist.Log.writeDeleteStatement(Unknown Source) [java] at org.hsqldb.persist.Logger.writeDeleteStatement(Unknown Source) [java] at org.hsqldb.persist.RowStoreAVLMemory.commitRow(Unknown Source) [java] at org.hsqldb.TransactionManagerCommon.persistCommit(Unknown Source) [java] at org.hsqldb.TransactionManagerMVCC.commitTransaction(Unknown Source) [java] at org.hsqldb.Session.commit(Unknown Source) [java] at org.hsqldb.Session.executeCompiledStatement(Unknown Source) [java] at org.hsqldb.Session.executeDirectStatement(Unknown Source) [java] at org.hsqldb.Session.execute(Unknown Source) [java] at org.hsqldb.server.ServerConnection.receiveResult(Unknown Source) [java] at org.hsqldb.server.ServerConnection.run(Unknown Source) [java] at java.lang.Thread.run(Thread.java:724) Adjusting the -Xmx parameter to have more memory does clear the issue.

    Apereo Issues | 4 years ago | Shawn Connolly
    java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.locks.LockSupport
  2. 0

    While doing ant dbinit and regular running of uPortal HSQL / Hypersonic shuts down due to the following 2 Exceptions: 1. [java] Exception in thread "HSQLDB Connection @76dff374" java.lang.OutOfMemoryError: Java heap space [java] [Server@75cb1d37]: Initiating shutdown sequence... [java] Exception in thread "HSQLDB Server @75cb1d37" java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.locks.LockSupport [java] at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:834) [java] at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:867) [java] at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1197) [java] at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.lock(ReentrantReadWriteLock.java:945) [java] at org.hsqldb.TransactionManagerMVCC.rollback(Unknown Source) [java] at org.hsqldb.Session.rollback(Unknown Source) [java] at org.hsqldb.Session.close(Unknown Source) [java] at org.hsqldb.server.ServerConnection.close(Unknown Source) [java] at org.hsqldb.server.ServerConnection.signalClose(Unknown Source) [java] at org.hsqldb.server.Server.releaseDatabase(Unknown Source) [java] at org.hsqldb.server.Server.shutdown(Unknown Source) [java] at org.hsqldb.server.Server.run(Unknown Source) [java] at org.hsqldb.server.Server.access$000(Unknown Source) [java] at org.hsqldb.server.Server$ServerThread.run(Unknown Source) 2. [java] java.lang.OutOfMemoryError: GC overhead limit exceeded [java] at java.lang.String.toCharArray(String.java:2753) [java] at org.hsqldb.lib.StringConverter.stringToUnicodeBytes(Unknown Source) [java] at org.hsqldb.rowio.RowOutputTextLog.writeString(Unknown Source) [java] at org.hsqldb.rowio.RowOutputBase.writeData(Unknown Source) [java] at org.hsqldb.rowio.RowOutputTextLog.writeData(Unknown Source) [java] at org.hsqldb.scriptio.ScriptWriterText.writeDeleteStatement(Unknown Source) [java] at org.hsqldb.persist.Log.writeDeleteStatement(Unknown Source) [java] at org.hsqldb.persist.Logger.writeDeleteStatement(Unknown Source) [java] at org.hsqldb.persist.RowStoreAVLMemory.commitRow(Unknown Source) [java] at org.hsqldb.TransactionManagerCommon.persistCommit(Unknown Source) [java] at org.hsqldb.TransactionManagerMVCC.commitTransaction(Unknown Source) [java] at org.hsqldb.Session.commit(Unknown Source) [java] at org.hsqldb.Session.executeCompiledStatement(Unknown Source) [java] at org.hsqldb.Session.executeDirectStatement(Unknown Source) [java] at org.hsqldb.Session.execute(Unknown Source) [java] at org.hsqldb.server.ServerConnection.receiveResult(Unknown Source) [java] at org.hsqldb.server.ServerConnection.run(Unknown Source) [java] at java.lang.Thread.run(Thread.java:724) Adjusting the -Xmx parameter to have more memory does clear the issue.

    Apereo Issues | 4 years ago | Shawn Connolly
    java.lang.NoClassDefFoundError: Could not initialize class java.util.concurrent.locks.LockSupport

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class java.util.concurrent.locks.LockSupport

      at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt()
    2. Java RT
      ReentrantReadWriteLock$WriteLock.lock
      1. java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:834)
      2. java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:867)
      3. java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1197)
      4. java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.lock(ReentrantReadWriteLock.java:945)
      4 frames
    3. HSQLDB
      Session.close
      1. org.hsqldb.TransactionManagerMVCC.rollback(Unknown Source)
      2. org.hsqldb.Session.rollback(Unknown Source)
      3. org.hsqldb.Session.close(Unknown Source)
      3 frames
    4. HyperSQL Database
      Server$ServerThread.run
      1. org.hsqldb.server.ServerConnection.close(Unknown Source)
      2. org.hsqldb.server.ServerConnection.signalClose(Unknown Source)
      3. org.hsqldb.server.Server.releaseDatabase(Unknown Source)
      4. org.hsqldb.server.Server.shutdown(Unknown Source)
      5. org.hsqldb.server.Server.run(Unknown Source)
      6. org.hsqldb.server.Server.access$000(Unknown Source)
      7. org.hsqldb.server.Server$ServerThread.run(Unknown Source)
      7 frames