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

Syntax crash possibly caused by merge conflict text #292

Open
pwrightcertinia opened this issue Oct 14, 2024 · 0 comments
Open

Syntax crash possibly caused by merge conflict text #292

pwrightcertinia opened this issue Oct 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@pwrightcertinia
Copy link
Contributor

java.lang.Exception: Apex parser context missing stop location, context at line 1, type class io.github.apexdevtools.apexparser.ApexParser$BlockContext
    at com.nawforce.runtime.parsers.Source.stampLocation(Source.scala:106)
    at com.nawforce.apexlink.cst.CST.withContext(CST.scala:36)
    at com.nawforce.apexlink.cst.OuterBlock.$anonfun$statements$4(Statements.scala:142)
    at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59)
    at com.nawforce.apexlink.cst.OuterBlock.statements(Statements.scala:141)
    at com.nawforce.apexlink.cst.OuterBlock.verify(Statements.scala:118)
    at com.nawforce.apexlink.cst.ApexConstructorDeclaration.verify(BodyDeclarations.scala:422)
    at com.nawforce.apexlink.cst.ClassBodyDeclaration.validate(BodyDeclarations.scala:74)
    at com.nawforce.apexlink.types.apex.FullDeclaration.$anonfun$verify$8(FullDeclaration.scala:222)
    at com.nawforce.apexlink.types.apex.FullDeclaration.$anonfun$verify$8$adapted(FullDeclarat
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59)
    at com.nawforce.apexlink.types.apex.FullDeclaration.$anonfun$validate$1(FullDeclaration.scala:122)
    at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
    at com.nawforce.pkgforce.diagnostics.LoggerOps$.time(Logger.scala:125)
    at com.nawforce.pkgforce.diagnostics.LoggerOps$.debugTime(Logger.scala:111)
    at com.nawforce.apexlink.types.apex.FullDeclaration.validate(FullDeclaration.scala:122)
    at [com.nawforce.apexlink.org](http://com.nawforce.apexlink.org/).PackageAPI.$anonfun$reValidate$7(PackageAPI.scala:395)
    at [com.nawforce.apexlink.org](http://com.nawforce.apexlink.org/).PackageAPI.$anonfun$reValidate$7$adapted(PackageAPI.scala:395)
    at scala.collection.mutable.HashSet$Node.foreach(HashSet.scala:435)
    at scala.collection.mutable.HashSet.foreach(HashSet.scala:361)
    at com.
    at [com.nawforce.apexlink.org](http://com.nawforce.apexlink.org/).Flusher.$anonfun$refreshAndFlush$1(Flusher.scala:59)
    at scala.runtime.java8.JFunction0$mcZ$sp.apply(JFunction0$mcZ$sp.scala:17)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59)
    at [com.nawforce.apexlink.org](http://com.nawforce.apexlink.org/).Flusher.refreshAndFlush(Flusher.scala:50)
    at [com.nawforce.apexlink.org](http://com.nawforce.apexlink.org/).CacheFlusher.run(Flusher.scala:108)
    at java.base/java.lang.Thread.run(Thread.java:829)
@pwrightcertinia pwrightcertinia added the bug Something isn't working label Oct 14, 2024
@pwrightcertinia pwrightcertinia changed the title Syntax crash Syntax crash during refresh Oct 14, 2024
@pwrightcertinia pwrightcertinia changed the title Syntax crash during refresh Syntax crash possibly caused by merge conflict text Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant