William,

Can you please try latest DEV build [1]? Please open a bugreport in JIRA
[2] if the problem still occurs with the DEV build.

I probably did not explain this properly, but tycho SNAPSHOT builds are
really short-lived and should be avoided unless you're actually working on
tycho code.

You can find brief explanation of different tycho builds as well as the
current DEV build in [3].


[1]
http://repository.sonatype.org/service/local/repositories/tycho-pseudo-releases/content/org/codehaus/tycho/tycho-distribution/0.3.0-DEV-1756/
[2] http://jira.codehaus.org/browse/MNGECLIPSE
[3] http://docs.codehaus.org/display/M2ECLIPSE/Tycho+builds

--
Regards,
Igor

>
> I wonder if this is just me. After the newest release of tycho
> (0.3.0-20081024.031654-276), I get (1) a list of libraries, and (2)
> NullPointerException.  I thought it was a change in the pom.xml or the
> code
> I was working on; however, tycho now fails for unchanged projects.
>
> Here’s a the output from the last bit of the error.
>
> [WARNING] Attempting to build MavenProject instance for Artifact
> (org.codehaus.tycho:maven-osgi-compiler-plugin:0.3.0-20081024.031654-276)
> of
> type: maven-plugin; constructing POM artifact instead.
> [INFO] [osgi-compiler:compile]
> [INFO] Using compile source roots from build.properties
> ---------------------------------------------------
> constituent[0]:
> file:/d:/Program%20Files/tycho/bin/../lib/aspectjrt-1.5.3.jar
> constituent[1]:
> file:/d:/Program%20Files/tycho/bin/../lib/commons-cli-1.0.jar
> constituent[2]:
> file:/d:/Program%20Files/tycho/bin/../lib/commons-logging-api-1.1.jar
> constituent[3]:
> file:/d:/Program%20Files/tycho/bin/../lib/doxia-sink-api-1.0-alpha-9.jar
> constituent[4]: file:/d:/Program%20Files/tycho/bin/../lib/jsch-0.1.38.jar
> constituent[5]: file:/d:/Program%20Files/tycho/bin/../lib/log4j-1.2.12.jar
> constituent[6]:
> file:/d:/Program%20Files/tycho/bin/../lib/maven-artifact-3.0-alpha-2-TYCHO-695719.jar
> constituent[7]:
> file:/d:/Program%20Files/tycho/bin/../lib/maven-core-3.0-TYCHO-695720.jar
> constituent[8]:
> file:/d:/Program%20Files/tycho/bin/../lib/maven-distribution-3.0-TYCHO-695720.jar
> constituent[9]:
> file:/d:/Program%20Files/tycho/bin/../lib/maven-embedder-3.0-TYCHO-695720.jar
> constituent[10]:
> file:/d:/Program%20Files/tycho/bin/../lib/maven-lifecycle-3.0-TYCHO-695720.jar
> constituent[11]:
> file:/d:/Program%20Files/tycho/bin/../lib/maven-model-3.0-TYCHO-695720.jar
> constituent[12]:
> file:/d:/Program%20Files/tycho/bin/../lib/maven-plugin-api-3.0-TYCHO-695720.jar
> constituent[13]:
> file:/d:/Program%20Files/tycho/bin/../lib/maven-profile-3.0-TYCHO-695720.jar
> constituent[14]:
> file:/d:/Program%20Files/tycho/bin/../lib/maven-project-3.0-TYCHO-695720.jar
> constituent[15]:
> file:/d:/Program%20Files/tycho/bin/../lib/maven-reporting-api-3.0-TYCHO-695720.jar
> constituent[16]:
> file:/d:/Program%20Files/tycho/bin/../lib/maven-shared-model-1.0-TYCHO-695720.jar
> constituent[17]:
> file:/d:/Program%20Files/tycho/bin/../lib/maven-toolchain-3.0-TYCHO-695720.jar
> constituent[18]:
> file:/d:/Program%20Files/tycho/bin/../lib/maven-workspace-3.0-TYCHO-695720.jar
> constituent[19]:
> file:/d:/Program%20Files/tycho/bin/../lib/nekohtml-1.9.6.2.jar
> constituent[20]:
> file:/d:/Program%20Files/tycho/bin/../lib/plexus-container-default-1.0-alpha-48.jar
> constituent[21]:
> file:/d:/Program%20Files/tycho/bin/../lib/plexus-interactivity-api-1.0-alpha-6.jar
> constituent[22]:
> file:/d:/Program%20Files/tycho/bin/../lib/plexus-interpolation-1.1.jar
> constituent[23]:
> file:/d:/Program%20Files/tycho/bin/../lib/plexus-utils-1.5.5.jar
> constituent[24]:
> file:/d:/Program%20Files/tycho/bin/../lib/stax-api-1.0-2.jar
> constituent[25]:
> file:/d:/Program%20Files/tycho/bin/../lib/stax-api-1.0.1.jar
> constituent[26]:
> file:/d:/Program%20Files/tycho/bin/../lib/wagon-file-1.0-beta-4.jar
> constituent[27]:
> file:/d:/Program%20Files/tycho/bin/../lib/wagon-http-lightweight-1.0-beta-4.jar
> constituent[28]:
> file:/d:/Program%20Files/tycho/bin/../lib/wagon-http-shared-1.0-beta-4.jar
> constituent[29]:
> file:/d:/Program%20Files/tycho/bin/../lib/wagon-provider-api-1.0-beta-4.jar
> constituent[30]:
> file:/d:/Program%20Files/tycho/bin/../lib/wagon-ssh-1.0-beta-4.jar
> constituent[31]:
> file:/d:/Program%20Files/tycho/bin/../lib/wagon-ssh-common-1.0-beta-4.jar
> constituent[32]:
> file:/d:/Program%20Files/tycho/bin/../lib/wagon-ssh-external-1.0-beta-4.jar
> constituent[33]:
> file:/d:/Program%20Files/tycho/bin/../lib/wstx-asl-3.2.6.jar
> constituent[34]:
> file:/d:/Program%20Files/tycho/bin/../lib/xbean-reflect-3.4.jar
> constituent[35]:
> file:/d:/Program%20Files/tycho/bin/../lib/xercesMinimal-1.9.6.2.jar
> constituent[36]:
> file:/d:/Program%20Files/tycho/bin/../tycho/org.eclipse.osgi-3.4.0.v20080605-1900.jar
> constituent[37]:
> file:/d:/Program%20Files/tycho/bin/../tycho/tycho-osgi-components-0.3.0-SNAPSHOT.jar
> ---------------------------------------------------
> java.lang.NullPointerException
>       at
> org.codehaus.tycho.osgitools.OsgiStateController.getBundleDescription(OsgiStateController.java:459)
>       at
> org.codehaus.tycho.osgicompiler.AbstractOsgiCompilerMojo.getClasspathElements(AbstractOsgiCompilerMojo.java:133)
>       at
> org.codehaus.tycho.osgicompiler.copied.AbstractCompilerMojo.getCompilerConfiguration(AbstractCompilerMojo.java:421)
>       at
> org.codehaus.tycho.osgicompiler.AbstractOsgiCompilerMojo.getCompilerConfiguration(AbstractOsgiCompilerMojo.java:267)
>       at
> org.codehaus.tycho.osgicompiler.copied.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:294)
>       at
> org.codehaus.tycho.osgicompiler.AbstractOsgiCompilerMojo.execute(AbstractOsgiCompilerMojo.java:94)
>       at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:623)
>       at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:521)
>       at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:288)
>       at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:214)
>       at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:172)
>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:218)
>       at
> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:899)
>       at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
>       at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
>       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
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>       at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>       at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
>       at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
>       at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
>
> --
> View this message in context:
> http://www.nabble.com/tycho-NullPointerException-tp20180356p20180356.html
> Sent from the Maven Eclipse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to