Skip to content

[bug] "There is no existing transaction" #6

@b-pos465

Description

@b-pos465

Environment

Using jQAssistant command line distribution 1.6.0. Active plugins:

2019-08-07 18:31:34.403 [main] INFO PluginConfigurationReaderImpl - Loaded jQAssistant plugins [CDI, Common, Core Analysis, Core Report, EJB3, GraphML, JAX-RS, JPA 2, JSON, JUnit, Java, Java 8, Jira, Maven 2 Repository, Maven 3, OSGi, RDBMS, Spring, TestNG, Tycho, XML, YAML].

Test run fails

I tried running the plugin against https://issues.apache.org/jira/projects/MNG/. The plugin failed two times at the same issue: MNG-5795.

The error seems to be related to jQAssistant:

2019-08-07 18:31:31.858 [main] INFO IssueBuilder - Processing issue with KEY: 'MNG-5795'
Exception in thread "main" com.buschmais.xo.api.XOException: There is no existing transaction.
        at com.buschmais.xo.neo4j.embedded.impl.datastore.EmbeddedNeo4jDatastoreTransaction.ensureTransaction(EmbeddedNeo4jDatastoreTransaction.java:47)
        at com.buschmais.xo.neo4j.embedded.impl.datastore.EmbeddedNeo4jDatastoreTransaction.commit(EmbeddedNeo4jDatastoreTransaction.java:28)
        at com.buschmais.xo.impl.XOTransactionImpl.commit(XOTransactionImpl.java:38)
        at com.buschmais.jqassistant.core.store.impl.AbstractGraphStore.commitTransaction(AbstractGraphStore.java:168)
        at com.buschmais.jqassistant.commandline.task.ScanTask.scan(ScanTask.java:137)
        at com.buschmais.jqassistant.commandline.task.ScanTask.executeTask(ScanTask.java:86)
        at com.buschmais.jqassistant.commandline.task.AbstractStoreTask.run(AbstractStoreTask.java:55)
        at com.buschmais.jqassistant.commandline.Main.executeTask(Main.java:259)
        at com.buschmais.jqassistant.commandline.Main.executeTasks(Main.java:208)
        at com.buschmais.jqassistant.commandline.Main.interpretCommandLine(Main.java:197)
        at com.buschmais.jqassistant.commandline.Main.run(Main.java:79)
        at com.buschmais.jqassistant.commandline.Main.main(Main.java:50)

I will try to wrap the plugin logic in a try - catch(Exception e) as there has been an issue with errors which have not been logged properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions