Hello can anyone tell me - what is wrong in this `...
# intellij-plugins
r
Hello can anyone tell me - what is wrong in this
createExpression
-
Copy code
KtPsiFactory(psiElement.project).createExpression(" \"query ").text
I am getting exception -
Copy code
result = {AssertionError@41373} Method threw 'java.lang.AssertionError' exception.
 backtrace = {Object[5]@41375} 
 detailMessage = "Failed to create expression from text: ' "query ', resulting expression's text was: '"query '"
 cause = {AssertionError@41373} "java.lang.AssertionError: Failed to create expression from text: ' "query ', resulting expression's text was: '"query '"
 stackTrace = {StackTraceElement[103]@41377} 
 depth = 103
 suppressedExceptions = {Collections$EmptyList@35676}  size = 0