cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with MI SmartSync Application in AWT an Mobile 5.0

former_member207329
Participant
0 Kudos

Hi,I have developed a MI SmartSync Application in AWT (ZRER_MAG is the name of application).

I used MI7.0 sp09.

I have a problem. When I do start the application in the my developer system (WinXP) it's all right.

But when start application in the PDA with Windows Mobile 5.0 the application doesn't work.

this is the trace:

[20080122 11:21:10:669] I [MI/API/Logging ] ***** LOG / TRACE SWITCHED ON

[20080122 11:21:10:669] I [MI/API/Logging ] ***** Mobile Infrastructure version: MI 70 SP 12 Patch 2 Build 200708221757

[20080122 11:21:10:669] I [MI/API/Logging ] ***** Current timezone: GMT[20080122 11:21:10:669] I [MI/API/Logging ] ***** Current Trace Level: 1000

[20080122 11:21:10:723] I [MI/API/Configuration ] Formatted Date

[20080122 11:21:10:734] I [MI/API/Configuration ] 22-gen-08

[20080122 11:21:10:736] I [MI/API/Configuration ] Formatted Time

[20080122 11:21:10:743] I [MI/API/Configuration ] 11.21.10

[20080122 11:21:10:977] A [MI/Persistence ] No upgrade necessary for com.sap.ip.me.core.PersistedDataUpgradeComponent because sourceComponentVersion is 2

[20080122 11:21:11:232] I [MI/Security ] Warning: providerSUNcould not be loaded at position 1

[20080122 11:21:11:264] D [MI/Core ] SecurityManager: The following security providers are available:

[20080122 11:21:11:269] D [MI/Core ] Name: SUN, preference order: 1, info: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore), version: 1,2.

[20080122 11:21:11:315] D [MI/Core ] SecurityManager: The following message digest algorithm was instantiated: SHA-1 Message Digest from SUN, <initialized>

[20080122 11:21:11:326] D [MI/Core ] SecurityManager: Selected synchronization password handling option: AtSync

[20080122 11:21:11:416] D [MI/Core ] New UserManager SINGLETON created : com.sap.ip.me.core.UserManagerImpl@582e7

[20080122 11:21:11:538] P [MI/Core ] Set current application to 'Framework'

[20080122 11:21:11:972] D [MI/Core ] load conversation id MI2853484152454429

[20080122 11:21:11:990] D [MI/Core ] load conversation id MI49303237303235

[20080122 11:21:12:000] D [MI/Core ] load conversation id 17189447B270FB1AE10000000A1D34C8

[20080122 11:21:12:013] D [MI/Core ] load conversation id 1A189447B270FB1AE10000000A1D34C8

[20080122 11:21:12:101] D [MI/API/Services ] Read Hashtable from directory /MI/sync/eventListeners

[20080122 11:21:13:392] D [MI/Core ] GzipDataCompressionConfiguration: GzipDataCompression is switched on.

[20080122 11:21:13:593] I [MI/Core ] MI OS installer lib (/MI/bin/NATSTART.DLL) loaded successfully

[20080122 11:21:13:641] I [MI/Core ] Libraries are loaded

[20080122 11:21:13:859] I [MI/API/Persistence ] Determined PersistenceImplementation (implementation / config paramter value): MIDB / MIDB

[20080122 11:21:15:822] D [MI/API/Services ] Read Hashtable from directory /MI/sync/inboundProcessors

[20080122 11:21:16:303] D [MI/API/Services ] Read Hashtable from directory /MI/sync/registeredMethods

[20080122 11:21:16:380] D [MI/Sync ] Start dumping of registered inbound processors (inboundProcessors)

[20080122 11:21:16:384] D [MI/Sync ] "MI_CONFIG_INFO_CHECKER" --> com.sap.ip.me.ccms.configinfo.ConfigInfoCheckerInboundProcessor

[20080122 11:21:16:387] D [MI/Sync ] "WAF_REGISTRY" --> com.sapmarkets.web.liTS.util.reg.RegistrySyncInboundProcessing

