java.lang.IllegalStateException: The connection to the repository is not active

Atlassian JIRA | David Currie [Atlassian] | 4 years ago
  1. 0

    h3. Symptoms # When attempting to access the Subversion panel a "Error rendering com.atlassian.jira.plugin.ext.subversion:subversion-commits-tabpanel. Please contact your JIRA administrators" is displayed. # The Subversion Plugin stops working intermittently. The following may be found within {{atlassian-jira.log}}: {noformat} 2012-12-13 10:48:43,037 QuartzWorker-0 ERROR ServiceRunner Subversion Revision Indexing Service [plugin.ext.subversion.SubversionManagerImpl] Error getting the latest revision from the repository. org.tmatesoft.svn.core.SVNException: svn: E210004: Malformed network data at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) at org.tmatesoft.svn.core.internal.io.svn.SVNReader.readChar(SVNReader.java:478) at org.tmatesoft.svn.core.internal.io.svn.SVNReader.skipWhiteSpace(SVNReader.java:485) at org.tmatesoft.svn.core.internal.io.svn.SVNReader.readTuple(SVNReader.java:287) at org.tmatesoft.svn.core.internal.io.svn.SVNReader.parse(SVNReader.java:241) {noformat} And {noformat} 2012-12-13 10:54:18,701 http-8080-8 ERROR skrnel 654x7493x1 1t6zng1 10.133.0.43 /browse/HVP-8003 [jira.plugin.issuetabpanel.IssueTabPanelInvokerImpl] Exception thrown while trying to call getActions() for com.atlassian.jira.plugin.ext.subversion:subversion-commits-tabpanel (Show Subversion commits related to an issue in an issue tab panel.) java.lang.IllegalStateException: The connection to the repository is not active at com.atlassian.jira.plugin.ext.subversion.SubversionManagerImpl.getLogEntry(SubversionManagerImpl.java:163) at com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexer.getLogEntriesByRepository(RevisionIndexer.java:529) at com.atlassian.jira.plugin.ext.subversion.issuetabpanels.changes.SubversionRevisionsTabPanel.getActions(SubversionRevisionsTabPanel.java:74) at com.atlassian.jira.plugin.issuetabpanel.IssueTabPanelInvokerImpl.invokeGetActions(IssueTabPanelInvokerImpl.java:92) at sun.reflect.GeneratedMethodAccessor561.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) {noformat} h3. Cause The connection between the JIRA and Subversion servers have been severed and the plugin is unable to recover.

    Atlassian JIRA | 4 years ago | David Currie [Atlassian]
    java.lang.IllegalStateException: The connection to the repository is not active
  2. 0

    h3. Symptoms # When attempting to access the Subversion panel a "Error rendering com.atlassian.jira.plugin.ext.subversion:subversion-commits-tabpanel. Please contact your JIRA administrators" is displayed. # The Subversion Plugin stops working intermittently. The following may be found within {{atlassian-jira.log}}: {noformat} 2012-12-13 10:48:43,037 QuartzWorker-0 ERROR ServiceRunner Subversion Revision Indexing Service [plugin.ext.subversion.SubversionManagerImpl] Error getting the latest revision from the repository. org.tmatesoft.svn.core.SVNException: svn: E210004: Malformed network data at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) at org.tmatesoft.svn.core.internal.io.svn.SVNReader.readChar(SVNReader.java:478) at org.tmatesoft.svn.core.internal.io.svn.SVNReader.skipWhiteSpace(SVNReader.java:485) at org.tmatesoft.svn.core.internal.io.svn.SVNReader.readTuple(SVNReader.java:287) at org.tmatesoft.svn.core.internal.io.svn.SVNReader.parse(SVNReader.java:241) {noformat} And {noformat} 2012-12-13 10:54:18,701 http-8080-8 ERROR skrnel 654x7493x1 1t6zng1 10.133.0.43 /browse/HVP-8003 [jira.plugin.issuetabpanel.IssueTabPanelInvokerImpl] Exception thrown while trying to call getActions() for com.atlassian.jira.plugin.ext.subversion:subversion-commits-tabpanel (Show Subversion commits related to an issue in an issue tab panel.) java.lang.IllegalStateException: The connection to the repository is not active at com.atlassian.jira.plugin.ext.subversion.SubversionManagerImpl.getLogEntry(SubversionManagerImpl.java:163) at com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexer.getLogEntriesByRepository(RevisionIndexer.java:529) at com.atlassian.jira.plugin.ext.subversion.issuetabpanels.changes.SubversionRevisionsTabPanel.getActions(SubversionRevisionsTabPanel.java:74) at com.atlassian.jira.plugin.issuetabpanel.IssueTabPanelInvokerImpl.invokeGetActions(IssueTabPanelInvokerImpl.java:92) at sun.reflect.GeneratedMethodAccessor561.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) {noformat} h3. Cause The connection between the JIRA and Subversion servers have been severed and the plugin is unable to recover.

    Atlassian JIRA | 4 years ago | David Currie [Atlassian]
    java.lang.IllegalStateException: The connection to the repository is not active
  3. 0

    After point JIRA at a large Subversion repository, it appeared to parse all revisions: {noformat} ..... 2008-01-01 23:59:56,337 JiraQuartzScheduler_Worker-2 DEBUG [plugin.ext.subversion.SubversionManagerImpl] Retrieved #271666 : Fix exception checking in unit tests. 2008-01-02 00:00:02,174 JiraQuartzScheduler_Worker-2 DEBUG [plugin.ext.subversion.SubversionManagerImpl] Retrieved 7067 relevant revisions to index (between 0 and 607987) from repository=http://svn.apache.org/repos/asf 2008-01-02 00:00:02,222 JiraQuartzScheduler_Worker-2 DEBUG [plugin.ext.subversion.SubversionManagerImpl] log entries size = 7067 for http://svn.apache.org/repos/asf 2008-01-02 00:00:02,357 JiraQuartzScheduler_Worker-2 DEBUG [ext.subversion.revisions.RevisionIndexer] Indexing repository=1, revision: 438 2008-01-02 00:00:02,358 JiraQuartzScheduler_Worker-2 DEBUG [ext.subversion.revisions.RevisionIndexer] Indexing repository=1, revision: 439 2008-01-02 00:00:02,359 JiraQuartzScheduler_Worker-2 DEBUG [ext.subversion.revisions.RevisionIndexer] Indexing repository=1, revision: 440 2008-01-02 00:00:02,360 JiraQuartzScheduler_Worker-2 DEBUG [ext.subversion.revisions.RevisionIndexer] Indexing repository=1, revision: 441 2008-01-02 00:00:02,361 JiraQuartzScheduler_Worker-2 DEBUG [ext.subversion.revisions.RevisionIndexer] Indexing repository=1, revision: 442 ..... 2008-01-02 00:00:29,153 JiraQuartzScheduler_Worker-2 DEBUG [ext.subversion.revisions.RevisionIndexer] Indexing repository=1, revision: 267540 2008-01-02 00:00:29,153 JiraQuartzScheduler_Worker-2 DEBUG [ext.subversion.revisions.RevisionIndexer] Indexing repository=1, revision: 269773 {noformat} However after that, actually viewing the Subversion tab of an issue results in an empty tab, and this stacktrace in the logs: {noformat} 2008-01-02 01:07:48,256 TP-Processor126 DEBUG [ext.subversion.revisions.RevisionIndexer] Retrieving revisions for : GERONIMO-870 2008-01-02 01:07:48,259 TP-Processor126 ERROR [subversion.issuetabpanels.changes.SubversionRevisionsTabPanel] Error retrieving actions for : GERONIMO-870 java.lang.IllegalStateException: The connection to the repository is not active at com.atlassian.jira.plugin.ext.subversion.SubversionManagerImpl.getLogEntry(SubversionManagerImpl.java:155) at com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexer.getLogEntriesByRepository(RevisionIndexer.java:484) at com.atlassian.jira.plugin.ext.subversion.issuetabpanels.changes.SubversionRevisionsTabPanel.getActions(SubversionRevisionsTabPanel.java:36) at com.atlassian.jira.issue.tabpanels.AllTabPanel.getActions(AllTabPanel.java:38) at com.atlassian.jira.plugin.issuetabpanel.IssueTabPanelModuleDescriptor.getActions(IssueTabPanelModuleDescriptor.java:99) at com.atlassian.jira.web.action.issue.ViewIssue.getActions(ViewIssue.java:400) at sun.reflect.GeneratedMethodAccessor493.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:61) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:52) .... {noformat} Looking at [SubversionManagerImpl.java|https://svn.atlassian.com/svn/public/contrib/jira/subversion-jira-plugin/trunk/src/main/java/com/atlassian/jira/plugin/ext/subversion/SubversionManagerImpl.java], I see the index must have been deactivated by a block like: {code} catch (SVNException e) { deactivate(e.getMessage()); } {code} or: {code} catch (SVNException e) { // connection was active, but apparently now it's not deactivate(e.getMessage()); return logEntries; } {code} Because this code swallows the root exception, there is no way to identify what has actually gone wrong.

    Ecosystem JIRA | 9 years ago | Jeff Turner (Devsuite)
    java.lang.IllegalStateException: The connection to the repository is not active
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [EJBTHREE-1142] MessageInflowLocalProxy is retaining previous transaction - JBoss Issue Tracker

    jboss.org | 1 year ago
    javax.resource.ResourceException: java.lang.IllegalStateException: The transaction is not active! at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.after(MessageInflowLocalProxy.java:231) at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.invoke(MessageInflowLocalProxy.java:133) at $Proxy77.afterDelivery(Unknown Source) at org.jboss.resource.adapter.jms.inflow.JmsServerSession.onMessage(JmsServerSession.java:182) at org.jboss.jms.client.container.ClientConsumer.callOnMessage(ClientConsumer.java:157) at org.jboss.jms.client.container.SessionAspect.handleRun(SessionAspect.java:802)

    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.lang.IllegalStateException

      The connection to the repository is not active

      at com.atlassian.jira.plugin.ext.subversion.SubversionManagerImpl.getLogEntry()
    2. com.atlassian.jira
      IssueTabPanelInvokerImpl.invokeGetActions
      1. com.atlassian.jira.plugin.ext.subversion.SubversionManagerImpl.getLogEntry(SubversionManagerImpl.java:163)
      2. com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexer.getLogEntriesByRepository(RevisionIndexer.java:529)
      3. com.atlassian.jira.plugin.ext.subversion.issuetabpanels.changes.SubversionRevisionsTabPanel.getActions(SubversionRevisionsTabPanel.java:74)
      4. com.atlassian.jira.plugin.issuetabpanel.IssueTabPanelInvokerImpl.invokeGetActions(IssueTabPanelInvokerImpl.java:92)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor561.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames