on 10-18-2010 11:50 AM
Dear Experts
I write an application in Netweaver Developer Studio as (Mobile) Handheld application. I created the "mobile ui component" and simply create an component and edit the default view. and then create the application. after build it and followed by deploy the application.
I launch the mobile application, create the user in mobile and login, then click on the "myapplication" icon, then following error occured
//------
Line: -
java.lang.ClassNotFoundException: com.sap.demo.demo_ui.democomponent.demoapp2.DemoApp2App
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.sap.tc.mobile.wdlite.progmodel.core.Application.launch(Application.java:165)
at com.sap.tc.mobile.wdlite.progmodel.core.Application.launch(Application.java:210)
at com.sap.tc.mobile.wdlite.progmodel.core.WDLite.launchApplication(WDLite.java:387)
at com.sap.tc.mobile.wdlite.container.ContainerApp.startApp(ContainerApp.java:155)
at com.sap.tc.mobile.wdlite.container.AppMenuView.onActionLaunchApp(AppMenuView.java:327)
at com.sap.tc.mobile.wdlite.container.AppMenuView.invokeEventHandler(AppMenuView.java:370)
at com.sap.tc.mobile.wdlite.progmodel.core.AbstractViewElement.doHandleEvent(AbstractViewElement.java:208)
at com.sap.tc.mobile.wdlite.renderer.api.UIElement.doHandleEvent(UIElement.java:415)
at com.sap.tc.mobile.wdlite.renderer.api.UIImageButton.mouseReleased(UIImageButton.java:148)
at com.sap.tc.mobile.wdlite.renderer.api.UIElement.dispatchMouseReleasedWidgetEvent(UIElement.java:461)
at com.sap.tc.mobile.wdlite.renderer.api.UIElement$1.mouseReleased(UIElement.java:504)
at com.sap.tc.mobile.wdlite.renderer.swt.MouseEventDispatcher.mouseUp(SWTControl.java:366)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:137)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at com.sap.tc.mobile.wdlite.renderer.swt.container.WorkingArea.refresh(WorkingArea.java:192)
at com.sap.tc.mobile.wdlite.renderer.api.RenderingManager.refresh(RenderingManager.java:233)
at com.sap.tc.mobile.wdlite.progmodel.core.Application.refresh(Application.java:285)
at com.sap.tc.mobile.wdlite.progmodel.core.Application.navigate(Application.java:593)
at com.sap.tc.mobile.wdlite.progmodel.core.Application.enter(Application.java:278)
at com.sap.tc.mobile.wdlite.progmodel.core.Application.setCurrent(Application.java:130)
at com.sap.tc.mobile.wdlite.progmodel.core.Application.launch(Application.java:174)
at com.sap.tc.mobile.wdlite.progmodel.core.Application.launch(Application.java:210)
at com.sap.tc.mobile.wdlite.progmodel.core.WDLite.launchApplication(WDLite.java:387)
at com.sap.tc.mobile.wdlite.framework.Start.runOnContext(Start.java:585)
at com.sap.tc.mobile.wdlite.framework.Start.startApplication(Start.java:609)
at com.sap.tc.mobile.wdlite.framework.Start.startContainer(Start.java:646)
at com.sap.tc.mobile.cfs.framework.spi.FrameworkManager.startContainer(FrameworkManager.java:259)
at com.sap.tc.mobile.cfs.init.FrameworkInitializer.init(FrameworkInitializer.java:230)
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:597)
at com.sap.tc.mobile.cfs.startup.pda.Startup.main(Unknown Source)
java.lang.NullPointerException
at com.sap.tc.mobile.wdlite.renderer.swt.container.WorkingArea.getTableFocusHeight(WorkingArea.java:302)
at com.sap.tc.mobile.wdlite.renderer.swt.container.WorkingArea.setFocusedSelection(WorkingArea.java:268)
at com.sap.tc.mobile.wdlite.renderer.swt.container.WorkingArea.access$100(WorkingArea.java:53)
at com.sap.tc.mobile.wdlite.renderer.swt.container.WorkingArea$2.handleEvent(WorkingArea.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:933)
at org.eclipse.swt.widgets.Control.WM_SIZE(Control.java:3880)
at org.eclipse.swt.widgets.Scrollable.WM_SIZE(Scrollable.java:333)
at org.eclipse.swt.widgets.Composite.WM_SIZE(Composite.java:1375)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3317)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1920)
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3334)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025)
at org.eclipse.swt.internal.win32.OS.SetWindowPos(Native Method)
at org.eclipse.swt.widgets.Widget.SetWindowPos(Widget.java:1225)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:2133)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:2115)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:2111)
at com.sap.tc.mobile.wdlite.renderer.swt.container.WorkingArea.setBoundary(WorkingArea.java:110)
at com.sap.tc.mobile.wdlite.renderer.swt.container.ContainerFrame.adjustSize(ContainerFrame.java:116)
at com.sap.tc.mobile.wdlite.renderer.swt.container.ContainerFrame.adjustSize(ContainerFrame.java:120)
at com.sap.tc.mobile.wdlite.renderer.swt.container.StatusBar.showMessage(StatusBar.java:133)
at com.sap.tc.mobile.wdlite.renderer.api.RenderingManager.showStatusMessage(RenderingManager.java:255)
at com.sap.tc.mobile.wdlite.progmodel.core.WDLite.showStatusMessage(WDLite.java:158)
at com.sap.tc.mobile.wdlite.container.LogonView.doLogin(LogonView.java:372)
at com.sap.tc.mobile.wdlite.container.LogonView.onActionLogin(LogonView.java:190)
at com.sap.tc.mobile.wdlite.container.LogonView.invokeEventHandler(LogonView.java:244)
at com.sap.tc.mobile.wdlite.progmodel.core.viewelement.MenuItemViewElement.doHandleEvent(MenuItemViewElement.java:46)
at com.sap.tc.mobile.wdlite.renderer.swt.container.MenuItem.notifyOnAction(MenuBar.java:390)
at com.sap.tc.mobile.wdlite.renderer.swt.container.MenuItem$1.widgetSelected(MenuBar.java:377)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at com.sap.tc.mobile.wdlite.renderer.swt.container.WorkingArea.refresh(WorkingArea.java:192)
at com.sap.tc.mobile.wdlite.renderer.api.RenderingManager.refresh(RenderingManager.java:233)
at com.sap.tc.mobile.wdlite.progmodel.core.Application.refresh(Application.java:285)
at com.sap.tc.mobile.wdlite.progmodel.core.Application.navigate(Application.java:593)
at com.sap.tc.mobile.wdlite.progmodel.core.Application.enter(Application.java:278)
at com.sap.tc.mobile.wdlite.progmodel.core.Application.setCurrent(Application.java:130)
at com.sap.tc.mobile.wdlite.progmodel.core.Application.launch(Application.java:174)
at com.sap.tc.mobile.wdlite.progmodel.core.Application.launch(Application.java:210)
at com.sap.tc.mobile.wdlite.progmodel.core.WDLite.launchApplication(WDLite.java:387)
at com.sap.tc.mobile.wdlite.framework.Start.runOnContext(Start.java:585)
at com.sap.tc.mobile.wdlite.framework.Start.startApplication(Start.java:609)
at com.sap.tc.mobile.wdlite.framework.Start.startContainer(Start.java:646)
at com.sap.tc.mobile.cfs.framework.spi.FrameworkManager.startContainer(FrameworkManager.java:259)
at com.sap.tc.mobile.cfs.init.FrameworkInitializer.init(FrameworkInitializer.java:230)
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:597)
at com.sap.tc.mobile.cfs.startup.pda.Startup.main(Unknown Source)
Line: -
Help me
Hi
My Problem is solved, I change my Patch 001 to 004, then my program is successfully executed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi !
What is the SP level of your devstudio and mobile plug ins??
I faced this issue using both SP09 (NWDS and plugins), after debugging and spending 3 days investigatingg on this, i went for SP10, now it works...
the middleware is still SP09 though...
regards
Steve
Edited by: Steve ODIC on Oct 18, 2010 2:20 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi !
here's mine :
SAP NetWeaver Developer Studio
SAP NetWeaver 7.1 Composition Environment SP10 PAT0001
Build id: 201006031648
so i guess we are using the same devstudio.
But as this error happened every time, when i upgraded to SP10, I remove all previous plugins (mean deleted all ../eclipse/plugins/<plugOCA> florders (see http://help.sap.com/saphelp_nwmobile71/helpdata/en/b6/0f5c4a07cd4bcdb58598760cb27766/frameset.htm )
and also deleted the workspace...otherwise things went wrong.
I finaly got ridd of this error with a fresh new NWDS installation, and create a basic app, then deploy an run succesfully.
There s another topic on this forum concerning this error.
regards,
Steve
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.