|
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 |
|
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 |
|
John,
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 |
|
In reply to this post by Enrique Gaona
Enrique,
Are you using the IBM JDK? If so, do you know if your files are explicitly encoded in UTF-8? I've experienced the same problem with the IBM JDK -- the filtering in Maven was munging the bits, causing failures. You might experiment with altering the default filtering, by stating explicitly what your files are encoded in, or turning it off entirely... http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%20filter%20resource%20files ? Patrick On 8/13/07, Enrique Gaona <[hidden email]> 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 > |
|
Patrick,
Enrique, Are you using the IBM JDK? If so, do you know if your files are explicitly encoded in UTF-8? I've experienced the same problem with the IBM JDK -- the filtering in Maven was munging the bits, causing failures. You might experiment with altering the default filtering, by stating explicitly what your files are encoded in, or turning it off entirely... http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%20filter%20resource%20files ? Patrick On 8/13/07, Enrique Gaona <[hidden email]> 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 > |
|
Just another idea...if you're using an alternative encoding on
purpose, you might try something like: <project> [...] <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <!-- not sure if this applies to the IBM compiler, just something I dug up on Google --> <!-- NOTE: UTF-8 is just an example... --> <compilerArgument> -encoding UTF-8 </compilerArgument> </configuration> </plugin> </plugins> </build> </project> Just FWIW. -john On Aug 14, 2007, at 8:54 AM, Enrique Gaona wrote: > Patrick, > Thanks for the info and the link. I'm using the IBM JDK 1.4.2. I'll > definitely try your suggestion and let you know the results. > > Thanks again. > > Enrique > > > "Patrick Schneider" <[hidden email]> > > > "Patrick Schneider" <[hidden email]> > 08/13/2007 08:00 PM > Please respond to > "Maven Users List" <[hidden email]> > > > To > > "Maven Users List" <[hidden email]> > > cc > > > Subject > > Re: error: IO exception sun.io.MalformedInputException > > > Enrique, > > Are you using the IBM JDK? If so, do you know if your files are > explicitly > encoded in UTF-8? I've experienced the same problem with the IBM > JDK -- the > filtering in Maven was munging the bits, causing failures. > > You might experiment with altering the default filtering, by stating > explicitly what your files are encoded in, or turning it off > entirely... > > <a href="http://maven.apache.org/guides/getting-started/index.html#How%20do%">http://maven.apache.org/guides/getting-started/index.html#How%20do% > 20I%20filter%20resource%20files > ? > > > Patrick > > On 8/13/07, Enrique Gaona <[hidden email]> 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 |
|
John,
Thanks for the suggestion, very much appreciate it. I added the maven-compiler-plugin and used encoding ASCII and that solved my problem. Enrique John Casey <[hidden email]> wrote on 08/14/2007 09:06:04 AM: > Just another idea...if you're using an alternative encoding on > purpose, you might try something like: > > <project> > [...] > <build> > <plugins> > <plugin> > <artifactId>maven-compiler-plugin</artifactId> > <configuration> > <!-- not sure if this applies to the IBM compiler, just > something I dug up on Google --> > <!-- NOTE: UTF-8 is just an example... --> > <compilerArgument> -encoding UTF-8 </compilerArgument> > </configuration> > </plugin> > </plugins> > </build> > </project> > > Just FWIW. > > -john > > > On Aug 14, 2007, at 8:54 AM, Enrique Gaona wrote: > > > Patrick, > > Thanks for the info and the link. I'm using the IBM JDK 1.4.2. I'll > > definitely try your suggestion and let you know the results. > > > > Thanks again. > > > > Enrique > > > > > > "Patrick Schneider" <[hidden email]> > > > > > > "Patrick Schneider" <[hidden email]> > > 08/13/2007 08:00 PM > > Please respond to > > "Maven Users List" <[hidden email]> > > > > > > To > > > > "Maven Users List" <[hidden email]> > > > > cc > > > > > > Subject > > > > Re: error: IO exception sun.io.MalformedInputException > > > > > > Enrique, > > > > Are you using the IBM JDK? If so, do you know if your files are > > explicitly > > encoded in UTF-8? I've experienced the same problem with the IBM > > JDK -- the > > filtering in Maven was munging the bits, causing failures. > > > > You might experiment with altering the default filtering, by stating > > explicitly what your files are encoded in, or turning it off > > entirely... > > > > <a href="http://maven.apache.org/guides/getting-started/index.html#How%20do%">http://maven.apache.org/guides/getting-started/index.html#How%20do% > > 20I%20filter%20resource%20files > > ? > > > > > > Patrick > > > > On 8/13/07, Enrique Gaona <[hidden email]> 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 > > |
| Powered by Nabble | Edit this page |
