Invalid Data Type Query Error When Attempting to Create A Custom Event For The Data Query Type Work Invoice (Doc ID 1194595.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version: 6.1.1 and later   [Release: 6.1 and later ]
Information in this document applies to any platform.

Symptoms

The following error is received when attempting to create a custom Agent Event with a data query type of "Work Invoice".

ERROR
-----------------------
glog.webserver.update.ValidateException: Invalid data query type: WORK INVOICE

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Log into OTM.
2. Go to Business Process Automation --> Power Data --> Event Management --> Agent Events.
3. Click on New.
4. Put in an ID of Work Invoice Test and a Data Query Type of "Work Invoice".
5. Click Finished.
6. Note the error:

Stack Trace
Create Error:
glog.webserver.update.ValidateException: Invalid data query type: WORK INVOICE at
glog.server.query.agent.AgentEventHandler.validate(AgentEventHandler.java:31) at glog.webserver.update.GenericContainerXMLUpdate.create(GenericContainerXMLUpda
te.java:375) at
glog.webserver.update.GenericContainerXMLUpdate.process(GenericContainerXMLUpdate.java:82) at
glog.server.xmlupdate.XMLUpdateSessionBean.updateAndTrack(XMLUpdateSessionBean.java:244)
at glog.server.xmlupdate.XMLUpdateSessionServerSideEJBWrapper.updateAndTrack(XMLU
pdateSessionServerSideEJBWrapper.java:344) at
glog.server.xmlupdate.XMLUpdateSessionHome_x72wrp_EOImpl.updateAndTrack(XMLUpdateSessionHome_x72wrp_EOImpl.java:285) at
glog.server.xmlupdate.XMLUpdateSessionHome_x72wrp_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589) at
weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230 )
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject. java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)



Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms