java.lang.AssertionError: assertion failed: while compiling: /home/some-user/src/some-project/some-module/macro/src/main/scala/some-url/util/package.scala during phase: globalPhase=terminal, enteringPhase=typer library version: version 2.12.1 compiler version: version 2.12.1 reconstructed args: -Ymacro-expand:none -diagrams -doc-footer Copyright © Some copyright message. -deprecation -groups -doc-title Some API Documentation -Xfatal-warnings -doc-version 0.0.4-SNAPSHOT -no-prefixes -classpath /some/path/macro/target/scala-2.12/classes:/home/some-user/.ivy2/cache/org.scoverage/scalac-scoverage-runtime_2.12/jars/scalac-scoverage-runtime_2.12-1.3.0.jar:/home/some-user/.ivy2/cache/org.scala-lang/scala-reflect/jars/scala-reflect-2.12.1.jar -bootclasspath /usr/lib/jvm/java-8-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-8-oracle/jre/classes:/home/some-user/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.12.1.jar -d /home/some-user/src/some-project/target/scala-2.12/api -implicits last tree to typer: Ident(<argument>) tree position: <unknown> tree tpe: some-url.util.Resource symbol: <none> symbol definition: <none> (a NoSymbol) symbol package: <none> symbol owners: call site: package <root> in <none> <Cannot read source file>

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by MichaelJAllen
, 11 months ago
assertion failed: while compiling: /home/some-user/src/some-project/some-module/macro/src/main/scala/some-url/util/package.scala during phase: globalPhase=terminal, enteringPhase=typer library version: version
java.lang.AssertionError: assertion failed: while compiling: /home/some-user/src/some-project/some-module/macro/src/main/scala/some-url/util/package.scala during phase: globalPhase=terminal, enteringPhase=typer library version: version 2.12.1 compiler version: version 2.12.1 reconstructed args: -Ymacro-expand:none -diagrams -doc-footer Copyright © Some copyright message. -deprecation -groups -doc-title Some API Documentation -Xfatal-warnings -doc-version 0.0.4-SNAPSHOT -no-prefixes -classpath /some/path/macro/target/scala-2.12/classes:/home/some-user/.ivy2/cache/org.scoverage/scalac-scoverage-runtime_2.12/jars/scalac-scoverage-runtime_2.12-1.3.0.jar:/home/some-user/.ivy2/cache/org.scala-lang/scala-reflect/jars/scala-reflect-2.12.1.jar -bootclasspath /usr/lib/jvm/java-8-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-8-oracle/jre/classes:/home/some-user/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.12.1.jar -d /home/some-user/src/some-project/target/scala-2.12/api -implicits last tree to typer: Ident(<argument>) tree position: <unknown> tree tpe: some-url.util.Resource symbol: <none> symbol definition: <none> (a NoSymbol) symbol package: <none> symbol owners: call site: package <root> in <none> <Cannot read source file>
at scala.tools.nsc.doc.model.ModelFactory.findTemplateMaybe(ModelFactory.scala:811)
at scala.tools.nsc.doc.model.MemberLookup.internalLink(MemberLookup.scala:15)
at scala.tools.nsc.doc.model.MemberLookup.internalLink$(MemberLookup.scala:14)
at scala.tools.nsc.doc.DocFactory$$anon$1.internalLink(DocFactory.scala:68)
at scala.tools.nsc.doc.base.MemberLookupBase.$anonfun$memberLookup$6(MemberLookupBase.scala:59)
at scala.tools.nsc.doc.base.MemberLookupBase.memberLookup(MemberLookupBase.scala:59)
at scala.tools.nsc.doc.base.MemberLookupBase.memberLookup$(MemberLookupBase.scala:48)
at scala.tools.nsc.doc.DocFactory$$anon$1.memberLookup(DocFactory.scala:68)
at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:234)
at scala.collection.immutable.Map$Map2.foreach(Map.scala:146)
at scala.collection.TraversableLike.map(TraversableLike.scala:234)
at scala.collection.TraversableLike.map$(TraversableLike.scala:227)
at scala.collection.AbstractTraversable.map(Traversable.scala:104)
at scala.tools.nsc.doc.base.CommentFactoryBase.linkedExceptions$1(CommentFactoryBase.scala:370)
at scala.tools.nsc.doc.base.CommentFactoryBase.parse0$1(CommentFactoryBase.scala:388)
at scala.tools.nsc.doc.base.CommentFactoryBase.parseAtSymbol(CommentFactoryBase.scala:416)
at scala.tools.nsc.doc.base.CommentFactoryBase.parseAtSymbol$(CommentFactoryBase.scala:200)
at scala.tools.nsc.doc.DocFactory$$anon$1.parseAtSymbol(DocFactory.scala:68)
at scala.tools.nsc.doc.model.CommentFactory.parse(CommentFactory.scala:85)
at scala.tools.nsc.doc.model.CommentFactory.parse$(CommentFactory.scala:83)
at scala.tools.nsc.doc.DocFactory$$anon$1.parse(DocFactory.scala:68)
at scala.tools.nsc.doc.model.CommentFactory.defineComment(CommentFactory.scala:75)
at scala.tools.nsc.doc.model.CommentFactory.defineComment$(CommentFactory.scala:38)
at scala.tools.nsc.doc.DocFactory$$anon$1.defineComment(DocFactory.scala:68)
at scala.tools.nsc.doc.model.CommentFactory.comment(CommentFactory.scala:31)
at scala.tools.nsc.doc.model.CommentFactory.comment$(CommentFactory.scala:29)
at scala.tools.nsc.doc.DocFactory$$anon$1.comment(DocFactory.scala:68)
at scala.tools.nsc.doc.model.ModelFactoryImplicitSupport.makeImplicitConversions(ModelFactoryImplicitSupport.scala:102)
at scala.tools.nsc.doc.model.ModelFactoryImplicitSupport.makeImplicitConversions$(ModelFactoryImplicitSupport.scala:85)
at scala.tools.nsc.doc.DocFactory$$anon$1.makeImplicitConversions(DocFactory.scala:68)
at scala.tools.nsc.doc.model.ModelFactory$DocTemplateImpl.(ModelFactory.scala:346)
at scala.tools.nsc.doc.model.ModelFactory$modelCreation$$anon$7.(ModelFactory.scala:642)
at scala.tools.nsc.doc.model.ModelFactory$modelCreation$.createDocTemplate$1(ModelFactory.scala:642)
at scala.tools.nsc.doc.model.ModelFactory$modelCreation$.createTemplate(ModelFactory.scala:689)
at scala.tools.nsc.doc.model.ModelFactory.makeMember0$1(ModelFactory.scala:783)
at scala.tools.nsc.doc.model.ModelFactory.makeMember(ModelFactory.scala:796)
at scala.tools.nsc.doc.model.ModelFactory$DocTemplateImpl.$anonfun$ownMembers$1(ModelFactory.scala:356)
at scala.tools.nsc.doc.model.ModelFactory$DocTemplateImpl.(ModelFactory.scala:356)
at scala.tools.nsc.doc.model.ModelFactory$PackageImpl.(ModelFactory.scala:465)
at scala.tools.nsc.doc.model.ModelFactory$modelCreation$$anon$4.(ModelFactory.scala:675)
at scala.tools.nsc.doc.model.ModelFactory$modelCreation$.createTemplate(ModelFactory.scala:675)
at scala.tools.nsc.doc.model.ModelFactory.makeMember0$1(ModelFactory.scala:783)
at scala.tools.nsc.doc.model.ModelFactory.makeMember(ModelFactory.scala:796)
at scala.tools.nsc.doc.model.ModelFactory$DocTemplateImpl.$anonfun$ownMembers$1(ModelFactory.scala:356)
at scala.tools.nsc.doc.model.ModelFactory$DocTemplateImpl.(ModelFactory.scala:356)
at scala.tools.nsc.doc.model.ModelFactory$PackageImpl.(ModelFactory.scala:465)
at scala.tools.nsc.doc.model.ModelFactory$modelCreation$$anon$4.(ModelFactory.scala:675)
at scala.tools.nsc.doc.model.ModelFactory$modelCreation$.createTemplate(ModelFactory.scala:675)
at scala.tools.nsc.doc.model.ModelFactory.makeMember0$1(ModelFactory.scala:783)
at scala.tools.nsc.doc.model.ModelFactory.makeMember(ModelFactory.scala:796)
at scala.tools.nsc.doc.model.ModelFactory$DocTemplateImpl.$anonfun$ownMembers$1(ModelFactory.scala:356)
at scala.tools.nsc.doc.model.ModelFactory$DocTemplateImpl.(ModelFactory.scala:356)
at scala.tools.nsc.doc.model.ModelFactory$PackageImpl.(ModelFactory.scala:465)
at scala.tools.nsc.doc.model.ModelFactory$modelCreation$$anon$4.(ModelFactory.scala:675)
at scala.tools.nsc.doc.model.ModelFactory$modelCreation$.createTemplate(ModelFactory.scala:675)
at scala.tools.nsc.doc.model.ModelFactory.makeMember0$1(ModelFactory.scala:783)
at scala.tools.nsc.doc.model.ModelFactory.makeMember(ModelFactory.scala:796)
at scala.tools.nsc.doc.model.ModelFactory$DocTemplateImpl.$anonfun$ownMembers$1(ModelFactory.scala:356)
at scala.tools.nsc.doc.model.ModelFactory$DocTemplateImpl.(ModelFactory.scala:356)
at scala.tools.nsc.doc.model.ModelFactory$PackageImpl.(ModelFactory.scala:465)
at scala.tools.nsc.doc.model.ModelFactory$RootPackageImpl.(ModelFactory.scala:473)
at scala.tools.nsc.doc.model.ModelFactory$modelCreation$$anon$1.(ModelFactory.scala:657)
at scala.tools.nsc.doc.model.ModelFactory$modelCreation$.createTemplate(ModelFactory.scala:657)
at scala.tools.nsc.doc.model.ModelFactory$modelCreation$.createRootPackage(ModelFactory.scala:605)
at scala.tools.nsc.doc.model.ModelFactory$$anon$21.(ModelFactory.scala:50)
at scala.tools.nsc.doc.model.ModelFactory.makeModel(ModelFactory.scala:47)
at scala.tools.nsc.doc.DocFactory.makeUniverse(DocFactory.scala:81)
at scala.tools.nsc.doc.DocFactory.generate$1(DocFactory.scala:124)
at scala.tools.nsc.doc.DocFactory.document(DocFactory.scala:131)
at xsbt.Runner.run(ScaladocInterface.scala:26)
at xsbt.ScaladocInterface.run(ScaladocInterface.scala:10)
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:498)
at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:107)
at sbt.compiler.AnalyzingCompiler.doc(AnalyzingCompiler.scala:73)
at sbt.compiler.AnalyzingCompiler.doc(AnalyzingCompiler.scala:68)
at sbt.Doc$$anonfun$scaladoc$1.apply(Doc.scala:23)
at sbt.Doc$$anonfun$scaladoc$1.apply(Doc.scala:23)
at sbt.RawCompileLike$$anonfun$prepare$1.apply(RawCompileLike.scala:64)
at sbt.RawCompileLike$$anonfun$prepare$1.apply(RawCompileLike.scala:56)
at sbt.RawCompileLike$$anonfun$cached$1$$anonfun$2$$anonfun$apply$1.apply(RawCompileLike.scala:49)
at sbt.RawCompileLike$$anonfun$cached$1$$anonfun$2$$anonfun$apply$1.apply(RawCompileLike.scala:47)
at sbt.Tracked$$anonfun$outputChanged$1.apply(Tracked.scala:84)
at sbt.Tracked$$anonfun$outputChanged$1.apply(Tracked.scala:79)
at sbt.RawCompileLike$$anonfun$cached$1.apply(RawCompileLike.scala:54)
at sbt.RawCompileLike$$anonfun$cached$1.apply(RawCompileLike.scala:39)
at sbtunidoc.Plugin$Unidoc$.apply(Plugin.scala:134)
at sbtunidoc.Plugin$$anonfun$baseCommonUnidocTasks$2.apply(Plugin.scala:27)
at sbtunidoc.Plugin$$anonfun$baseCommonUnidocTasks$2.apply(Plugin.scala:27)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
at sbt.std.Transform$$anon$4.work(System.scala:63)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
at sbt.Execute.work(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.