java.util.concurrent.ExecutionException: java.lang.Exception: Failed to create APISession!

Jenkins JIRA | Grigoriy Milman | 3 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

    PTC plugin causing memory leak. It's a very strange pattern: First we see "API Exception caught" like the following {quote} INFO: [xUnit] - [MSTest-Version N/A (default)] - 1 test report file(s) were found with the pattern 'TestResults\*.trx' relative to 'D:\Jenkins_ROOT\NGMP.DIRECT.Sandbox\SWProduction\TestLibraries\TestlibrariesCommon\CommonSwitchingPaths' for the testing framework 'MSTest-Version N/A (default)'. Jun 04, 2014 4:54:30 AM [INFO] IntegritySCM - Database shutdown successful! Jun 04, 2014 4:54:31 AM [INFO] IntegritySCM - API Exception caught... Jun 04, 2014 4:54:31 AM [INFO] IntegritySCM - Failed to establish a session: Session not authenticated/authorized. Jun 04, 2014 4:54:31 AM [INFO] IntegritySCM - API Exception caught... Jun 04, 2014 4:54:31 AM [INFO] IntegritySCM - Failed to establish a session: Session not authenticated/authorized. Jun 04, 2014 4:54:31 AM [INFO] IntegritySCM - API Exception caught... Jun 04, 2014 4:54:31 AM [INFO] IntegritySCM - Failed to establish a session: Session not authenticated/authorized. Jun 04, 2014 4:54:33 AM [INFO] IntegritySCM - java.util.concurrent.ExecutionException: java.lang.Exception: Failed to create APISession! Jun 04, 2014 4:54:33 AM [INFO] IntegritySCM - at java.util.concurrent.FutureTask$Sync.innerGet(null:-1) Jun 04, 2014 4:54:33 AM [INFO] IntegritySCM - at java.util.concurrent.FutureTask.get(null:-1) Jun 04, 2014 4:54:33 AM [INFO] IntegritySCM - at hudson.scm.IntegrityCheckoutTask.invoke(IntegrityCheckoutTask.java:359) Jun 04, 2014 4:54:33 AM [INFO] IntegritySCM - at hudson.scm.IntegrityCheckoutTask.invoke(IntegrityCheckoutTask.java:25) Jun 04, 2014 4:54:33 AM [INFO] IntegritySCM - at hudson.FilePath.act(FilePath.java:920) Jun 04, 2014 4:54:33 AM [INFO] IntegritySCM - at hudson.FilePath.act(FilePath.java:893) Jun 04, 2014 4:54:33 AM [INFO] IntegritySCM - at hudson.scm.IntegritySCM.checkout(IntegritySCM.java:789) Jun 04, 2014 4:54:33 AM [INFO] IntegritySCM - at hudson.model.AbstractProject.checkout(AbstractProject.java:1251) Jun 04, 2014 4:54:33 AM [INFO] IntegritySCM - at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604) Jun 04, 2014 4:54:33 AM [INFO] IntegritySCM - at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) Jun 04, 2014 4:54:33 AM [INFO] IntegritySCM - at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:513) Jun 04, 2014 4:54:33 AM [INFO] IntegritySCM - at hudson.model.Run.execute(Run.java:1706) Jun 04, 2014 4:54:33 AM [INFO] IntegritySCM - at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) Jun 04, 2014 4:54:33 AM [INFO] IntegritySCM - at hudson.model.ResourceController.execute(ResourceController.java:88) Jun 04, 2014 4:54:33 AM [INFO] IntegritySCM - at hudson.model.Executor.run(Executor.java:231) {quote} than {quote} Exception in thread "Executor #1 for master : executing NGMP.Direct-Library.Fixture4140Flat #1352" java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Unknown Source) at hudson.remoting.AtmostOneThreadExecutor.execute(AtmostOneThreadExecutor.java:88) at java.util.concurrent.AbstractExecutorService.submit(Unknown Source) at jenkins.util.AtmostOneTaskExecutor.maybeRun(AtmostOneTaskExecutor.java:84) at jenkins.util.AtmostOneTaskExecutor.submit(AtmostOneTaskExecutor.java:72) at hudson.model.Queue.scheduleMaintenance(Queue.java:928) at hudson.model.Executor.run(Executor.java:265) {quote} {quote}

    Jenkins JIRA | 3 years ago | Grigoriy Milman
    java.util.concurrent.ExecutionException: java.lang.Exception: Failed to create APISession!
  2. 0

    Null pointer exception while executing query on VirtualCube

    GitHub | 4 years ago | maximecaron
    org.apache.cxf.interceptor.Fault: Mondrian Error:java.util.concurrent.ExecutionException: mondrian.olap.MondrianException: Mondrian Error:Internal error: Error while executing query [with set [dateRange] as '{([Time].[Date].[2012].[August].[2012-08-29] : [Time].[Date].[2012].[September].[2012-09-05])}' set [Time-Date] as '[dateRange]' member [Time].[Date].[Time-Date] as 'Aggregate([Time-Date])' set [measures] as '{[Measures].[page_hits], [Measures].[mssb_report_downloads], [Measures].[mssb_report_hovers], [Measures].[mssb_report_previews], [Measures].[mssb_entitled_users], [Measures].[visitors]}' select [measures] ON COLUMNS, NON EMPTY TopCount([mssb_cie_page].[Value].Members, 1000, Sum([measures])) ON ROWS from [9119] where [Time].[Date].[Time-Date] ]
  3. 0

    How to correct TomcatFailure

    Stack Overflow | 7 months ago | Jack
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Sync is causing out of memory errors

    GitHub | 2 years ago | jcamp1
    java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError
  6. 0

    Integration with Play Framework 2.3: OutOfMemoryError: GC overhead limit exceeded

    GitHub | 2 years ago | lmayumi
    java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC overhead limit exceeded

  1. rp 6 times, last 5 months ago
  2. qavid 1 times, last 7 months ago
  3. Mark 6 times, last 7 months ago
  4. tfr 3 times, last 7 months ago
  5. kid 275 times, last 10 months ago
1 more registered users
54 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. java.util.concurrent.ExecutionException

    java.lang.Exception: Failed to create APISession!

    at java.util.concurrent.FutureTask$Sync.innerGet()
  2. Java RT
    FutureTask.get
    1. java.util.concurrent.FutureTask$Sync.innerGet(null:-1)
    2. java.util.concurrent.FutureTask.get(null:-1)
    2 frames
  3. Hudson
    AbstractBuild$AbstractBuildExecution.defaultCheckout
    1. hudson.scm.IntegrityCheckoutTask.invoke(IntegrityCheckoutTask.java:359)
    2. hudson.scm.IntegrityCheckoutTask.invoke(IntegrityCheckoutTask.java:25)
    3. hudson.FilePath.act(FilePath.java:920)
    4. hudson.FilePath.act(FilePath.java:893)
    5. hudson.scm.IntegritySCM.checkout(IntegritySCM.java:789)
    6. hudson.model.AbstractProject.checkout(AbstractProject.java:1251)
    7. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
    7 frames
  4. jenkins.scm
    SCMCheckoutStrategy.checkout
    1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
    1 frame
  5. Hudson
    Executor.run
    1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:513)
    2. hudson.model.Run.execute(Run.java:1706)
    3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    4. hudson.model.ResourceController.execute(ResourceController.java:88)
    5. hudson.model.Executor.run(Executor.java:231)
    5 frames