My json response is based on elements with date values like “01-01-2021”.
Every attempt to verify the response results in a crash…
WS.verifyElementPropertyValue(response, ‘AAPL.05-03-2021.adj_close’, ‘’)
Please let us know what you are using Katalon Studio for?
- I’m building a Proof of Concept
How would your work be affected if this issue has not been resolved?
- I cannot continue my job and have to work on something else while awaiting your response
Operating System
Windows 10
Katalon Studio Version
8.0.5 208
Katalon Studio logs
!ENTRY org.eclipse.e4.ui.workbench 4 0 2021-07-01 18:45:44.628
!MESSAGE
!STACK 0
java.lang.NullPointerException
at com.kms.katalon.custom.improvement.parser.ProjectCustomKeywordsParser.parseIFile(ProjectCustomKeywordsParser.java:136)
at com.kms.katalon.custom.improvement.parser.ProjectCustomKeywordsParser.parseKeywordFileAndWriteCache(ProjectCustomKeywordsParser.java:118)
at com.kms.katalon.custom.improvement.parser.ProjectCustomKeywordsParser.internallyParseKeywordFile(ProjectCustomKeywordsParser.java:99)
at com.kms.katalon.custom.improvement.parser.ProjectCustomKeywordsParser.parseKeywordFile(ProjectCustomKeywordsParser.java:61)
at com.kms.katalon.custom.improvement.parser.ImprovedCustomKeywordParser.parseCustomKeywordFile(ImprovedCustomKeywordParser.java:80)
at com.kms.katalon.controller.ImprovedKeywordControllerDelegate.parseCustomKeywordFile(ImprovedKeywordControllerDelegate.java:77)
at com.kms.katalon.controller.KeywordController.parseCustomKeywordFile(KeywordController.java:219)
at com.kms.katalon.composer.keyword.handlers.EditorSavedHandler.lambda$0(EditorSavedHandler.java:62)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
!ENTRY org.eclipse.jdt.groovy.core 4 0 2021-07-01 18:46:15.862
!MESSAGE Groovy-Eclipse Type Inferencing: Error visiting method main in class kat-4306651365501772774
!STACK 0
java.lang.NullPointerException
at org.eclipse.jdt.groovy.search.SimpleTypeLookup.findType(SimpleTypeLookup.java:349)
at org.eclipse.jdt.groovy.search.SimpleTypeLookup.lookupType(SimpleTypeLookup.java:98)
at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.lookupExpressionType(TypeInferencingVisitorWithRequestor.java:2702)
at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.handleSimpleExpression(TypeInferencingVisitorWithRequestor.java:2004)
at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.handleSimpleExpression(TypeInferencingVisitorWithRequestor.java:2009)
at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitStaticMethodCallExpression(TypeInferencingVisitorWithRequestor.java:1671)
at org.codehaus.groovy.ast.expr.StaticMethodCallExpression.visit(StaticMethodCallExpression.java:43)
at org.codehaus.groovy.ast.CodeVisitorSupport.visitExpressionStatement(CodeVisitorSupport.java:120)
at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitExpressionStatement(ClassCodeVisitorSupport.java:269)
at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:42)
at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClassCodeContainer(ClassCodeVisitorSupport.java:148)
at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitConstructorOrMethod(TypeInferencingVisitorWithRequestor.java:1112)
at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitMethodInternal(TypeInferencingVisitorWithRequestor.java:659)
at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitJDT(TypeInferencingVisitorWithRequestor.java:467)
at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitJDT(TypeInferencingVisitorWithRequestor.java:376)
at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitCompilationUnit(TypeInferencingVisitorWithRequestor.java:256)
at org.codehaus.groovy.eclipse.search.GroovyOccurrencesFinder.internalFindOccurences(GroovyOccurrencesFinder.java:138)
at org.codehaus.groovy.eclipse.search.GroovyOccurrencesFinder.getOccurrences(GroovyOccurrencesFinder.java:86)
at org.codehaus.groovy.eclipse.search.GroovyOccurrencesFinder.findOccurrences(GroovyOccurrencesFinder.java:194)
at org.codehaus.groovy.eclipse.editor.GroovyEditor.updateOccurrenceAnnotations(GroovyEditor.java:1314)
at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor$6.selectionChanged(JavaEditor.java:3383)
at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:184)
at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup$3.run(SelectionListenerWithASTManager.java:160)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
!ENTRY org.eclipse.e4.ui.workbench 4 0 2021-07-01 18:46:24.566
!MESSAGE
!STACK 0
java.lang.NullPointerException
at com.kms.katalon.custom.improvement.parser.ProjectCustomKeywordsParser.parseIFile(ProjectCustomKeywordsParser.java:136)
at com.kms.katalon.custom.improvement.parser.ProjectCustomKeywordsParser.parseKeywordFileAndWriteCache(ProjectCustomKeywordsParser.java:118)
at com.kms.katalon.custom.improvement.parser.ProjectCustomKeywordsParser.internallyParseKeywordFile(ProjectCustomKeywordsParser.java:99)
at com.kms.katalon.custom.improvement.parser.ProjectCustomKeywordsParser.parseKeywordFile(ProjectCustomKeywordsParser.java:61)
at com.kms.katalon.custom.improvement.parser.ImprovedCustomKeywordParser.parseCustomKeywordFile(ImprovedCustomKeywordParser.java:80)
at com.kms.katalon.controller.ImprovedKeywordControllerDelegate.parseCustomKeywordFile(ImprovedKeywordControllerDelegate.java:77)
at com.kms.katalon.controller.KeywordController.parseCustomKeywordFile(KeywordController.java:219)
at com.kms.katalon.composer.keyword.handlers.EditorSavedHandler.lambda$0(EditorSavedHandler.java:62)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)