are you on Linux? There's a limit of open files you can have. Google
for "Too many open files" to find a solution. Here's a good page:
http://confluence.atlassian.com/display/CONF29/Fix+'Too+many+open+files'+error+on+Linux+by+increasing+filehandles
If your parameters are in a normal range before calling the GWT
compiler, then there may be a problem with GWT though, because I'm not
sure, if it's supposed to use so many open files.
HTH
Chris
On Jun 1, 12:28 am, googelybear <googelyb...@gmail.com> wrote:
> Hi,
>
> When I compile my gwt project via ant I regularly get the following
> error
> '[java] Invoking
> com.google.gwt.dev.javac.StandardGeneratorContext@28e4f4ad
> [java] [ERROR] Generator
> 'com.google.gwt.uibinder.rebind.UiBinderGenerator' threw threw an
> exception while rebinding (...)
> [java] java.lang.RuntimeException: java.io.FileNotFoundException:
> (...)web/core/client/ui/LanguageBarPanel.ui.xml (Too many open
> files)'
> [java] at
> com.google.gwt.uibinder.rebind.W3cDomHelper.documentFor(W3cDomHelper.java:
> 100)
> [java] at
> com.google.gwt.uibinder.rebind.UiBinderGenerator.getW3cDoc(UiBinderGenerato r.java:
> 147)
> [java] at
> com.google.gwt.uibinder.rebind.UiBinderGenerator.generateOnce(UiBinderGener ator.java:
> 124)
> [java] at
> com.google.gwt.uibinder.rebind.UiBinderGenerator.generate(UiBinderGenerator .java:
> 105)
> [java] at
> com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator(StandardGene ratorContext.java:
> 418)
> [java] at
> com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:
> 38)
> [java] at com.google.gwt.dev.shell.StandardRebindOracle
> $Rebinder.tryRebind(StandardRebindOracle.java:108)
> [java] at com.google.gwt.dev.shell.StandardRebindOracle
> $Rebinder.rebind(StandardRebindOracle.java:54)
> [java] at
> com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.j ava:
> 154)
> [java] at
> com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.j ava:
> 143)
> [java] at com.google.gwt.dev.Precompile
> $DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(Precompile.ja va:
> 317)
> [java] at
> com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRe binds(WebModeCompilerFrontEnd.java:
> 95)
> [java] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
> $CompilerImpl.process(AbstractCompiler.java:200)
> [java] at
> org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
> [java] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
> $CompilerImpl.compile(AbstractCompiler.java:123)
> [java] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
> $CompilerImpl.compile(AbstractCompiler.java:234)
> [java] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
> $CompilerImpl.access$200(AbstractCompiler.java:109)
> [java] at
> com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:
> 522)
> [java] at
> com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations( BasicWebModeCompiler.java:
> 112)
> [java] at
> com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclaratio ns(WebModeCompilerFrontEnd.java:
> 47)
> [java] at
> com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScript Compiler.java:
> 422)
> [java] at
> com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.jav a:
> 32)
> [java] at
> com.google.gwt.dev.Precompile.precompile(Precompile.java:522)
> [java] at
> com.google.gwt.dev.Precompile.precompile(Precompile.java:414)
> [java] at com.google.gwt.dev.Compiler.run(Compiler.java:201)
> [java] at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
> [java] at
> com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
> [java] at
> com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRu nner.java:
> 81)
> [java] at com.google.gwt.dev.Compiler.main(Compiler.java:159)
>
> followed by (probably subsequent errors) like the following
> (truncated):
>
> [java] java.lang.NullPointerException
> [java] at com.google.gwt.dev.util.Util.copyNoClose(Util.java:
> 259)
> [java] at com.google.gwt.dev.util.Util.copy(Util.java:180)
> [java] at
> com.google.gwt.dev.util.Util.readStreamAsString(Util.java:755)
> [java] at com.google.gwt.dev.javac.Shared.readSource(Shared.java:
> 150)
>
> Does anyone have similar problems or is this a known bug? Is there any
> more information I should provide that could help?
>
> thanks for any help,
>
> Dennis
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment