on 04-15-2009 11:25 AM
Hi all,
i have a Problem while the deployment of my pda application. The simulator in the nwds starts normal but in the trace-file i found this:
<r id="1239789462813" t="11:57:42" d="2009-04-15" s="E" c="000" u="" g="" m="java.util.MissingResourceException: Can't find resource for bundle com.sap.ip.me.api.services.MEResourceBundle$MEPropertyResourceBundle, key START_MOBILE_CLIENT">
<f n="LocationName" v=" (com.sap.ip.me.api.services.MEResourceBundle:handle get object missing resource exception )"/>
<f n="ThreadName" v="main"/>
</r>
<r id="1239789462860" t="11:57:42" d="2009-04-15" s="I" c="000" u="" g="" m="Protokollierung initialisiert">
<f n="LocationName" v=" (com.sap.tc.mobile.logging.impl.FileLogger:)"/>
<f n="ThreadName" v="main"/>
</r>
<r id="1239789462861" t="11:57:42" d="2009-04-15" s="I" c="000" u="" g="" m="Protokollierung initialisiert">
<f n="LocationName" v=" (com.sap.tc.mobile.logging.impl.FileLogger:)"/>
<f n="ThreadName" v="main"/>
</r>
<r id="1239789463110" t="11:57:43" d="2009-04-15" s="E" c="000" u="" g="" m="java.sql.SQLException: Statement is closed">
<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>
<f n="ThreadName" v="main"/>
</r>
.
.
.
<r id="1239789463924" t="11:57:43" d="2009-04-15" s="E" c="000" u="" g="" m="Error executing SQL 'CREATE TABLE M20T_LOGENTRIES ( CFS_EXTRACTKEY CHAR(32), CFS_STATUS SMALLINT DEFAULT 0, CFS_TX_ID INTEGER DEFAULT 0, 'ARRIVAL_DATE' DATE,'ARRIVAL_LOC' VARCHAR(90) UNICODE DEFAULT '','ARRIVAL_TIME' VARCHAR(6) UNICODE DEFAULT '','DEPARTURE_DATE' DATE,'DEPARTURE_LOC' VARCHAR(90) UNICODE DEFAULT '','DEPARTURE_TIME' VARCHAR(6) UNICODE DEFAULT '','DRIVER_ID' INTEGER DEFAULT 0,'ENTRY_COMPLETED' SMALLINT DEFAULT '','LICENCE_NUMBER' VARCHAR(17) UNICODE DEFAULT '','LOGENTRY_ID' INTEGER DEFAULT 0,'MILEAGE_NEW' INTEGER DEFAULT 0,'MILEAGE_OLD' INTEGER DEFAULT 0,'PSYNCKEY' CHAR(32),'RIDE_INTENTION' VARCHAR(132) UNICODE DEFAULT '','SYNCKEY_MMW' CHAR(32) PRIMARY KEY,CFS_SERVER_STATE_ID CHAR(32), CFS_SEND_BITS VARCHAR(64), CFS_SENT_SEND_BITS VARCHAR(64))' --> java.sql.SQLException: Cannot convert into numeric value: char
at com.sap.sdb.minDB.util.ErrorMsg.newSQLException(Unknown Source)
at com.sap.sdb.minDB.util.ErrorMsg.conversionError(Unknown Source)
at com.sap.sdb.minDB.common.ColumnType.convertIntoLong(Unknown Source)
at com.sap.sdb.minDB.common.ColumnType.convertObject(Unknown Source)
at com.sap.sdb.minDB.common.ColumnDesc.defineDefaultValue(Unknown Source)
at com.sap.sdb.minDB.sql.CreateTable.setDefault(Unknown Source)
at com.sap.sdb.minDB.sql.CreateTable.parseColumn(Unknown Source)
at com.sap.sdb.minDB.sql.CreateTable.parseSQL(Unknown Source)
at com.sap.sdb.minDB.sql.PrepStmtHandler.<init>(Unknown Source)
at com.sap.sdb.minDB.sql.PrepStmtEmbeddedMinDB.<init>(Unknown Source)
at com.sap.sdb.minDB.sql.ConnectionHandle.createPreparedStmt(Unknown Source)
at com.sap.sdb.minDB.common.ConnectionDummy.prepareStatement(Unknown Source)
at com.sap.sdb.minDB.common.StatementImpl.createPreparedStmt(Unknown Source)
at com.sap.sdb.minDB.common.StatementImpl.execute(Unknown Source)
at com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl.execute(PersistenceManagerImpl.java:74)
.
.
.
at com.sap.tc.mobile.cfs.deploy.DeploymentManager.processInbox(DeploymentManager.java:205)
at com.sap.tc.mobile.cfs.init.FrameworkInitializer.init(FrameworkInitializer.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sap.tc.mobile.cfs.startup.pda.Startup.main(Unknown Source)
">
<f n="ThreadName" v="main"/>
</r>
When i try to start the application i got this error:
Error starting the framework
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sap.tc.mobile.cfs.startup.pda.Startup.main(Unknown Source)
....
Thanks and many regards,
Dirk
Edited by: Dirk Hirschmann on Apr 15, 2009 12:37 PM
Hi Dirk
Does this happen after you deploy service component?
Regards
Vidyadhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dirk
Please reset your client. Launch the client once. Then deploy the components.
Please start the client once before you deploy the components for the first time.
By this way we can know whether the table creation is failing because of the application or because of the mobile framework.
Regards
Vidyadhar
Hi Vidyadhar,
i do the following steps:
1. reset the client from nwds
2. start client and create a new user
3. close client
4. start client and logon
5. close Client
6. deploy application from nwds
7. start client
Now i have 3 trace files in my log folder. The first and the second one contains this exception message, they also looks like this
.
.
<r id="1239879989902" t="13:06:29" d="2009-04-16" s="E" c="000" u="" g="" m="java.util.MissingResourceException: Can't find resource for bundle com.sap.ip.me.api.services.MEResourceBundle$MEPropertyResourceBundle, key START_MOBILE_CLIENT">
<f n="LocationName" v=" (com.sap.ip.me.api.services.MEResourceBundle:handle get object missing resource exception )"/>
<f n="ThreadName" v="main"/>
</r>
<r id="1239879989980" t="13:06:29" d="2009-04-16" s="I" c="000" u="" g="" m="Protokollierung initialisiert">
<f n="LocationName" v=" (com.sap.tc.mobile.logging.impl.FileLogger:)"/>
<f n="ThreadName" v="main"/>
</r>
<r id="1239879989981" t="13:06:29" d="2009-04-16" s="I" c="000" u="" g="" m="Protokollierung initialisiert">
<f n="LocationName" v=" (com.sap.tc.mobile.logging.impl.FileLogger:)"/>
<f n="ThreadName" v="main"/>
</r>
<r id="1239879990183" t="13:06:30" d="2009-04-16" s="E" c="000" u="" g="" m="java.sql.SQLException: Statement is closed">
<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>
<f n="ThreadName" v="main"/>
</r>
.
.
But in the third trace-file there is the SQLException shown in my first entry.
Edited by: Dirk Hirschmann on Apr 16, 2009 1:23 PM
Hi Dirk
The MissingResourceException will not cause any problem. When you reset the client, please delete the log files in the log folder inside MI. So the next time the client runs there will be fresh logs.
In the Data -> dba folder inside MI please check if M20.... table folder is present.
Regards
Vidyadhar
edit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.