incubator-wave-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Hegarty <heg...@gmail.com>
Subject Re: Ubuntu server setup
Date Wed, 24 Aug 2016 12:51:35 GMT
so it looks like the snapshot is ok again but now I get...

Compiling module org.waveprotocol.box.webclient.WebClientProd
   Ignored 11 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all
errors.
   [ERROR] An internal compiler exception occurred
com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during
visit.
        at
com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:111)
        at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:276)
        at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
        at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:118)
        at
com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:72)
        at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
        at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
        at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
        at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:118)
        at
com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(JDeclarationStatement.java:49)
        at
com.google.gwt.dev.jjs.ast.JModVisitor$ListContext.traverse(JModVisitor.java:88)
        at
com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemove(JModVisitor.java:331)
        at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:92)
        at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
        at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
        at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:139)
        at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:135)
        at
com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:83)
        at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
        at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
        at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
        at
com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:785)
        at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:777)
        at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
        at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
        at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
        at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:1379)
        at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:875)
        at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1410)
        at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.constructJavaAst(JavaToJavaScriptCompiler.java:1222)
        at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompia:1140)
        at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:255)
        at com.google.gwt.dev.Precompile.precompile(Precompile.java:255)
        at com.google.gwt.dev.Precompile.precompile(Precompile.java:202)
        at com.google.gwt.dev.Precompile.precompile(Precompile.java:143)
        at com.google.gwt.dev.Compiler.compile(Compiler.java:204)
        at com.google.gwt.dev.Compiler.compile(Compiler.java:155)
        at com.google.gwt.dev.Compiler.compile(Compiler.java:144)
        at com.google.gwt.dev.Compiler$1.run(Compiler.java:118)
        at
com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
        at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
        at com.google.gwt.dev.Compiler.main(Compiler.java:125)
Caused by: java.lang.AbstractMethodError:
org.apache.xerces.dom.ElementNSImpl.setUserData(Ljava/lang/String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/Object;
        at
com.google.gwt.uibinder.rebind.W3cDocumentBuilder.startElement(W3cDocumentBuilder.java:127)
        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:392)
        at
com.google.gwt.uibinder.rebind.W3cDomHelper.documentFor(W3cDomHelper.java:74)
        at
com.google.gwt.uibinder.rebind.UiBinderGenerator.getW3cDoc(UiBinderGenerator.java:208)
        at
com.google.gwt.uibinder.rebind.UiBinrator.generateOnce(UiBinderGenerator.java:183)
        at
com.google.gwt.uibinder.rebind.UiBinderGenerator.generate(UiBinderGenerator.java:128)
        at
com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
        at
com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:745)
        at
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:103)
        at
com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:78)
        at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:262)
        at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:251)
        at
com.google.gwt.dev.PrecompilationContextCreator$1.getAllPossibleRebindAnswers(PrecompilationContextCreator.java:86)
        at
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createStaticRebindExpression(UnifyAst.java:493)
        at
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createRebindExpression(UnifyAst.java:463)
        at
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleMagicMethodCall(UnifyAst.java:588)
        at
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.endVisit(UnifyAst.java:293)
        at
com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:268)
        at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
        at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
        ... 40 more
      [ERROR] at WebClient.java(107): GWT.create(WebClient$Binder.class)
         com.google.gwt.dev.jjs.ast.JMethodCall
      [ERROR] at WebClient.java(107): (WebClient$Binder)
GWT.create(WebClient$Binder.class)
         com.google.gwt.dev.jjs.ast.JCastOperation
      [ERROR] at WebClient.java(107): final static WebClient$Binder BINDER
= (WebClient$Binder) GWT.create(WebClient$Binder.class)
         com.google.gwt.dev.jjs.ast.JDeclarationStatement
      [ERROR] at WebClient.java(100): <source info not available>
         com.google.gwt.dev.jjs.ast.JBlock
      [ERROR] at WebClient.java(100): <source info not available>
         com.google.gwt.dev.jjs.ast.JMethodBody
      [ERROR] at WebClient.java(100):
org.waveprotocol.box.webclient.client.WebClient.$clinit()V
         com.google.gwt.dev.jjs.ast.JMethod
:wave:compileGwt FAILED

FAILURE: Build failed with an exception.

* Where:
Build file '/root/incubator-wave/wave/build.gradle' line: 307

* What went wrong:
Execution failed for task ':wave:compileGwt'.
> Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with
non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output.

BUILD FAILED


On Tue, Aug 23, 2016 at 9:32 AM, Pablo Ojanguren <pablojan@gmail.com> wrote:

