Hello,

please let me know:

- Does the File "TestSuite3.jad" exist in the root of your project?
- Does the ".eclipseme" file in the root contain a line similar to:
<eclipsemeMetadata jad="TestSuite3.jad" version="1.7.7">
- Sun JDK 1.4.x is no longer supportet, as far as i know



Justin Stern schrieb:
> Hey, thanks for the suggestion, but actually I should have mentioned
> that that location (C:\workspace\TestMidlet\.eclipse.tmp\emulation\)
> does get created (also, this is all still happening at the 'Create New
> Project' stage, which is creating all these locations from scratch). 
> So, the .eclipse.tmp\emulation directory is being created by Eclipse,
> it's the the TestMidlet.jad which doesn't get created, and I'm guessing
> also whatever other files, etc, are supposed to be created after the jad
> is written.
> Without knowing exactly what is going on behind the scenes, it looks
> like the device 'Profile' and 'Configuration' settings are not set when
> I import the Motorola i930 device, which in turn is maybe causing the
> null pointer exception in my eclipse log:
> java.lang.NullPointerException
>     at
> eclipseme.core.model.MidletSuiteFactory$MidletSuiteCreationRunnable.getProfileVersion
> (MidletSuiteFactory.java:367)
>     at
> eclipseme.core.model.MidletSuiteFactory$MidletSuiteCreationRunnable.getDefaultApplicationDescriptorProperties
> (MidletSuiteFactory.java:289)
> ...
> (full trace is below)
> 
> Also, I tried importing an already-existing (non eclipse) i930 project,
> complete with source and jad, but eclipse seems to hang with 'Converting
> Projects'.
> 
> Further, sometimes rather than the above null pointer, I get this
> exception in the eclipse logs (which again looks to me to be related to
> the missing 'Profile' and 'Configuration' settings for the imported i930
> device):
> 
> !ENTRY org.eclipse.core.resources 2 75 2007-12-12 10:12:59.765
> !MESSAGE Errors during build.
> !SUBENTRY 1 eclipseme.core 2 75 2007-12-12 10:12:59.765
> !MESSAGE Errors running builder "Preverification" on project TestingSuite3.
> !SUBENTRY 1 eclipseme.core 2 75 2007-12-12 10:12:59.765
> !MESSAGE java.lang.NullPointerException encountered while running
> Preverification.
> !STACK 0
> java.lang.NullPointerException
>     at
> eclipseme.core.internal.PreferenceAccessor.getPreverificationConfigurationVersion
> (PreferenceAccessor.java:156)
>     at
> eclipseme.core.model.impl.StandardPreverifier.getCLDCConfigurationParameters(StandardPreverifier.java:379)
>     at
> eclipseme.core.model.impl.StandardPreverifier.constructCommandLine
> (StandardPreverifier.java:317)
>     at
> eclipseme.core.model.impl.StandardPreverifier.preverify(StandardPreverifier.java:179)
>     at
> eclipseme.core.model.impl.MidletSuiteProject.preverify(MidletSuiteProject.java:442)
>     at
> eclipseme.core.internal.preverification.builder.ResourceDeltaBuilder.handleClassAddsAndChanges(ResourceDeltaBuilder.java:815)
>     at
> eclipseme.core.internal.preverification.builder.ResourceDeltaBuilder.handleNullDelta
> (ResourceDeltaBuilder.java:932)
>     at
> eclipseme.core.internal.preverification.builder.ResourceDeltaBuilder.build(ResourceDeltaBuilder.java:341)
>     at
> eclipseme.core.internal.preverification.builder.PreverificationBuilder.preverifyProject
> (PreverificationBuilder.java:942)
>     at
> eclipseme.core.internal.preverification.builder.PreverificationBuilder.build(PreverificationBuilder.java:475)
>     at
> org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java :603)
>     at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>     at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:167)
>     at org.eclipse.core.internal.events.BuildManager.basicBuild
> (BuildManager.java:201)
>     at
> org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:230)
>     at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>     at org.eclipse.core.internal.events.BuildManager.basicBuild
> (BuildManager.java:233)
>     at
> org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:252)
>     at
> org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:285)
>     at org.eclipse.core.internal.events.AutoBuildJob.doBuild
> (AutoBuildJob.java:154)
>     at
> org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:217)
>     at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
> 
> 
> Thanks for any help!
> 
> On Dec 12, 2007 9:08 AM, Markus Sinner <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     Try creating the directory
>     C:\workspace\TestMidlet\.eclipse.tmp\emulation\ by hand, then it should
>     work.
> 
>     Justin Stern schrieb:
>     > 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
>     <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]
>     <mailto:[email protected]>
>     > https://lists.sourceforge.net/lists/listinfo/eclipseme-users
>     <https://lists.sourceforge.net/lists/listinfo/eclipseme-users>
> 
>     --
> 
>     *********************************
>     [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>     http://www.psitronic.de
> 
>     psitronic IT-Solutions
>     Markus Sinner
>     W-Rathenau-Str. 14 - 68642 Bürstadt
>     Tel.: (+49)6206 / 963513
>     Fax:  (+49)6206 / 963514
> 
>     -------------------------------------------------------------------------
>     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
>     <http://sourceforge.net/services/buy/index.php>
>     _______________________________________________
>     Eclipseme-users mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/eclipseme-users
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> 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

-- 

*********************************
[EMAIL PROTECTED]
http://www.psitronic.de

psitronic IT-Solutions
Markus Sinner
W-Rathenau-Str. 14 - 68642 Bürstadt
Tel.: (+49)6206 / 963513
Fax:  (+49)6206 / 963514

-------------------------------------------------------------------------
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