Skip to Content
avatar image
Former Member

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Oct 18, 2012 at 03:20 PM

    Hi Paul,

    This looks to me as some basis setting problem in the attributes of the file channel in your server.

    I would suggest raising an OSS note and checking with SAP itself.

    Best Luck,

    V J

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 29, 2012 at 04:26 AM

    Hi Paul,

    I am facing same issue in my production environment. Could you please help me about this how to solve?

    Thank you very much.


    Sateesh

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 29, 2012 at 05:06 AM

    Hi Paul,

    Please let us know if any recent Upgrade happened in your PI server. This issue comes usually for Service pack upgrades.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Sateesh,

      Please check the SAP Note: 904833.

      You get this error when ever u upgrade to a different SP level. Make sure all the components are upgraded to SP30 by checking with Basis team.

      Apply SP 30 to all components as per the XI section of the SAP PDF document "Applying Support Packages in SAP Netweaver 04 Scenarios" from sap service mktplace/sp-stacks.

      You should be able to  view the sp level of all the components using the following link

      http://server:port/sap/monitoring/ComponentInfo

      Incomplete up-gradation is the cause for this type of error.

  • avatar image
    Former Member
    Dec 05, 2012 at 01:10 PM

    Hello Paul,

    Could you please help me to solve this issue, I have facing same situation of error.


    Thank you very much.


    Best Regards,
    Sateesh

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 06, 2012 at 01:06 PM

    Hello,

    There have been some recent changes to authorizations required to run these OS commands. See note #1645844 PI SEC: Missing authorization check in Integration. Check if the user has the required authorizations. See also note #1717530 PI File Adapter OS Command error - ERROR_OSCMD_NOT_ALLOWED.

    Regards

    Mark

    Add comment
    10|10000 characters needed characters exceeded