[20080122 11:21:16:390] D [MI/Sync ] "MI_SET_CLIENTTRACE" --> com.sap.ip.me.ccms.remotetracing.RemoteTracingInboundProcessor

[20080122 11:21:16:394] D [MI/Sync ] "SYSTEMNEWS" --> com.sap.ip.mi.systemnews.InboundListener

[20080122 11:21:16:396] D [MI/Sync ] "AGENT_PARAMETERS" --> com.sap.ip.me.services.os.AgentManager$AgentInboundProcessor

[20080122 11:21:16:399] D [MI/Sync ] "WAF_INSTALLATION_LOG" --> com.sap.ip.me.core.InstallationLog

[20080122 11:21:16:403] D [MI/Sync ] "SMARTSYNC" --> com.sap.ip.me.smartsync.core.SyncAdapter

[20080122 11:21:16:406] D [MI/Sync ] "CENTRAL_TRACING" --> com.sap.ip.me.sync.LogSenderInboundProcessor

[20080122 11:21:16:411] D [MI/Sync ] "CLIENT_ALERT" --> com.sap.ip.me.ccms.AlertInboundProcessor

[20080122 11:21:16:414] D [MI/Sync ] "DEVICEINFO" --> com.sap.ip.me.core.DeviceAttributeInboundProcessor

[20080122 11:21:16:417] D [MI/Sync ] "MI_CONFIG_INFO" --> com.sap.ip.me.ccms.configinfo.ConfigInfoCollectorInboundProcessor

[20080122 11:21:16:419] D [MI/Sync ] End of dump of registered inbound processors (inboundProcessors)

[20080122 11:21:16:424] D [MI/Sync ] Register inbound processor com.sap.ip.me.smartsync.core.SyncAdapter for method SMARTSYNC

[20080122 11:21:20:700] D [MI/API/Sync ] SyncEventListener com.sap.ip.me.smartsync.core.SyncAdapter@7635c was registered for key com.sap.ip.me.smartsync.core.SyncAdapter/MI2853484152454429

[20080122 11:21:20:711] D [MI/API/Sync ] Do not register SyncEventListener com.sap.ip.me.smartsync.core.SyncAdapter@7635c for ConvId MI49303237303235

[20080122 11:21:20:715] D [MI/API/Sync ] Do not register SyncEventListener com.sap.ip.me.smartsync.core.SyncAdapter@7635c for ConvId 17189447B270FB1AE10000000A1D34C8

[20080122 11:21:22:877] D [MI/API/Sync ] SyncEventListener com.sap.ip.me.smartsync.core.SyncAdapter@7635c was registered for key com.sap.ip.me.smartsync.core.SyncAdapter/1A189447B270FB1AE10000000A1D34C8

[20080122 11:21:22:889] D [MI/Smartsync ] Smart Sync Framework uses Generic Sync.

[20080122 11:21:22:891] D [MI/Smartsync ] Smart Sync Framework successfully initialzed.

[20080122 11:21:25:074] D [MI/API/Sync ] SyncEventListener com.sap.ip.me.ccms.AlertManagerImpl@a418e was registered for key com.sap.ip.me.ccms.AlertManagerImpl/MI2853484152454429

[20080122 11:21:25:080] D [MI/Sync ] Register inbound processor com.sap.ip.me.ccms.AlertInboundProcessor for method CLIENT_ALERT

[20080122 11:21:29:050] D [MI/API/Sync ] SyncEventListener com.sap.ip.me.ccms.LastSuccessfulSyncAlert@aa0cb was registered for key com.sap.ip.me.ccms.LastSuccessfulSyncAlert/MI2853484152454429

[20080122 11:21:29:435] I [MI/Services/Os ] Inside runApps method

[20080122 11:21:32:507] D [MI/API/Sync ] SyncEventListener com.sap.ip.me.services.os.AgentManager$AgentSyncEventListener@b021a was registered for key com.sap.ip.me.services.os.AgentManager$AgentSyncEventListener/MI2853484152454429

