My Oracle Support Banner

'An Undefined Error Has Occurred. Please Try Again Later' Message When Trying to Change the Classification Code on Transaction Line (Doc ID 2482900.1)

Last updated on MAY 06, 2022

Applies to:

Oracle Trade Compliance Cloud Service - Version 18 and later
Oracle Global Trade Management Cloud Service - Version 18 and later
Information in this document applies to any platform.

Symptoms

When attempting to edit the 'Product Classification' row on a Trade Transaction Line and change the Classification Code; Save; Finished, the following error occurs.

ERROR
-----------------------
An Undefined Error Has Occurred. Please Try Again Later.

NOTE: In the logs you will see the following error.

java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:658)
at glog.comm.query.Query$Criterion.init(Query.java:2417)
at glog.comm.query.Query$Criterion.(Query.java:2258)
at gtm.webserver.finder.models.ProdClassCodeForItemFinderModel.getCriterionObjects(ProdClassCodeForItemFinderModel.java:50)
at glog.webserver.util.DocumentUpdateServlet.getQueryByValueFromRequest(DocumentUpdateServlet.java:1078)
at glog.webserver.util.DocumentUpdateServlet.getQueryByValueFromRequest(DocumentUpdateServlet.java:1047)
at glog.webserver.util.DocumentUpdateServlet.setQueryByElementValue(DocumentUpdateServlet.java:1538)
at glog.webserver.util.DocumentUpdateServlet.handleField(DocumentUpdateServlet.java:433)
at glog.webserver.util.DocumentUpdateServlet.processClientGrid(DocumentUpdateServlet.java:261)
at glog.webserver.util.DocumentUpdateServlet.processClientGrids(DocumentUpdateServlet.java:167)
at glog.webserver.util.DocumentUpdateServlet.getDocument(DocumentUpdateServlet.java:90)
at glog.webserver.util.AbstractServletProducer.process(AbstractServletProducer.java:80)
at glog.webserver.util.BaseServlet.serviceInternal(BaseServlet.java:995)
at glog.webserver.util.BaseServlet.doServicePost(BaseServlet.java:894)
at glog.webserver.util.BaseServlet.service(BaseServlet.java:882)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at glog.webserver.screenlayout.CsrfFilter.doFilter(CsrfFilter.java:79)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at glog.webserver.session.ParameterValidation.doFilter(ParameterValidation.java:32)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at glog.webserver.session.clientsession.ClientSessionFilter.doFilter(ClientSessionFilter.java:74)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at glog.webserver.session.CacheControlFilter.doFilter(CacheControlFilter.java:29)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at glog.webserver.session.ProtectionHeaderFilter.doFilter(ProtectionHeaderFilter.java:25)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at glog.webserver.session.ContentTypeHeaderFilter.doFilter(ContentTypeHeaderFilter.java:25)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at glog.webserver.session.CSPFilter.doFilter(CSPFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at glog.webserver.screenlayout.FrameInterceptFilter.doFilter(FrameInterceptFilter.java:33)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at glog.webserver.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:46)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at oracle.security.jps.ee.http.JpsAbsFilter$3.run(JpsAbsFilter.java:172)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:650)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:110)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilterInternal(JpsAbsFilter.java:273)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:147)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:94)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:248)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:32)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3701)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3667)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2443)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2291)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2269)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1705)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1665)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:272)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:652)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)

STEPS
-----------------------
The issue can be reproduced at will with the following steps:

Open a Transaction Line -> Edit -> Click the pencil to edit the 'Product Classification' row -> try to change the code -> Save -> Finished -> You will get this message

An Undefined Error Has Occurred. Please Try Again Later.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.