cancel
Showing results for 
Search instead for 
Did you mean: 

PI 7.1 Error, For Input String: ""

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Experts,

I need help in troubleshooting this issue. Whenever I try to open one of a udf-intensive mapping, this is the error I'm getting. I've also tried searching this in SDN but to no avail. The steps that I have done are:

1. Exported the mapping in an XI copy and imported it in PI 7.1, same error.

2. Removed the UDFs in the XI mapping copy and imported it in PI 7.1, still got the same error.

Ideas anyone?

Accepted Solutions (0)

Answers (4)

Answers (4)

0 Kudos

hi,

I had the same problem. The cause was I had a copyValue() function and the parameter (which should have been numeric) was missing. XI did not care about it but PI reports an error and you cannot open the mapping

Marcos

markangelo_dihiansan
Active Contributor
0 Kudos

When making UDFs, make sure that you declare the function in the functions tab first before proceeding with the graphical mapping

stefan_grube
Active Contributor
0 Kudos

It seems that your mapping is corrupt.

Open an OSS ticket for this issue.

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Stefan,

Thanks for this one. I will be raising a ticket and will update this thread afterwards.

Regards,

Mark

stefan_grube
Active Contributor
0 Kudos

which SP do you have?

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Stefan,

We are using SPS07.

Regards,

Mark

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>Whenever I try to open one of a udf-intensive mapping, this is the error I'm getting

can you test the mapping ? maybe test tab would show a better error desc ?

(you can try testing from Operation mapping instead of message mapping)

Regards,

Michal Krawczyk

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Michal,

Thanks for the quick response, I did as what you have instructed. Just opening the message mapping itself, it is already generating the error. And whenever I press okay, the Definition, Test and Functions tab in the message mapping goes blank. However, when testing using operation mapping, it is producing correct output. Here is the error in the message mapping:

-


STACKTRACE:

com.sap.aii.utilxi.misc.api.BaseRuntimeException: For input string: ""

at com.sap.aii.mappingtool.Project.load(Project.java:561)

at com.sap.aii.mappingtool.Project.loadMetadata(Project.java:823)

at com.sap.aii.mappingtool.Project.<init>(Project.java:178)

at com.sap.aii.mappingtool.api.MappingToolFactory.getInstance(MappingToolFactory.java:53)

at com.sap.aii.mappingtool.fwutil.util.ToolUtil.restartTool(ToolUtil.java:350)

at com.sap.aii.mappingtool.fwutil.api.ViewUtil.refreshControls(ViewUtil.java:61)

at com.sap.aii.ibrep.gui.mapping.xitrafo.XiMappingView.refreshControls(XiMappingView.java:195)

at com.sap.aii.ibrep.gui.mapping.xitrafo.XiTransformationView.refreshControls(XiTransformationView.java:130)

at com.sap.aii.ib.gui.editor.XiView.refresh(XiView.java:238)

at com.sap.aii.utilxi.swing.framework.DocumentContainer.refreshView(DocumentContainer.java:341)

at com.sap.aii.ibrep.gui.mapping.xitrafo.TabbedPane$TabChangeListener.stateChanged(TabbedPane.java:203)

at javax.swing.JTabbedPane.fireStateChanged(Unknown Source)

at javax.swing.JTabbedPane$ModelListener.stateChanged(Unknown Source)

at javax.swing.DefaultSingleSelectionModel.fireStateChanged(Unknown Source)

at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(Unknown Source)

at com.sap.plaf.frog.TabbedPaneSelectionModel.setSelectedIndex(TabbedPaneSelectionModel.java:23)

at javax.swing.JTabbedPane.setSelectedIndexImpl(Unknown Source)

at javax.swing.JTabbedPane.setSelectedIndex(Unknown Source)

at com.sap.plaf.frog.FrogTabbedPaneUI$MouseGetter.mouseReleased(FrogTabbedPaneUI.java:3668)

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 com.sap.aii.utilxi.swing.toolkit.Guitilities$EventProcessor.dispatchEvent(Guitilities.java:319)

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)

-


Apologies for the long stack trace, this is the only idea I can think of