[20080122 11:21:32:520] D [MI/Sync ] Register inbound processor com.sap.ip.me.services.os.AgentManager$AgentInboundProcessor for method AGENT_PARAMETERS

[20080122 11:21:36:445] D [MI/API/Sync ] SyncEventListener com.sap.ip.me.services.os.StartupAgent@b607e was registered for key com.sap.ip.me.services.os.StartupAgent/MI2853484152454429

[20080122 11:21:36:457] D [MI/Services/Os ] History disabled for agent STARTUP

[20080122 11:21:36:480] D [MI/Services/Os ] History disabled for agent STORAGE

[20080122 11:21:36:497] D [MI/Services/Os ] History disabled for agent REGISTRY

[20080122 11:21:36:503] I [MI/Services/Os ] Found the following Script(s): {}

[20080122 11:21:38:633] D [MI/API/Sync ] SyncEventListener com.sap.ip.me.services.os.ScriptManager@5c1cf was registered for key com.sap.ip.me.services.os.ScriptManager/MI2853484152454429

[20080122 11:21:38:642] P [MI/Services/Os ] New ScriptManager instance has been created, 0 script(s) loaded.

[20080122 11:21:38:645] W [MI/Services/Os ] ScriptManager found 0 scripts. Maybe script configuration is wrong?

[20080122 11:21:38:648] D [MI/Services/Os ] History disabled for agent SCRIPT

[20080122 11:21:38:665] D [MI/Services/Os ] History disabled for agent BATTERY

[20080122 11:21:38:698] D [MI/Services/Os ] History disabled for agent AGENT_PIOS_CONFIG

[20080122 11:21:38:719] D [MI/Services/Os ] History disabled for agent TIME_AGENT

[20080122 11:21:38:733] D [MI/Services/Os ] History disabled for agent TRACE_AGENT

[20080122 11:21:38:744] D [MI/Services/Os ] History disabled for agent AGENT_MI_CONFIG

[20080122 11:21:38:856] D [MI/SyncMonitor ] Sync monitor initialized; use /MI/settings/syncmon.dat for persisting data

[20080122 11:21:41:148] D [MI/API/Sync ] SyncEventListener com.sap.ip.me.sync.LogSender@6e0ab was registered for key com.sap.ip.me.sync.LogSender/MI2853484152454429

[20080122 11:21:41:159] P [MI/Sync ] Clean up data container folders (transactional outbound folders)

[20080122 11:21:41:230] D [MI/Sync ] Successfully cleaned transactional outbound folder /MI/sync/I027025/out/ta

[20080122 11:21:41:393] D [MI/Sync ] Successfully cleaned transactional outbound folder /MI/sync/(SHARED)/out/ta

[20080122 11:21:41:510] D [MI/Sync ] Register inbound processor com.sapmarkets.web.liTS.util.reg.RegistrySyncInboundProcessing for method WAF_REGISTRY

[20080122 11:21:41:978] I [MI/ComServer ] Listen for next connection on port 45000

[20080122 11:21:43:317] D [MI/Sync ] Register inbound processor com.sap.ip.me.core.DeviceAttributeInboundProcessor for method DEVICEINFO

[20080122 11:21:45:000] D [MI/Sync ] Register inbound processor com.sap.ip.me.core.InstallationLog for method WAF_INSTALLATION_LOG

[20080122 11:21:48:890] D [MI/API/Sync ] SyncEventListener com.sap.ip.me.ccms.remotetracing.RemoteTracingListener@a0357 was registered for key com.sap.ip.me.ccms.remotetracing.RemoteTracingListener/MI2853484152454429

[20080122 11:21:51:000] D [MI/API/Sync ] SyncEventListener com.sap.ip.me.ccms.configinfo.ConfigInfoListener@a2040 was registered for key com.sap.ip.me.ccms.configinfo.ConfigInfoListener/MI2853484152454429

[20080122 11:21:51:253] I [MI/Services/Os ] Inside runApps method

[20080122 11:21:51:357] A [MI/Persistence ] No upgrade necessary for com.sap.ip.me.core.PersistedDataUpgradeComponent because sourceComponentVersion is 2

