hey, no troubles, thanks for the email.  Since last writing, I've been playing around a bit with the eclipseME source.  Based on my theory of the issues being related to the unset profile/configuration, I simply changed the getPreverificationConfigurationVersion() and getProfileVersion() methods to return the appropriate config/profile versions that I need.   Sure enough, this fixed my problem of not being able to create a new project (jad is now generated), and I was able to package my midlet.  (it appears that somehow the ILbrary configuration library and profile library are being returned as null from the motorola model device.  Haven't poked around through the code enough yet to figure out why, or how they're apparently loaded off the classpath somehow).  However, once packaged, I was unable to run the resulting jar in my MotoSDK emulator (well, it seemed to load, but wouldn't run), so I don't know if this is related to the same issue, or something else that I'm doing wrong.  I'll continue poking around and see if I can make any more progress for the time being.
Justin

On Dec 13, 2007 10:44 AM, Craig Setera <craigsfnet@setera.org> wrote:
Guys,

I apologize I'm not involved and helping out... I'm on a business trip
and have had zero time for much of anything.  I will take a look at this
thread this weekend and see if I can offer any other options.  In the
meantime, you might try turning on logging of the build process as
documented here http://eclipseme.org/docs/buildingRef.html to see if it
offers any insights into what might be going wrong.

Craig

Justin Stern wrote:
> So, you did a "file->new->J2ME Midlet Suite" and then a "file->new->J2ME
> Midlet"?
>
> Well, I can't get as far as doing the 'file->new->J2ME Midlet'.  I get
> the build error once I hit 'Finish' at the end of the 'file->new->J2ME
> Midlet Suite' dialog; EclipseME manages to create a bunch of the
> project directories and files, but not .eclipse.tmp\emulation, or the
> jad.  It also gives me an error dialog 'Errors running builder
> "Preverification" on project Test", and the log usually contains that
> null pointer exception at
> eclipseme.core.model.MidletSuiteFactory$MidletSuiteCreationRunnable.getProfileVersion
> (MidletSuiteFactory.java:367)
> I can create projects fine for the Sun WTK imported devices, where the
> only difference I see between them and my imported motorola i930, is
> that the Sun devices have values for Configuration/Profile when you
> look at Preferences -> J2ME -> Device Management; whereas my i930 has
> no values there.  Sometimes the exception is on
> PreferenceAccessor.getPreverificationConfigurationVersion
>
> The JAD has to exist, and without it wont work.
>
> Yeah, EclipseME isn't able to write the JAD.
> Thanks so much for taking the time to go through this with me
>
>
> On Dec 12, 2007 2:08 PM, Markus Sinner < sinner@psitronic.de
> <mailto:sinner@psitronic.de>> wrote:
>
>     So, you did a "file->new->J2ME Midlet Suite" and then a
>     "file->new->J2ME
>     Midlet"?
>
>     The JAD has to exist, and without it wont work.
>
>     Justin Stern schrieb:
>     > - Does the File "TestSuite3.jad " exist in the root of your project?
>     > Nope
>     >
>     >
>     > - Does the ".eclipseme" file in the root contain a line similar to:
>     > <eclipsemeMetadata jad=" TestSuite3.jad" version=" 1.7.7">
>     > Yup, .eclipseme file:
>     > <?xml version="1.0" encoding="UTF-8"?>
>     > <eclipsemeMetadata jad=" TestingSuite3.jad" version=" 1.7.7">
>     >    <device group="Motorola iDEN SDK for J2ME(TM) Technology"
>     name="i930"/>
>     >    <signing signProject="false"/>
>     > </eclipsemeMetadata>
>     >
>     >
>     > - Sun JDK 1.4.x is no longer supportet, as far as i know
>     > Ok, I was originally using 1.6, until I noticed 1.4.x mentioned on
>     > http://eclipseme.org/docs/prereqs.html and I figured I'd give it
>     a try
>     > in case that was causing issues.  Didn't seem to change anything
>     either way
>     >
>     > On Dec 12, 2007 10:27 AM, Markus Sinner < sinner@psitronic.de
>     <mailto: sinner@psitronic.de>
>     > <mailto:sinner@psitronic.de <mailto:sinner@psitronic.de >>> wrote:
>     >
>     >     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!
>     >     >
>     >
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     >
>     -------------------------------------------------------------------------
>     > 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://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Eclipseme-users mailing list
>     > Eclipseme-users@lists.sourceforge.net
>     <mailto:Eclipseme-users@lists.sourceforge.net >
>     > https://lists.sourceforge.net/lists/listinfo/eclipseme-users
>
>     --
>
>     *********************************
>     sinner@psitronic.de <mailto:sinner@psitronic.de>
>     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://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>     _______________________________________________
>     Eclipseme-users mailing list
>     Eclipseme-users@lists.sourceforge.net
>     <mailto:Eclipseme-users@lists.sourceforge.net>
>     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://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> ------------------------------------------------------------------------
>
> _______________________________________________
> Eclipseme-users mailing list
> Eclipseme-users@lists.sourceforge.net
> 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://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Eclipseme-users mailing list
Eclipseme-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/eclipseme-users