Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Post upgradation problems

 
Ranch Hand
Posts: 33
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have upgraded to GWT-2.2.0 from GWT-2.0.4 and after the update I am
getting compilation errors. Here I am attaching a piece of stack
trace . Complete stack trace can be provided if anyone needs it.I am
using ANT 1.7.1 to build my project. All of the problems are in
gwt-user.jar and one in
gwt.dnd.jar

[ERROR] Errors in 'jar:file:/C:/Programs/tools/gwt-2.2.0/gwt-
user.jar!/com/google/gwt/emul/java/math/BitLevel.java'
[ERROR] Line 55: val.sign cannot be resolved or is not a field
[ERROR] Line 59: The method getFirstNonzeroDigit() is undefined
for the type BigInteger
[ERROR] Line 60: val.sign cannot be resolved or is not a field
[ERROR] Line 61: val.numberLength cannot be resolved or is not a
field
[ERROR] Line 62: val.digits cannot be resolved or is not a field
[ERROR] Line 67: val.digits cannot be resolved or is not a field
[ERROR] Line 68: val.numberLength cannot be resolved or is not a
field
[ERROR] Line 69: val.digits cannot be resolved or is not a field
[ERROR] Line 72: val.numberLength cannot be resolved or is not a
field
[ERROR] Line 83: val.sign cannot be resolved or is not a field
[ERROR] Line 86: val.numberLength cannot be resolved or is not a
field
[ERROR] Line 87: val.digits cannot be resolved or is not a field
[ERROR] Line 87: val.numberLength cannot be resolved or is not a
field
[ERROR] Line 89: val.sign cannot be resolved or is not a field
[ERROR] Line 90: The method getFirstNonzeroDigit() is undefined
for the type BigInteger

===================================================================

[ERROR] Errors in 'jar:file:/C:/IRIS/Projects/Releases/core-client/
release/gwt/war/WEB-INF/lib/gwt-dnd-3.0.0.jar!/com/allen_sauer/gwt/dnd/
client/util/DragClientBundle.java'
[ERROR] Internal compiler error
java.lang.IncompatibleClassChangeError: Found interface
com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
at
com.google.gwt.resources.rg.CssResourceGenerator.computeOperableTypes(CssResourceGenerator.java:
587)
at
com.google.gwt.resources.rg.CssResourceGenerator.initReplacements(CssResourceGenerator.java:
682)
at
com.google.gwt.resources.rg.CssResourceGenerator.init(CssResourceGenerator.java:
461)
at
com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.initAndPrepare(AbstractClientBundleGenerator.java:
615)
at
com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.initAndPrepare(AbstractClientBundleGenerator.java:
654)
at
com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.generate(AbstractClientBundleGenerator.java:
243)
at
com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:
48)
at
com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:
60)
at
com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:
662)
at
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:
41)
at com.google.gwt.dev.shell.StandardRebindOracle
$Rebinder.rebind(StandardRebindOracle.java:74)
at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
259)
at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
248)
at
com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:
91)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:
106)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
$CompilerImpl.process(AbstractCompiler.java:254)
at
org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
$CompilerImpl.compile(AbstractCompiler.java:175)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
$CompilerImpl.compile(AbstractCompiler.java:288)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
$CompilerImpl.access$400(AbstractCompiler.java:145)

================================================================

[ERROR] Unexpected
java.lang.IncompatibleClassChangeError: Found interface
com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
at
com.google.gwt.resources.rg.CssResourceGenerator.computeOperableTypes(CssResourceGenerator.java:
587)
at
com.google.gwt.resources.rg.CssResourceGenerator.initReplacements(CssResourceGenerator.java:
682)
at
com.google.gwt.resources.rg.CssResourceGenerator.init(CssResourceGenerator.java:
461)
at
com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.initAndPrepare(AbstractClientBundleGenerator.java:
615)
at
com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.initAndPrepare(AbstractClientBundleGenerator.java:
654)
at
com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.generate(AbstractClientBundleGenerator.java:
243)
at
com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:
48)
at
com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:
60)
at
com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:
662)
at
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:
41)
at com.google.gwt.dev.shell.StandardRebindOracle
$Rebinder.rebind(StandardRebindOracle.java:74)
at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
259)
at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
248)
at
com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:
91)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:
106)

Any help ???
Thanks
 
Danger, 10,000 volts, very electic .... tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic