Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting StackOverFlow Error While Running Maven Plugin #1334

Open
milindbangar79 opened this issue Apr 25, 2023 · 0 comments
Open

Getting StackOverFlow Error While Running Maven Plugin #1334

milindbangar79 opened this issue Apr 25, 2023 · 0 comments

Comments

@milindbangar79
Copy link

milindbangar79 commented Apr 25, 2023

Summary

Getting java.lang.StackOverflowError error while running Mutation analysis on Scala classes.

Exception in thread "main" java.lang.StackOverflowError
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Transformer.apply(Transformer.scala:4)
at scala.meta.transversers.Api$XtensionCollectionLikeUI$transformer$1$.apply(Api.scala:10)
at scala.meta.transversers.Api$XtensionCollectionLikeUI.transform(Api.scala:13)
at stryker4s.mutants.applymutants.StatementTransformer.transformStatement(StatementTransformer.scala:36)
at stryker4s.mutants.applymutants.StatementTransformer.$anonfun$transformMutant$1(StatementTransformer.scala:25)
at scala.collection.immutable.List.map(List.scala:293)
at stryker4s.mutants.applymutants.StatementTransformer.transformMutant(StatementTransformer.scala:24)
at stryker4s.mutants.applymutants.StatementTransformer.$anonfun$transformSource$2(StatementTransformer.scala:12)
at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:286)
at scala.collection.immutable.HashMap$HashMap1.foreach(HashMap.scala:400)
at scala.collection.immutable.HashMap$HashTrieMap.foreach(HashMap.scala:728)
at scala.collection.immutable.HashMap$HashTrieMap.foreach(HashMap.scala:728)
at scala.collection.TraversableLike.map(TraversableLike.scala:286)
at scala.collection.TraversableLike.map$(TraversableLike.scala:279)
at scala.collection.AbstractTraversable.map(Traversable.scala:108)
at stryker4s.mutants.applymutants.StatementTransformer.transformSource(StatementTransformer.scala:12)
at stryker4s.mutants.Mutator.transformStatements(Mutator.scala:103)
at stryker4s.mutants.Mutator.mutateFile(Mutator.scala:45)
at stryker4s.mutants.Mutator.$anonfun$mutate$3(Mutator.scala:32)
at fs2.Chunk$Singleton.map(Chunk.scala:550)
at fs2.Pull$.$anonfun$mapOutputNoScope$1(Pull.scala:1282)
at fs2.Pull$$anon$1.cont(Pull.scala:149)
at fs2.Pull$.fs2$Pull$$bindBindAux(Pull.scala:685)
at fs2.Pull$BindBind.cont(Pull.scala:672)
at fs2.Pull$ContP.apply(Pull.scala:620)
at fs2.Pull$ContP.apply$(Pull.scala:620)
at fs2.Pull$Bind.apply(Pull.scala:628)
at fs2.Pull$Bind.apply(Pull.scala:628)
at fs2.Pull$UnconsRunR$1.$anonfun$out$2(Pull.scala:971)
at fs2.Pull$.$anonfun$compile$2(Pull.scala:904)
at cats.effect.IOFiber.succeeded(IOFiber.scala:1147)
at cats.effect.IOFiber.runLoop(IOFiber.scala:276)
at cats.effect.IOFiber.asyncContinueSuccessfulR(IOFiber.scala:1300)
at cats.effect.IOFiber.run(IOFiber.scala:125)
at cats.effect.unsafe.WorkerThread.run(WorkerThread.scala:531)

I wanted to understand if I can set or pass -Xss JVM parameter to set the Stack size through Maven.

Stryker4s config

stryker4s {
mutate: [ "/main/scala/com/ct/cube/structs/*.scala", "/main/scala/com/ct/cube/utils/*.scala"]
eporters: ["console", "html", "json", "dashboard"]
excluded-mutations: ["BooleanLiteral"]
}

Stryker4s environment

      <plugin>
            <groupId>io.stryker-mutator</groupId>
            <artifactId>stryker4s-maven-plugin</artifactId>
            <version>${stryker4s.version}</version>
        </plugin>
stryker4s 0.14.3

Your Environment

software version(s)
Scala version 2.11.12
Build tool & version Maven 3.8.7
Operating System Windows
@milindbangar79 milindbangar79 changed the title Get StackOverFlow Error While Running Maven Plugin Getting StackOverFlow Error While Running Maven Plugin Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant