{"action":"created","issue":{"url":"https://api.github.com/repos/buschmais/jqassistant/issues/286","labels_url":"https://api.github.com/repos/buschmais/jqassistant/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/buschmais/jqassistant/issues/286/comments","events_url":"https://api.github.com/repos/buschmais/jqassistant/issues/286/events","html_url":"https://github.com/buschmais/jqassistant/issues/286","id":112773592,"number":286,"title":"Illegal State Exception scanning WAR file","user":{"login":"gavin834","id":4603738,"avatar_url":"https://avatars.githubusercontent.com/u/4603738?v=3","gravatar_id":"","url":"https://api.github.com/users/gavin834","html_url":"https://github.com/gavin834","followers_url":"https://api.github.com/users/gavin834/followers","following_url":"https://api.github.com/users/gavin834/following{/other_user}","gists_url":"https://api.github.com/users/gavin834/gists{/gist_id}","starred_url":"https://api.github.com/users/gavin834/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavin834/subscriptions","organizations_url":"https://api.github.com/users/gavin834/orgs","repos_url":"https://api.github.com/users/gavin834/repos","events_url":"https://api.github.com/users/gavin834/events{/privacy}","received_events_url":"https://api.github.com/users/gavin834/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/buschmais/jqassistant/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"DirkMahler","id":437925,"avatar_url":"https://avatars.githubusercontent.com/u/437925?v=3","gravatar_id":"","url":"https://api.github.com/users/DirkMahler","html_url":"https://github.com/DirkMahler","followers_url":"https://api.github.com/users/DirkMahler/followers","following_url":"https://api.github.com/users/DirkMahler/following{/other_user}","gists_url":"https://api.github.com/users/DirkMahler/gists{/gist_id}","starred_url":"https://api.github.com/users/DirkMahler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DirkMahler/subscriptions","organizations_url":"https://api.github.com/users/DirkMahler/orgs","repos_url":"https://api.github.com/users/DirkMahler/repos","events_url":"https://api.github.com/users/DirkMahler/events{/privacy}","received_events_url":"https://api.github.com/users/DirkMahler/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/buschmais/jqassistant/milestones/10","html_url":"https://github.com/buschmais/jqassistant/milestones/1.1.0","labels_url":"https://api.github.com/repos/buschmais/jqassistant/milestones/10/labels","id":1345910,"number":10,"title":"1.1.0","description":"","creator":{"login":"DirkMahler","id":437925,"avatar_url":"https://avatars.githubusercontent.com/u/437925?v=3","gravatar_id":"","url":"https://api.github.com/users/DirkMahler","html_url":"https://github.com/DirkMahler","followers_url":"https://api.github.com/users/DirkMahler/followers","following_url":"https://api.github.com/users/DirkMahler/following{/other_user}","gists_url":"https://api.github.com/users/DirkMahler/gists{/gist_id}","starred_url":"https://api.github.com/users/DirkMahler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DirkMahler/subscriptions","organizations_url":"https://api.github.com/users/DirkMahler/orgs","repos_url":"https://api.github.com/users/DirkMahler/repos","events_url":"https://api.github.com/users/DirkMahler/events{/privacy}","received_events_url":"https://api.github.com/users/DirkMahler/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":5,"state":"open","created_at":"2015-10-09T04:16:51Z","updated_at":"2015-10-23T11:31:07Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-10-22T10:25:52Z","updated_at":"2015-10-23T12:55:52Z","closed_at":null,"body":"Tried scanning a larger Eclipse web service project. Illegal State Exception thrown due to Neo4j Not Found Exception while scanning (combined) WAR file. We don't actually use the combined WAR file, so I tried again removing the combined WAR file; I got the same error on scanning the non-combined WAR file.\r\n\r\nConsole output follows:\r\n\r\n\r\nc:\\jqa\\1.1.0-RC2\\bin\\jqassistant.cmd scan -f . -s c:\\jqa\\playpen\\focus-graph-db-service\r\nUsing JQASSISTANT_HOME 'C:\\jQA\\1.1.0-RC2\\bin\\..'.\r\n[main] INFO com.buschmais.jqassistant.core.plugin.impl.PluginConfigurationReader\r\nImpl - Loaded jQAssistant plugins [CDI, Common, Core Analysis, EJB3, GraphML, JA\r\nX-RS, JPA 2, JUnit, Java, Java 8, Java EE 6, Maven 2 Repository, Maven 3, OSGi,\r\nRDBMS, TestNG, Tycho, XML, YAML].\r\nOpening store in directory 'c:\\jqa\\playpen\\focus-graph-db-service'\r\n[main] INFO com.buschmais.xo.neo4j.impl.datastore.EmbeddedNeo4jDatastore - Creat\r\ning index for label Concept on property 'id'.\r\n[main] INFO com.buschmais.xo.neo4j.impl.datastore.EmbeddedNeo4jDatastore - Creat\r\ning index for label Type on property 'fqn'.\r\n[main] INFO com.buschmais.xo.neo4j.impl.datastore.EmbeddedNeo4jDatastore - Creat\r\ning index for label Artifact on property 'fqn'.\r\n[main] INFO com.buschmais.xo.neo4j.impl.datastore.EmbeddedNeo4jDatastore - Creat\r\ning index for label Repository on property 'url'.\r\n[main] INFO com.buschmais.xo.neo4j.impl.datastore.EmbeddedNeo4jDatastore - Creat\r\ning index for label Value on property 'value'.\r\n[main] INFO com.buschmais.xo.neo4j.impl.datastore.EmbeddedNeo4jDatastore - Creat\r\ning index for label ColumnType on property 'databaseType'.\r\n[main] INFO com.buschmais.xo.neo4j.impl.datastore.EmbeddedNeo4jDatastore - Creat\r\ning index for label Pom on property 'fqn'.\r\n[main] INFO com.buschmais.xo.neo4j.impl.datastore.EmbeddedNeo4jDatastore - Creat\r\ning index for label Facelet on property 'fileName'.\r\n[main] INFO com.buschmais.xo.neo4j.impl.datastore.EmbeddedNeo4jDatastore - Creat\r\ning index for label Package on property 'fqn'.\r\n[main] INFO com.buschmais.xo.neo4j.impl.datastore.EmbeddedNeo4jDatastore - Creat\r\ning index for label Project on property 'fqn'.\r\n[main] INFO com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContaine\r\nrScannerPlugin - Entering C:/Projects/Neo4jModellingWorkspace/focus-graph-db-ser\r\nvice/.\r\n[main] INFO com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContaine\r\nrScannerPlugin - Entering /target/focus-graph-db-service-sources.jar\r\n[main] INFO com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContaine\r\nrScannerPlugin - Leaving /target/focus-graph-db-service-sources.jar (128 entries\r\n, 298 ms)\r\n[main] INFO com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContaine\r\nrScannerPlugin - Entering /target/focus-graph-db-service.war\r\n[main] INFO com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContaine\r\nrScannerPlugin - Entering /WEB-INF/lib/aopalliance-1.0.jar\r\n[main] INFO com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContaine\r\nrScannerPlugin - Leaving /WEB-INF/lib/aopalliance-1.0.jar (15 entries, 39 ms)\r\n[main] INFO com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContaine\r\nrScannerPlugin - Entering /WEB-INF/lib/asm-1.0.2.jar\r\n[main] INFO com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContaine\r\nrScannerPlugin - Leaving /WEB-INF/lib/asm-1.0.2.jar (51 entries, 516 ms)\r\n[main] INFO com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContaine\r\nrScannerPlugin - Entering /WEB-INF/lib/asm-3.3.1.jar\r\n[main] INFO com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContaine\r\nrScannerPlugin - Leaving /WEB-INF/lib/asm-3.3.1.jar (24 entries, 152 ms)\r\n[main] INFO com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContaine\r\nrScannerPlugin - Entering /WEB-INF/lib/axis-1.4.jar\r\n[main] INFO com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContaine\r\nrScannerPlugin - Leaving /WEB-INF/lib/axis-1.4.jar (842 entries, 4050 ms)\r\n[main] INFO com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContaine\r\nrScannerPlugin - Entering /WEB-INF/lib/axis-jaxrpc-1.4.jar\r\n[main] INFO com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContaine\r\nrScannerPlugin - Leaving /WEB-INF/lib/axis-jaxrpc-1.4.jar (1 entries, 8 ms)\r\n[main] INFO com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContaine\r\nrScannerPlugin - Leaving /target/focus-graph-db-service.war (140 entries, 8258 m\r\ns)\r\n[main] INFO com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContaine\r\nrScannerPlugin - Leaving C:/Projects/Neo4jModellingWorkspace/focus-graph-db-serv\r\nice/. (885 entries, 11209 ms)\r\nException in thread \"main\" java.lang.IllegalStateException: Unexpected problem w\r\nhile scanning: item='.', path='C:\\Projects\\Neo4jModellingWorkspace\\focus-graph-d\r\nb-service\\.', scope='NONE', pipeline='[com.buschmais.jqassistant.plugin.common.i\r\nmpl.scanner.DirectoryScannerPlugin@440461ef]'.\r\n        at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan(ScannerI\r\nmpl.java:75)\r\n        at com.buschmais.jqassistant.scm.cli.task.ScanTask.scan(ScanTask.java:12\r\n6)\r\n        at com.buschmais.jqassistant.scm.cli.task.ScanTask.executeTask(ScanTask.\r\njava:73)\r\n        at com.buschmais.jqassistant.scm.cli.task.AbstractTask.run(AbstractTask.\r\njava:61)\r\n        at com.buschmais.jqassistant.scm.cli.Main.executeTask(Main.java:235)\r\n        at com.buschmais.jqassistant.scm.cli.Main.interpretCommandLine(Main.java\r\n:187)\r\n        at com.buschmais.jqassistant.scm.cli.Main.run(Main.java:73)\r\n        at com.buschmais.jqassistant.scm.cli.Main.main(Main.java:44)\r\nCaused by: java.lang.IllegalStateException: Unexpected problem while scanning: i\r\ntem='com.buschmais.jqassistant.plugin.common.impl.scanner.BufferedFileResource@3\r\nfecb076', path='/target/focus-graph-db-service.war', scope='NONE', pipeline='[co\r\nm.buschmais.jqassistant.plugin.common.impl.scanner.FileResourceScannerPlugin@f4d\r\n391c, com.buschmais.jqassistant.plugin.javaee6.impl.scanner.WebApplicationArchiv\r\neScannerPlugin@28269c65]'.\r\n        at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan(ScannerI\r\nmpl.java:75)\r\n        at com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContainer\r\nScannerPlugin.scan(AbstractContainerScannerPlugin.java:56)\r\n        at com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContainer\r\nScannerPlugin.scan(AbstractContainerScannerPlugin.java:31)\r\n        at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan(ScannerI\r\nmpl.java:67)\r\n        ... 7 more\r\nCaused by: java.lang.IllegalStateException: Unexpected problem while scanning: i\r\ntem='java.util.zip.ZipFile@28e8dee7', path='/target/focus-graph-db-service.war',\r\n scope='WAR', pipeline='[com.buschmais.jqassistant.plugin.common.impl.scanner.Zi\r\npFileScannerPlugin@5020e5ab]'.\r\n        at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan(ScannerI\r\nmpl.java:75)\r\n        at com.buschmais.jqassistant.plugin.common.api.scanner.AbstractArchiveSc\r\nannerPlugin.scan(AbstractArchiveScannerPlugin.java:50)\r\n        at com.buschmais.jqassistant.plugin.common.api.scanner.AbstractArchiveSc\r\nannerPlugin.scan(AbstractArchiveScannerPlugin.java:21)\r\n        at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan(ScannerI\r\nmpl.java:67)\r\n        ... 10 more\r\nCaused by: java.lang.IllegalStateException: Unexpected problem while scanning: i\r\ntem='com.buschmais.jqassistant.plugin.common.impl.scanner.ZipFileScannerPlugin$3\r\n@2c9573f1', path='/WEB-INF/lib/axis-jaxrpc-1.4.jar', scope='WAR', pipeline='[com\r\n.buschmais.jqassistant.plugin.common.impl.scanner.FileResourceScannerPlugin@f4d3\r\n91c, com.buschmais.jqassistant.plugin.java.impl.scanner.JarScannerPlugin@64887fb\r\nc]'.\r\n        at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan(ScannerI\r\nmpl.java:75)\r\n        at com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContainer\r\nScannerPlugin.scan(AbstractContainerScannerPlugin.java:56)\r\n        at com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContainer\r\nScannerPlugin.scan(AbstractContainerScannerPlugin.java:31)\r\n        at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan(ScannerI\r\nmpl.java:67)\r\n        ... 13 more\r\nCaused by: java.lang.IllegalStateException: Unexpected problem while scanning: i\r\ntem='java.util.zip.ZipFile@4c18b432', path='/WEB-INF/lib/axis-jaxrpc-1.4.jar', s\r\ncope='CLASSPATH', pipeline='[com.buschmais.jqassistant.plugin.common.impl.scanne\r\nr.ZipFileScannerPlugin@5020e5ab]'.\r\n        at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan(ScannerI\r\nmpl.java:75)\r\n        at com.buschmais.jqassistant.plugin.common.api.scanner.AbstractArchiveSc\r\nannerPlugin.scan(AbstractArchiveScannerPlugin.java:50)\r\n        at com.buschmais.jqassistant.plugin.common.api.scanner.AbstractArchiveSc\r\nannerPlugin.scan(AbstractArchiveScannerPlugin.java:21)\r\n        at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan(ScannerI\r\nmpl.java:67)\r\n        ... 16 more\r\nCaused by: java.lang.IllegalStateException: Unexpected problem while scanning: i\r\ntem='com.buschmais.jqassistant.plugin.common.impl.scanner.ZipFileScannerPlugin$3\r\n@bec2d81', path='/META-INF/MANIFEST.MF', scope='CLASSPATH', pipeline='[com.busch\r\nmais.jqassistant.plugin.common.impl.scanner.FileResourceScannerPlugin@f4d391c, c\r\nom.buschmais.jqassistant.plugin.java.impl.scanner.ManifestFileScannerPlugin@2051\r\n8250]'.\r\n        at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan(ScannerI\r\nmpl.java:75)\r\n        at com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContainer\r\nScannerPlugin.scan(AbstractContainerScannerPlugin.java:56)\r\n        at com.buschmais.jqassistant.plugin.common.api.scanner.AbstractContainer\r\nScannerPlugin.scan(AbstractContainerScannerPlugin.java:31)\r\n        at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan(ScannerI\r\nmpl.java:67)\r\n        ... 19 more\r\nCaused by: org.neo4j.graphdb.NotFoundException: More than one relationship[DECLA\r\nRES, OUTGOING] found for Node[1183]\r\n        at org.neo4j.kernel.impl.core.NodeProxy.getSingleRelationship(NodeProxy.\r\njava:265)\r\n        at com.buschmais.xo.neo4j.impl.datastore.Neo4jRelationManager.getSingleR\r\nelation(Neo4jRelationManager.java:85)\r\n        at com.buschmais.xo.neo4j.impl.datastore.Neo4jRelationManager.getSingleR\r\nelation(Neo4jRelationManager.java:20)\r\n        at com.buschmais.xo.impl.EntityPropertyManager.createSingleReference(Ent\r\nityPropertyManager.java:172)\r\n        at com.buschmais.xo.impl.EntityPropertyManager.createRelation(EntityProp\r\nertyManager.java:157)\r\n        at com.buschmais.xo.impl.EntityPropertyManager.createEntityReference(Ent\r\nityPropertyManager.java:40)\r\n        at com.buschmais.xo.impl.proxy.entity.property.EntityReferencePropertySe\r\ntMethod.invoke(EntityReferencePropertySetMethod.java:15)\r\n        at com.buschmais.xo.impl.proxy.AbstractProxyMethodService.invoke(Abstrac\r\ntProxyMethodService.java:26)\r\n        at com.buschmais.xo.impl.proxy.InstanceInvocationHandler.invoke(Instance\r\nInvocationHandler.java:23)\r\n        at com.sun.proxy.$Proxy108.setMainSection(Unknown Source)\r\n        at com.buschmais.jqassistant.plugin.java.impl.scanner.ManifestFileScanne\r\nrPlugin.scan(ManifestFileScannerPlugin.java:48)\r\n        at com.buschmais.jqassistant.plugin.java.impl.scanner.ManifestFileScanne\r\nrPlugin.scan(ManifestFileScannerPlugin.java:28)\r\n        at com.buschmais.jqassistant.core.scanner.impl.ScannerImpl.scan(ScannerI\r\nmpl.java:67)\r\n        ... 22 more\r\n\r\nMaven details:\r\nApache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 16:22:2\r\n2+0100)\r\nMaven home: c:\\maven\\apache-maven-3.1.1\\bin\\..\r\nJava version: 1.8.0, vendor: Oracle Corporation\r\nJava home: C:\\Program Files\\Java\\jdk1.8.0\\jre\r\nDefault locale: en_GB, platform encoding: Cp1252\r\nOS name: \"windows 7\", version: \"6.1\", arch: \"amd64\", family: \"dos\"\r\n\r\njqAssistant version:\r\njqassistant.distribution-1.1.0-RC2-20151021.121023-21-bin"},"comment":{"url":"https://api.github.com/repos/buschmais/jqassistant/issues/comments/150562847","html_url":"https://github.com/buschmais/jqassistant/issues/286#issuecomment-150562847","issue_url":"https://api.github.com/repos/buschmais/jqassistant/issues/286","id":150562847,"user":{"login":"gavin834","id":4603738,"avatar_url":"https://avatars.githubusercontent.com/u/4603738?v=3","gravatar_id":"","url":"https://api.github.com/users/gavin834","html_url":"https://github.com/gavin834","followers_url":"https://api.github.com/users/gavin834/followers","following_url":"https://api.github.com/users/gavin834/following{/other_user}","gists_url":"https://api.github.com/users/gavin834/gists{/gist_id}","starred_url":"https://api.github.com/users/gavin834/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavin834/subscriptions","organizations_url":"https://api.github.com/users/gavin834/orgs","repos_url":"https://api.github.com/users/gavin834/repos","events_url":"https://api.github.com/users/gavin834/events{/privacy}","received_events_url":"https://api.github.com/users/gavin834/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T12:55:52Z","updated_at":"2015-10-23T12:55:52Z","body":"Yes, I did that yesterday. My comment immediately after your request to scan the WAR file shows the output. Looks like the same error. I included the entire console output in case there's anything in the output prior to the exception that gives any clues.\r\n\r\nIf I've misunderstood what you were looking for, let me know and I'll try to help."}}