Skip to content

Instantly share code, notes, and snippets.

@dvntucker
Created August 26, 2016 08:54
Show Gist options
  • Select an option

  • Save dvntucker/1ef53e5139f72d3503a62b641fd67734 to your computer and use it in GitHub Desktop.

Select an option

Save dvntucker/1ef53e5139f72d3503a62b641fd67734 to your computer and use it in GitHub Desktop.
Error:scalac:
while compiling: /Users/devon/Projects/geotrellis/raster/src/main/scala/geotrellis/raster/viewshed/ViewshedMethods.scala
during phase: jvm
library version: version 2.10.6
compiler version: version 2.10.6
reconstructed args: -javabootclasspath : -optimise -feature -Yinline -Yclosure-elim -classpath /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/lib/packager.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Users/devon/Projects/geotrellis/raster/target/scala-2.10/classes:/Users/devon/Projects/geotrellis/macros/target/scala-2.10/classes:/Users/devon/.ivy2/cache/org.typelevel/macro-compat_2.10/jars/macro-compat_2.10-1.1.0.jar:/Users/devon/.ivy2/cache/org.typelevel/machinist_2.10/jars/machinist_2.10-0.4.1.jar:/Users/devon/.ivy2/cache/org.spire-math/spire_2.10/jars/spire_2.10-0.11.0.jar:/Users/devon/.ivy2/cache/org.spire-math/spire-macros_2.10/jars/spire-macros_2.10-0.11.0.jar:/Users/devon/.ivy2/cache/org.scalaz/scalaz-core_2.10/bundles/scalaz-core_2.10-7.2.2.jar:/Users/devon/.ivy2/cache/org.scalamacros/quasiquotes_2.10/jars/quasiquotes_2.10-2.1.0.jar:/Users/devon/.sbt/boot/scala-2.10.6/lib/scala-reflect.jar:/Users/devon/.sbt/boot/scala-2.10.6/lib/scala-library.jar:/Users/devon/.ivy2/cache/org.apache.commons/commons-math3/jars/commons-math3-3.6.jar:/Users/devon/.ivy2/cache/org.apache.commons/commons-lang3/jars/commons-lang3-3.3.2.jar:/Users/devon/.ivy2/cache/io.spray/spray-json_2.10/bundles/spray-json_2.10-1.3.2.jar:/Users/devon/.ivy2/cache/com.vividsolutions/jts-core/jars/jts-core-1.14.0.jar:/Users/devon/.ivy2/cache/com.typesafe/config/bundles/config-1.2.1.jar:/Users/devon/.ivy2/cache/com.opencsv/opencsv/bundles/opencsv-3.7.jar:/Users/devon/.ivy2/cache/com.github.julien-truffaut/monocle-macro_2.10/jars/monocle-macro_2.10-1.2.1.jar:/Users/devon/.ivy2/cache/com.github.julien-truffaut/monocle-core_2.10/jars/monocle-core_2.10-1.2.1.jar:/Users/devon/Projects/geotrellis/util/target/scala-2.10/classes:/Users/devon/Projects/geotrellis/vector/target/scala-2.10/classes:/Users/devon/Projects/geotrellis/proj4/target/scala-2.10/classes -unchecked -Xplugin:/Users/devon/.ivy2/cache/org.spire-math/kind-projector_2.10/jars/kind-projector_2.10-0.7.1.jar -Xplugin:/Users/devon/.ivy2/cache/org.scalamacros/paradise_2.10.6/jars/paradise_2.10.6-2.1.0.jar -language:postfixOps -language:reflectiveCalls -language:implicitConversions -language:higherKinds -language:existentials -language:experimental.macros -nobootcp -Ydead-code -deprecation -Yfundep-materialization -Yinline-handlers
last tree to typer: Literal(Constant(geotrellis.vector.Line))
symbol: null
symbol definition: null
tpe: Class(classOf[geotrellis.vector.Line])
symbol owners:
context owners: object ViewshedMethods$class -> package viewshed
== Enclosing template or block ==
Template( // val <local ViewshedMethods$class>: <notype> in object ViewshedMethods$class, tree.tpe=geotrellis.raster.viewshed.ViewshedMethods
// parents
ValDef(
private
"_"
<tpt>
<empty>
)
// 5 statements
DefDef( // def viewshed(x$1: geotrellis.raster.viewshed.ViewshedMethods,col: Int,row: Int,exact: Boolean): geotrellis.raster.Tile in object ViewshedMethods$class
<method> <triedcooking> <notoverride>
"viewshed"
[]
// 1 parameter list
ValDef( // $this: geotrellis.raster.viewshed.ViewshedMethods
<param>
"$this"
<tpt> // tree.tpe=geotrellis.raster.viewshed.ViewshedMethods
<empty>
)
ValDef( // col: Int
<param> <triedcooking>
"col"
<tpt> // tree.tpe=Int
<empty>
)
ValDef( // row: Int
<param> <triedcooking>
"row"
<tpt> // tree.tpe=Int
<empty>
)
ValDef( // exact: Boolean
<param> <defaultparam/trait> <triedcooking>
"exact"
<tpt> // tree.tpe=Boolean
<empty>
)
<tpt> // tree.tpe=geotrellis.raster.Tile
If( // tree.tpe=geotrellis.raster.Tile
"exact" // exact: Boolean, tree.tpe=Boolean
Apply( // def apply(r: geotrellis.raster.Tile,startCol: Int,startRow: Int): geotrellis.raster.Tile in object Viewshed, tree.tpe=geotrellis.raster.Tile
"Viewshed"."apply" // def apply(r: geotrellis.raster.Tile,startCol: Int,startRow: Int): geotrellis.raster.Tile in object Viewshed, tree.tpe=(r: geotrellis.raster.Tile, startCol: Int, startRow: Int)geotrellis.raster.Tile
// 3 arguments
Apply( // final def $asInstanceOf[T0 >: ? <: ?](): T0 in class Object, tree.tpe=geotrellis.raster.Tile
TypeApply( // final def $asInstanceOf[T0 >: ? <: ?](): T0 in class Object, tree.tpe=()geotrellis.raster.Tile
$this.self()."$asInstanceOf" // final def $asInstanceOf[T0 >: ? <: ?](): T0 in class Object, tree.tpe=[T0 >: ? <: ?]()T0
<tpt> // tree.tpe=geotrellis.raster.Tile
)
Nil
)
"col" // col: Int, tree.tpe=Int
"row" // row: Int, tree.tpe=Int
)
Apply( // def apply(r: geotrellis.raster.Tile,col: Int,row: Int): geotrellis.raster.Tile in object ApproxViewshed, tree.tpe=geotrellis.raster.Tile
"ApproxViewshed"."apply" // def apply(r: geotrellis.raster.Tile,col: Int,row: Int): geotrellis.raster.Tile in object ApproxViewshed, tree.tpe=(r: geotrellis.raster.Tile, col: Int, row: Int)geotrellis.raster.Tile
// 3 arguments
Apply( // final def $asInstanceOf[T0 >: ? <: ?](): T0 in class Object, tree.tpe=geotrellis.raster.Tile
TypeApply( // final def $asInstanceOf[T0 >: ? <: ?](): T0 in class Object, tree.tpe=()geotrellis.raster.Tile
$this.self()."$asInstanceOf" // final def $asInstanceOf[T0 >: ? <: ?](): T0 in class Object, tree.tpe=[T0 >: ? <: ?]()T0
<tpt> // tree.tpe=geotrellis.raster.Tile
)
Nil
)
"col" // col: Int, tree.tpe=Int
"row" // row: Int, tree.tpe=Int
)
)
)
DefDef( // def viewshed$default$3(x$1: geotrellis.raster.viewshed.ViewshedMethods): Boolean in object ViewshedMethods$class
<method> <synthetic> <defaultparam/trait> <triedcooking> <notoverride>
"viewshed$default$3"
[]
// 1 parameter list
ValDef( // $this: geotrellis.raster.viewshed.ViewshedMethods
<param>
"$this"
<tpt> // tree.tpe=geotrellis.raster.viewshed.ViewshedMethods
<empty>
)
<tpt> // tree.tpe=Boolean
false
)
DefDef( // def viewshedOffsets(x$1: geotrellis.raster.viewshed.ViewshedMethods,col: Int,row: Int,exact: Boolean): geotrellis.raster.Tile in object ViewshedMethods$class
<method> <triedcooking> <notoverride>
"viewshedOffsets"
[]
// 1 parameter list
ValDef( // $this: geotrellis.raster.viewshed.ViewshedMethods
<param>
"$this"
<tpt> // tree.tpe=geotrellis.raster.viewshed.ViewshedMethods
<empty>
)
ValDef( // col: Int
<param> <triedcooking>
"col"
<tpt> // tree.tpe=Int
<empty>
)
ValDef( // row: Int
<param> <triedcooking>
"row"
<tpt> // tree.tpe=Int
<empty>
)
ValDef( // exact: Boolean
<param> <defaultparam/trait> <triedcooking>
"exact"
<tpt> // tree.tpe=Boolean
<empty>
)
<tpt> // tree.tpe=geotrellis.raster.Tile
If( // tree.tpe=geotrellis.raster.Tile
"exact" // exact: Boolean, tree.tpe=Boolean
Apply( // def offsets(r: geotrellis.raster.Tile,startCol: Int,startRow: Int): geotrellis.raster.Tile in object Viewshed, tree.tpe=geotrellis.raster.Tile
"Viewshed"."offsets" // def offsets(r: geotrellis.raster.Tile,startCol: Int,startRow: Int): geotrellis.raster.Tile in object Viewshed, tree.tpe=(r: geotrellis.raster.Tile, startCol: Int, startRow: Int)geotrellis.raster.Tile
// 3 arguments
Apply( // final def $asInstanceOf[T0 >: ? <: ?](): T0 in class Object, tree.tpe=geotrellis.raster.Tile
TypeApply( // final def $asInstanceOf[T0 >: ? <: ?](): T0 in class Object, tree.tpe=()geotrellis.raster.Tile
$this.self()."$asInstanceOf" // final def $asInstanceOf[T0 >: ? <: ?](): T0 in class Object, tree.tpe=[T0 >: ? <: ?]()T0
<tpt> // tree.tpe=geotrellis.raster.Tile
)
Nil
)
"col" // col: Int, tree.tpe=Int
"row" // row: Int, tree.tpe=Int
)
Apply( // def offsets(r: geotrellis.raster.Tile,startCol: Int,startRow: Int): geotrellis.raster.Tile in object ApproxViewshed, tree.tpe=geotrellis.raster.Tile
"ApproxViewshed"."offsets" // def offsets(r: geotrellis.raster.Tile,startCol: Int,startRow: Int): geotrellis.raster.Tile in object ApproxViewshed, tree.tpe=(r: geotrellis.raster.Tile, startCol: Int, startRow: Int)geotrellis.raster.Tile
// 3 arguments
Apply( // final def $asInstanceOf[T0 >: ? <: ?](): T0 in class Object, tree.tpe=geotrellis.raster.Tile
TypeApply( // final def $asInstanceOf[T0 >: ? <: ?](): T0 in class Object, tree.tpe=()geotrellis.raster.Tile
$this.self()."$asInstanceOf" // final def $asInstanceOf[T0 >: ? <: ?](): T0 in class Object, tree.tpe=[T0 >: ? <: ?]()T0
<tpt> // tree.tpe=geotrellis.raster.Tile
)
Nil
)
"col" // col: Int, tree.tpe=Int
"row" // row: Int, tree.tpe=Int
)
)
)
DefDef( // def viewshedOffsets$default$3(x$1: geotrellis.raster.viewshed.ViewshedMethods): Boolean in object ViewshedMethods$class
<method> <synthetic> <defaultparam/trait> <triedcooking> <notoverride>
"viewshedOffsets$default$3"
[]
// 1 parameter list
ValDef( // $this: geotrellis.raster.viewshed.ViewshedMethods
<param>
"$this"
<tpt> // tree.tpe=geotrellis.raster.viewshed.ViewshedMethods
<empty>
)
<tpt> // tree.tpe=Boolean
false
)
DefDef( // def $init$(x$1: geotrellis.raster.viewshed.ViewshedMethods): Unit in object ViewshedMethods$class
<method> <triedcooking> <notoverride>
"$init$"
[]
// 1 parameter list
ValDef( // $this: geotrellis.raster.viewshed.ViewshedMethods
<param>
"$this"
<tpt> // tree.tpe=geotrellis.raster.viewshed.ViewshedMethods
<empty>
)
<tpt> // tree.tpe=Unit
Block( // tree.tpe=Unit
{}
()
)
)
)
== Expanded type of tree ==
ConstantType(value = Constant(geotrellis.vector.Line))
uncaught exception during compilation: java.lang.AssertionError
Error:scalac: Error: assertion failed: List(object package$RGBA, object package$RGBA)
java.lang.AssertionError: assertion failed: List(object package$RGBA, object package$RGBA)
at scala.reflect.internal.Symbols$Symbol.suchThat(Symbols.scala:1678)
at scala.reflect.internal.Symbols$ClassSymbol.companionModule0(Symbols.scala:2988)
at scala.reflect.internal.Symbols$ClassSymbol.companionModule(Symbols.scala:2991)
at scala.tools.nsc.backend.jvm.GenASM$JPlainBuilder.genClass(GenASM.scala:1371)
at scala.tools.nsc.backend.jvm.GenASM$AsmPhase.run(GenASM.scala:120)
at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1583)
at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1557)
at scala.tools.nsc.Global$Run.compileSources(Global.scala:1553)
at scala.tools.nsc.Global$Run.compile(Global.scala:1662)
at xsbt.CachedCompiler0.run(CompilerInterface.scala:115)
at xsbt.CachedCompiler0.run(CompilerInterface.scala:94)
at xsbt.CompilerInterface.run(CompilerInterface.scala:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:101)
at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:47)
at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:41)
at org.jetbrains.jps.incremental.scala.local.IdeaIncrementalCompiler.compile(IdeaIncrementalCompiler.scala:29)
at org.jetbrains.jps.incremental.scala.local.LocalServer.compile(LocalServer.scala:26)
at org.jetbrains.jps.incremental.scala.remote.Main$.make(Main.scala:67)
at org.jetbrains.jps.incremental.scala.remote.Main$.nailMain(Main.scala:24)
at org.jetbrains.jps.incremental.scala.remote.Main.nailMain(Main.scala)
at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.martiansoftware.nailgun.NGSession.run(NGSession.java:319)
IntelliJ IDEA 2016.1.3
Build #IC-145.1617, built on June 3, 2016
JRE: 1.8.0_76-release-b198 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
scala-sdk: 2.10.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment