René's URL Explorer Experiment


Title: It seems that code analyzer assumes that gradle projects always has a wrapper(gradlew) · Issue #79 · codellm-devkit/codeanalyzer-java · GitHub

Open Graph Title: It seems that code analyzer assumes that gradle projects always has a wrapper(gradlew) · Issue #79 · codellm-devkit/codeanalyzer-java

X Title: It seems that code analyzer assumes that gradle projects always has a wrapper(gradlew) · Issue #79 · codellm-devkit/codeanalyzer-java

Description: I'm testing the code analyzer at https://github.com/hammingweight/gradle-java-ear but shows java.io.IOException: Cannot run program "/Users/fabiofranco/Development/git/wca4j/svt/gradle-java-ear/gradlew": error=2, No such file or director...

Open Graph Description: I'm testing the code analyzer at https://github.com/hammingweight/gradle-java-ear but shows java.io.IOException: Cannot run program "/Users/fabiofranco/Development/git/wca4j/svt/gradle-java-ear/gra...

X Description: I'm testing the code analyzer at https://github.com/hammingweight/gradle-java-ear but shows java.io.IOException: Cannot run program "/Users/fabiofranco/Development/git/wca4j/svt/gradle-jav...

Opengraph URL: https://github.com/codellm-devkit/codeanalyzer-java/issues/79

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"It seems that code analyzer assumes that gradle projects always has a wrapper(gradlew)","articleBody":"I'm testing the code analyzer at https://github.com/hammingweight/gradle-java-ear but shows\r\n\r\n```\r\njava.io.IOException: Cannot run program \"/Users/fabiofranco/Development/git/wca4j/svt/gradle-java-ear/gradlew\": error=2, No such file or directory\r\n\tat java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143)\r\n\tat java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073)\r\n\tat com.ibm.cldk.utils.BuildProject.buildWithTool(BuildProject.java:68)\r\n\tat com.ibm.cldk.utils.BuildProject.downloadLibraryDependencies(BuildProject.java:199)\r\n\tat com.ibm.cldk.CodeAnalyzer.analyze(CodeAnalyzer.java:122)\r\n\tat com.ibm.cldk.CodeAnalyzer.run(CodeAnalyzer.java:103)\r\n\tat picocli.CommandLine.executeUserObject(CommandLine.java:1767)\r\n\tat picocli.CommandLine.access$900(CommandLine.java:145)\r\n\tat picocli.CommandLine$RunLast.handle(CommandLine.java:2139)\r\n\tat picocli.CommandLine$RunLast.handle(CommandLine.java:2106)\r\n\tat picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:1973)\r\n\tat picocli.CommandLine.execute(CommandLine.java:1902)\r\n\tat com.ibm.cldk.CodeAnalyzer.main(CodeAnalyzer.java:94)\r\nCaused by: java.io.IOException: error=2, No such file or directory\r\n\tat java.base/java.lang.ProcessImpl.forkAndExec(Native Method)\r\n\tat java.base/java.lang.ProcessImpl.\u003cinit\u003e(ProcessImpl.java:314)\r\n\tat java.base/java.lang.ProcessImpl.start(ProcessImpl.java:244)\r\n\tat java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110)\r\n\t... 12 more\r\n```\r\nSo, it seems that it assumes that the project has gradle wrapper (gradlew) to use. See full log:\r\n\r\n```\r\njava -Xms512m -Xmx4096m -jar codeanalyzer-1.0.6.jar -i /Users/fabiofranco/Development/git/wca4j/svt/gradle-java-ear -o /Users/fabiofranco/.wca/codeAnalyzer/gradle-java-ear --project-root-path /Users/fabiofranco/Development/git/wca4j/svt/gradle-java-ear --no-build -a 2 -v \r\n2024-12-02T15:54:41.241298\t[INFO]\tFound build.gradle[.kts] in the project directory. Using Gradle to download dependencies.\r\n[/Users/fabiofranco/Development/git/wca4j/svt/gradle-java-ear/gradlew, --init-script, /var/folders/93/w44chfb90jjbk3f0vhk85frc0000gn/T/gradle-init-14231273622998023167.gradle, downloadDependencies, -PoutputDir=/Users/fabiofranco/Development/git/wca4j/svt/gradle-java-ear/_library_dependencies]\r\n2024-12-02T15:54:41.269185\t[INFO]\tBuilding the project using /Users/fabiofranco/Development/git/wca4j/svt/gradle-java-ear/gradlew.\r\njava.io.IOException: Cannot run program \"/Users/fabiofranco/Development/git/wca4j/svt/gradle-java-ear/gradlew\": error=2, No such file or directory\r\n\tat java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143)\r\n\tat java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073)\r\n\tat com.ibm.cldk.utils.BuildProject.buildWithTool(BuildProject.java:68)\r\n\tat com.ibm.cldk.utils.BuildProject.downloadLibraryDependencies(BuildProject.java:199)\r\n\tat com.ibm.cldk.CodeAnalyzer.analyze(CodeAnalyzer.java:122)\r\n\tat com.ibm.cldk.CodeAnalyzer.run(CodeAnalyzer.java:103)\r\n\tat picocli.CommandLine.executeUserObject(CommandLine.java:1767)\r\n\tat picocli.CommandLine.access$900(CommandLine.java:145)\r\n\tat picocli.CommandLine$RunLast.handle(CommandLine.java:2139)\r\n\tat picocli.CommandLine$RunLast.handle(CommandLine.java:2106)\r\n\tat picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:1973)\r\n\tat picocli.CommandLine.execute(CommandLine.java:1902)\r\n\tat com.ibm.cldk.CodeAnalyzer.main(CodeAnalyzer.java:94)\r\nCaused by: java.io.IOException: error=2, No such file or directory\r\n\tat java.base/java.lang.ProcessImpl.forkAndExec(Native Method)\r\n\tat java.base/java.lang.ProcessImpl.\u003cinit\u003e(ProcessImpl.java:314)\r\n\tat java.base/java.lang.ProcessImpl.start(ProcessImpl.java:244)\r\n\tat java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110)\r\n\t... 12 more\r\n2024-12-02T15:54:41.279875\t[WARN]\tFailed to download library dependencies of project\r\n2024-12-02T15:54:41.649171\t[WARN]\tCould not resolve type: EntityManager: Unsolved symbol : EntityManager\r\n2024-12-02T15:54:41.710551\t[DEBUG]\tCould not resolve expression: em: Unsolved symbol : EntityManager\r\n2024-12-02T15:54:41.711669\t[DEBUG]\tCould not resolve expression: em.persist(message): Unsolved symbol : EntityManager\r\n2024-12-02T15:54:41.713038\t[DEBUG]\tCould not resolve method call: em.persist(message): Unsolved symbol in em.persist(message) : em\r\n2024-12-02T15:54:41.713953\t[DEBUG]\tCould not resolve access specifier for method call: em.persist(message): Unsolved symbol in em.persist(message) : em\r\n2024-12-02T15:54:41.724703\t[DEBUG]\tCould not resolve expression: em.createNamedQuery(\"findMessages\"): Unsolved symbol : EntityManager\r\n2024-12-02T15:54:41.725737\t[DEBUG]\tCould not resolve expression: em.createNamedQuery(\"findMessages\").getResultList(): Unsolved symbol : EntityManager\r\n2024-12-02T15:54:41.726882\t[DEBUG]\tCould not resolve method call: em.createNamedQuery(\"findMessages\").getResultList(): Unsolved symbol in em.createNamedQuery(\"findMessages\").getResultList() : em.createNamedQuery(\"findMessages\")\r\n2024-12-02T15:54:41.728019\t[DEBUG]\tCould not resolve access specifier for method call: em.createNamedQuery(\"findMessages\").getResultList(): Unsolved symbol in em.createNamedQuery(\"findMessages\").getResultList() : em.createNamedQuery(\"findMessages\")\r\n2024-12-02T15:54:41.729243\t[DEBUG]\tCould not resolve method call: em.createNamedQuery(\"findMessages\"): Unsolved symbol in em.createNamedQuery(\"findMessages\") : em\r\n2024-12-02T15:54:41.730072\t[DEBUG]\tCould not resolve access specifier for method call: em.createNamedQuery(\"findMessages\"): Unsolved symbol in em.createNamedQuery(\"findMessages\") : em\r\n2024-12-02T15:54:41.746726\t[DEBUG]\tCould not resolve expression: em.createNamedQuery(\"deleteMessages\"): Unsolved symbol : EntityManager\r\n2024-12-02T15:54:41.747750\t[DEBUG]\tCould not resolve expression: em.createNamedQuery(\"deleteMessages\").executeUpdate(): Unsolved symbol : EntityManager\r\n2024-12-02T15:54:41.748812\t[DEBUG]\tCould not resolve method call: em.createNamedQuery(\"deleteMessages\").executeUpdate(): Unsolved symbol in em.createNamedQuery(\"deleteMessages\").executeUpdate() : em.createNamedQuery(\"deleteMessages\")\r\n2024-12-02T15:54:41.750092\t[DEBUG]\tCould not resolve access specifier for method call: em.createNamedQuery(\"deleteMessages\").executeUpdate(): Unsolved symbol in em.createNamedQuery(\"deleteMessages\").executeUpdate() : em.createNamedQuery(\"deleteMessages\")\r\n2024-12-02T15:54:41.750980\t[DEBUG]\tCould not resolve method call: em.createNamedQuery(\"deleteMessages\"): Unsolved symbol in em.createNamedQuery(\"deleteMessages\") : em\r\n2024-12-02T15:54:41.751704\t[DEBUG]\tCould not resolve access specifier for method call: em.createNamedQuery(\"deleteMessages\"): Unsolved symbol in em.createNamedQuery(\"deleteMessages\") : em\r\n2024-12-02T15:54:41.767230\t[WARN]\tCould not resolve type: EntityManagerFactory: Unsolved symbol : EntityManagerFactory\r\n2024-12-02T15:54:41.771704\t[DEBUG]\tCould not resolve expression: ejb.em: Unsolved symbol : em\r\n2024-12-02T15:54:41.774032\t[DEBUG]\tCould not resolve expression: Persistence: Unsolved symbol : org.junit.Assert\r\n2024-12-02T15:54:41.774722\t[DEBUG]\tCould not resolve expression: Persistence.createEntityManagerFactory(\"ejb-tests-pu\"): Unsolved symbol : org.junit.Assert\r\n2024-12-02T15:54:41.775191\t[DEBUG]\tCould not resolve method call: Persistence.createEntityManagerFactory(\"ejb-tests-pu\"): Unsolved symbol in Persistence.createEntityManagerFactory(\"ejb-tests-pu\") : Persistence\r\n2024-12-02T15:54:41.775827\t[DEBUG]\tCould not resolve access specifier for method call: Persistence.createEntityManagerFactory(\"ejb-tests-pu\"): Unsolved symbol in Persistence.createEntityManagerFactory(\"ejb-tests-pu\") : Persistence\r\n2024-12-02T15:54:41.777579\t[DEBUG]\tCould not resolve expression: emf: Unsolved symbol : EntityManagerFactory\r\n2024-12-02T15:54:41.778228\t[DEBUG]\tCould not resolve expression: emf.createEntityManager(): Unsolved symbol : EntityManagerFactory\r\n2024-12-02T15:54:41.778820\t[DEBUG]\tCould not resolve method call: emf.createEntityManager(): Unsolved symbol in emf.createEntityManager() : emf\r\n2024-12-02T15:54:41.779462\t[DEBUG]\tCould not resolve access specifier for method call: emf.createEntityManager(): Unsolved symbol in emf.createEntityManager() : emf\r\n2024-12-02T15:54:41.781086\t[WARN]\tCould not resolve type: EntityTransaction: Unsolved symbol : EntityTransaction\r\n2024-12-02T15:54:41.783361\t[DEBUG]\tCould not resolve expression: ejb.em.getTransaction(): Unsolved symbol : em\r\n2024-12-02T15:54:41.785110\t[DEBUG]\tCould not resolve method call: ejb.em.getTransaction(): Unsolved symbol in ejb.em.getTransaction() : ejb.em\r\n2024-12-02T15:54:41.785983\t[DEBUG]\tCould not resolve access specifier for method call: ejb.em.getTransaction(): Unsolved symbol in ejb.em.getTransaction() : ejb.em\r\n2024-12-02T15:54:41.787813\t[DEBUG]\tCould not resolve expression: tx: Unsolved symbol : EntityTransaction\r\n2024-12-02T15:54:41.788498\t[DEBUG]\tCould not resolve expression: tx.begin(): Unsolved symbol : EntityTransaction\r\n2024-12-02T15:54:41.789212\t[DEBUG]\tCould not resolve method call: tx.begin(): Unsolved symbol in tx.begin() : tx\r\n2024-12-02T15:54:41.789681\t[DEBUG]\tCould not resolve access specifier for method call: tx.begin(): Unsolved symbol in tx.begin() : tx\r\n2024-12-02T15:54:41.790206\t[DEBUG]\tCould not resolve expression: ejb.em.createQuery(\"delete from Message\"): Unsolved symbol : em\r\n2024-12-02T15:54:41.790927\t[DEBUG]\tCould not resolve expression: ejb.em.createQuery(\"delete from Message\").executeUpdate(): Unsolved symbol : em\r\n2024-12-02T15:54:41.791496\t[DEBUG]\tCould not resolve method call: ejb.em.createQuery(\"delete from Message\").executeUpdate(): Unsolved symbol in ejb.em.createQuery(\"delete from Message\").executeUpdate() : ejb.em.createQuery(\"delete from Message\")\r\n2024-12-02T15:54:41.792044\t[DEBUG]\tCould not resolve access specifier for method call: ejb.em.createQuery(\"delete from Message\").executeUpdate(): Unsolved symbol in ejb.em.createQuery(\"delete from Message\").executeUpdate() : ejb.em.createQuery(\"delete from Message\")\r\n2024-12-02T15:54:41.792774\t[DEBUG]\tCould not resolve method call: ejb.em.createQuery(\"delete from Message\"): Unsolved symbol in ejb.em.createQuery(\"delete from Message\") : ejb.em\r\n2024-12-02T15:54:41.793385\t[DEBUG]\tCould not resolve access specifier for method call: ejb.em.createQuery(\"delete from Message\"): Unsolved symbol in ejb.em.createQuery(\"delete from Message\") : ejb.em\r\n2024-12-02T15:54:41.793869\t[DEBUG]\tCould not resolve expression: tx.commit(): Unsolved symbol : EntityTransaction\r\n2024-12-02T15:54:41.794266\t[DEBUG]\tCould not resolve method call: tx.commit(): Unsolved symbol in tx.commit() : tx\r\n2024-12-02T15:54:41.794678\t[DEBUG]\tCould not resolve access specifier for method call: tx.commit(): Unsolved symbol in tx.commit() : tx\r\n2024-12-02T15:54:41.795278\t[DEBUG]\tCould not resolve expression: ejb.em.close(): Unsolved symbol : em\r\n2024-12-02T15:54:41.795899\t[DEBUG]\tCould not resolve method call: ejb.em.close(): Unsolved symbol in ejb.em.close() : ejb.em\r\n2024-12-02T15:54:41.796583\t[DEBUG]\tCould not resolve access specifier for method call: ejb.em.close(): Unsolved symbol in ejb.em.close() : ejb.em\r\n2024-12-02T15:54:41.797361\t[DEBUG]\tCould not resolve expression: emf.close(): Unsolved symbol : EntityManagerFactory\r\n2024-12-02T15:54:41.797877\t[DEBUG]\tCould not resolve method call: emf.close(): Unsolved symbol in emf.close() : emf\r\n2024-12-02T15:54:41.798340\t[DEBUG]\tCould not resolve access specifier for method call: emf.close(): Unsolved symbol in emf.close() : emf\r\n2024-12-02T15:54:41.802391\t[DEBUG]\tCould not resolve method call: ejb.em.getTransaction(): Unsolved symbol in ejb.em.getTransaction() : ejb.em\r\n2024-12-02T15:54:41.802921\t[DEBUG]\tCould not resolve access specifier for method call: ejb.em.getTransaction(): Unsolved symbol in ejb.em.getTransaction() : ejb.em\r\n2024-12-02T15:54:41.803382\t[DEBUG]\tCould not resolve method call: tx.begin(): Unsolved symbol in tx.begin() : tx\r\n2024-12-02T15:54:41.803828\t[DEBUG]\tCould not resolve access specifier for method call: tx.begin(): Unsolved symbol in tx.begin() : tx\r\n2024-12-02T15:54:41.807730\t[DEBUG]\tCould not resolve method call: tx.commit(): Unsolved symbol in tx.commit() : tx\r\n2024-12-02T15:54:41.808057\t[DEBUG]\tCould not resolve access specifier for method call: tx.commit(): Unsolved symbol in tx.commit() : tx\r\n2024-12-02T15:54:41.808535\t[DEBUG]\tCould not resolve expression: ejb.em.createQuery(\"select count(m) from Message m\"): Unsolved symbol : em\r\n2024-12-02T15:54:41.809352\t[DEBUG]\tCould not resolve method call: ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult(): Unsolved symbol in ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult() : ejb.em.createQuery(\"select count(m) from Message m\")\r\n2024-12-02T15:54:41.809852\t[DEBUG]\tCould not resolve access specifier for method call: ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult(): Unsolved symbol in ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult() : ejb.em.createQuery(\"select count(m) from Message m\")\r\n2024-12-02T15:54:41.810549\t[DEBUG]\tCould not resolve method call: ejb.em.createQuery(\"select count(m) from Message m\"): Unsolved symbol in ejb.em.createQuery(\"select count(m) from Message m\") : ejb.em\r\n2024-12-02T15:54:41.811192\t[DEBUG]\tCould not resolve access specifier for method call: ejb.em.createQuery(\"select count(m) from Message m\"): Unsolved symbol in ejb.em.createQuery(\"select count(m) from Message m\") : ejb.em\r\n2024-12-02T15:54:41.811930\t[DEBUG]\tCould not resolve expression: assertEquals(1, numEntries): Unsolved symbol : org.junit.Assert\r\n2024-12-02T15:54:41.812424\t[DEBUG]\tCould not resolve method call: assertEquals(1, numEntries): Unsolved symbol : org.junit.Assert\r\n2024-12-02T15:54:41.812913\t[DEBUG]\tCould not resolve access specifier for method call: assertEquals(1, numEntries): Unsolved symbol : org.junit.Assert\r\n2024-12-02T15:54:41.816914\t[DEBUG]\tCould not resolve expression: assertTrue(message.contains(\"some statistically improbable phrase\")): Unsolved symbol : org.junit.Assert\r\n2024-12-02T15:54:41.817240\t[DEBUG]\tCould not resolve method call: assertTrue(message.contains(\"some statistically improbable phrase\")): Unsolved symbol : org.junit.Assert\r\n2024-12-02T15:54:41.817491\t[DEBUG]\tCould not resolve access specifier for method call: assertTrue(message.contains(\"some statistically improbable phrase\")): Unsolved symbol : org.junit.Assert\r\n2024-12-02T15:54:41.822110\t[DEBUG]\tCould not resolve expression: assertEquals(0, (long) ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult()): Unsolved symbol : org.junit.Assert\r\n2024-12-02T15:54:41.822502\t[DEBUG]\tCould not resolve method call: assertEquals(0, (long) ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult()): Unsolved symbol : org.junit.Assert\r\n2024-12-02T15:54:41.822805\t[DEBUG]\tCould not resolve access specifier for method call: assertEquals(0, (long) ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult()): Unsolved symbol : org.junit.Assert\r\n2024-12-02T15:54:41.823820\t[DEBUG]\tCould not resolve method call: ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult(): Unsolved symbol in ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult() : ejb.em.createQuery(\"select count(m) from Message m\")\r\n2024-12-02T15:54:41.824384\t[DEBUG]\tCould not resolve access specifier for method call: ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult(): Unsolved symbol in ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult() : ejb.em.createQuery(\"select count(m) from Message m\")\r\n2024-12-02T15:54:41.825104\t[DEBUG]\tCould not resolve method call: ejb.em.createQuery(\"select count(m) from Message m\"): Unsolved symbol in ejb.em.createQuery(\"select count(m) from Message m\") : ejb.em\r\n2024-12-02T15:54:41.825687\t[DEBUG]\tCould not resolve access specifier for method call: ejb.em.createQuery(\"select count(m) from Message m\"): Unsolved symbol in ejb.em.createQuery(\"select count(m) from Message m\") : ejb.em\r\n2024-12-02T15:54:41.826452\t[DEBUG]\tCould not resolve method call: ejb.em.getTransaction(): Unsolved symbol in ejb.em.getTransaction() : ejb.em\r\n2024-12-02T15:54:41.827185\t[DEBUG]\tCould not resolve access specifier for method call: ejb.em.getTransaction(): Unsolved symbol in ejb.em.getTransaction() : ejb.em\r\n2024-12-02T15:54:41.827838\t[DEBUG]\tCould not resolve method call: tx.begin(): Unsolved symbol in tx.begin() : tx\r\n2024-12-02T15:54:41.828311\t[DEBUG]\tCould not resolve access specifier for method call: tx.begin(): Unsolved symbol in tx.begin() : tx\r\n2024-12-02T15:54:41.830135\t[DEBUG]\tCould not resolve method call: tx.commit(): Unsolved symbol in tx.commit() : tx\r\n2024-12-02T15:54:41.830553\t[DEBUG]\tCould not resolve access specifier for method call: tx.commit(): Unsolved symbol in tx.commit() : tx\r\n2024-12-02T15:54:41.831131\t[DEBUG]\tCould not resolve expression: assertEquals(1, (long) ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult()): Unsolved symbol : org.junit.Assert\r\n2024-12-02T15:54:41.831584\t[DEBUG]\tCould not resolve method call: assertEquals(1, (long) ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult()): Unsolved symbol : org.junit.Assert\r\n2024-12-02T15:54:41.831854\t[DEBUG]\tCould not resolve access specifier for method call: assertEquals(1, (long) ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult()): Unsolved symbol : org.junit.Assert\r\n2024-12-02T15:54:41.832576\t[DEBUG]\tCould not resolve method call: ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult(): Unsolved symbol in ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult() : ejb.em.createQuery(\"select count(m) from Message m\")\r\n2024-12-02T15:54:41.833040\t[DEBUG]\tCould not resolve access specifier for method call: ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult(): Unsolved symbol in ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult() : ejb.em.createQuery(\"select count(m) from Message m\")\r\n2024-12-02T15:54:41.833782\t[DEBUG]\tCould not resolve method call: ejb.em.createQuery(\"select count(m) from Message m\"): Unsolved symbol in ejb.em.createQuery(\"select count(m) from Message m\") : ejb.em\r\n2024-12-02T15:54:41.834383\t[DEBUG]\tCould not resolve access specifier for method call: ejb.em.createQuery(\"select count(m) from Message m\"): Unsolved symbol in ejb.em.createQuery(\"select count(m) from Message m\") : ejb.em\r\n2024-12-02T15:54:41.834878\t[DEBUG]\tCould not resolve method call: tx.begin(): Unsolved symbol in tx.begin() : tx\r\n2024-12-02T15:54:41.835252\t[DEBUG]\tCould not resolve access specifier for method call: tx.begin(): Unsolved symbol in tx.begin() : tx\r\n2024-12-02T15:54:41.836291\t[DEBUG]\tCould not resolve method call: tx.commit(): Unsolved symbol in tx.commit() : tx\r\n2024-12-02T15:54:41.836683\t[DEBUG]\tCould not resolve access specifier for method call: tx.commit(): Unsolved symbol in tx.commit() : tx\r\n2024-12-02T15:54:41.837025\t[DEBUG]\tCould not resolve method call: assertEquals(0, (long) ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult()): Unsolved symbol : org.junit.Assert\r\n2024-12-02T15:54:41.837270\t[DEBUG]\tCould not resolve access specifier for method call: assertEquals(0, (long) ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult()): Unsolved symbol : org.junit.Assert\r\n2024-12-02T15:54:41.837898\t[DEBUG]\tCould not resolve method call: ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult(): Unsolved symbol in ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult() : ejb.em.createQuery(\"select count(m) from Message m\")\r\n2024-12-02T15:54:41.838328\t[DEBUG]\tCould not resolve access specifier for method call: ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult(): Unsolved symbol in ejb.em.createQuery(\"select count(m) from Message m\").getSingleResult() : ejb.em.createQuery(\"select count(m) from Message m\")\r\n2024-12-02T15:54:41.838957\t[DEBUG]\tCould not resolve method call: ejb.em.createQuery(\"select count(m) from Message m\"): Unsolved symbol in ejb.em.createQuery(\"select count(m) from Message m\") : ejb.em\r\n2024-12-02T15:54:41.839492\t[DEBUG]\tCould not resolve access specifier for method call: ejb.em.createQuery(\"select count(m) from Message m\"): Unsolved symbol in ejb.em.createQuery(\"select count(m) from Message m\") : ejb.em\r\n2024-12-02T15:54:41.857473\t[WARN]\tCould not resolve type: HttpServlet: Unsolved symbol : HttpServlet\r\n2024-12-02T15:54:41.859267\t[WARN]\tCould not resolve type: ServletException: Unsolved symbol : ServletException\r\n2024-12-02T15:54:41.860722\t[WARN]\tCould not resolve type: HttpServletRequest: Unsolved symbol : HttpServletRequest\r\n2024-12-02T15:54:41.861913\t[WARN]\tCould not resolve type: HttpServletResponse: Unsolved symbol : HttpServletResponse\r\n2024-12-02T15:54:41.863901\t[DEBUG]\tCould not resolve expression: request: Unsolved symbol : HttpServletRequest\r\n2024-12-02T15:54:41.864946\t[DEBUG]\tCould not resolve expression: request.getParameter(PUT_MESSAGE): Unsolved symbol : HttpServletRequest\r\n2024-12-02T15:54:41.865620\t[DEBUG]\tCould not resolve method call: request.getParameter(PUT_MESSAGE): Unsolved symbol in request.getParameter(PUT_MESSAGE) : request\r\n2024-12-02T15:54:41.866037\t[DEBUG]\tCould not resolve access specifier for method call: request.getParameter(PUT_MESSAGE): Unsolved symbol in request.getParameter(PUT_MESSAGE) : request\r\n2024-12-02T15:54:41.873343\t[DEBUG]\tCould not resolve expression: response: Unsolved symbol : HttpServletResponse\r\n2024-12-02T15:54:41.873919\t[DEBUG]\tCould not resolve expression: response.sendRedirect(\"./DisplayServlet\"): Unsolved symbol : HttpServletResponse\r\n2024-12-02T15:54:41.874309\t[DEBUG]\tCould not resolve method call: response.sendRedirect(\"./DisplayServlet\"): Unsolved symbol in response.sendRedirect(\"./DisplayServlet\") : response\r\n2024-12-02T15:54:41.874659\t[DEBUG]\tCould not resolve access specifier for method call: response.sendRedirect(\"./DisplayServlet\"): Unsolved symbol in response.sendRedirect(\"./DisplayServlet\") : response\r\n2024-12-02T15:54:41.875183\t[DEBUG]\tCould not resolve constructor call: new ServletException(nme): Unsolved symbol : ServletException\r\n2024-12-02T15:54:41.877777\t[DEBUG]\tCould not resolve expression: response.setContentType(\"text/html;charset=UTF-8\"): Unsolved symbol : HttpServletResponse\r\n2024-12-02T15:54:41.878305\t[DEBUG]\tCould not resolve method call: response.setContentType(\"text/html;charset=UTF-8\"): Unsolved symbol in response.setContentType(\"text/html;charset=UTF-8\") : response\r\n2024-12-02T15:54:41.878859\t[DEBUG]\tCould not resolve access specifier for method call: response.setContentType(\"text/html;charset=UTF-8\"): Unsolved symbol in response.setContentType(\"text/html;charset=UTF-8\") : response\r\n2024-12-02T15:54:41.879469\t[DEBUG]\tCould not resolve expression: response.getWriter(): Unsolved symbol : HttpServletResponse\r\n2024-12-02T15:54:41.879831\t[DEBUG]\tCould not resolve method call: response.getWriter(): Unsolved symbol in response.getWriter() : response\r\n2024-12-02T15:54:41.880174\t[DEBUG]\tCould not resolve access specifier for method call: response.getWriter(): Unsolved symbol in response.getWriter() : response\r\n2024-12-02T15:54:41.930998\t[INFO]\tCreate analysis scope.\r\n2024-12-02T15:54:41.952308\t[INFO]\tAdd exclusions to scope.\r\n2024-12-02T15:54:41.952466\t[INFO]\tLoading Java SE standard libs.\r\n2024-12-02T15:54:41.972661\t[WARN]\tNo extra libraries to process.\r\n2024-12-02T15:54:41.983673\t[INFO]\tFinding *.class files in /Users/fabiofranco/Development/git/wca4j/svt/gradle-java-ear\r\n2024-12-02T15:54:41.992952\t[DEBUG]\tApplication class files: 6\r\n2024-12-02T15:54:41.993004\t[INFO]\tAdding application classes to scope.\r\n2024-12-02T15:54:44.109104\t[DONE]\tThere were a total of 28796 classes of which 4 are application classes.\r\n2024-12-02T15:54:44.127723\t[INFO]\tRegistered 15 entrypoints.\r\n2024-12-02T15:54:44.134966\t[INFO]\tBuilding call graph.\r\n2024-12-02T15:54:57.596074\t[DONE]\tFinished construction of call graph. Took 14.0 seconds.\r\n2024-12-02T15:54:57.962997\t[INFO]\tBuilding System Dependency Graph.\r\n2024-12-02T15:54:58.358072\t[INFO]\tCleaning up library dependency directory: /Users/fabiofranco/Development/git/wca4j/svt/gradle-java-ear/_library_dependencies\r\n2024-12-02T15:54:58.386676\t[DONE]\tAnalysis output saved at /Users/fabiofranco/.wca/codeAnalyzer/gradle-java-ear\r\n```\r\n\r\nNote: since https://github.com/hammingweight/gradle-java-ear is an old project, I was able to build it using Java 8 and Gradle 5 (installed via SDK man).","author":{"url":"https://github.com/fabio-franco","@type":"Person","name":"fabio-franco"},"datePublished":"2024-12-02T21:01:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/79/codeanalyzer-java/issues/79"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:617c3009-db94-c992-2577-3b5f0fd3f3fb
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB862:1B0B:166701C:1F05DB4:698DC239
html-safe-nonce79c638fb40dd56745ac3ca63294c4460db6b09026373be38357b7840eeb4aa7f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODYyOjFCMEI6MTY2NzAxQzoxRjA1REI0OjY5OERDMjM5IiwidmlzaXRvcl9pZCI6IjU3NzE0NTc3OTE0ODM4MjI2NDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac16c8d577cbbe2b46f94322c000877519ff4e29881a75024a641b446b7f8fc5c7
hovercard-subject-tagissue:2713377601
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/codellm-devkit/codeanalyzer-java/79/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0bc688e2bb2c1f21df427fdad1e82caa6d7e8f6918ecae6af8ae293504f829fa/codellm-devkit/codeanalyzer-java/issues/79
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0bc688e2bb2c1f21df427fdad1e82caa6d7e8f6918ecae6af8ae293504f829fa/codellm-devkit/codeanalyzer-java/issues/79
og:image:altI'm testing the code analyzer at https://github.com/hammingweight/gradle-java-ear but shows java.io.IOException: Cannot run program "/Users/fabiofranco/Development/git/wca4j/svt/gradle-java-ear/gra...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefabio-franco
hostnamegithub.com
expected-hostnamegithub.com
None2457fd9a1b17ca7f38c3c2653895ccb2e0dd04f18f77446a21354e9bc4b7902f
turbo-cache-controlno-preview
go-importgithub.com/codellm-devkit/codeanalyzer-java git https://github.com/codellm-devkit/codeanalyzer-java.git
octolytics-dimension-user_id197800760
octolytics-dimension-user_logincodellm-devkit
octolytics-dimension-repository_id731300153
octolytics-dimension-repository_nwocodellm-devkit/codeanalyzer-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id731300153
octolytics-dimension-repository_network_root_nwocodellm-devkit/codeanalyzer-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release878672b82363fd98fbdc5bd0edb68e572c8a8d9b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/codellm-devkit/codeanalyzer-java/issues/79#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcodellm-devkit%2Fcodeanalyzer-java%2Fissues%2F79
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcodellm-devkit%2Fcodeanalyzer-java%2Fissues%2F79
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=codellm-devkit%2Fcodeanalyzer-java
Reloadhttps://github.com/codellm-devkit/codeanalyzer-java/issues/79
Reloadhttps://github.com/codellm-devkit/codeanalyzer-java/issues/79
Reloadhttps://github.com/codellm-devkit/codeanalyzer-java/issues/79
codellm-devkit https://github.com/codellm-devkit
codeanalyzer-javahttps://github.com/codellm-devkit/codeanalyzer-java
Notifications https://github.com/login?return_to=%2Fcodellm-devkit%2Fcodeanalyzer-java
Fork 1 https://github.com/login?return_to=%2Fcodellm-devkit%2Fcodeanalyzer-java
Star 4 https://github.com/login?return_to=%2Fcodellm-devkit%2Fcodeanalyzer-java
Code https://github.com/codellm-devkit/codeanalyzer-java
Issues 10 https://github.com/codellm-devkit/codeanalyzer-java/issues
Pull requests 1 https://github.com/codellm-devkit/codeanalyzer-java/pulls
Actions https://github.com/codellm-devkit/codeanalyzer-java/actions
Projects 0 https://github.com/codellm-devkit/codeanalyzer-java/projects
Security 0 https://github.com/codellm-devkit/codeanalyzer-java/security
Insights https://github.com/codellm-devkit/codeanalyzer-java/pulse
Code https://github.com/codellm-devkit/codeanalyzer-java
Issues https://github.com/codellm-devkit/codeanalyzer-java/issues
Pull requests https://github.com/codellm-devkit/codeanalyzer-java/pulls
Actions https://github.com/codellm-devkit/codeanalyzer-java/actions
Projects https://github.com/codellm-devkit/codeanalyzer-java/projects
Security https://github.com/codellm-devkit/codeanalyzer-java/security
Insights https://github.com/codellm-devkit/codeanalyzer-java/pulse
New issuehttps://github.com/login?return_to=https://github.com/codellm-devkit/codeanalyzer-java/issues/79
New issuehttps://github.com/login?return_to=https://github.com/codellm-devkit/codeanalyzer-java/issues/79
It seems that code analyzer assumes that gradle projects always has a wrapper(gradlew)https://github.com/codellm-devkit/codeanalyzer-java/issues/79#top
https://github.com/fabio-franco
https://github.com/fabio-franco
fabio-francohttps://github.com/fabio-franco
on Dec 2, 2024https://github.com/codellm-devkit/codeanalyzer-java/issues/79#issue-2713377601
https://github.com/hammingweight/gradle-java-earhttps://github.com/hammingweight/gradle-java-ear
https://github.com/hammingweight/gradle-java-earhttps://github.com/hammingweight/gradle-java-ear
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.