Ok this gets weirder, now I get another internal compiler error in
DisclosurePanel:

     [java]    Scanning for additional dependencies: jar:file:/opt/
gwt-2.0.3/gwt-user.jar!/com/google/gwt/user/client/ui/
DisclosurePanel.java
     [java]       Computing all possible rebind results for
'com.google.gwt.user.client.ui.DisclosurePanel.DefaultImages'
     [java]          Rebinding
com.google.gwt.user.client.ui.DisclosurePanel.DefaultImages
     [java]             Invoking
com.google.gwt.dev.javac.standardgeneratorcont...@4e126f1c
     [java]                Preparing method disclosurePanelClosed
     [java]                   [ERROR] Unable to generate file name for
image bundle file
     [java]                Preparing method disclosurePanelOpen
     [java]                   [ERROR] Unable to generate file name for
image bundle file
     [java]    [ERROR] Errors in 'jar:file:/opt/gwt-2.0.3/gwt-
user.jar!/com/google/gwt/user/client/ui/DisclosurePanel.java'
     [java]       [ERROR] Line 93:  Failed to resolve
'com.google.gwt.user.client.ui.DisclosurePanel.DefaultImages' via
deferred binding
     [java]    [ERROR] Errors in 'file:/var/local/hudson/jobs/
myproject/workspace/myproject/.../ApiClient.java'
     [java]       [ERROR]  Internal compiler error
     [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)
     [java]     at
com.google.gwt.dev.javac.SourceFileCompilationUnit.getSource(SourceFileCompilationUnit.java:
65)
     [java]     at com.google.gwt.dev.jdt.AbstractCompiler
$CompilationUnitAdapter.getContents(AbstractCompiler.java:75)

Can anyone make sense out of this?


On Jun 2, 1:23 am, googelybear <googelyb...@gmail.com> wrote:
> Hi Chris,
>
> yes it's a linux box (ubuntu). The weird thing is that it compiles
> fine on my workstation (also Ubuntu Linux) without tweaking (I run the
> gwt compiler via eclipse and not via ant but I thinkg that shouldn't
> make a difference).
>
> Thanks for your pointer, I will try to increase the limit tomorrow.
>
> Dennis
>
> On Jun 1, 1:17 am, Chris Lercher <cl_for_mail...@gmx.net> wrote:
>
>
>
> > Hi,
>
> > are you on Linux? There's a limit ofopenfilesyou can have. Google
> > for "Toomanyopenfiles" to find a solution. Here's a good 
> > page:http://confluence.atlassian.com/display/CONF29/Fix+'Too+many+open+fil...
>
> > 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 somanyopenfiles.
>
> > 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.standardgeneratorcont...@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 (Toomanyopen
> > >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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to