scala.MatchError: EmptyExpression (of class firrtl.EmptyExpression$)

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 ccelio
, 1 year ago
via GitHub by ccelio
, 7 months ago
scala.MatchError: EmptyExpression (of class firrtl.EmptyExpression$)
at firrtl.passes.InferTypes$.firrtl$passes$InferTypes$$infer_types_e$1(Passes.scala:172)
at firrtl.passes.InferTypes$$anonfun$7.apply(Passes.scala:172)
at firrtl.passes.InferTypes$$anonfun$7.apply(Passes.scala:172)
at firrtl.Mappers$ExpMagnet$$anon$5.map(Mappers.scala:112)
at firrtl.Mappers$ExpMap.map(Mappers.scala:144)
at firrtl.passes.InferTypes$.firrtl$passes$InferTypes$$infer_types_e$1(Passes.scala:172)
at firrtl.passes.InferTypes$$anonfun$firrtl$passes$InferTypes$$infer_types_s$1$5.apply(Passes.scala:213)
at firrtl.passes.InferTypes$$anonfun$firrtl$passes$InferTypes$$infer_types_s$1$5.apply(Passes.scala:213)
at firrtl.Mappers$StmtMagnet$$anon$3.map(Mappers.scala:54)
at firrtl.Mappers$StmtMap.map(Mappers.scala:95)
at firrtl.passes.InferTypes$.firrtl$passes$InferTypes$$infer_types_s$1(Passes.scala:213)
at firrtl.passes.InferTypes$$anonfun$firrtl$passes$InferTypes$$infer_types_s$1$3.apply(Passes.scala:213)
at firrtl.passes.InferTypes$$anonfun$firrtl$passes$InferTypes$$infer_types_s$1$3.apply(Passes.scala:213)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
at scala.collection.immutable.List.foreach(List.scala:381)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:245)
at firrtl.Mappers$StmtMagnet$$anon$4.map(Mappers.scala:44)
at firrtl.Mappers$StmtMap.map(Mappers.scala:95)
at firrtl.passes.InferTypes$.firrtl$passes$InferTypes$$infer_types_s$1(Passes.scala:213)
at firrtl.passes.InferTypes$.firrtl$passes$InferTypes$$infer_types$1(Passes.scala:220)
at firrtl.passes.InferTypes$$anonfun$run$2.apply(Passes.scala:236)
at firrtl.passes.InferTypes$$anonfun$run$2.apply(Passes.scala:236)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:245)
at scala.collection.AbstractTraversable.map(Traversable.scala:104)
at firrtl.passes.InferTypes$.run(Passes.scala:236)
at firrtl.passes.ReplSeqMem$$anonfun$execute$1$$anonfun$7.apply(ReplSeqMem.scala:128)
at firrtl.passes.ReplSeqMem$$anonfun$execute$1$$anonfun$7.apply(ReplSeqMem.scala:128)
at firrtl.Utils$.time(Utils.scala:57)
at firrtl.passes.ReplSeqMem$$anonfun$execute$1.apply(ReplSeqMem.scala:128)
at firrtl.passes.ReplSeqMem$$anonfun$execute$1.apply(ReplSeqMem.scala:127)
at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124)
at firrtl.passes.ReplSeqMem.execute(ReplSeqMem.scala:126)
at firrtl.Compiler$$anonfun$compile$1.apply(Compiler.scala:71)
at firrtl.Compiler$$anonfun$compile$1.apply(Compiler.scala:70)
at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124)
at firrtl.Compiler$class.compile(Compiler.scala:70)
at firrtl.VerilogCompiler.compile(LoweringCompilers.scala:199)
at firrtl.Driver$.compile(Driver.scala:109)
at firrtl.Driver$.run(Driver.scala:183)
at firrtl.Driver$.main(Driver.scala:86)
at firrtl.Driver.main(Driver.scala)

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.