{"action":"created","issue":{"url":"https://api.github.com/repos/sbt/sbt-pom-reader/issues/34","labels_url":"https://api.github.com/repos/sbt/sbt-pom-reader/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/sbt/sbt-pom-reader/issues/34/comments","events_url":"https://api.github.com/repos/sbt/sbt-pom-reader/issues/34/events","html_url":"https://github.com/sbt/sbt-pom-reader/issues/34","id":84645457,"number":34,"title":"Build fails with null pointer exception","user":{"login":"leithaus","id":76650,"avatar_url":"https://avatars.githubusercontent.com/u/76650?v=3","gravatar_id":"","url":"https://api.github.com/users/leithaus","html_url":"https://github.com/leithaus","followers_url":"https://api.github.com/users/leithaus/followers","following_url":"https://api.github.com/users/leithaus/following{/other_user}","gists_url":"https://api.github.com/users/leithaus/gists{/gist_id}","starred_url":"https://api.github.com/users/leithaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leithaus/subscriptions","organizations_url":"https://api.github.com/users/leithaus/orgs","repos_url":"https://api.github.com/users/leithaus/repos","events_url":"https://api.github.com/users/leithaus/events{/privacy}","received_events_url":"https://api.github.com/users/leithaus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-03T16:15:39Z","updated_at":"2015-06-05T19:50:55Z","closed_at":null,"body":"// build.scala:\r\nimport sbt._\r\n\r\nobject MyBuild extends com.typesafe.sbt.pom.PomBuild\r\n\r\n// plugins.sbt\r\naddSbtPlugin(\"com.typesafe.sbt\" % \"sbt-pom-reader\" % sys.props(\"project.version\"))\r\n\r\npom.xml: https://github.com/leithaus/strategies/blob/master/pom.xml\r\n\r\n> sbt compile\r\njava.lang.NullPointerException\r\n\tat sbt.StringUtilities$.nonEmpty(StringUtilities.scala:12)\r\n\tat sbt.impl.GroupArtifactID.$percent(DependencyBuilders.scala:47)\r\n\tat $906d33664453e1b6ec2d$.$sbtdef(/Users/lgm/work/src/projex/stellar/mdp4tw/strategies/project/plugins.sbt:9)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat sbt.compiler.Eval$.getValue(Eval.scala:464)\r\n\tat sbt.compiler.Eval$$anonfun$4.apply(Eval.scala:97)\r\n\tat sbt.compiler.Eval$$anonfun$4.apply(Eval.scala:97)\r\n\tat sbt.EvaluateConfigurations$$anonfun$evaluateDslEntry$1.apply(EvaluateConfigurations.scala:186)\r\n\tat sbt.EvaluateConfigurations$$anonfun$evaluateDslEntry$1.apply(EvaluateConfigurations.scala:184)\r\n\tat sbt.EvaluateConfigurations$$anonfun$evaluateSbtFile$1$$anonfun$11.apply(EvaluateConfigurations.scala:129)\r\n\tat sbt.EvaluateConfigurations$$anonfun$evaluateSbtFile$1$$anonfun$11.apply(EvaluateConfigurations.scala:129)\r\n\tat scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)\r\n\tat scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)\r\n\tat scala.collection.immutable.List.foreach(List.scala:318)\r\n\tat scala.collection.TraversableLike$class.map(TraversableLike.scala:244)\r\n\tat scala.collection.AbstractTraversable.map(Traversable.scala:105)\r\n\tat sbt.EvaluateConfigurations$$anonfun$evaluateSbtFile$1.apply(EvaluateConfigurations.scala:129)\r\n\tat sbt.EvaluateConfigurations$$anonfun$evaluateSbtFile$1.apply(EvaluateConfigurations.scala:123)\r\n\tat sbt.Load$.sbt$Load$$loadSettingsFile$1(Load.scala:710)\r\n\tat sbt.Load$$anonfun$sbt$Load$$memoLoadSettingsFile$1$1.apply(Load.scala:715)\r\n\tat sbt.Load$$anonfun$sbt$Load$$memoLoadSettingsFile$1$1.apply(Load.scala:714)\r\n\tat scala.Option.getOrElse(Option.scala:120)\r\n\tat sbt.Load$.sbt$Load$$memoLoadSettingsFile$1(Load.scala:714)\r\n\tat sbt.Load$$anonfun$loadFiles$1$2.apply(Load.scala:721)\r\n\tat sbt.Load$$anonfun$loadFiles$1$2.apply(Load.scala:721)\r\n\tat scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)\r\n\tat scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)\r\n\tat scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)\r\n\tat scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)\r\n\tat scala.collection.TraversableLike$class.map(TraversableLike.scala:244)\r\n\tat scala.collection.AbstractTraversable.map(Traversable.scala:105)\r\n\tat sbt.Load$.loadFiles$1(Load.scala:721)\r\n\tat sbt.Load$.discoverProjects(Load.scala:732)\r\n\tat sbt.Load$.discover$1(Load.scala:545)\r\n\tat sbt.Load$.loadTransitive(Load.scala:574)\r\n\tat sbt.Load$.loadProjects$1(Load.scala:442)\r\n\tat sbt.Load$.loadUnit(Load.scala:446)\r\n\tat sbt.Load$$anonfun$18$$anonfun$apply$11.apply(Load.scala:281)\r\n\tat sbt.Load$$anonfun$18$$anonfun$apply$11.apply(Load.scala:281)\r\n\tat sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6.apply(BuildLoader.scala:91)\r\n\tat sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6.apply(BuildLoader.scala:90)\r\n\tat sbt.BuildLoader.apply(BuildLoader.scala:140)\r\n\tat sbt.Load$.loadAll(Load.scala:334)\r\n\tat sbt.Load$.loadURI(Load.scala:289)\r\n\tat sbt.Load$.load(Load.scala:285)\r\n\tat sbt.Load$.load(Load.scala:276)\r\n\tat sbt.Load$.apply(Load.scala:130)\r\n\tat sbt.Load$.buildPluginDefinition(Load.scala:819)\r\n\tat sbt.Load$.buildPlugins(Load.scala:785)\r\n\tat sbt.Load$.plugins(Load.scala:773)\r\n\tat sbt.Load$.loadUnit(Load.scala:431)\r\n\tat sbt.Load$$anonfun$18$$anonfun$apply$11.apply(Load.scala:281)\r\n\tat sbt.Load$$anonfun$18$$anonfun$apply$11.apply(Load.scala:281)\r\n\tat sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6.apply(BuildLoader.scala:91)\r\n\tat sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6.apply(BuildLoader.scala:90)\r\n\tat sbt.BuildLoader.apply(BuildLoader.scala:140)\r\n\tat sbt.Load$.loadAll(Load.scala:334)\r\n\tat sbt.Load$.loadURI(Load.scala:289)\r\n\tat sbt.Load$.load(Load.scala:285)\r\n\tat sbt.Load$.load(Load.scala:276)\r\n\tat sbt.Load$.apply(Load.scala:130)\r\n\tat sbt.Load$.defaultLoad(Load.scala:36)\r\n\tat sbt.BuiltinCommands$.doLoadProject(Main.scala:481)\r\n\tat sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:475)\r\n\tat sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:475)\r\n\tat sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:58)\r\n\tat sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:58)\r\n\tat sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:60)\r\n\tat sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:60)\r\n\tat sbt.Command$.process(Command.scala:92)\r\n\tat sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:98)\r\n\tat sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:98)\r\n\tat sbt.State$$anon$1.process(State.scala:184)\r\n\tat sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:98)\r\n\tat sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:98)\r\n\tat sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)\r\n\tat sbt.MainLoop$.next(MainLoop.scala:98)\r\n\tat sbt.MainLoop$.run(MainLoop.scala:91)\r\n\tat sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:70)\r\n\tat sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:65)\r\n\tat sbt.Using.apply(Using.scala:24)\r\n\tat sbt.MainLoop$.runWithNewLog(MainLoop.scala:65)\r\n\tat sbt.MainLoop$.runAndClearLast(MainLoop.scala:48)\r\n\tat sbt.MainLoop$.runLoggedLoop(MainLoop.scala:32)\r\n\tat sbt.MainLoop$.runLogged(MainLoop.scala:24)\r\n\tat sbt.StandardMain$.runManaged(Main.scala:53)\r\n\tat sbt.xMain.run(Main.scala:28)\r\n\tat xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)\r\n\tat xsbt.boot.Launch$.withContextLoader(Launch.scala:128)\r\n\tat xsbt.boot.Launch$.run(Launch.scala:109)\r\n\tat xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)\r\n\tat xsbt.boot.Launch$.launch(Launch.scala:117)\r\n\tat xsbt.boot.Launch$.apply(Launch.scala:18)\r\n\tat xsbt.boot.Boot$.runImpl(Boot.scala:41)\r\n\tat xsbt.boot.Boot$.main(Boot.scala:17)\r\n\tat xsbt.boot.Boot.main(Boot.scala)\r\n[error] java.lang.NullPointerException\r\n[error] Use 'last' for the full log."},"comment":{"url":"https://api.github.com/repos/sbt/sbt-pom-reader/issues/comments/109420124","html_url":"https://github.com/sbt/sbt-pom-reader/issues/34#issuecomment-109420124","issue_url":"https://api.github.com/repos/sbt/sbt-pom-reader/issues/34","id":109420124,"user":{"login":"leithaus","id":76650,"avatar_url":"https://avatars.githubusercontent.com/u/76650?v=3","gravatar_id":"","url":"https://api.github.com/users/leithaus","html_url":"https://github.com/leithaus","followers_url":"https://api.github.com/users/leithaus/followers","following_url":"https://api.github.com/users/leithaus/following{/other_user}","gists_url":"https://api.github.com/users/leithaus/gists{/gist_id}","starred_url":"https://api.github.com/users/leithaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leithaus/subscriptions","organizations_url":"https://api.github.com/users/leithaus/orgs","repos_url":"https://api.github.com/users/leithaus/repos","events_url":"https://api.github.com/users/leithaus/events{/privacy}","received_events_url":"https://api.github.com/users/leithaus/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T19:50:55Z","updated_at":"2015-06-05T19:50:55Z","body":"Here is the project directory: https://github.com/leithaus/strategies/tree/master/project"}}