org.openhealthtools.openatna.anom.AtnaException: Invalid combination of role and type. Role:RESOURCE type:SYSTEM_OBJECT

JIRA | Stéphane Spahni | 4 years ago
  1. 0

    Exceptions raised by different audit logs: ==> x1.txt <== (epsos-11) org.openhealthtools.openatna.syslog.SyslogException: org.openhealthtools.openatna.anom.AtnaException: Message has no event outcome at org.openhealthtools.openatna.audit.process.AtnaLogMessage.read(AtnaLogMessage.java:80) at org.openhealthtools.openatna.syslog.protocol.ProtocolMessageFactory.read(ProtocolMessageFactory.java:189) at org.openhealthtools.openatna.syslog.GenericMessageFactory.read(GenericMessageFactory.java:94) at org.openhealthtools.openatna.syslog.mina.tls.SyslogMessageDecoder.createMessage(SyslogMessageDecoder.java:143) ==> x2.txt <== (epsos-51) org.openhealthtools.openatna.anom.AtnaException: Invalid combination of role and type. Role:RESOURCE type:SYSTEM_OBJECT at org.openhealthtools.openatna.audit.process.ValidationProcessor.validateObjectTypeCodeRole(ValidationProcessor.java:257) at org.openhealthtools.openatna.audit.process.ValidationProcessor.validateObject(ValidationProcessor.java:211) at org.openhealthtools.openatna.audit.process.ValidationProcessor.validate(ValidationProcessor.java:149) at org.openhealthtools.openatna.audit.process.ValidationProcessor.process(ValidationProcessor.java:104) ==> x3.txt <== (epsos-51) org.openhealthtools.openatna.anom.AtnaException: Invalid combination of role and type. Role:RESOURCE type:SYSTEM_OBJECT at org.openhealthtools.openatna.audit.process.ValidationProcessor.validateObjectTypeCodeRole(ValidationProcessor.java:257) at org.openhealthtools.openatna.audit.process.ValidationProcessor.validateObject(ValidationProcessor.java:211) at org.openhealthtools.openatna.audit.process.ValidationProcessor.validate(ValidationProcessor.java:149) at org.openhealthtools.openatna.audit.process.ValidationProcessor.process(ValidationProcessor.java:104) ==> x4.txt <== (epsos-51) org.openhealthtools.openatna.syslog.SyslogException: Invalid combination of role and type. Role:RESOURCE type:SYSTEM_OBJECT at org.openhealthtools.openatna.audit.process.AtnaMessageListener.messageArrived(AtnaMessageListener.java:70) at org.openhealthtools.openatna.audit.server.MessageQueue$Runner.run(MessageQueue.java:99) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) ==> x5.txt <== (epsos-21) org.openhealthtools.openatna.syslog.SyslogException: org.openhealthtools.openatna.anom.AtnaException: object has no Id at org.openhealthtools.openatna.audit.process.AtnaLogMessage.read(AtnaLogMessage.java:80) at org.openhealthtools.openatna.syslog.protocol.ProtocolMessageFactory.read(ProtocolMessageFactory.java:189) at org.openhealthtools.openatna.syslog.GenericMessageFactory.read(GenericMessageFactory.java:94) at org.openhealthtools.openatna.syslog.mina.tls.SyslogMessageDecoder.createMessage(SyslogMessageDecoder.java:143)

    JIRA | 4 years ago | Stéphane Spahni
    org.openhealthtools.openatna.anom.AtnaException: Invalid combination of role and type. Role:RESOURCE type:SYSTEM_OBJECT
  2. 0

    New problem reported by ATNA log server when reveiving a epsos-51 log. See 2 exceptions associated with the 2 epsos-51 messages (files attached) org.openhealthtools.openatna.syslog.SyslogException: Invalid combination of role and type. Role:RESOURCE type:SYSTEM_OBJECT at org.openhealthtools.openatna.audit.process.AtnaMessageListener.messageArrived(AtnaMessageListener.java:70) at org.openhealthtools.openatna.audit.server.MessageQueue$Runner.run(MessageQueue.java:99) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.openhealthtools.openatna.anom.AtnaException: Invalid combination of role and type. Role:RESOURCE type:SYSTEM_OBJECT at org.openhealthtools.openatna.audit.process.ValidationProcessor.validateObjectTypeCodeRole(ValidationProcessor.java:257) at org.openhealthtools.openatna.audit.process.ValidationProcessor.validateObject(ValidationProcessor.java:211) at org.openhealthtools.openatna.audit.process.ValidationProcessor.validate(ValidationProcessor.java:149) at org.openhealthtools.openatna.audit.process.ValidationProcessor.process(ValidationProcessor.java:104) at org.openhealthtools.openatna.audit.process.ProcessorChain.process(ProcessorChain.java:166) at org.openhealthtools.openatna.audit.service.AuditServiceImpl.process(AuditServiceImpl.java:155) at org.openhealthtools.openatna.audit.process.AtnaMessageListener.messageArrived(AtnaMessageListener.java:62) ... 4 more

    JIRA | 4 years ago | Marcelo Fonseca
    org.openhealthtools.openatna.syslog.SyslogException: Invalid combination of role and type. Role:RESOURCE type:SYSTEM_OBJECT
  3. 0

    If transformation manager is enabled to write audit messages, it fails to produce valid audits. Audits miss active participants, which is not accepted by OpenATNA. Example of audit: {code} <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <AuditMessage> <EventIdentification EventOutcomeIndicator="0" EventDateTime="2013-05-22T18:17:37.376+03:00" EventActionCode="E"> <EventID codeSystemName="epSOS Transaction" displayName="ncpTransformationMgr::Translate" code="epsos-94"/> </EventIdentification> <AuditSourceIdentification AuditSourceID="EP-00"/> <ParticipantObjectIdentification ParticipantObjectTypeCode="4" ParticipantObjectID=""> <ParticipantObjectIDTypeCode codeSystemName="epSOS Msg" displayName="Request Message" code="req"/> <ParticipantObjectDetail value="" type="securityheader"/> </ParticipantObjectIdentification> <ParticipantObjectIdentification ParticipantObjectDataLifeCycle="5" ParticipantObjectTypeCode="4" ParticipantObjectID=""> <ParticipantObjectIDTypeCode codeSystemName="epSOS Tranlation" displayName="Input Data" code="in"/> </ParticipantObjectIdentification> <ParticipantObjectIdentification ParticipantObjectTypeCode="4" ParticipantObjectID=""> <ParticipantObjectIDTypeCode codeSystemName="epSOS Msg" displayName="Response Message" code="rsp"/> <ParticipantObjectDetail value="" type="securityheader"/> </ParticipantObjectIdentification> <ParticipantObjectIdentification ParticipantObjectDataLifeCycle="5" ParticipantObjectTypeCode="4" ParticipantObjectID=""> <ParticipantObjectIDTypeCode codeSystemName="epSOS Tranlation" displayName="Output Data" code="out"/> </ParticipantObjectIdentification> </AuditMessage> {code} Error thrown by OpenATNA: {code} ERROR 2013-05-22 18:17:37,631 ATNA.ATNA_ERROR_LOG log.64 - ===> ATNA EXCEPTION THROWN ** ATNA ERROR:NO_ACTIVE_PARTICIPANT** org.openhealthtools.openatna.anom.AtnaException: no participants defined at org.openhealthtools.openatna.audit.process.ValidationProcessor.validate(ValidationProcessor.java:146) at org.openhealthtools.openatna.audit.process.ValidationProcessor.process(ValidationProcessor.java:108) at org.openhealthtools.openatna.audit.process.ProcessorChain.process(ProcessorChain.java:166) at org.openhealthtools.openatna.audit.service.AuditServiceImpl.process(AuditServiceImpl.java:155) at org.openhealthtools.openatna.audit.process.AtnaMessageListener.messageArrived(AtnaMessageListener.java:74) at org.openhealthtools.openatna.audit.server.MessageQueue$Runner.run(MessageQueue.java:99) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) {code} In addition, an error is written on the NCP log. The workaround is to disable transformation manager audits.

    JIRA | 4 years ago | Konstantin Hyppönen
    org.openhealthtools.openatna.anom.AtnaException: no participants defined
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.openhealthtools.openatna.anom.AtnaException

      Invalid combination of role and type. Role:RESOURCE type:SYSTEM_OBJECT

      at org.openhealthtools.openatna.audit.process.ValidationProcessor.validateObjectTypeCodeRole()
    2. org.openhealthtools.openatna
      ValidationProcessor.process
      1. org.openhealthtools.openatna.audit.process.ValidationProcessor.validateObjectTypeCodeRole(ValidationProcessor.java:257)
      2. org.openhealthtools.openatna.audit.process.ValidationProcessor.validateObject(ValidationProcessor.java:211)
      3. org.openhealthtools.openatna.audit.process.ValidationProcessor.validate(ValidationProcessor.java:149)
      4. org.openhealthtools.openatna.audit.process.ValidationProcessor.process(ValidationProcessor.java:104)
      4 frames