[20080122 11:21:51:384] P [MI/Sync ] Do not use http proxy (system properties update)

[20080122 11:21:51:790] D [MI/API/Services ] MEResourceBundle:Constructor: Create MEResourceBundle(com/sap/ip/me/awtapps/home/mobile_engine, it_US, (null))

[20080122 11:21:51:794] D [MI/API/Services ] MEResourceBundle:Constructor: Use classloader (null)

[20080122 11:21:51:936] D [MI/API/Services ] CREATED MEPropertyResourceBundle com.sap.ip.me.api.services.MEResourceBundle$MEPropertyResourceBundle@a643a for bundleName: com/sap/ip/me/awtapps/home/mobile_engine with Locale: _it

[20080122 11:21:52:054] D [MI/API/Services ] CREATED parent MEPropertyResourceBundle for child bundle: com.sap.ip.me.api.services.MEResourceBundle$MEPropertyResourceBundle@a643a using bundle name: com/sap/ip/me/awtapps/home/mobile_engine

[20080122 11:21:52:409] D [MI/API/Sync ] SyncEventListener com.sap.ip.me.awtapps.home.HomeFrameSyncEventListener@b21eb was registered for key com.sap.ip.me.awtapps.home.HomeFrameSyncEventListener/MI2853484152454429

[20080122 11:22:12:562] P [MI/Core ] Set current user to I027025

[20080122 11:22:14:744] D [MI/API/Sync ] SyncEventListener com.sap.ip.me.core.StatusUpdater@11470a was registered for key com.sap.ip.me.core.StatusUpdater/MI49303237303235

[20080122 11:22:14:754] D [MI/Sync ] Register inbound processor com.sap.ip.mi.systemnews.InboundListener for method SYSTEMNEWS

[20080122 11:22:18:721] D [MI/API/Sync ] SyncEventListener com.sap.ip.mi.systemnews.SyncListener@5225f was registered for key com.sap.ip.mi.systemnews.SyncListener/MI49303237303235

[20080122 11:22:19:480] D [MI/API/Runtime/AWT ] Start cleanup incomplete applications

[20080122 11:22:19:502] D [MI/API/Runtime/AWT ] Finished cleanup incomplete applications

[20080122 11:22:22:073] I [MI/API/Runtime/AWT ] start application ZRER_MAG

[20080122 11:22:22:122] P [MI/Core ] Start application ZRER_MAG

[20080122 11:22:22:179] D [MI/Core ] call init application

[20080122 11:22:22:236] D [MI/Core ] Set current application to 'ZRER_MAG'

[20080122 11:22:22:244] P [MI/Core ] Activate application ZRER_MAG

[20080122 11:22:22:336] D [MI/Smartsync ] Created new shared Context: com.sap.ip.me.smartsync.core.Context: [ sepereatedConvId=1A189447B270FB1AE10000000A1D34C8, sharedConvId=1A189447B270FB1AE10000000A1D34C8, isSmartSyncRelavant=true, isApplicationErrResolve=false sharedDataVisible=true]

[20080122 11:22:22:340] D [MI/Smartsync ] Created new Context: com.sap.ip.me.smartsync.core.Context: [ sepereatedConvId=1A189447B270FB1AE10000000A1D34C8, sharedConvId=1A189447B270FB1AE10000000A1D34C8, isSmartSyncRelavant=true, isApplicationErrResolve=false sharedDataVisible=true]

[20080122 11:22:22:344] D [MI/Smartsync ] Smart Sync framework: entering new context :1A189447B270FB1AE10000000A1D34C8 - 1A189447B270FB1AE10000000A1D34C8

[20080122 11:22:22:388] D [MI/Persistence ] Me Persistence initialization, step 2: start create instance of com.sap.ip.me.persist.core.PersistenceRuntimeImpl

[20080122 11:22:22:396] D [MI/Persistence ] Get IPersistenceManager for ConversationID: 1A189447B270FB1AE10000000A1D34C8

[20080122 11:22:22:523] D [MI/Persistence ] beginTransaction() called with doWait=false for instance 476208

