on 05-18-2006 4:12 PM
Does anyone has an answer for the following error?
Current configuration:
ERP 2004 and WAS 6.40
MI Server SP16
Application: MAM 2.5 SR2 SP16
PDA: symbol MC50 and iPAQ H5550
Application error when the user clicks from Order Overview screen to the Order Detail screen. Hence no orders can be displayed or edited
[code] Error Code
E503
Error Message
Failed calling event handler(InvocationTargetException) onLoad in com.sap.mbs.mam.order.control.OrderDetail.
com.sap.mbs.core.api.CAFException: Failed calling event handler(InvocationTargetException) onLoad in com.sap.mbs.mam.order.control.OrderDetail.
at com.sap.mbs.core.control.AbstractViewController.process()
at com.sap.mbs.core.control.DefaultStateMachine.process()
at com.sap.mbs.core.control.DefaultStateMachine.process()
at com.sap.mbs.core.web.FrontServlet.doHandleEvent()
at com.sap.mbs.mam.application.web.FrontServlet.doHandleEvent()
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetNotThreadSafe()
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet()
at javax.servlet.http.HttpServlet.service()
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service()
at javax.servlet.http.HttpServlet.service()
at org.apache.tomcat.core.ServletWrapper.doService()
at org.apache.tomcat.core.Handler.service()
at org.apache.tomcat.core.ServletWrapper.service()
at org.apache.tomcat.core.ContextManager.internalService()
at org.apache.tomcat.core.ContextManager.service()
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection()
at org.apache.tomcat.service.TcpWorkerThread.runIt()
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run()
at java.lang.Thread.run()
java.lang.IllegalArgumentException: String length exceeds max length of 2
at com.sap.ip.me.persist.fileio.spi.AttributeTypeExt$AttributeTypeString.toByte()
at com.sap.ip.me.persist.fileio.spi.AttributeTypeExt$AttributeTypeString.toByte()
at com.sap.ip.me.persist.fileio.spi.AttributeDescriptorImpl.toByte()
at com.sap.ip.me.persist.fileio.spi.QueryConditionSingle.()
at com.sap.ip.me.persist.fileio.spi.QueryRuntimeImpl.createICondition()
at com.sap.ip.me.smartsync.data.QueryFactoryImpl.createCondition()
at com.sap.mbs.mam.bo.query.impl.AbstractQueryBuilder.getCondition()
at com.sap.mbs.mam.bo.query.impl.Mam095QueryBuilderImpl.getPrioritiesByKeyCondition()
at com.sap.mbs.mam.cstm.impl.CstmCustomControllerImpl.getPriorityByKey()
at com.sap.mbs.mam.order.control.OrderDetail.onLoad()
at com.sap.mbs.core.control.AbstractViewController.process()
at com.sap.mbs.core.control.DefaultStateMachine.process()
at com.sap.mbs.core.control.DefaultStateMachine.process()
at com.sap.mbs.core.web.FrontServlet.doHandleEvent()
at com.sap.mbs.mam.application.web.FrontServlet.doHandleEvent()
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetNotThreadSafe()
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet()
at javax.servlet.http.HttpServlet.service()
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service()
at javax.servlet.http.HttpServlet.service()
at org.apache.tomcat.core.ServletWrapper.doService()
at org.apache.tomcat.core.Handler.service()
at org.apache.tomcat.core.ServletWrapper.service()
at org.apache.tomcat.core.ContextManager.internalService()
at org.apache.tomcat.core.ContextManager.service()
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection()
at org.apache.tomcat.service.TcpWorkerThread.runIt()
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run()
at java.lang.Thread.run()[/code]
hi Dai Ly
There is SAP Hot fix for this
<b>Please Apply this note Note: 868708</b>
your problem will be solved.
With regards
siddhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Siddhu,
We are running with that hotfix already but still doesn't work. It works with the PC client but not PDA. I have tested with Symbol MC50 and iPAQ H5550 but they both gave me an error.
Please see below info:
Installed Applications Application: Description Version:
MOBILEENGINE_JSP Framework 251300
MI25SP16 MI Client 2.5 Patch SP16 251600
MAM25SR2 Mobile Asset Management 2.5 SR2 250200
MAM25SR2HOTFIX1 MAM 25 SR2 HOTFIX1 250201
MI 25 SP 16 Patch 00 Build 200602132039
Copyright © 2002-2005 SAP AG. All rights reserved.
Problem Sovled.
What happen was the Hotfix applied to the wrong folder on the PDA. When we created MAM application component, we named "MAM25SR2" and that how the application got installed to the same folder. However, the hotfix is trying to install to the folder call "MAM25" which is not same folder where the application is running. We re-created a new component and named "MAM25" and everything was working after that. Thanks for any suggestions.
Hi Dai,
i have not yet worked with MAM application.
But ,
<<
<b> java.lang.IllegalArgumentException: String length exceeds max length of 2
at</b> com.sap.ip.me.persist.fileio.spi.AttributeTypeExt$AttributeTypeString.toByte()
at com.sap.ip.me.persist.fileio.spi.AttributeTypeExt$AttributeTypeString.toByte()
at com.sap.ip.me.persist.fileio.spi.AttributeDescriptorImpl.toByte()
at com.sap.ip.me.persist.fileio.spi.QueryConditionSingle.()
>>
this exception can also see in the error stack trace .
this is because ,
while creating the query conditions , u may be (or in program) passing a string variable to one field descriptor(field) whose maximum length is 2 (that u can see in the meRepMeta.xml file itself.). But the value passed to this field is greater than 2 . just chek in ur code whether passing a value , even space , is passing to that field while query condition creation or not.
Regards
Kishor Gopinathan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.