{"action":"created","issue":{"url":"https://api.github.com/repos/neowit/tooling-force.com/issues/9","labels_url":"https://api.github.com/repos/neowit/tooling-force.com/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/neowit/tooling-force.com/issues/9/comments","events_url":"https://api.github.com/repos/neowit/tooling-force.com/issues/9/events","html_url":"https://github.com/neowit/tooling-force.com/issues/9","id":98595645,"number":9,"title":"assembly failing","user":{"login":"kalyanlanka","id":1121370,"avatar_url":"https://avatars.githubusercontent.com/u/1121370?v=3","gravatar_id":"","url":"https://api.github.com/users/kalyanlanka","html_url":"https://github.com/kalyanlanka","followers_url":"https://api.github.com/users/kalyanlanka/followers","following_url":"https://api.github.com/users/kalyanlanka/following{/other_user}","gists_url":"https://api.github.com/users/kalyanlanka/gists{/gist_id}","starred_url":"https://api.github.com/users/kalyanlanka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalyanlanka/subscriptions","organizations_url":"https://api.github.com/users/kalyanlanka/orgs","repos_url":"https://api.github.com/users/kalyanlanka/repos","events_url":"https://api.github.com/users/kalyanlanka/events{/privacy}","received_events_url":"https://api.github.com/users/kalyanlanka/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-02T09:22:05Z","updated_at":"2015-08-02T15:25:25Z","closed_at":"2015-08-02T15:25:25Z","body":"assembly is failing with NPEs\r\n\r\nHere is the stack trace\r\n````\r\n> assembly\r\n[warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to see the list\r\n[trace] Stack trace suppressed: run last test:test for the full output.\r\n[trace] Stack trace suppressed: run last test:test for the full output.\r\n[error] Could not run test com.neowit.apex.SoqlGrammar: java.lang.NullPointerException\r\n[error] Could not run test com.neowit.apex.CodeCompletions: java.lang.NullPointerException\r\n[info] MetaXmlTest:\r\nOK\r\nOK\r\nOK\r\n[info] StubFileGeneratorTest:\r\n[info] - Object type name in Trigger detection 1\r\n[info] - Object type name in Trigger detection 2 - with blank line\r\n[info] - Object type name in Trigger detection 3 - with comments\r\n[info] - Object type name in Trigger detection 4 - with long comments\r\n[info] - Object type name in Trigger detection 5 - with long trigger body\r\n[info] - Object type name in Trigger detection 6 - with multi-line definition\r\n[info] - Object type name in Trigger detection 7 - single line body\r\n[info] ConfigTest:\r\n[info] - No Command Params\r\n[info] - Key without value\r\n[info] - Missing ConfigFile\r\n[info] - Existing config, but missing parameter\r\n[info] - Command Line - Key Without Value #1\r\n[info] - Command Line - Key Without Value #2\r\n[info] - Command Line - Key Without --\r\n[info] - Command Line - value enclosed in quotes --\r\n[info] - Parameter from command line take priority over config\r\n[info] - Parameter from command line take priority over --config\r\n[info] SoqlParserUtilsTest:\r\n[info] - Find FROM in outer select (with nested select)\r\n[info] - Find FROM in outer select (without nested select) #1\r\n[info] - Find FROM in outer select (without nested select) #2\r\n[info] - Find FROM in outer select (without nested select), without WHERE\r\n[info] - Find FROM in outer select (without nested select) with incomplete WHERE\r\n[info] - Find FROM in nested select\r\n[info] - Find FROM in nested select in WHERE part\r\n[info] - Find FROM in nested select (with multiple nested selects)\r\n[info] Run completed in 480 milliseconds.\r\n[info] Total number of tests run: 25\r\n[info] Suites: completed 4, aborted 0\r\n[info] Tests: succeeded 25, failed 0, canceled 0, ignored 0, pending 0\r\n[info] All tests passed.\r\n[error] Error during tests:\r\n[error] \tcom.neowit.apex.SoqlGrammar\r\n[error] \tcom.neowit.apex.CodeCompletions\r\n[info] Including from cache: commons-logging-1.1.3.jar\r\n[info] Including from cache: apex-34.0.jar\r\n[info] Including from cache: config-1.0.0.jar\r\n[info] Including from cache: spray-json_2.10-1.3.0.jar\r\n[info] Including from cache: force-wsc-34.2.2-uber.jar\r\n[info] Including from cache: antlr-4.5-complete.jar\r\n[info] Including from cache: tooling-34.0.jar\r\n[info] Including from cache: partner-34.0.jar\r\n[info] Including from cache: akka-actor_2.10-2.2-M1.jar\r\n[info] Including from cache: metatdata-34.0.jar\r\n[error] (test:test) sbt.TestsFailedException: Tests unsuccessful\r\n[error] Total time: 4 s, completed Aug 2, 2015 5:14:10 AM\r\n````\r\nStack trace\r\n````\r\n>  last test:test\r\n[debug] Running TaskDef(com.neowit.apex.SoqlParserUtilsTest, org.scalatest.tools.Framework$$anon$1@3bbf0c63, false, [SuiteSelector])\r\n[debug] Running TaskDef(com.neowit.apex.CodeCompletions, org.scalatest.tools.Framework$$anon$1@3bbf0c63, false, [SuiteSelector])\r\n[debug] Running TaskDef(com.neowit.apex.SoqlGrammar, org.scalatest.tools.Framework$$anon$1@3bbf0c63, false, [SuiteSelector])\r\n[debug] Running TaskDef(com.neowit.apex.metadata.StubFileGeneratorTest, org.scalatest.tools.Framework$$anon$1@3bbf0c63, false, [SuiteSelector])\r\n[debug] Running TaskDef(com.neowit.apex.metadata.MetaXmlTest, org.scalatest.tools.Framework$$anon$1@3bbf0c63, false, [SuiteSelector])\r\n[debug] Running TaskDef(com.neowit.apex.ConfigTest, org.scalatest.tools.Framework$$anon$1@3bbf0c63, false, [SuiteSelector])\r\njava.lang.NullPointerException\r\n\tat com.neowit.apex.CodeCompletions.<init>(CodeCompletions.scala:17)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:422)\r\n\tat java.lang.Class.newInstance(Class.java:442)\r\n\tat org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:621)\r\n\tat sbt.TestRunner.runTest$1(TestFramework.scala:76)\r\n\tat sbt.TestRunner.run(TestFramework.scala:85)\r\n\tat sbt.TestFramework$$anon$2$$anonfun$$init$$1$$anonfun$apply$8.apply(TestFramework.scala:202)\r\n\tat sbt.TestFramework$$anon$2$$anonfun$$init$$1$$anonfun$apply$8.apply(TestFramework.scala:202)\r\n\tat sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:185)\r\n\tat sbt.TestFramework$$anon$2$$anonfun$$init$$1.apply(TestFramework.scala:202)\r\n\tat sbt.TestFramework$$anon$2$$anonfun$$init$$1.apply(TestFramework.scala:202)\r\n\tat sbt.TestFunction.apply(TestFramework.scala:207)\r\n\tat sbt.Tests$$anonfun$9.apply(Tests.scala:216)\r\n\tat sbt.Tests$$anonfun$9.apply(Tests.scala:216)\r\n\tat sbt.std.Transform$$anon$3$$anonfun$apply$2.apply(System.scala:44)\r\n\tat sbt.std.Transform$$anon$3$$anonfun$apply$2.apply(System.scala:44)\r\n\tat sbt.std.Transform$$anon$4.work(System.scala:63)\r\n\tat sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)\r\n\tat sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)\r\n\tat sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)\r\n\tat sbt.Execute.work(Execute.scala:235)\r\n\tat sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)\r\n\tat sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)\r\n\tat sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)\r\n\tat sbt.CompletionService$$anon$2.call(CompletionService.scala:28)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\njava.lang.NullPointerException\r\n\tat com.neowit.apex.SoqlGrammar.<init>(SoqlGrammar.scala:13)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:422)\r\n\tat java.lang.Class.newInstance(Class.java:442)\r\n\tat org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:621)\r\n\tat sbt.TestRunner.runTest$1(TestFramework.scala:76)\r\n\tat sbt.TestRunner.run(TestFramework.scala:85)\r\n\tat sbt.TestFramework$$anon$2$$anonfun$$init$$1$$anonfun$apply$8.apply(TestFramework.scala:202)\r\n\tat sbt.TestFramework$$anon$2$$anonfun$$init$$1$$anonfun$apply$8.apply(TestFramework.scala:202)\r\n\tat sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:185)\r\n\tat sbt.TestFramework$$anon$2$$anonfun$$init$$1.apply(TestFramework.scala:202)\r\n\tat sbt.TestFramework$$anon$2$$anonfun$$init$$1.apply(TestFramework.scala:202)\r\n\tat sbt.TestFunction.apply(TestFramework.scala:207)\r\n\tat sbt.Tests$$anonfun$9.apply(Tests.scala:216)\r\n\tat sbt.Tests$$anonfun$9.apply(Tests.scala:216)\r\n\tat sbt.std.Transform$$anon$3$$anonfun$apply$2.apply(System.scala:44)\r\n\tat sbt.std.Transform$$anon$3$$anonfun$apply$2.apply(System.scala:44)\r\n\tat sbt.std.Transform$$anon$4.work(System.scala:63)\r\n\tat sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)\r\n\tat sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)\r\n\tat sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)\r\n\tat sbt.Execute.work(Execute.scala:235)\r\n\tat sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)\r\n\tat sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)\r\n\tat sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)\r\n\tat sbt.CompletionService$$anon$2.call(CompletionService.scala:28)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n[error] Could not run test com.neowit.apex.SoqlGrammar: java.lang.NullPointerException\r\n[error] Could not run test com.neowit.apex.CodeCompletions: java.lang.NullPointerException\r\n[info] Run completed in 480 milliseconds.\r\n[info] Total number of tests run: 25\r\n[info] Suites: completed 4, aborted 0\r\n[info] Tests: succeeded 25, failed 0, canceled 0, ignored 0, pending 0\r\n[info] All tests passed.\r\n[debug] Passed tests:\r\n[debug] \tcom.neowit.apex.ConfigTest\r\n[debug] \tcom.neowit.apex.metadata.MetaXmlTest\r\n[debug] \tcom.neowit.apex.SoqlParserUtilsTest\r\n[debug] \tcom.neowit.apex.metadata.StubFileGeneratorTest\r\n[error] Error during tests:\r\n[error] \tcom.neowit.apex.SoqlGrammar\r\n[error] \tcom.neowit.apex.CodeCompletions\r\n[error] (test:test) sbt.TestsFailedException: Tests unsuccessful\r\n````"},"comment":{"url":"https://api.github.com/repos/neowit/tooling-force.com/issues/comments/127036370","html_url":"https://github.com/neowit/tooling-force.com/issues/9#issuecomment-127036370","issue_url":"https://api.github.com/repos/neowit/tooling-force.com/issues/9","id":127036370,"user":{"login":"kalyanlanka","id":1121370,"avatar_url":"https://avatars.githubusercontent.com/u/1121370?v=3","gravatar_id":"","url":"https://api.github.com/users/kalyanlanka","html_url":"https://github.com/kalyanlanka","followers_url":"https://api.github.com/users/kalyanlanka/followers","following_url":"https://api.github.com/users/kalyanlanka/following{/other_user}","gists_url":"https://api.github.com/users/kalyanlanka/gists{/gist_id}","starred_url":"https://api.github.com/users/kalyanlanka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalyanlanka/subscriptions","organizations_url":"https://api.github.com/users/kalyanlanka/orgs","repos_url":"https://api.github.com/users/kalyanlanka/repos","events_url":"https://api.github.com/users/kalyanlanka/events{/privacy}","received_events_url":"https://api.github.com/users/kalyanlanka/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T15:25:25Z","updated_at":"2015-08-02T15:25:25Z","body":"Thank you, it works."}}