[20080122 11:22:22:541] D [MI/Persistence ] PersistenceManagerImpl.beginTransaction():false

[20080122 11:22:22:662] D [MI/Persistence ] PersistenceManagerImpl.get(IQuery):(Type: (IClassDescriptor(Name: meta_topRow)))(Condition: (ALWAYS TRUE))(Order: ((IAttributeDescriptor(Name: downloadOrder)) asc))(Start index: 0)(Max results: -1)

[20080122 11:22:22:750] D [MI/Persistence ] new ObjectTable():(IClassDescriptor(Name: meta_topRow)(Attributes:(IAttributeDescriptor(Name: key)(Type: String)(Length: 20)(Decimals: 0))(IAttributeDescriptor(Name: rowName)(Type: String)(Length: 4)(Decimals: 0))(IAttributeDescriptor(Name: mandatory)(Type: Boolean)(Length: 1)(Decimals: 0))(IAttributeDescriptor(Name: deploymentId)(Type: String)(Length: 128)(Decimals: 0))(IAttributeDescriptor(Name: boNname)(Type: String)(Length: 11)(Decimals: 0))(IAttributeDescriptor(Name: version)(Type: Integer)(Length: 1)(Decimals: 0))(IAttributeDescriptor(Name: syncType)(Type: Integer)(Length: 1)(Decimals: 0))(IAttributeDescriptor(Name: crt)(Type: Boolean)(Length: 1)(Decimals: 0))(IAttributeDescriptor(Name: mod)(Type: Boolean)(Length: 1)(Decimals: 0))(IAttributeDescriptor(Name: del)(Type: Boolean)(Length: 1)(Decimals: 0))(IAttributeDescriptor(Name: suppressUpload)(Type: Boolean)(Length: 1)(Decimals: 0))(IAttributeDescriptor(Name: suppressDownload)(Type: Boolean)(Length: 1)(Decimals: 0))(IAttributeDescriptor(Name: direct)(Type: Boolean)(Length: 1)(Decimals: 0))(IAttributeDescriptor(Name: multilang)(Type: Boolean)(Length: 1)(Decimals: 0))(IAttributeDescriptor(Name: downloadOrder)(Type: Integer)(Length: 5)(Decimals: 0)))(Key attribute:(IAttributeDescriptor(Name: key))))

[20080122 11:22:22:910] D [MI/Persistence ] PersistenceManagerImpl.get(IQuery):(Type: (IClassDescriptor(Name: meta_childRow)))(Condition: (ALWAYS TRUE))(Order: ((IAttributeDescriptor(Name: key)) asc))(Start index: 0)(Max results: -1)

[20080122 11:22:22:913] D [MI/Persistence ] new ObjectTable():(IClassDescriptor(Name: meta_childRow)(Attributes:(IAttributeDescriptor(Name: key)(Type: String)(Length: 20)(Decimals: 0))(IAttributeDescriptor(Name: rowName)(Type: String)(Length: 4)(Decimals: 0))(IAttributeDescriptor(Name: mandatory)(Type: Boolean)(Length: 1)(Decimals: 0))(IAttributeDescriptor(Name: topKey)(Type: String)(Length: 20)(Decimals: 0)))(Key attribute:(IAttributeDescriptor(Name: key))))

[20080122 11:22:22:978] D [MI/Persistence ] PersistenceManagerImpl.get(IQuery):(Type: (IClassDescriptor(Name: meta_field)))(Condition: (ALWAYS TRUE))(Order: ((IAttributeDescriptor(Name: fieldNumber)) asc))(Start index: 0)(Max results: -1)

