java.text.ParseException

User673228
Kilo Expert

HI everybody,

From actually 1 months, i get sometime the following error into the system logs (type : Error) :

20.06.2016 10:25:05: java.text.ParseException: 20.06.2016 10:25:05: com.glide.util.GlideDateParser.getTokenValue(GlideDateParser.java:264)
com.glide.util.GlideDateParser.parse(GlideDateParser.java:48)
com.glide.util.SimpleDateFormatEx.parseInternal(SimpleDateFormatEx.java:100)
com.glide.util.SimpleDateFormatEx.parse(SimpleDateFormatEx.java:94)
com.glide.glideobject.GlideDate.setValue(GlideDate.java:97)
sun.reflect.GeneratedMethodAccessor501.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:292)
org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2585)
org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
org.mozilla.javascript.gen.sys_ws_operation_cfb3fd7237930200612747efbe41f15e_operation_script_1135._c_getAppDetails_4(sys_ws_operation.cfb3fd7237930200612747efbe41f15e.operation_script:137)
org.mozilla.javascript.gen.sys_ws_operation_cfb3fd7237930200612747efbe41f15e_operation_script_1135.call(sys_ws_operation.cfb3fd7237930200612747efbe41f15e.operation_script)
org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2650)
org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2590)
org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)
org.mozilla.javascript.gen.sys_ws_operation_cfb3fd7237930200612747efbe41f15e_operation_script_1135._c_getCustomApps_3(sys_ws_operation.cfb3fd7237930200612747efbe41f15e.operation_script:45)
org.mozilla.javascript.gen.sys_ws_operation_cfb3fd7237930200612747efbe41f15e_operation_script_1135.call(sys_ws_operation.cfb3fd7237930200612747efbe41f15e.operation_script)
org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2650)
org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2590)
org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:74)
org.mozilla.javascript.gen.sys_ws_operation_cfb3fd7237930200612747efbe41f15e_operation_script_1135._c_process_1(sys_ws_operation.cfb3fd7237930200612747efbe41f15e.operation_script:25)
org.mozilla.javascript.gen.sys_ws_operation_cfb3fd7237930200612747efbe41f15e_operation_script_1135.call(sys_ws_operation.cfb3fd7237930200612747efbe41f15e.operation_script)
org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2650)
org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2590)
org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
org.mozilla.javascript.gen.sys_ws_operation_cfb3fd7237930200612747efbe41f15e_operation_script_1135._c_script_0(sys_ws_operation.cfb3fd7237930200612747efbe41f15e.operation_script:1)
org.mozilla.javascript.gen.sys_ws_operation_cfb3fd7237930200612747efbe41f15e_operation_script_1135.call(sys_ws_operation.cfb3fd7237930200612747efbe41f15e.operation_script)
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:563)
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3428)
org.mozilla.javascript.gen.sys_ws_operation_cfb3fd7237930200612747efbe41f15e_operation_script_1135.call(sys_ws_operation.cfb3fd7237930200612747efbe41f15e.operation_script)
org.mozilla.javascript.gen.sys_ws_operation_cfb3fd7237930200612747efbe41f15e_operation_script_1135.exec(sys_ws_operation.cfb3fd7237930200612747efbe41f15e.operation_script)
com.glide.script.ScriptEvaluator.execute(ScriptEvaluator.java:279)
com.glide.script.ScriptEvaluator.evaluateString(ScriptEvaluator.java:118)
com.glide.script.ScriptEvaluator.evaluateString(ScriptEvaluator.java:82)
com.glide.script.fencing.GlideScopedEvaluator.evaluateScript(GlideScopedEvaluator.java:309)
com.glide.script.fencing.GlideScopedEvaluator.evaluateScript(GlideScopedEvaluator.java:214)
com.glide.script.fencing.GlideScopedEvaluator.evaluateScript(GlideScopedEvaluator.java:201)
com.glide.rest.service.custom.CustomService.runScript(CustomService.java:95)
com.glide.rest.service.custom.CustomService.execute(CustomService.java:82)
com.glide.rest.handler.impl.ServiceHandlerImpl.invokeService(ServiceHandlerImpl.java:36)
com.glide.rest.processors.RESTAPIProcessor.process(RESTAPIProcessor.java:271)
com.glide.processors.AProcessor.runProcessor(AProcessor.java:483)
com.glide.processors.AProcessor.processTransaction(AProcessor.java:205)
com.glide.processors.ProcessorRegistry.process0(ProcessorRegistry.java:178)
com.glide.processors.ProcessorRegistry.process(ProcessorRegistry.java:167)
com.glide.ui.GlideServletTransaction.process(GlideServletTransaction.java:31)
com.glide.sys.Transaction.run(Transaction.java:2038)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)

Unfortunatly, I don't really understand to what / where can come the trouble. My instance use many API and use SOAP and only 1 REST message... but this can be the trouble?

Somebody can help me?

1 ACCEPTED SOLUTION

Sateesh Kumar 2
Kilo Guru

Hello,

Looks like a date parsing error. Date format of any of the integrated system might have got changed.

Check for the time in which this issue occur everytime and try to look for the scheduled imports that you have on your instance.

Check for all the import set log and see if anything is showing warning on date format mismatch to figure out where exactly this occurs.

 

Regards,

Sateesh Kumar Devadoss

View solution in original post

4 REPLIES 4

Sateesh Kumar 2
Kilo Guru

Hello,

Looks like a date parsing error. Date format of any of the integrated system might have got changed.

