Closed GoogleCodeExporter closed 8 years ago
Appears to be two separate issues, actually.
1: Plovr serve will reject the second request (not unreasonable, given it's not
intended to be run in production, though kind of a PITA if you're just using
the module functionality to split up your code without bothering to do dynamic
loading)
2: If you refresh fast enough (like I was doing in testing) you get the stack
trace pasted above and send plovr into a unrecoverable state.
1 is probably more like an enhancement, 2 looks like a bug
Original comment by andydun...@gmail.com
on 25 Jan 2011 at 9:38
I have also seen Broken Pipe exception with concurrent requests to the same
module.
Original comment by mieli...@gmail.com
on 4 Feb 2011 at 10:25
I believe this should be fixed by
http://code.google.com/p/plovr/source/detail?r=ff7fb83e4a6b054d2c3a499ac33c6b64d
8198c19
Please sync and build and try it out.
Original comment by bolinf...@gmail.com
on 16 Jun 2011 at 9:33
I've started getting this, could it be related? This is with plovr rev
a796bd1a9239, called from my Grails application (so I don't have a way to
reproduce it with the standalone server, sorry).
Caused by: java.lang.RuntimeException: java.lang.IllegalStateException:
Incorrect source mappings order, previous : (653,52)
new : (0,42)
node : %s
at com.google.javascript.jscomp.Compiler.runCallable(Compiler.java:625)
at com.google.javascript.jscomp.Compiler.runInCompilerThread(Compiler.java:571)
at com.google.javascript.jscomp.Compiler.toSource(Compiler.java:1402)
at com.google.javascript.jscomp.Compiler$5.call(Compiler.java:1300)
at com.google.javascript.jscomp.Compiler$5.call(Compiler.java:1290)
at com.google.javascript.jscomp.Compiler$2.run(Compiler.java:597)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.IllegalStateException: Incorrect source mappings order,
previous : (653,52)
new : (0,42)
node : %s
at com.google.common.base.Preconditions.checkState(Preconditions.java:172)
at com.google.debugging.sourcemap.SourceMapGeneratorV2.addMapping(SourceMapGeneratorV2.java:212)
at com.google.javascript.jscomp.SourceMap.addMapping(SourceMap.java:113)
at com.google.javascript.jscomp.CodePrinter$MappedCodePrinter.generateSourceMap(CodePrinter.java:131)
at com.google.javascript.jscomp.CodePrinter.toSource(CodePrinter.java:640)
at com.google.javascript.jscomp.CodePrinter.access$100(CodePrinter.java:35)
at com.google.javascript.jscomp.CodePrinter$Builder.build(CodePrinter.java:595)
at com.google.javascript.jscomp.Compiler.toSource(Compiler.java:1487)
at com.google.javascript.jscomp.Compiler.access$400(Compiler.java:68)
at com.google.javascript.jscomp.Compiler$9.call(Compiler.java:1438)
at com.google.javascript.jscomp.Compiler$9.call(Compiler.java:1402)
... 2 more
Original comment by mar...@better.se
on 11 Aug 2011 at 10:01
Original issue reported on code.google.com by
andydun...@gmail.com
on 25 Jan 2011 at 9:19