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

NPE Crash on SOQL - when missing a colon on bind variable #295

Open
pwrightcertinia opened this issue Nov 5, 2024 · 0 comments
Open

NPE Crash on SOQL - when missing a colon on bind variable #295

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

Comments

@pwrightcertinia
Copy link
Contributor

java.lang.NullPointerException
	at com.nawforce.apexlink.cst.SOQL$.apply(Primaries.scala:290)
	at com.nawforce.apexlink.cst.Primary$.construct(Primaries.scala:356)
	at com.nawforce.apexlink.cst.Expression$.construct(Expressions.scala:1220)
	at com.nawforce.apexlink.cst.Expression$.construct(Expressions.scala:1215)
	at com.nawforce.apexlink.cst.VariableDeclarator$.$anonfun$construct$1(Variables.scala:77)
	at scala.Option.map(Option.scala:242)
	at com.nawforce.apexlink.cst.VariableDeclarator$.construct(Variables.scala:77)
	at com.nawforce.apexlink.cst.VariableDeclarators$.$anonfun$construct$4(Variables.scala:107)
	at scala.collection.immutable.ArraySeq.map(ArraySeq.scala:75)
	at scala.collection.immutable.ArraySeq.map(ArraySeq.scala:35)
	at com.nawforce.apexlink.cst.VariableDeclarators$.construct(Variables.scala:107)
	at 
	at com.nawforce.apexlink.types.apex.FullDeclaration.$anonfun$validate$2(FullDeclaration.scala:125)
	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.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.ModuleRefresh.$anonfun$refreshInternal$3(ModuleRefresh.scala:87)
	at scala.collection.immutable.List.map(List.sca
@pwrightcertinia pwrightcertinia changed the title NPE Crash on SOQL NPE Crash on SOQL - missing a colon on bind variable Nov 5, 2024
@pwrightcertinia pwrightcertinia changed the title NPE Crash on SOQL - missing a colon on bind variable NPE Crash on SOQL - when missing a colon on bind variable Nov 5, 2024
@pwrightcertinia pwrightcertinia added the bug Something isn't working label Nov 5, 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