You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Goldfish <ca...@gmx.de> on 2013/11/22 21:23:26 UTC

maven 3.1.1 StackOverflowError

Hi I'm trying to install my maven project and it is ending in a
StackOverflowError.
I can build it on several systems but the one system that it must build on
in the end does not finish... I just can't explain to myself what this error
even means and trying google on this error did not help either...

Exception in thread "main" java.lang.StackOverflowError
	at sun.nio.cs.US_ASCII$Encoder.encodeArrayLoop(US_ASCII.java:198)
	at sun.nio.cs.US_ASCII$Encoder.encodeLoop(US_ASCII.java:231)
	at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:561)
	at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:271)
	at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:125)
	at java.io.OutputStreamWriter.write(OutputStreamWriter.java:207)
	at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:129)
	at java.io.PrintStream.write(PrintStream.java:526)
	at java.io.PrintStream.print(PrintStream.java:669)
	at java.io.PrintStream.println(PrintStream.java:806)
	at org.slf4j.impl.SimpleLogger.write(SimpleLogger.java:381)
	at org.slf4j.impl.SimpleLogger.log(SimpleLogger.java:376)
	at org.slf4j.impl.SimpleLogger.info(SimpleLogger.java:538)
	at org.apache.maven.cli.logging.Slf4jLogger.info(Slf4jLogger.java:59)
	at
org.codehaus.plexus.archiver.AbstractArchiver$1.hasNext(AbstractArchiver.java:464)
	at
org.codehaus.plexus.archiver.AbstractArchiver$1.hasNext(AbstractArchiver.java:467)
	at
org.codehaus.plexus.archiver.AbstractArchiver$1.hasNext(AbstractArchiver.java:467)
	at
org.codehaus.plexus.archiver.AbstractArchiver$1.hasNext(AbstractArchiver.java:467)


The system is: 
Debian Linux 7.0
Kernel and CPU  Linux 3.2.0-4-686-pae on i686



--
View this message in context: http://maven.40175.n5.nabble.com/maven-3-1-1-StackOverflowError-tp5776099.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven 3.1.1 StackOverflowError

Posted by Goldfish <ca...@gmx.de>.
can't tell anymore which plugin executed before the error... the problem had
to be fixes as fast as possible so a downgrade of maven was or solution and
now it works. And switching back again would'nt be a good idea since the
others would claim my head if I break anything on which they're working
right now.



--
View this message in context: http://maven.40175.n5.nabble.com/maven-3-1-1-StackOverflowError-tp5776099p5776559.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven 3.1.1 StackOverflowError

Posted by Stuart McCulloch <mc...@gmail.com>.
Looks like http://jira.codehaus.org/browse/PLXCOMP-208 which was fixed in plexus-archiver-2.2.

Which plugin was executing before the error? It should hopefully just be a matter of updating your pom.xml to use a more recent version of the plugin which depends on plexus-archiver-2.2 or later.

On 22 Nov 2013, at 20:23, Goldfish <ca...@gmx.de> wrote:

> Hi I'm trying to install my maven project and it is ending in a
> StackOverflowError.
> I can build it on several systems but the one system that it must build on
> in the end does not finish... I just can't explain to myself what this error
> even means and trying google on this error did not help either...
> 
> Exception in thread "main" java.lang.StackOverflowError
> 	at sun.nio.cs.US_ASCII$Encoder.encodeArrayLoop(US_ASCII.java:198)
> 	at sun.nio.cs.US_ASCII$Encoder.encodeLoop(US_ASCII.java:231)
> 	at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:561)
> 	at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:271)
> 	at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:125)
> 	at java.io.OutputStreamWriter.write(OutputStreamWriter.java:207)
> 	at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:129)
> 	at java.io.PrintStream.write(PrintStream.java:526)
> 	at java.io.PrintStream.print(PrintStream.java:669)
> 	at java.io.PrintStream.println(PrintStream.java:806)
> 	at org.slf4j.impl.SimpleLogger.write(SimpleLogger.java:381)
> 	at org.slf4j.impl.SimpleLogger.log(SimpleLogger.java:376)
> 	at org.slf4j.impl.SimpleLogger.info(SimpleLogger.java:538)
> 	at org.apache.maven.cli.logging.Slf4jLogger.info(Slf4jLogger.java:59)
> 	at
> org.codehaus.plexus.archiver.AbstractArchiver$1.hasNext(AbstractArchiver.java:464)
> 	at
> org.codehaus.plexus.archiver.AbstractArchiver$1.hasNext(AbstractArchiver.java:467)
> 	at
> org.codehaus.plexus.archiver.AbstractArchiver$1.hasNext(AbstractArchiver.java:467)
> 	at
> org.codehaus.plexus.archiver.AbstractArchiver$1.hasNext(AbstractArchiver.java:467)
> 
> 
> The system is: 
> Debian Linux 7.0
> Kernel and CPU  Linux 3.2.0-4-686-pae on i686
> 
> 
> 
> --
> View this message in context: http://maven.40175.n5.nabble.com/maven-3-1-1-StackOverflowError-tp5776099.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org