Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error using "Run Operating System Command After Message Processing"

Hi,

When I go into an adapter and attempt to put something in the "Command Line" parameter of "Run Operating System Command After Message Processing" I get the following horrific error trail when I attempt to Save the changes:

#79 13:22:36 [AWT-EventQueue-0] ERROR com.sap.aii.utilxi.swing.toolkit.ExceptionDialog: Throwable

Thrown:

MESSAGE ID: com.sap.aii.ib.sbeans.oa.rb_all.RUNTIME_EXCEPTION_OCCURED

com.sap.aii.utilxi.swing.framework.PersistenceException: Runtime error (RuntimeException). See details

    at com.sap.aii.ib.gui.editor.XiDocument.save(XiDocument.java:472)

    at com.sap.aii.utilxi.swing.framework.cmd.SaveCommand.execute(SaveCommand.java:56)

    at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:196)

    at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:134)

    at com.sap.aii.utilxi.swing.framework.CommandAction.actionPerformed(CommandAction.java:69)

    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

    at java.awt.Component.processMouseEvent(Unknown Source)

    at javax.swing.JComponent.processMouseEvent(Unknown Source)

    at java.awt.Component.processEvent(Unknown Source)

    at java.awt.Container.processEvent(Unknown Source)

    at java.awt.Component.dispatchEventImpl(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Window.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.run(Unknown Source)

Root cause:

MESSAGE ID: com.sap.aii.ib.sbeans.oa.rb_all.RUNTIME_EXCEPTION_OCCURED

com.sap.aii.ib.core.oa.ObjectAccessException: Runtime error (RuntimeException). See details

    at com.sap.aii.ib.sbeans.oa.ObjectAccessBean.wrapRuntimeException(ObjectAccessBean.java:492)

    at com.sap.aii.ib.sbeans.oa.ObjectAccessBean.update(ObjectAccessBean.java:388)

    at com.sap.aii.ib.sbeans.oa.ObjectAccessRemoteObjectImpl1_0.update(ObjectAccessRemoteObjectImpl1_0.java:2128)

    at com.sap.aii.ib.sbeans.oa.ObjectAccessRemoteObjectImpl1_0p4_Skel.dispatch(ObjectAccessRemoteObjectImpl1_0p4_Skel.java:712)

    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:330)

    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:201)

    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:137)

    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

    at java.security.AccessController.doPrivileged(Native Method)

    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)

    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

Serialized server exceptions:

MESSAGE ID: java.lang.NullPointerException (serialized)

java.lang.NullPointerException: java.lang.NullPointerException

    at com.sap.aii.ibdir.server.check.InternalCheckServiceFileChannel.isAttributeChanged(InternalCheckServiceFileChannel.java:147)

        at com.sap.aii.ibdir.server.check.InternalCheckServiceFileChannel.checkObject(InternalCheckServiceFileChannel.java:54)

        at com.sap.aii.ibdir.server.check.InternalCheckServiceChannel.checkObject(InternalCheckServiceChannel.java:164)

        at com.sap.aii.ib.core.check.CheckServiceProvider$CheckServiceImpl.checkObject(CheckServiceProvider.java:98)

        at com.sap.aii.ib.server.oa.ServerObjectAccess.update(ServerObjectAccess.java:1445)

        at com.sap.aii.ib.sbeans.oa.ObjectAccessBean.update(ObjectAccessBean.java:382)

        at com.sap.aii.ib.sbeans.oa.ObjectAccessRemoteObjectImpl1_0.update(ObjectAccessRemoteObjectImpl1_0.java:2128)

        at com.sap.aii.ib.sbeans.oa.ObjectAccessRemoteObjectImpl1_0p4_Skel.dispatch(ObjectAccessRemoteObjectImpl1_0p4_Skel.java:712)

        at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:330)

        at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:201)

        at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:137)

        at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

        at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

        at java.security.AccessController.doPrivileged(Native Method)

        at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)

        at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

I get no issues when I put something in the "Command Line" parameter of "Run Operating System Command Before Message Processing".

Is anyone able to interpret the above error and tell me what the issue is on our dev PI environment ?

Cheers,

PaulC.

Former Member
Not what you were looking for? View more on this topic or Ask a question