[20080122 11:22:22:982] D [MI/Persistence ] new ObjectTable():(IClassDescriptor(Name: meta_field)(Attributes:(IAttributeDescriptor(Name: key)(Type: String)(Length: 45)(Decimals: 0))(IAttributeDescriptor(Name: rowName)(Type: String)(Length: 31)(Decimals: 0))(IAttributeDescriptor(Name: type)(Type: String)(Length: 1)(Decimals: 0))(IAttributeDescriptor(Name: len)(Type: Integer)(Length: 1)(Decimals: 0))(IAttributeDescriptor(Name: dec)(Type: Integer)(Length: 1)(Decimals: 0))(IAttributeDescriptor(Name: isIndexed)(Type: Boolean)(Length: 1)(Decimals: 0))(IAttributeDescriptor(Name: isKey)(Type: Boolean)(Length: 1)(Decimals: 0))(IAttributeDescriptor(Name: isSigned)(Type: Boolean)(Length: 1)(Decimals: 0))(IAttributeDescriptor(Name: createInputType)(Type: Integer)(Length: 1)(Decimals: 0))(IAttributeDescriptor(Name: modifyInputType)(Type: Integer)(Length: 1)(Decimals: 0))(IAttributeDescriptor(Name: rowDescriptorFkey)(Type: String)(Length: 20)(Decimals: 0))(IAttributeDescriptor(Name: fieldNumber)(Type: Integer)(Length: 3)(Decimals: 0)))(Key attribute:(IAttributeDescriptor(Name: key))))

[20080122 11:22:23:374] D [MI/Persistence ] PersistenceManagerImpl.getAll():(IClassDescriptor(Name: meta_relation))

[20080122 11:22:23:378] D [MI/Persistence ] new ObjectTable():(IClassDescriptor(Name: meta_relation)(Attributes:(IAttributeDescriptor(Name: sourceFieldKey)(Type: String)(Length: 45)(Decimals: 0))(IAttributeDescriptor(Name: dependencyType)(Type: Integer)(Length: 1)(Decimals: 0))(IAttributeDescriptor(Name: targetSyncBoKey)(Type: String)(Length: 20)(Decimals: 0)))(Key attribute:(IAttributeDescriptor(Name: sourceFieldKey))))

[20080122 11:22:23:444] D [MI/Persistence ] PersistenceManagerImpl.get(IQuery):(Type: (IClassDescriptor(Name: meta_fieldGroupItem)))(Condition: (ALWAYS TRUE))(Order: (((IAttributeDescriptor(Name: rowKey)) desc)((IAttributeDescriptor(Name: groupName)) desc)))(Start index: 0)(Max results: -1)

[20080122 11:22:23:448] D [MI/Persistence ] new ObjectTable():(IClassDescriptor(Name: meta_fieldGroupItem)(Attributes:(IAttributeDescriptor(Name: key)(Type: String)(Length: 60)(Decimals: 0))(IAttributeDescriptor(Name: rowKey)(Type: String)(Length: 20)(Decimals: 0))(IAttributeDescriptor(Name: fieldKey)(Type: String)(Length: 45)(Decimals: 0))(IAttributeDescriptor(Name: groupName)(Type: String)(Length: 30)(Decimals: 0))(IAttributeDescriptor(Name: type)(Type: String)(Length: 1)(Decimals: 0)))(Key attribute:(IAttributeDescriptor(Name: key))))

[20080122 11:22:23:486] D [MI/Smartsync ] Loaded 8 SyncBoDescriptors from database.

[20080122 11:22:23:490] D [MI/Persistence ] commit() called on instance 476208

[20080122 11:22:23:492] D [MI/Persistence ] PersistenceManagerImpl.commit()

[20080122 11:22:23:701] D [MI/Persistence ] Get IPersistenceManager for ConversationID: 1A189447B270FB1AE10000000A1D34C8

[20080122 11:22:23:705] D [MI/Persistence ] beginTransaction() called with doWait=false for instance 639179

[20080122 11:22:23:708] D [MI/Persistence ] PersistenceManagerImpl.beginTransaction():false

[20080122 11:22:23:840] D [MI/Persistence ] PersistenceManagerImpl.getAll():(IClassDescriptor(Name: PROPERTIES))

[20080122 11:22:23:843] D [MI/Persistence ] new ObjectTable():(IClassDescriptor(Name: PROPERTIES)(Attributes:(IAttributeDescriptor(Name: KEY)(Type: String)(Length: 255)(Decimals: 0))(IAttributeDescriptor(Name: VALUE)(Type: String)(Length: 255)(Decimals: 0)))(Key attribute:(IAttributeDescriptor(Name: KEY))))

