Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dsdp-ercp-dev] error while accessing pim api in eRCP

If you are running a CDC JVM in order to run eRCP, then you very likely do not have MIDP classes available in your JRE, and that is what the exception is saying.
Since the PIM API implementation probably relies on native code, it is also unlikely that you could just add the MIDP classes to your classpath.
So, I'm afraid you may be out of luck as far as just  using MIDP API.  Depending on what you want to do, you may be able to do similar function using other API in CDC or eRCP. If not, it is possible to create your own PIM API and use JNI to access the PIMs.

"Madalasa Bondalapati" <Madalasab@xxxxxxxxxxx>
Sent by: dsdp-ercp-dev-bounces@xxxxxxxxxxx

11/11/2008 02:41 AM

Please respond to
DSDP ercp list <dsdp-ercp-dev@xxxxxxxxxxx>

"DSDP ercp list" <dsdp-ercp-dev@xxxxxxxxxxx>
[dsdp-ercp-dev] error while accessing pim api in eRCP

I have developed an application in eRCP and I am trying to access PIM api from it. I am getting an exception
java.lang.NoClassDefFoundError: com.sun.midp.main.Configuration
      at javax.microedition.pim.PIM.getInstance(
      at org.eclipse.ui.internal.ViewFactory.busyRestoreViewHelper(Unknown Source)
      at org.eclipse.ui.internal.ViewFactory.busyRestoreView(Unknown Source)
      at org.eclipse.ui.internal.ViewFactory.restoreView(Unknown Source)
      at org.eclipse.ui.internal.Perspective.showView(Unknown Source)
      at org.eclipse.ui.internal.WorkbenchPage.busyShowView(Unknown Source)
      at org.eclipse.ui.internal.WorkbenchPage.showView(Unknown Source)
      at org.eclipse.ui.internal.WorkbenchPage.showView(Unknown Source)
      at Source)
      at Source)
      at org.eclipse.jface.viewers.StructuredViewer$ Source)
      at org.eclipse.ui.internal.JFaceUtil$ Source)
      at Source)
      at org.eclipse.jface.viewers.StructuredViewer.fireOpen(Unknown Source)
      at org.eclipse.jface.viewers.StructuredViewer.handleOpen(Unknown Source)
      at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(Unknown Source)
      at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(Unknown Source)
      at org.eclipse.jface.util.OpenStrategy.access$3(Unknown Source)
      at org.eclipse.jface.util.OpenStrategy$1.handleEvent(Unknown Source)
      at org.eclipse.swt.widgets.EventTable.sendEvent(
      at org.eclipse.swt.widgets.Widget.sendEvent(
      at org.eclipse.swt.widgets.Widget.sendEvent(
      at org.eclipse.swt.widgets.Widget.sendEvent(
      at org.eclipse.swt.widgets.Control.pointerCallback(
      at Method)
      at org.eclipse.swt.widgets.Display.readAndDispatch(
      at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
      at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
      at Source)
      at org.eclipse.core.internal.runtime.PlatformActivator$
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
      at Source)
      at Source)
      at java.lang.reflect.AccessibleObject.invokeL(
      at java.lang.reflect.Method.invoke(
      at org.eclipse.core.launcher.Main.invokeFramework(Unknown Source)
      at org.eclipse.core.launcher.Main.basicRun(Unknown Source)
      at Source)
      at org.eclipse.core.launcher.Main.main(Unknown Source)
Can anybody help in resolving this issue
Thanks in advance,


This message, including any attachments, contains confidential information
intended for a specific individual and purpose, and is intended for the addressee only. Any unauthorized disclosure, use, dissemination, copying, or distribution of
this message or any of its attachments or the information contained in this e-mail, or the taking of any action based on it, is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail and delete this message.


dsdp-ercp-dev mailing list

Back to the top