It seems like the newer versions of javadoc plugin are trying to parse
version information out of your javadoc tool, and your tool is
responding with fewer string tokens than is expected, resulting in the
error below.

I strongly doubt the Maven team tests on AIX much less with jdk4 on
AIX, so it seems like you've simply stumbled into a bug. It would be
great if you could grok the code and submit a patch yourself, as I
certainly don't have an AIX instance to play with and I doubt many of
the Maven team does either.

First, go file a bug in JIRA. Then pull down the code and see if you
can't figure it out. If you have troubles, jump onto IRC and we'll
help you out.

Wayne

On 8/20/07, L. J. <[EMAIL PROTECTED]> wrote:
> Hi Wayne,
>
> It is jdk1.4 on AIX.
>
> Thanks.
>
> LJ
>
> On 8/20/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
> >
> > What JDK and what OS?
> >
> > Wayne
> >
> > On 8/20/07, L. J. <[EMAIL PROTECTED]> wrote:
> > > I run mvn javadoc:javadoc with 2.0.6 and 2.0.7, both give me the
> > following
> > > error.
> > > It works fine if I use 2.0.4.
> > >
> > > Has anyone seen this error before?
> > >
> > > Thanks.
> > >
> > > LJ
> > >
> > > [INFO] [javadoc:javadoc]
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [ERROR] FATAL ERROR
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] null
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [DEBUG] Trace
> > > java.util.NoSuchElementException
> > >         at java.util.StringTokenizer.nextToken(StringTokenizer.java
> > (Compiled
> > > Code))
> > >         at
> > > org.apache.maven.plugin.javadoc.AbstractJavadocMojo.getJavadocVersion(
> > > AbstractJavadocMojo.java:2959)
> > >         at
> > org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport
> > > (AbstractJavadocMojo.java:1085)
> > >         at org.apache.maven.plugin.javadoc.JavadocReport.generate(
> > > JavadocReport.java:131)
> > >         at org.apache.maven.plugin.javadoc.JavadocReport.execute(
> > > JavadocReport.java:219)
> > >         at org.apache.maven.plugin.DefaultPluginManager.executeMojo (
> > > DefaultPluginManager.java:443)
> > >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > DefaultLifecycleExecutor.java:539)
> > >         at
> > >
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
> > > DefaultLifecycleExecutor.java:493)
> > >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > > DefaultLifecycleExecutor.java:463)
> > >         at
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > (
> > > DefaultLifecycleExecutor.java:311)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> > > DefaultLifecycleExecutor.java:224)
> > >         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute (
> > > DefaultLifecycleExecutor.java:143)
> > >         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
> > :334)
> > >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> > >         at org.apache.maven.cli.MavenCli.main (MavenCli.java:272)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > NativeMethodAccessorImpl.java:85)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke (
> > > NativeMethodAccessorImpl.java:58)
> > >         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > > DelegatingMethodAccessorImpl.java:60)
> > >         at java.lang.reflect.Method.invoke(Method.java:391)
> > >         at org.codehaus.classworlds.Launcher.launchEnhanced (
> > Launcher.java
> > > :315)
> > >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > >         at org.codehaus.classworlds.Launcher.mainWithExitCode(
> > Launcher.java
> > > :430)
> > >         at org.codehaus.classworlds.Launcher.main (Launcher.java:375)
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to