com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: Could not initialize class com.facebook.presto.ml.LearnStateFactory

GitHub | electrum | 3 months ago
  1. 0

    Throwable not handled properly during planning

    GitHub | 3 months ago | electrum
    com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: Could not initialize class com.facebook.presto.ml.LearnStateFactory
  2. 0

    Array constructor with too many values causes ClassFormatError

    GitHub | 1 year ago | raghavsethi
    com.google.common.util.concurrent.ExecutionError: java.lang.ClassFormatError: Too many arguments in method signature i n class file com_facebook_presto_$gen_SliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSlice SliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSli ceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceS liceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSlic eSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSl iceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSlice SliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSli ceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceSliceS liceSliceSliceSliceSliceSliceSliceSlice
  3. 0

    NoClassDefFoundError: javax/security/auth/login/LoginException from Subversion plugin - Atlassian Documentation

    atlassian.com | 7 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'subversionManager' defined in URL [bundle://187.0:0/META-INF/spring/subversion-context.xml]: Invocation of init method failed; nested exception is com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: org/ietf/jgss/GSSException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    h3. Summary JIRA 7.1.0 will not start when connected to a Microsoft SQL server if validation query is not specified in _dbconfig.xml_. h3. Environment * JIRA 7.1.0 * Microsoft SQL Server h3. Steps to Reproduce - Connect JIRA 7.1.0 to a SQL Server instance without setting the the *validation query* in _dbconfig.xml_. h3. Expected Results JIRA should start normally h3. Actual Results - JIRA does not start. - The following error is thrown in the _atlassian-jira.log_: {noformat} 2016-02-11 15:07:40,437 JIRA-Bootstrap INFO [c.a.jira.startup.JiraStartupLogger] JIRA pre-database startup checks completed successfully. 2016-02-11 15:07:41,296 JIRA-Bootstrap ERROR [c.a.jira.startup.LauncherContextListener] Unable to start JIRA. com.google.common.util.concurrent.ExecutionError: java.lang.AbstractMethodError at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201) at com.google.common.cache.LocalCache.get(LocalCache.java:3937) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824) at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4830) at org.ofbiz.core.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:107) at com.atlassian.core.ofbiz.CoreFactory.getGenericDelegator(CoreFactory.java:34) at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.configureOfbiz(DatabaseConfigurationManagerImpl.java:215) at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:295) at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseConfigured(DatabaseConfigurationManagerImpl.java:199) at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:132) at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$start$803(DefaultJiraLauncher.java:103) at com.atlassian.jira.startup.DefaultJiraLauncher$$Lambda$4/1623714453.run(Unknown Source) at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:31) at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:101) at com.atlassian.jira.startup.LauncherContextListener.initSlowStuff(LauncherContextListener.java:115) at com.atlassian.jira.startup.LauncherContextListener$$Lambda$2/1122675373.run(Unknown Source) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.AbstractMethodError at net.sourceforge.jtds.jdbc.JtdsConnection.isValid(JtdsConnection.java:2833) at org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914) at org.apache.commons.dbcp2.PoolableConnection.validate(PoolableConnection.java:283) at org.apache.commons.dbcp2.PoolableConnectionFactory.validateConnection(PoolableConnectionFactory.java:357) at org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2304) at org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2038) at org.apache.commons.dbcp2.BasicDataSource.setLogWriter(BasicDataSource.java:1625) at org.ofbiz.core.entity.transaction.DBCPConnectionFactory.getConnection(DBCPConnectionFactory.java:100) at org.ofbiz.core.entity.ConnectionFactory.tryGenericConnectionSources(ConnectionFactory.java:69) at org.ofbiz.core.entity.transaction.JNDIFactory.getConnection(JNDIFactory.java:146) at org.ofbiz.core.entity.TransactionFactory.getConnection(TransactionFactory.java:136) at org.ofbiz.core.entity.ConnectionFactory.getConnection(ConnectionFactory.java:59) at org.ofbiz.core.entity.ConnectionFactory$1.getConnection(ConnectionFactory.java:52) at org.ofbiz.core.entity.jdbc.DatabaseUtil.getConnection(DatabaseUtil.java:133) at org.ofbiz.core.entity.jdbc.DatabaseUtil.getTableNames(DatabaseUtil.java:904) at org.ofbiz.core.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:167) at org.ofbiz.core.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:145) at org.ofbiz.core.entity.GenericDAO.checkDb(GenericDAO.java:1475) at org.ofbiz.core.entity.GenericHelperDAO.checkDataSource(GenericHelperDAO.java:270) at org.ofbiz.core.entity.GenericDelegator.initialiseAndCheckDatabase(GenericDelegator.java:238) at org.ofbiz.core.entity.GenericDelegator.<init>(GenericDelegator.java:169) at org.ofbiz.core.entity.GenericDelegator$1.load(GenericDelegator.java:93) at org.ofbiz.core.entity.GenericDelegator$1.load(GenericDelegator.java:90) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197) ... 17 more {noformat} h3. Workaround Add the [validation query|https://confluence.atlassian.com/doc/surviving-database-connection-closures-297665664.html] to dbconfig.xml and restart JIRA. An example {{dbconfig.xml}} is below - this will need to have the {{username}}, {{password}}, {{scheme}} and {{url}} changed for your instance: {noformat} <jira-database-config> <name>defaultDS</name> <delegator-name>default</delegator-name> <database-type>mssql</database-type> <schema-name>jiraschema</schema-name> <jdbc-datasource> <url>jdbc:jtds:sqlserver://dbserver:1433/jiradb</url> <driver-class>net.sourceforge.jtds.jdbc.Driver</driver-class> <username>jiradbuser</username> <password>password</password> <pool-min-size>20</pool-min-size> <pool-max-size>20</pool-max-size> <pool-max-wait>30000</pool-max-wait> <pool-max-idle>20</pool-max-idle> <pool-remove-abandoned>true</pool-remove-abandoned> <pool-remove-abandoned-timeout>300</pool-remove-abandoned-timeout> <validation-query>select 1</validation-query> <min-evictable-idle-time-millis>60000</min-evictable-idle-time-millis> <time-between-eviction-runs-millis>300000</time-between-eviction-runs-millis> <pool-test-while-idle>true</pool-test-while-idle> <pool-test-on-borrow>false</pool-test-on-borrow> </jdbc-datasource> </jira-database-config> {noformat} You can refer to the documentation on connecting JIRA to SQL Server for sample dbconfig.xml file: - [https://confluence.atlassian.com/adminjiraserver070/connecting-jira-applications-to-sql-server-2008-749382647.html|https://confluence.atlassian.com/adminjiraserver070/connecting-jira-applications-to-sql-server-2008-749382647.html] - [Connecting JIRA applications to SQL Server 2012|https://confluence.atlassian.com/adminjiraserver070/connecting-jira-applications-to-sql-server-2012-792297796.html] h3. Notes This appears to be caused by the jTDS driver as detailed in http://stackoverflow.com/questions/26404283/java-hibernate-with-sql-server-2012-not-working.

    Atlassian JIRA | 10 months ago | Pedro Souza [Atlassian]
    com.google.common.util.concurrent.ExecutionError: java.lang.AbstractMethodError
  6. 0

    h3. Summary JIRA 7.1.0 will not start when connected to a Microsoft SQL server if validation query is not specified in _dbconfig.xml_. h3. Environment * JIRA 7.1.0 * Microsoft SQL Server h3. Steps to Reproduce - Connect JIRA 7.1.0 to a SQL Server instance without setting the the *validation query* in _dbconfig.xml_. h3. Expected Results JIRA should start normally h3. Actual Results - JIRA does not start. - The following error is thrown in the _atlassian-jira.log_: {noformat} 2016-02-11 15:07:40,437 JIRA-Bootstrap INFO [c.a.jira.startup.JiraStartupLogger] JIRA pre-database startup checks completed successfully. 2016-02-11 15:07:41,296 JIRA-Bootstrap ERROR [c.a.jira.startup.LauncherContextListener] Unable to start JIRA. com.google.common.util.concurrent.ExecutionError: java.lang.AbstractMethodError at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201) at com.google.common.cache.LocalCache.get(LocalCache.java:3937) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824) at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4830) at org.ofbiz.core.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:107) at com.atlassian.core.ofbiz.CoreFactory.getGenericDelegator(CoreFactory.java:34) at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.configureOfbiz(DatabaseConfigurationManagerImpl.java:215) at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:295) at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseConfigured(DatabaseConfigurationManagerImpl.java:199) at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:132) at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$start$803(DefaultJiraLauncher.java:103) at com.atlassian.jira.startup.DefaultJiraLauncher$$Lambda$4/1623714453.run(Unknown Source) at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:31) at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:101) at com.atlassian.jira.startup.LauncherContextListener.initSlowStuff(LauncherContextListener.java:115) at com.atlassian.jira.startup.LauncherContextListener$$Lambda$2/1122675373.run(Unknown Source) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.AbstractMethodError at net.sourceforge.jtds.jdbc.JtdsConnection.isValid(JtdsConnection.java:2833) at org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914) at org.apache.commons.dbcp2.PoolableConnection.validate(PoolableConnection.java:283) at org.apache.commons.dbcp2.PoolableConnectionFactory.validateConnection(PoolableConnectionFactory.java:357) at org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2304) at org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2038) at org.apache.commons.dbcp2.BasicDataSource.setLogWriter(BasicDataSource.java:1625) at org.ofbiz.core.entity.transaction.DBCPConnectionFactory.getConnection(DBCPConnectionFactory.java:100) at org.ofbiz.core.entity.ConnectionFactory.tryGenericConnectionSources(ConnectionFactory.java:69) at org.ofbiz.core.entity.transaction.JNDIFactory.getConnection(JNDIFactory.java:146) at org.ofbiz.core.entity.TransactionFactory.getConnection(TransactionFactory.java:136) at org.ofbiz.core.entity.ConnectionFactory.getConnection(ConnectionFactory.java:59) at org.ofbiz.core.entity.ConnectionFactory$1.getConnection(ConnectionFactory.java:52) at org.ofbiz.core.entity.jdbc.DatabaseUtil.getConnection(DatabaseUtil.java:133) at org.ofbiz.core.entity.jdbc.DatabaseUtil.getTableNames(DatabaseUtil.java:904) at org.ofbiz.core.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:167) at org.ofbiz.core.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:145) at org.ofbiz.core.entity.GenericDAO.checkDb(GenericDAO.java:1475) at org.ofbiz.core.entity.GenericHelperDAO.checkDataSource(GenericHelperDAO.java:270) at org.ofbiz.core.entity.GenericDelegator.initialiseAndCheckDatabase(GenericDelegator.java:238) at org.ofbiz.core.entity.GenericDelegator.<init>(GenericDelegator.java:169) at org.ofbiz.core.entity.GenericDelegator$1.load(GenericDelegator.java:93) at org.ofbiz.core.entity.GenericDelegator$1.load(GenericDelegator.java:90) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197) ... 17 more {noformat} h3. Workaround Add the [validation query|https://confluence.atlassian.com/doc/surviving-database-connection-closures-297665664.html] to dbconfig.xml and restart JIRA. An example {{dbconfig.xml}} is below - this will need to have the {{username}}, {{password}}, {{scheme}} and {{url}} changed for your instance: {noformat} <jira-database-config> <name>defaultDS</name> <delegator-name>default</delegator-name> <database-type>mssql</database-type> <schema-name>jiraschema</schema-name> <jdbc-datasource> <url>jdbc:jtds:sqlserver://dbserver:1433/jiradb</url> <driver-class>net.sourceforge.jtds.jdbc.Driver</driver-class> <username>jiradbuser</username> <password>password</password> <pool-min-size>20</pool-min-size> <pool-max-size>20</pool-max-size> <pool-max-wait>30000</pool-max-wait> <pool-max-idle>20</pool-max-idle> <pool-remove-abandoned>true</pool-remove-abandoned> <pool-remove-abandoned-timeout>300</pool-remove-abandoned-timeout> <validation-query>select 1</validation-query> <min-evictable-idle-time-millis>60000</min-evictable-idle-time-millis> <time-between-eviction-runs-millis>300000</time-between-eviction-runs-millis> <pool-test-while-idle>true</pool-test-while-idle> <pool-test-on-borrow>false</pool-test-on-borrow> </jdbc-datasource> </jira-database-config> {noformat} You can refer to the documentation on connecting JIRA to SQL Server for sample dbconfig.xml file: - [https://confluence.atlassian.com/adminjiraserver070/connecting-jira-applications-to-sql-server-2008-749382647.html|https://confluence.atlassian.com/adminjiraserver070/connecting-jira-applications-to-sql-server-2008-749382647.html] - [Connecting JIRA applications to SQL Server 2012|https://confluence.atlassian.com/adminjiraserver070/connecting-jira-applications-to-sql-server-2012-792297796.html] h3. Notes This appears to be caused by the jTDS driver as detailed in http://stackoverflow.com/questions/26404283/java-hibernate-with-sql-server-2012-not-working.

    Atlassian JIRA | 10 months ago | Pedro Souza [Atlassian]
    com.google.common.util.concurrent.ExecutionError: java.lang.AbstractMethodError

  1. mindenaron 1 times, last 1 year ago
2 unregistered visitors
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. com.google.common.util.concurrent.ExecutionError

    java.lang.NoClassDefFoundError: Could not initialize class com.facebook.presto.ml.LearnStateFactory

    at com.google.common.cache.LocalCache$Segment.get()
  2. Guava
    LocalCache$LocalLoadingCache.getUnchecked
    1. com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201)
    2. com.google.common.cache.LocalCache.get(LocalCache.java:3937)
    3. com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941)
    4. com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824)
    5. com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4830)
    5 frames
  3. presto-main
    FunctionRegistry.getAggregateFunctionImplementation
    1. com.facebook.presto.metadata.FunctionRegistry.getAggregateFunctionImplementation(FunctionRegistry.java:793)
    1 frame
  4. Java RT
    ReferencePipeline.allMatch
    1. java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
    2. java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1812)
    3. java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
    4. java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
    5. java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
    6. java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
    7. java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
    8. java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
    9. java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    10. java.util.stream.ReferencePipeline.allMatch(ReferencePipeline.java:454)
    10 frames
  5. presto-main
    LogicalPlanner.plan
    1. com.facebook.presto.sql.planner.optimizations.AddExchanges$Rewriter.visitAggregation(AddExchanges.java:270)
    2. com.facebook.presto.sql.planner.optimizations.AddExchanges$Rewriter.visitAggregation(AddExchanges.java:189)
    3. com.facebook.presto.sql.planner.plan.AggregationNode.accept(AggregationNode.java:189)
    4. com.facebook.presto.sql.planner.optimizations.AddExchanges$Rewriter.planChild(AddExchanges.java:1253)
    5. com.facebook.presto.sql.planner.optimizations.AddExchanges$Rewriter.visitProject(AddExchanges.java:232)
    6. com.facebook.presto.sql.planner.optimizations.AddExchanges$Rewriter.visitProject(AddExchanges.java:189)
    7. com.facebook.presto.sql.planner.plan.ProjectNode.accept(ProjectNode.java:81)
    8. com.facebook.presto.sql.planner.optimizations.AddExchanges$Rewriter.planChild(AddExchanges.java:1253)
    9. com.facebook.presto.sql.planner.optimizations.AddExchanges$Rewriter.visitOutput(AddExchanges.java:238)
    10. com.facebook.presto.sql.planner.optimizations.AddExchanges$Rewriter.visitOutput(AddExchanges.java:189)
    11. com.facebook.presto.sql.planner.plan.OutputNode.accept(OutputNode.java:81)
    12. com.facebook.presto.sql.planner.optimizations.AddExchanges.optimize(AddExchanges.java:151)
    13. com.facebook.presto.sql.planner.LogicalPlanner.plan(LogicalPlanner.java:116)
    13 frames