java.lang.IllegalArgumentException: requirement failed

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 japgolly
, 2 years ago
requirement failed: Invalid lhs for Assign: This()
via GitHub by davidillsley
, 2 years ago
requirement failed: ' ' not allowed in cookie extension ('expires=Mon, 07-Aug-17 19:33:15 GMT')
java.lang.IllegalArgumentException: requirement failed
at scala.Predef$.require(Predef.scala:207)
at firrtl.passes.ConstProp$.constPropPrim(ConstProp.scala:236)
at firrtl.passes.ConstProp$.firrtl$passes$ConstProp$$constPropExpression$1(ConstProp.scala:274)
at firrtl.passes.ConstProp$$anonfun$1.apply(ConstProp.scala:272)
at firrtl.passes.ConstProp$$anonfun$1.apply(ConstProp.scala:272)
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$ExpMagnet$$anon$5.map(Mappers.scala:111)
at firrtl.Mappers$ExpMap.map(Mappers.scala:144)
at firrtl.passes.ConstProp$.firrtl$passes$ConstProp$$constPropExpression$1(ConstProp.scala:272)
at firrtl.passes.ConstProp$$anonfun$firrtl$passes$ConstProp$$constPropStmt$1$3.apply(ConstProp.scala:289)
at firrtl.passes.ConstProp$$anonfun$firrtl$passes$ConstProp$$constPropStmt$1$3.apply(ConstProp.scala:289)
at firrtl.Mappers$StmtMagnet$$anon$3.map(Mappers.scala:53)
at firrtl.Mappers$StmtMap.map(Mappers.scala:95)
at firrtl.passes.ConstProp$.firrtl$passes$ConstProp$$constPropStmt$1(ConstProp.scala:289)
at firrtl.passes.ConstProp$$anonfun$firrtl$passes$ConstProp$$constPropStmt$1$1.apply(ConstProp.scala:289)
at firrtl.passes.ConstProp$$anonfun$firrtl$passes$ConstProp$$constPropStmt$1$1.apply(ConstProp.scala:289)
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.ConstProp$.firrtl$passes$ConstProp$$constPropStmt$1(ConstProp.scala:289)
at firrtl.passes.ConstProp$$anonfun$firrtl$passes$ConstProp$$constPropStmt$1$1.apply(ConstProp.scala:289)
at firrtl.passes.ConstProp$$anonfun$firrtl$passes$ConstProp$$constPropStmt$1$1.apply(ConstProp.scala:289)
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.Mappers$StmtMagnet$$anon$4.map(Mappers.scala:44)
at firrtl.Mappers$StmtMap.map(Mappers.scala:95)
at firrtl.passes.ConstProp$.firrtl$passes$ConstProp$$constPropStmt$1(ConstProp.scala:289)
at firrtl.passes.ConstProp$$anonfun$firrtl$passes$ConstProp$$constPropStmt$1$1.apply(ConstProp.scala:289)
at firrtl.passes.ConstProp$$anonfun$firrtl$passes$ConstProp$$constPropStmt$1$1.apply(ConstProp.scala:289)
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.ConstProp$.firrtl$passes$ConstProp$$constPropStmt$1(ConstProp.scala:289)
at firrtl.passes.ConstProp$.firrtl$passes$ConstProp$$constPropModule(ConstProp.scala:292)
at firrtl.passes.ConstProp$$anonfun$3.apply(ConstProp.scala:299)
at firrtl.passes.ConstProp$$anonfun$3.apply(ConstProp.scala:297)
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.ConstProp$.run(ConstProp.scala:297)
at firrtl.SimpleRun$$anonfun$1$$anonfun$2.apply(LoweringCompilers.scala:48)
at firrtl.SimpleRun$$anonfun$1$$anonfun$2.apply(LoweringCompilers.scala:48)
at firrtl.Utils$.time(Utils.scala:57)
at firrtl.SimpleRun$$anonfun$1.apply(LoweringCompilers.scala:48)
at firrtl.SimpleRun$$anonfun$1.apply(LoweringCompilers.scala:46)
at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124)
at firrtl.SimpleRun$class.run(LoweringCompilers.scala:45)
at firrtl.EmitVerilogFromLowFirrtl.run(LoweringCompilers.scala:142)
at firrtl.EmitVerilogFromLowFirrtl.execute(LoweringCompilers.scala:154)
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:198)
at firrtl.Driver$.compile(Driver.scala:60)
at firrtl.Driver$.run(Driver.scala:173)
at firrtl.Driver$.main(Driver.scala:96)
at firrtl.Driver.main(Driver.scala)

Users with the same issue

Once, 11 months ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
46 more bugmates

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