Issue: unable to create a new Midlet project, failure on 'Finish' step

Platform: Windows XP
JDK: tried with Sun JDK 1.6.0_02, and 1.4.2_16
Eclipse: 3.2.2
EclipseME: 1.7.7
WTK: Motorola iDEN SDK for J2ME (MIDP 2_0) i930
EclipseME Config:
  WTK Root: is set to the 'iDEN SDK for J2ME (MIDP2_0)' directory
  Preverification is 'Use project device configuration'
  all other defaults are used

Details: Upon clicking 'Finish' to create the new project, an error dialog
is displayed with the following message:
  Errors running builder "Preverification" on project TestMidlet
  C:\workspace\TestMidlet\.eclipse.tmp\emulation\TestMidlet.jad (The system
cannot the path specified)
The result is the src, res, deployed, etc directories being created, but no
jad file.

There is some problem with the interaction between EclipseME and the Moto
sdk I'm guessing.  I was able to import the i930 device into EclipseME.  I'm
able to successfully create an EclipseME project when using the Sun WTK2.5.2.
Further, I'm able to successfully build and execute a midlet using the iDEN
SDK  utility from Motodev.

Any help with this issue would be great.  Hmm, the other thing that just
occurred to me, having composed this email, and gathered all the
information, is that when I look at the EclipseME Device Management, the
'Configuration' and 'Profile' settings for my i930 device are blank, whereas
they have values for the imported Sun WTK2.5.2 DefaultGrayPhone, etc
devices.  The values appear to be set in the i930.settings file:
<?xml version='1.0'?>
<!DOCTYPE platform PUBLIC '-//NetBeans//DTD UEI Emulator Definition 1.0//EN'
' 
http://www.netbeans.org/dtds/ueiemulatordefinition-1_0.dtd'<http://www.netbeans.org/dtds/ueiemulatordefinition-1_0.dtd%27>
>
<platform name='i930' path='C:\Falconsdk2_Alpha_C'>
  <configuration name='CLDC-1.0'/>
  <profile name='MIDP-2.0'/>
...
but I don't see any way of setting the Configuration/Profile values for a
device once it's imported, but perhaps that explains the
NullPointerException found in my eclipse log?  Thoughts, workarounds,
suggestions?:

!ENTRY eclipseme.core 4 0 2007-12-09 21:46:35.953
!MESSAGE performFinish
!STACK 0
java.lang.NullPointerException
    at
eclipseme.core.model.MidletSuiteFactory$MidletSuiteCreationRunnable.getProfileVersion(
MidletSuiteFactory.java:367)
    at
eclipseme.core.model.MidletSuiteFactory$MidletSuiteCreationRunnable.getDefaultApplicationDescriptorProperties
(MidletSuiteFactory.java:289)
    at
eclipseme.core.model.MidletSuiteFactory$MidletSuiteCreationRunnable.getJADFileSource(
MidletSuiteFactory.java:348)
    at
eclipseme.core.model.MidletSuiteFactory$MidletSuiteCreationRunnable.createApplicationDescriptorInProject
(MidletSuiteFactory.java:253)
    at
eclipseme.core.model.MidletSuiteFactory$MidletSuiteCreationRunnable.run (
MidletSuiteFactory.java:140)
    at eclipseme.ui.internal.wizards.NewJ2MEProjectWizard$2.run(
NewJ2MEProjectWizard.java:196)
    at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(
WorkspaceModifyDelegatingOperation.java :68)
    at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(
WorkspaceModifyOperation.java:101)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java
:1737)
    at org.eclipse.ui.actions.WorkspaceModifyOperation.run (
WorkspaceModifyOperation.java:113)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(
ModalContext.java:369)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
    at org.eclipse.jface.wizard.WizardDialog.run (WizardDialog.java:851)
    at eclipseme.ui.internal.wizards.NewJ2MEProjectWizard.performFinish(
NewJ2MEProjectWizard.java:202)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java
:680)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java
:355)
    at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
    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 org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
    at org.eclipse.jface.window.Window.open(Window.java:796)
    at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java
:116)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(
ActionContributionItem.java:539)
    at org.eclipse.jface.action.ActionContributionItem.access$2(
ActionContributionItem.java:488)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(
ActionContributionItem.java :400)
    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 org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java :1894)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
Workbench.java:422)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java
:95)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(
PlatformActivator.java:78)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
EclipseAppLauncher.java :92)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
EclipseAppLauncher.java:68)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(
EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run (
EclipseStarter.java:177)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
    at org.eclipse.core.launcher.Main.run(Main.java:977)
    at org.eclipse.core.launcher.Main.main(Main.java:952)
-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Eclipseme-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/eclipseme-users

Reply via email to