Skip to Content
0
Former Member
Mar 12, 2009 at 06:19 AM

Error when creating user defined function

290 Views

hi Experts,

I am getting the Internal error when creating userdefined .

com.sap.aii.utilxi.swing.framework.FrameworkException: Internal problem occurred

at com.sap.aii.utilxi.swing.toolkit.ExceptionDialog.init(ExceptionDialog.java:124)

at com.sap.aii.utilxi.swing.toolkit.ExceptionDialog.<init>(ExceptionDialog.java:96)

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

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.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(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)

Caused by: java.lang.IllegalArgumentException: the length 0 of the array 'sortedFunctionKeys' is not equal to the number 1 of functions.

at com.sap.aii.ib.bom.flib.FunctionLibrary.sortFunctions(FunctionLibrary.java:150)

at com.sap.aii.mappingtool.funclib.FunctionLibraryEditor.prepareSave(FunctionLibraryEditor.java:445)

at com.sap.aii.mappingtool.fwutil.api.ViewUtil.prepareSave(ViewUtil.java:110)

at com.sap.aii.ibrep.gui.mapping.xitrafo.XiMappingView.prepareSave(XiMappingView.java:269)

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

... 29 more

how can i solve this.

Regards,

Syed