> They have published the gwt-2.8-rc2 two weeks ago. I can build the project
> normally with it.
>
> http://search.maven.org/#artifactdetails|com.google.gwt|gwt|2.8.0-rc2|pom
>
> 2016-08-23 10:07 GMT+02:00 Yuri Z <vega113@gmail.com>:
>
> > Yeah, it looks like using SNAPSHOT for GWT version is just constantly
> > causing us troubles... Probably need to use a stable version.
> >
> > On Mon, Aug 22, 2016 at 3:21 PM Pablo Ojanguren <pablojan@gmail.com>
> > wrote:
> >
> > > Hi,
> > >
> > > that is happening just some days. It seems gwt guys are wrongly
> > referencing
> > > the snapshot jsinterop version only in some snapshot builds and it is
> not
> > > available in public reports.
> > > I've tried to replace it in gradle without success:
> > >
> > > configurations.all {
> > >     resolutionStrategy.eachDependency { DependencyResolveDetails
> details
> > > ->
> > >         if (details.requested.name == 'jsinterop') {
> > >             println "Fixing jsinterop dependency"
> > >             details.useTarget "com.google.jsinterop:jsinterop:1.0.0"
> > >         }
> > >     }
> > > }
> > >
> > >
> > >
> > > 2016-08-22 13:47 GMT+02:00 Ben Hegarty <hegsie@gmail.com>:
> > >
> > > > Hmm, I keep getting on my ubuntu 14.04 slice...
> > > >
> > > > root@986009:~/incubator-wave# ./gradlew jar
> > > > Incremental java compilation is an incubating feature.
> > > >
> > > > FAILURE: Build failed with an exception.
> > > >
> > > > * Where:
> > > > Build file '/root/incubator-wave/wave/build.gradle' line: 513
> > > >
> > > > * What went wrong:
> > > > A problem occurred evaluating project ':wave'.
> > > > > Could not resolve all dependencies for configuration
> ':wave:compile'.
> > > >    > Could not resolve com.google.gwt:gwt-dev:2.8.0-SNAPSHOT.
> > > >      Required by:
> > > >          apache-wave:wave:0.4.2
> > > >       > Could not resolve com.google.gwt:gwt-dev:2.8.0-SNAPSHOT.
> > > >          > Could not parse POM
> > > > https://oss.sonatype.org/content/repositories/google-
> > > > snapshots/com/google/gwt/gwt-dev/2.8.0-SNAPSHOT/gwt-dev-2.
> > > > 8.0-20160822.054957-328.pom
> > > >             > Could not resolve com.google.gwt:gwt:2.8.0-SNAPSHOT.
> > > >                > Could not resolve com.google.gwt:gwt:2.8.0-
> SNAPSHOT.
> > > >                   > Could not parse POM
> > > > https://oss.sonatype.org/content/repositories/google-
> > > > snapshots/com/google/gwt/gwt/2.8.0-SNAPSHOT/gwt-2.8.0-
> > > > 20160822.054955-329.pom
> > > >                      > Could not find
> > > > com.google.jsinterop:jsinterop:1.0.0-SNAPSHOT.
> > > >                        Searched in the following locations:
> > > >
> > > > https://repo1.maven.org/maven2/com/google/jsinterop/
> > > > jsinterop/1.0.0-SNAPSHOT/maven-metadata.xml
> > > >
> > > > https://repo1.maven.org/maven2/com/google/jsinterop/
> > > > jsinterop/1.0.0-SNAPSHOT/jsinterop-1.0.0-SNAPSHOT.pom
> > > >
> > > > https://repo1.maven.org/maven2/com/google/jsinterop/
> > > > jsinterop/1.0.0-SNAPSHOT/jsinterop-1.0.0-SNAPSHOT.jar
> > > >
> > > > http://archiva.comunes.org/repository/comunes-snapshots/
> > > > com/google/jsinterop/jsinterop/1.0.0-SNAPSHOT/maven-metadata.xml
> > > >
> > > > http://archiva.comunes.org/repository/comunes-snapshots/
> > > >
> > > com/google/jsinterop/jsinterop/1.0.0-SNAPSHOT/
> > jsinterop-1.0.0-SNAPSHOT.pom
> > > >
> > > > http://archiva.comunes.org/repository/comunes-snapshots/
> > > >
> > > com/google/jsinterop/jsinterop/1.0.0-SNAPSHOT/
> > jsinterop-1.0.0-SNAPSHOT.jar
> > > >
> > > > https://oauth.googlecode.com/svn/code/maven/com/google/
> > > > jsinterop/jsinterop/1.0.0-SNAPSHOT/maven-metadata.xml
> > > >
> > > > https://oauth.googlecode.com/svn/code/maven/com/google/
> > > > jsinterop/jsinterop/1.0.0-SNAPSHOT/jsinterop-1.0.0-SNAPSHOT.pom
> > > >
> > > > https://oauth.googlecode.com/svn/code/maven/com/google/
> > > > jsinterop/jsinterop/1.0.0-SNAPSHOT/jsinterop-1.0.0-SNAPSHOT.jar
> > > >
> > > >
> > > https://oss.sonatype.org/content/repositories/google-
> > snapshots/com/google/
> > > > jsinterop/jsinterop/1.0.0-SNAPSHOT/maven-metadata.xml
> > > >
> > > >
> > > https://oss.sonatype.org/content/repositories/google-
> > snapshots/com/google/
> > > > jsinterop/jsinterop/1.0.0-SNAPSHOT/jsinterop-1.0.0-SNAPSHOT.pom
> > > >
> > > >
> > > https://oss.sonatype.org/content/repositories/google-
> > snapshots/com/google/
> > > > jsinterop/jsinterop/1.0.0-SNAPSHOT/jsinterop-1.0.0-SNAPSHOT.jar
> > > >    > Could not resolve com.google.gwt:gwt-user:2.8.0-SNAPSHOT.
> > > >      Required by:
> > > >          apache-wave:wave:0.4.2
> > > >       > Could not resolve com.google.gwt:gwt-user:2.8.0-SNAPSHOT.
> > > >          > Could not parse POM
> > > > https://oss.sonatype.org/content/repositories/google-
> > > > snapshots/com/google/gwt/gwt-user/2.8.0-SNAPSHOT/gwt-user-
> > > > 2.8.0-20160822.055003-328.pom
> > > >             > Could not resolve com.google.gwt:gwt:2.8.0-SNAPSHOT.
> > > >                > Could not resolve com.google.gwt:gwt:2.8.0-
> SNAPSHOT.
> > > >                   > Could not parse POM
> > > > https://oss.sonatype.org/content/repositories/google-
> > > > snapshots/com/google/gwt/gwt/2.8.0-SNAPSHOT/gwt-2.8.0-
> > > > 20160822.054955-329.pom
> > > >                      > Could not find
> > > > com.google.jsinterop:jsinterop:1.0.0-SNAPSHOT.
> > > >    > Could not resolve com.google.gwt:gwt-codeserver:2.8.0-SNAPSHOT.
> > > >      Required by:
> > > >          apache-wave:wave:0.4.2
> > > >       > Could not resolve com.google.gwt:gwt-codeserver:
> > 2.8.0-SNAPSHOT.
> > > >          > Could not parse POM
> > > > https://oss.sonatype.org/content/repositories/google-
> > > > snapshots/com/google/gwt/gwt-codeserver/2.8.0-SNAPSHOT/gwt-
> > > > codeserver-2.8.0-20160822.055015-328.pom
> > > >             > Could not resolve com.google.gwt:gwt:2.8.0-SNAPSHOT.
> > > >                > Could not resolve com.google.gwt:gwt:2.8.0-
> SNAPSHOT.
> > > >                   > Could not parse POM
> > > > https://oss.sonatype.org/content/repositories/google-
> > > > snapshots/com/google/gwt/gwt/2.8.0-SNAPSHOT/gwt-2.8.0-
> > > > 20160822.054955-329.pom
> > > >                      > Could not find
> > > > com.google.jsinterop:jsinterop:1.0.0-SNAPSHOT.
> > > >
> > > > * Try:
> > > > Run with --stacktrace option to get the stack trace. Run with --info
> or
> > > > --debug option to get more log output.
> > > >
> > > > BUILD FAILED
> > > >
> > > > Total time: 14.731 secs
> > > >
> > > > Is that normal?
> > > >
> > > >
> > > > On Tue, Aug 16, 2016 at 8:29 AM, Yuri Z <vega113@gmail.com> wrote:
> > > >
> > > > > Hi
> > > > > We have setup instructions in the README file. Basically you need
> to
> > > > > download the code, build and build it with gradle. Also, we have
> > > > > instructions on setting it up with VM.
> > > > >
> > > > > On Mon, Aug 15, 2016 at 9:54 PM Adam John <aj@sterlingsolved.com>
> > > wrote:
> > > > >
> > > > > > Hm... docker @hegsie ...?
> > > > > >
> > > > > > Thanks, and talk soon!
> > > > > >
> > > > > > AJ
> > > > > >
> > > > > > Adam John
> > > > > > (914) 623-8433
> > > > > > Google+ <http://google.com/+AdamJohn1> | LinkedIn <
> > > > > http://mradamjohn.com/>
> > > > > >
> > > > > > On Mon, Aug 15, 2016 at 2:47 PM, Ben Hegarty <hegsie@gmail.com>
> > > wrote:
> > > > > >
> > > > > > > Hey guys,
> > > > > > >
> > > > > > > Do we have setup instructions for getting wave operational
on
> an
> > > > Ubuntu
> > > > > > > slice somewhere using the latest code line?
> > > > > > >
> > > > > > > Regards
> > > > > > > Ben
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Regards
> > > > > > > Ben
> > > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Regards
> > > > Ben
> > > >
> > >
> >
>



-- 
Regards
Ben

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message