Am Mittwoch, 29. August 2018 23:40:42 UTC+2 schrieb Colin Alworth:
>
> With that update, you might need to look more at your test or project
> setup - can you share the full log from a mvn test (or whatever you do to
> run the gwt test cases)?
>
> So if I got this correct you are offering help to look at the next
problem...
I already solved tons of problems with missing source dependencies and a
fix in gwt.xml
Currently I am stuck here:
Running net.sf.mmm.util.gwt.UtilCoreGwtTest
Compiling module net.sf.mmm.util.gwt.UtilCoreGwtTest.JUnit
Computing all possible rebind results for
'com.google.gwt.logging.client.LogConfiguration'
Rebinding com.google.gwt.logging.client.LogConfiguration
Checking rule <generate-with
class='com.google.gwt.editor.rebind.SimpleBeanEditorDriverGenerator'/>
[WARN] Detected warnings related to
'com.google.gwt.editor.client.SimpleBeanEditorDriver'. Are
validation-api-<version>.jar and validation-api-<version>-sources.jar on
the classpath?
[WARN] Unknown type
'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in deferred
binding rule
Computing all possible rebind results for
'net.sf.mmm.util.pojo.descriptor.api.PojoDescriptorBuilder'
Rebinding net.sf.mmm.util.pojo.descriptor.api.PojoDescriptorBuilder
Invoking generator
net.sf.mmm.util.pojo.descriptor.impl.rebind.PojoDescriptorBuilderGenerator
[WARN] Found only 2 supported type(s)
00:04:23.804 [main] DEBUG n.s.m.u.p.d.i.DefaultPojoDescriptorEnhancer -
copying accessor 'set-mapped-accessor of property 'GwtTestPojo.value' with
type java.lang.String' to 'Descriptor for property values'
00:04:23.808 [main] DEBUG n.s.m.u.p.d.i.DefaultPojoDescriptorEnhancer -
copying accessor 'get-mapped-accessor of property 'GwtTestPojo.value' with
type java.lang.String' to 'Descriptor for property values'
00:04:23.810 [main] DEBUG n.s.m.u.p.d.i.DefaultPojoDescriptorEnhancer -
copying accessor 'get-indexed-accessor of property 'GwtTestPojo.item' with
type java.lang.String' to 'Descriptor for property items'
00:04:23.810 [main] DEBUG n.s.m.u.p.d.i.DefaultPojoDescriptorEnhancer -
copying accessor 'set-mapped-accessor of property 'GwtTestPojo.item' with
type java.lang.String' to 'Descriptor for property items'
00:04:23.810 [main] DEBUG n.s.m.u.p.d.i.DefaultPojoDescriptorEnhancer -
copying accessor 'add-accessor of property 'GwtTestPojo.item' with type
java.lang.String' to 'Descriptor for property items'
00:04:23.810 [main] DEBUG n.s.m.u.p.d.i.DefaultPojoDescriptorEnhancer -
copying accessor 'set-indexed-accessor of property 'GwtTestPojo.item' with
type java.lang.String' to 'Descriptor for property items'
00:04:23.811 [main] DEBUG n.s.m.u.p.d.i.DefaultPojoDescriptorEnhancer -
copying accessor 'get-mapped-accessor of property 'GwtTestPojo.item' with
type java.lang.String' to 'Descriptor for property items'
00:04:23.811 [main] DEBUG n.s.m.u.p.d.i.DefaultPojoDescriptorEnhancer -
copying accessor 'get-size-accessor of property 'GwtTestPojo.item' with
type int' to 'Descriptor for property items'
[ERROR] Errors in 'net/sf/mmm/util/lang/api/CompareOperator.java'
[ERROR] Line 236: The method evalComparable(Comparator, Comparable,
Comparable) from the type ComparatorHelper refers to the missing type
Comparator
Tracing compile failure path for type
'net.sf.mmm.util.lang.api.CompareOperator'
[ERROR] Errors in 'net/sf/mmm/util/lang/api/CompareOperator.java'
[ERROR] Line 236: The method evalComparable(Comparator,
Comparable, Comparable) from the type ComparatorHelper refers to the
missing type Comparator
[ERROR] Hint: Your source appears not to live underneath a subpackage
called 'client'; no problem, but you'll need to use the <source> directive
in your module to make it accessible
[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.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:94)
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:786)
at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:778)
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:1401)
at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:896)
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(JavaToJavaScriptCompiler.java: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.junit.JUnitShell.compileForWebMode(JUnitShell.java:1092)
at
com.google.gwt.junit.JUnitShell.maybeCompileForWebMode(JUnitShell.java:1150)
at
com.google.gwt.junit.CompileStrategy.maybeCompileModuleImpl2(CompileStrategy.java:183)
at
com.google.gwt.junit.CompileStrategy.maybeCompileModuleImpl(CompileStrategy.java:113)
at
com.google.gwt.junit.SimpleCompileStrategy.maybeCompileModule(SimpleCompileStrategy.java:36)
at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1315)
at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1283)
at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:672)
at
com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:421)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:247)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:108)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:78)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
at
org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Caused by: java.lang.AssertionError
at
com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1577)
at
com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1590)
at
com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1596)
at com.google.gwt.dev.jjs.impl.UnifyAst.flowInto(UnifyAst.java:1201)
at
com.google.gwt.dev.jjs.impl.UnifyAst.access$200(UnifyAst.java:135)
at
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.endVisit(UnifyAst.java:311)
at
com.google.gwt.dev.jjs.ast.JNewInstance.traverse(JNewInstance.java:76)
at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
at
com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
... 65 more
[ERROR] at NlsFormatterChoice.java(70): new
NlsFormatterChoice$Condition(null, null)
[ERROR] at NlsFormatterChoice.java(70): final static Filter
FILTER_ELSE = new NlsFormatterChoice$Condition(null, null)
[ERROR] at NlsFormatterChoice.java(53): {
AbstractNlsFormatterPlugin.$clinit();
final static char CONDITION_START = '(';
final static char CONDITION_END = ')';
final static char CONDITION_VAR = '?';
final static String CONDITION_ELSE = "else";
final static Filter FILTER_ELSE = new NlsFormatterChoice$Condition(null,
null);
final static CharFilter FILTER_COMPARATOR = new ListCharFilter(true, new
char[] {'<', '=', '>', '!'});
final static CharFilter FILTER_COMPARATOR_ARGUMENT = new
ConjunctionCharFilter(Conjunction.OR, new CharFilter[]
{CharFilter.LATIN_DIGIT_OR_LETTER_FILTER, new ListCharFilter(true, new
char[] {'-', '+', '.', ':'})});
}
[ERROR] at NlsFormatterChoice.java(53): {
AbstractNlsFormatterPlugin.$clinit();
final static char CONDITION_START = '(';
final static char CONDITION_END = ')';
final static char CONDITION_VAR = '?';
final static String CONDITION_ELSE = "else";
final static Filter FILTER_ELSE = new NlsFormatterChoice$Condition(null,
null);
final static CharFilter FILTER_COMPARATOR = new ListCharFilter(true, new
char[] {'<', '=', '>', '!'});
final static CharFilter FILTER_COMPARATOR_ARGUMENT = new
ConjunctionCharFilter(Conjunction.OR, new CharFilter[]
{CharFilter.LATIN_DIGIT_OR_LETTER_FILTER, new ListCharFilter(true, new
char[] {'-', '+', '.', ':'})});
}
[ERROR] at NlsFormatterChoice.java(53):
net.sf.mmm.util.nls.impl.formatter.NlsFormatterChoice.$clinit()V
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 8.647 sec
<<< FAILURE! - in net.sf.mmm.util.gwt.UtilCoreGwtTest
testPojoPropertyIntrospector(net.sf.mmm.util.gwt.UtilCoreGwtTest) Time
elapsed: 8.645 sec <<< ERROR!
com.google.gwt.core.ext.UnableToCompleteException: (see previous log
entries)
However, I will sleep now and hopefully tomorrow I will get some
inspiration how to proceed.
If you have a hint or see something I might be missing out, let me know.
But do not feel required to fix my code :)
>From the GWT side the problem is solved.
Thank you so much
Jörg
--
You received this message because you are subscribed to the Google Groups "GWT
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-web-toolkit-contributors/ff21b0fa-93ca-4625-ba16-5cc8c1728f77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.