oracle.oai.agent.common.AgentRuntimeException: Primitive attribute TestInteger is of unsupported type 2.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 434422, 1 year ago
Primitive attribute TestInteger is of unsupported type 2.
via Oracle Community by 480042, 1 year ago
implement messages and do not add other attributes. The message is a simple one with a id attribute and a string attribute. The logging shows that the message looks as expected when it comes to the FTP-adapter. I seems strange that the error states that a message can ony have one attribute. The stacktrace is as follows:
oracle.oai.agent.common.AgentRuntimeException: Primitive attribute TestInteger is of unsupported type 2.
at oracle.oai.agent.client.XMLFromAOConverter.addObjectAttribute(XMLFromAOConverter.java:289)
at oracle.oai.agent.client.XMLFromAOConverter.addObjectAttribute(XMLFromAOConverter.java:192)
at oracle.oai.agent.client.XMLFromAOConverter.toXML(XMLFromAOConverter.java:91)
at oracle.oai.agent.client.XMLFromAOConverter.getXMLData(XMLFromAOConverter.java:72)
at oracle.oai.agent.client.AgentImpl.convertMessageObjectToXML(AgentImpl.java:218)
at oracle.oai.agent.adapter.technology.TechBridge.messageReceived(TechBridge.java:835)
at oracle.oai.agent.client.SmartQueueDispatcher.run(SmartQueueDispatcher.java:463)
at java.lang.Thread.run(Thread.java:536)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.