Check for the time in which this issue occur everytime and try to look for the scheduled imports that you have on your instance.

Check for all the import set log and see if anything is showing warning on date format mismatch to figure out where exactly this occurs.

 

Regards,

Sateesh Kumar Devadoss

Thanks for the reply.

I found the date error from the distance API return me a date dd/mm/yyyy and I was expecting dd.mm.yyyy

Regards,

Steiner F.

Hello steiner,

We are recieving the similar errors how did you identified correct API? Or the correct source of the error from which it is triggering?

Kindly guide me to check the error.

Thanks and Regard,

Meenal

hello Sateesh,

I am getting below error could you please help me to troubleshoot the error.

And could you please let me the where I need to check this error?

 

26/03/2020 13:39:23: java.text.ParseException: 26/03/2020 13:39:23: com.snc.commons.datetime.DateParser.getTokenValue(DateParser.java:269)
com.snc.commons.datetime.DateParser.parse(DateParser.java:53)
com.snc.commons.datetime.SNCSimpleDateFormatEx.parseInternal(SNCSimpleDateFormatEx.java:124)
com.snc.commons.datetime.SNCSimpleDateFormatEx.parse(SNCSimpleDateFormatEx.java:118)
com.glide.util.SimpleDateFormatEx.parse(SimpleDateFormatEx.java:33)
com.glide.glideobject.GlideDate.setValue(GlideDate.java:127)
sun.reflect.GeneratedMethodAccessor3195.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:292)
org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2585)
org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1501)
org.mozilla.javascript.Interpreter.interpret(Interpreter.java:829)
org.mozilla.javascript.InterpretedFunction.lambda$call$0(InterpretedFunction.java:152)
org.mozilla.javascript.Context$ScriptCaller.call(Context.java:2939)
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:151)
org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2651)
org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2590)
org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1501)
org.mozilla.javascript.Interpreter.interpret(Interpreter.java:829)
org.mozilla.javascript.InterpretedFunction.lambda$call$0(InterpretedFunction.java:152)
org.mozilla.javascript.Context$ScriptCaller.call(Context.java:2939)
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:151)
org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2651)
org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2590)
org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1501)
org.mozilla.javascript.Interpreter.interpret(Interpreter.java:829)
org.mozilla.javascript.InterpretedFunction.lambda$call$0(InterpretedFunction.java:152)
org.mozilla.javascript.Context$ScriptCaller.call(Context.java:2939)
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:151)
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:563)
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3429)
org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:164)
com.glide.script.ScriptEvaluator.execute(ScriptEvaluator.java:279)
com.glide.script.ScriptEvaluator.evaluateString(ScriptEvaluator.java:118)
com.glide.script.ScriptEvaluator.evaluateString(ScriptEvaluator.java:82)
com.glide.service_portal.SPScriptEvaluator.eval(SPScriptEvaluator.java:37)
com.glide.service_portal.widget.SPScriptRunner.eval(SPScriptRunner.java:221)
com.glide.service_portal.widget.SPScriptRunner.runScript(SPScriptRunner.java:96)
com.glide.service_portal.widget.SPWidget.get(SPWidget.java:124)
com.glide.service_portal.widget.SPWidget.get(SPWidget.java:107)
com.glide.service_portal.page.SPPageLayoutCache.convert(SPPageLayoutCache.java:85)
com.glide.service_portal.page.SPPageLayoutCache.convertArray(SPPageLayoutCache.java:62)
com.glide.service_portal.page.SPPageLayoutCache.convert(SPPageLayoutCache.java:92)
com.glide.service_portal.page.SPPageLayoutCache.convertArray(SPPageLayoutCache.java:62)
com.glide.service_portal.page.SPPageLayoutCache.convert(SPPageLayoutCache.java:92)
com.glide.service_portal.page.SPPageLayoutCache.convertArray(SPPageLayoutCache.java:62)
com.glide.service_portal.page.SPPageLayoutCache.convert(SPPageLayoutCache.java:92)
com.glide.service_portal.page.SPPageLayoutCache.convertArray(SPPageLayoutCache.java:62)
com.glide.service_portal.page.SPPageLayoutCache.getContainersFromCache(SPPageLayoutCache.java:26)
com.glide.service_portal.page.SPPageLayoutCache.getContainers(SPPageLayoutCache.java:32)
com.glide.service_portal.page.SPPageCache.getContainers(SPPageCache.java:26)
com.glide.service_portal.page.SPPage.buildPageResponse(SPPage.java:93)
com.glide.service_portal.page.SPPage.getPage(SPPage.java:80)
com.glide.service_portal.page.SPPage.get(SPPage.java:57)
com.glide.service_portal.SPRestService.page(SPRestService.java:86)
sun.reflect.GeneratedMethodAccessor31955.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
com.glide.rest.handler.impl.ServiceHandlerImpl.invokeService(ServiceHandlerImpl.java:44)
com.glide.rest.processors.RESTAPIProcessor.process(RESTAPIProcessor.java:286)
com.glide.processors.AProcessor.runProcessor(AProcessor.java:553)
com.glide.processors.AProcessor.processTransaction(AProcessor.java:241)
com.glide.processors.ProcessorRegistry.process0(ProcessorRegistry.java:177)
com.glide.processors.ProcessorRegistry.process(ProcessorRegistry.java:166)
com.glide.ui.GlideServletTransaction.process(GlideServletTransaction.java:31)
com.glide.sys.Transaction.run(Transaction.java:2218)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)

 

Awaiting your response !

Thanks and Regards

Meenal