Pentaho BI Platform Tracking | Michael Cuthbert | 8 years ago
  1. 0

    Get connection problem after Orient Server restart

    Google Groups | 4 years ago | Fabrizio Fortino
    com.orientechnologies.orient.core.exception.OStorageException: Error on unload the tree: index #1:4
  2. 0

    QuickFIX/J Jira | 3 months ago
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    The reporting system that shows this problem pools it's datasources which are then provided to the DriverManager when getting an olap connection, multiple threads can be accessing this function (which obtains the Mondrian Connection) at any given time. The problem produces the following exception in the log: java.util.ConcurrentModificationException at java.util.TreeMap$PrivateEntryIterator.nextEntry( at java.util.TreeMap$ at mondrian.rolap.aggmatcher.AggTableManager.loadRolapStarAggregates( at mondrian.rolap.aggmatcher.AggTableManager.initialize( at mondrian.rolap.RolapSchema.load( at mondrian.rolap.RolapSchema.<init>( at mondrian.rolap.RolapSchema.<init>( at mondrian.rolap.RolapSchema$Pool.get( at mondrian.rolap.RolapSchema$Pool.get( at mondrian.rolap.RolapConnection.<init>( at mondrian.rolap.RolapConnection.<init>( at mondrian.olap.DriverManager.getConnection( at com.<CONFIDENTIAL>.service.providers.ras.RASProvider.getMondrianConnection( Ultimately this problem comes from the JdbcSchema class that has a member variable called tables which is initialized on line 1104 as follows: private final SortedMap<String, Table> tables = new TreeMap<String, Table>(); TreeMap is not a synchronized object and would need to be initialized as follows: private final SortedMap<String, Table> tables = (SortedMap)Collections.synchronizeMap(new TreeMap<String, Table>()); This problem does not show up consistently, however regularly enough that it causes problems when trying to load reports that have data from the Olap cube, and the more users that are using the system causing it to show up more frequently. Unless I am missing something this seems like a fairly straight forward thing to fix.

    Pentaho BI Platform Tracking | 8 years ago | Michael Cuthbert

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.util.ConcurrentModificationException

      No message provided

      at java.util.TreeMap$PrivateEntryIterator.nextEntry()
    2. Java RT
      1. java.util.TreeMap$PrivateEntryIterator.nextEntry(
      2. java.util.TreeMap$
      2 frames