[20080122 11:22:23:867] D [MI/Persistence ] commit() called on instance 639179

[20080122 11:22:23:871] D [MI/Persistence ] PersistenceManagerImpl.commit()

[20080122 11:22:23:934] D [MI/Persistence ] Get IPersistenceManager for ConversationID: 1A189447B270FB1AE10000000A1D34C8

[20080122 11:22:23:937] D [MI/Persistence ] beginTransaction() called with doWait=false for instance 656170

[20080122 11:22:23:949] D [MI/Persistence ] PersistenceManagerImpl.beginTransaction():false

[20080122 11:22:24:005] D [MI/Smartsync ] Created 8 new DeltaRequest objects.

[20080122 11:22:24:009] D [MI/Persistence ] commit() called on instance 656170

[20080122 11:22:24:011] D [MI/Persistence ] PersistenceManagerImpl.commit()

[20080122 11:22:24:825] D [AppLog/ZRER_MAG ] ControllerPage.createObject called: class sapERe.mainMenu.CenterPanelMain

[20080122 11:23:32:217] I [MI/API/Runtime/AWT ] start application ZRER_MAG

[20080122 11:23:32:267] P [MI/Core ] Start application ZRER_MAG

[20080122 11:23:32:271] D [MI/Core ] Set current application to 'ZRER_MAG'

[20080122 11:23:32:291] P [MI/Core ] activateApplication() sapERe.MainMenu[panel0,0,0,0x0,invalid,layout=java.awt.BorderLayout]

[20080122 11:23:32:295] D [MI/Core ] Set current application to 'ZRER_MAG'

Which is the problem?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I do not really see a problem in the trace as such - so my question is: what is the problem? Do you get an error message? It seems the App itself starts fine - do you get an exception when you press a button?

Can it be that the code is not in JDK1.1.8? You can compile Apps in JDK1.4 or later and run them on PDA, do not missunderstand me, but if the syntax is not JDK1.1.8 conform, it will not work on PDA.

Can you give us some more informations?

Regards,

Oliver

former_member207329
Participant
0 Kudos

Hi, thanks for your help.

I compile with 1.4 and use CrEme 3.27.

I found the problem but i don't know the solution.

I have this code in the application:

private static final Object createObject(String className, ControllerPage consParam) {

Utilities.print("CenterPage.createObject called: " + consParam.getClass().toString());

Object res = null;

try {

Class clazz = Class.forName(className);

Class parType[] = { ControllerPage.class };

Constructor con = clazz.getConstructor(parType);

Object arglist[] = ;

res = con.newInstance(arglist);

} catch (Exception e) {

e.printStackTrace();

}

return res;

}

in this point res = con.newInstance(arglist) there is a exception (but the same code in the MDK_configExampleAWT application in the same device, with the same compiler it's all right).

Former Member
0 Kudos

Hi,

well, there I need to debug I think. If the error is in that line I would suggest that the given parameters have a problem. If you have the working example form AWT, check the parameters for:

ControllerPage consParam

I think there you have an issue.

Regards,

Oliver

former_member207329
Participant
0 Kudos

Thanks for your help, but the my problems is another (i think).

I can use Hashtable and Set collection wiht Creme 3.27?

I have many errors as:

"...The method keySet() is undefined for the type Hashtable..."

Do you help me?

If is possible for you look this my question:

Thanks a lot!

Former Member
0 Kudos

Hi,

there could be the problem - I think the mothod is not supported with Creme. Compile your app with JDK1.1.8 - then you see the issues. Once you can compile the App with Creme 1.1.8 then all is fine for PDA. You can compile the JAR file with JDK1.4.2 and run it on PDA - as long as you do not use any instructions that are not supported by 1.1.8.

And the set stuff is not supported in JDK1.1.8 - that is your issue. And this is why it is working on PC but not on PDA - Creme is 1.1.8 compatible only.

Hope this helps!

Regards,

Oliver

Answers (0)