You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Enrique Gaona <eg...@us.ibm.com> on 2007/08/14 01:55:58 UTC

Re: error: IO exception sun.io.MalformedInputException

John,

Here's the maven output with the -e option.  Thanks.

[DEBUG] Source roots:
[DEBUG]
/opt/continuum/app1/working-directory/3/com.ibm.csdp.cs.dds/CSDPDocumentDeliveryClient

[DEBUG]
/opt/continuum/app1/working-directory/3/com.ibm.csdp.cs.dds/CSDPDocumentDeliveryClient/gen/src

Compiling 48 source files to
/opt/continuum/app1/working-directory/3/com.ibm.csdp.cs.dds/CSDPDocumentDeliveryClient/target/classes

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

error: IO exception sun.io.MalformedInputException
error: IO exception sun.io.MalformedInputException

[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.BuildFailureException: Compilation failure
             at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:555)

             at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)

             at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)

             at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)

             at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)

             at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)

             at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
             at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
             at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
             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)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation
failure
             at
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java(Compiled
 Code))
             at
org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:110)
             at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)

             at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)

             ... 17 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 minutes 32 seconds
[INFO] Finished at: Mon Aug 13 18:52:01 CDT 2007
[INFO] Final Memory: 47M/108M
[INFO]
------------------------------------------------------------------------


Enrique




                                                                           
             John Casey                                                    
             <jdcasey@commonja                                             
             va.org>                                                    To 
                                       "Maven Users List"                  
             08/13/2007 05:43          <us...@maven.apache.org>            
             PM                                                         cc 
                                                                           
                                                                   Subject 
             Please respond to         Re: error: IO exception             
               "Maven Users            sun.io.MalformedInputException      
                   List"                                                   
             <users@maven.apac                                             
                  he.org>                                                  
                                                                           
                                                                           
                                                                           




Can you post the stacktrace you get from running with -e? This isn't
much to go on...

-john

On Aug 13, 2007, at 6:19 PM, Enrique Gaona wrote:

>
>
> Hi,
> I was wondering if anyone has encountered the "error: IO exception
> sun.io.MalformedInputException" in continuum.   This error shows up
> when
> the build is executed within continuum, but not from the command
> line.  Any
> ideas?  Thanks.
>
> Compiling 20 source files to
> /opt/continuum/app1/working-directory/3/com.ibm.csdp.cs.dds/
> CSDPContentGenClient/target/classes
>
> [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] BUILD FAILURE
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Compilation failure
>
> error: IO exception sun.io.MalformedInputException
>
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Total time: 3 minutes 42 seconds
> [INFO] Finished at: Mon Aug 13 16:44:33 CDT 2007
> [INFO] Final Memory: 38M/116M
> [INFO]
> ----------------------------------------------------------------------
> --
>
> Enrique

---
John Casey
Committer and PMC Member, Apache Maven
mail: jdcasey at commonjava dot org
blog: http://www.ejlife.net/blogs/john