Discussion:
GWT Update to 2.8.2
dinesh kumar
2018-06-07 13:07:22 UTC
Permalink
I have emulated few of the classes for example : java.util.Locale

But now all my code is always referring to this class instead of jre
library. How and where can we specify where to look for?
Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_se.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/dom/builder/client/DomMediaBuilderBase.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_lkt.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/impl/cldr/DateTimeFormatInfoImpl_jgo.java'
[java] java.lang.String
.
.
.
..
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/core/client/JavaScriptObject.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Class.java'
[java] [ERROR] com.google.gwt.core.client.JavaScriptObject
cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/String.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/CloneNotSupportedException.java'
[java] [ERROR] java.lang.Exception cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/io/PrintWriter.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StackTraceElement.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/ClassNotFoundException.java'
[java] [ERROR] java.lang.Exception cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/reflect/Method.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/CharSequence.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Iterable.java'
[java] [ERROR] java.util.Spliterator cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/javaemul/internal/NativeRegExp.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/nio/charset/Charset.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuffer.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/util/Locale.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuilder.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Comparator.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/UnsupportedEncodingException.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Exception.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/OutputStream.java'
[java] [ERROR] java.io.IOException cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/IntStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Spliterator.java'
[java] [ERROR] java.util.Comparator cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/SortedMap.java'
[java] [ERROR] java.util.Comparator cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AbstractStringBuilder.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocaleInfo.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'
[java] [ERROR] java.lang.Exception cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Closeable.java'
[java] [ERROR] java.io.IOException cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Flushable.java'
[java] [ERROR] java.io.IOException cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/LongStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalDouble.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Integer.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalInt.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/DoubleStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Stream.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/BaseStream.java'
[java] [ERROR] java.lang.AutoCloseable cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/IntSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Double.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Long.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Map.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Appendable.java'
[java] [ERROR] java.io.IOException cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/DateTimeFormatInfo.java'
[java] [ERROR] com.google.gwt.i18n.shared.DateTimeFormatInfo
cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocalizedNames.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/DateTimeConstants.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/com/google/gwt/i18n/client/impl/LocaleInfoImpl.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalLong.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/LongSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/NumberFormatException.java'
[java] [ERROR] java.lang.IllegalArgumentException cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Number.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/DoubleSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/Predicate.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/BinaryOperator.java'
[java] [ERROR] java.util.Comparator cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Optional.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Collector.java'
[java] [ERROR] java.util.Set cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AutoCloseable.java'
[java] [ERROR] java.lang.Exception cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Collection.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Set.java'
[java] [ERROR] java.util.Collection cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/DateTimeFormatInfo.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/IllegalArgumentException.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Colin Alworth
2018-06-07 13:41:01 UTC
Permalink
The errors you are getting aren't related to your Locale supersource (or at
least not directly), but to the fact that your project has conflicting JRE
sources which don't make sense, and so cannot be compiled. Your version of
"gwtx" cannot be used with any version of GWT released within the last 9
years or so.

The first set of errors in your log, from GWT's internal i18n/etc, are the
same error you are going to get from every type in your entire application,
because java.lang.Object is broken in your project:
[ERROR] java.lang.Object cannot be resolved to a type

Searching for Object.java shows us the root cause:
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type

And in turn, searching for Throwable.java...

[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be resolved to a
type

...

[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot be resolved
to a type

And finally

[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined

which by itself appears crazy, until you see where IOException comes from:
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'.

Since GoogleCode is long dead, we can't see the sources there, but you can
see them in some exported github projects, such as
https://github.com/ttt43ttt/gwtx/blob/master/src/main/java/gwtx/java/io/emul/java/io/IOException.java.
You can see there that gwtx is missing this constructor, but GWT 2.8.2
correctly has it (see
https://gwt.googlesource.com/gwt/+/2.8.2/user/super/com/google/gwt/emul/java/io/IOException.java#37).

This is the root issue - IOException is redefined in gwtx, and is
incompatible with "modern" (i.e. less than 9 years old) gwt-user.jar. Fix
this, and these other resulting issues should go away (though there may be
more issues if you do not entirely remove gwtx.jar, and possibly also
CoreGWT-src.jar as well, but I cannot say without actually seeing the
sources inside).
Post by dinesh kumar
I have emulated few of the classes for example : java.util.Locale
But now all my code is always referring to this class instead of jre
library. How and where can we specify where to look for?
Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_se.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/dom/builder/client/DomMediaBuilderBase.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_lkt.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/impl/cldr/DateTimeFormatInfoImpl_jgo.java'
[java] java.lang.String
.
.
.
..
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/core/client/JavaScriptObject.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Class.java'
[java] [ERROR] com.google.gwt.core.client.JavaScriptObject
cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/String.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/CloneNotSupportedException.java'
[java] [ERROR] java.lang.Exception cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/io/PrintWriter.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StackTraceElement.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/ClassNotFoundException.java'
[java] [ERROR] java.lang.Exception cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/reflect/Method.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/CharSequence.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Iterable.java'
[java] [ERROR] java.util.Spliterator cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/javaemul/internal/NativeRegExp.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/nio/charset/Charset.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuffer.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/util/Locale.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuilder.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Comparator.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/UnsupportedEncodingException.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Exception.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/OutputStream.java'
[java] [ERROR] java.io.IOException cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/IntStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Spliterator.java'
[java] [ERROR] java.util.Comparator cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/SortedMap.java'
[java] [ERROR] java.util.Comparator cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AbstractStringBuilder.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocaleInfo.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'
[java] [ERROR] java.lang.Exception cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Closeable.java'
[java] [ERROR] java.io.IOException cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Flushable.java'
[java] [ERROR] java.io.IOException cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/LongStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalDouble.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Integer.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalInt.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/DoubleStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Stream.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/BaseStream.java'
[java] [ERROR] java.lang.AutoCloseable cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/IntSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Double.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Long.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Map.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Appendable.java'
[java] [ERROR] java.io.IOException cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/DateTimeFormatInfo.java'
[java] [ERROR]
com.google.gwt.i18n.shared.DateTimeFormatInfo cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocalizedNames.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/DateTimeConstants.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/com/google/gwt/i18n/client/impl/LocaleInfoImpl.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalLong.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/LongSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/NumberFormatException.java'
[java] [ERROR] java.lang.IllegalArgumentException cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Number.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/DoubleSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/Predicate.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/BinaryOperator.java'
[java] [ERROR] java.util.Comparator cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Optional.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Collector.java'
[java] [ERROR] java.util.Set cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AutoCloseable.java'
[java] [ERROR] java.lang.Exception cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Collection.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Set.java'
[java] [ERROR] java.util.Collection cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/DateTimeFormatInfo.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/IllegalArgumentException.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
dinesh kumar
2018-06-12 08:13:13 UTC
Permalink
I was able to compile my code using latest GWT library.

However while running, my i-frame does not load in the browser and
following error displays on the browser console:

Tue Jun 12 13:41:26 GMT+530 2018
com.google.gwt.logging.client.LogConfiguration
SEVERE: null
java.lang.ClassCastException
at Unknown.Throwable_0(Throwable.java:67)
at Unknown.Exception_0(Exception.java:29)
at Unknown.RuntimeException_0(RuntimeException.java:29)
at Unknown.ClassCastException_0(ClassCastException.java:27)
at Unknown.checkCriticalType(InternalPreconditions.java:154)
at Unknown.throwClassCastExceptionUnlessNull(InternalPreconditions.java:138)
at
Unknown.init_9(com_00046ptc_00046windchill_00046wncgwt_00046WncGWTdebug__EntryMethodHolder.java:3)
at Unknown.initializeModules(ModuleUtils.java:44)
at Unknown.apply_0(Impl.java:309)
at Unknown.entry0_0(Impl.java:368)
at Unknown.anonymous(Impl.java:78)
at Unknown.gwtOnLoad_0(ModuleUtils.java:55)

Uncaught Error: java.lang.ClassCastException
at ClassCastException_0.createError
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62059)
at ClassCastException_0.initializeBackingError
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62104)
at ClassCastException_0.Throwable_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62009)
at ClassCastException_0.Exception_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62145)
at ClassCastException_0.RuntimeException_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62179)
at new ClassCastException_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:480204)
at checkCriticalType (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:490918)
at throwClassCastExceptionUnlessNull
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:458)
at Array.init_9 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:74335)
at initializeModules (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:46)
at apply_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63011)
at entry0_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63076)
at com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63045
at gwtOnLoad_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:60)
at com.ptc.windchill.wncgwt.WncGWTdebug-0.js:495783
Post by Colin Alworth
The errors you are getting aren't related to your Locale supersource (or
at least not directly), but to the fact that your project has conflicting
JRE sources which don't make sense, and so cannot be compiled. Your version
of "gwtx" cannot be used with any version of GWT released within the last 9
years or so.
The first set of errors in your log, from GWT's internal i18n/etc, are the
same error you are going to get from every type in your entire application,
[ERROR] java.lang.Object cannot be resolved to a type
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
And in turn, searching for Throwable.java...
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be resolved to a
type
...
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot be resolved
to a type
And finally
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'.
Since GoogleCode is long dead, we can't see the sources there, but you can
see them in some exported github projects, such as
https://github.com/ttt43ttt/gwtx/blob/master/src/main/java/gwtx/java/io/emul/java/io/IOException.java.
You can see there that gwtx is missing this constructor, but GWT 2.8.2
correctly has it (see
https://gwt.googlesource.com/gwt/+/2.8.2/user/super/com/google/gwt/emul/java/io/IOException.java#37
).
This is the root issue - IOException is redefined in gwtx, and is
incompatible with "modern" (i.e. less than 9 years old) gwt-user.jar. Fix
this, and these other resulting issues should go away (though there may be
more issues if you do not entirely remove gwtx.jar, and possibly also
CoreGWT-src.jar as well, but I cannot say without actually seeing the
sources inside).
Post by dinesh kumar
I have emulated few of the classes for example : java.util.Locale
But now all my code is always referring to this class instead of jre
library. How and where can we specify where to look for?
Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_se.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/dom/builder/client/DomMediaBuilderBase.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_lkt.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/impl/cldr/DateTimeFormatInfoImpl_jgo.java'
[java] java.lang.String
.
.
.
..
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/core/client/JavaScriptObject.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Class.java'
[java] [ERROR] com.google.gwt.core.client.JavaScriptObject
cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/String.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/CloneNotSupportedException.java'
[java] [ERROR] java.lang.Exception cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/io/PrintWriter.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StackTraceElement.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/ClassNotFoundException.java'
[java] [ERROR] java.lang.Exception cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/reflect/Method.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/CharSequence.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Iterable.java'
[java] [ERROR] java.util.Spliterator cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/javaemul/internal/NativeRegExp.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/nio/charset/Charset.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuffer.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/util/Locale.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuilder.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Comparator.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/UnsupportedEncodingException.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Exception.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/OutputStream.java'
[java] [ERROR] java.io.IOException cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/IntStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Spliterator.java'
[java] [ERROR] java.util.Comparator cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/SortedMap.java'
[java] [ERROR] java.util.Comparator cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AbstractStringBuilder.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocaleInfo.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'
[java] [ERROR] java.lang.Exception cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Closeable.java'
[java] [ERROR] java.io.IOException cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Flushable.java'
[java] [ERROR] java.io.IOException cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/LongStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalDouble.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Integer.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalInt.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/DoubleStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Stream.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/BaseStream.java'
[java] [ERROR] java.lang.AutoCloseable cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/IntSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Double.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Long.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Map.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Appendable.java'
[java] [ERROR] java.io.IOException cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/DateTimeFormatInfo.java'
[java] [ERROR]
com.google.gwt.i18n.shared.DateTimeFormatInfo cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocalizedNames.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/DateTimeConstants.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/com/google/gwt/i18n/client/impl/LocaleInfoImpl.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalLong.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/LongSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/NumberFormatException.java'
[java] [ERROR] java.lang.IllegalArgumentException cannot
be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Number.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/DoubleSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/Predicate.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/BinaryOperator.java'
[java] [ERROR] java.util.Comparator cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Optional.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Collector.java'
[java] [ERROR] java.util.Set cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AutoCloseable.java'
[java] [ERROR] java.lang.Exception cannot be resolved to a
type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Collection.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Set.java'
[java] [ERROR] java.util.Collection cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/DateTimeFormatInfo.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/IllegalArgumentException.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Thomas Broyer
2018-06-12 08:36:25 UTC
Permalink
IIUC, make sure all your <entry-point/> classes implement EntryPoint.
Before 2.7, entry points weren't cast to EntryPoint, so you only had to
have a method with "void onModuleLoad()" signature; starting with GWT 2.7
(and specifically this
commit: https://github.com/gwtproject/gwt/commit/3be1548873300d5bcb74c0258352c90abe7a42bd),
the entry points are cast to EntryPoint.
Post by dinesh kumar
I was able to compile my code using latest GWT library.
However while running, my i-frame does not load in the browser and
Tue Jun 12 13:41:26 GMT+530 2018
com.google.gwt.logging.client.LogConfiguration
SEVERE: null
java.lang.ClassCastException
at Unknown.Throwable_0(Throwable.java:67)
at Unknown.Exception_0(Exception.java:29)
at Unknown.RuntimeException_0(RuntimeException.java:29)
at Unknown.ClassCastException_0(ClassCastException.java:27)
at Unknown.checkCriticalType(InternalPreconditions.java:154)
at
Unknown.throwClassCastExceptionUnlessNull(InternalPreconditions.java:138)
at
Unknown.init_9(com_00046ptc_00046windchill_00046wncgwt_00046WncGWTdebug__EntryMethodHolder.java:3)
at Unknown.initializeModules(ModuleUtils.java:44)
at Unknown.apply_0(Impl.java:309)
at Unknown.entry0_0(Impl.java:368)
at Unknown.anonymous(Impl.java:78)
at Unknown.gwtOnLoad_0(ModuleUtils.java:55)
Uncaught Error: java.lang.ClassCastException
at ClassCastException_0.createError
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62059)
at ClassCastException_0.initializeBackingError
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62104)
at ClassCastException_0.Throwable_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62009)
at ClassCastException_0.Exception_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62145)
at ClassCastException_0.RuntimeException_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62179)
at new ClassCastException_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:480204)
at checkCriticalType (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:490918)
at throwClassCastExceptionUnlessNull
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:458)
at Array.init_9 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:74335)
at initializeModules (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:46)
at apply_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63011)
at entry0_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63076)
at com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63045
at gwtOnLoad_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:60)
at com.ptc.windchill.wncgwt.WncGWTdebug-0.js:495783
Post by Colin Alworth
The errors you are getting aren't related to your Locale supersource (or
at least not directly), but to the fact that your project has conflicting
JRE sources which don't make sense, and so cannot be compiled. Your version
of "gwtx" cannot be used with any version of GWT released within the last 9
years or so.
The first set of errors in your log, from GWT's internal i18n/etc, are
the same error you are going to get from every type in your entire
[ERROR] java.lang.Object cannot be resolved to a type
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
And in turn, searching for Throwable.java...
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be resolved to a
type
...
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot be
resolved to a type
And finally
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'.
Since GoogleCode is long dead, we can't see the sources there, but you
can see them in some exported github projects, such as
https://github.com/ttt43ttt/gwtx/blob/master/src/main/java/gwtx/java/io/emul/java/io/IOException.java.
You can see there that gwtx is missing this constructor, but GWT 2.8.2
correctly has it (see
https://gwt.googlesource.com/gwt/+/2.8.2/user/super/com/google/gwt/emul/java/io/IOException.java#37
).
This is the root issue - IOException is redefined in gwtx, and is
incompatible with "modern" (i.e. less than 9 years old) gwt-user.jar. Fix
this, and these other resulting issues should go away (though there may be
more issues if you do not entirely remove gwtx.jar, and possibly also
CoreGWT-src.jar as well, but I cannot say without actually seeing the
sources inside).
Post by dinesh kumar
I have emulated few of the classes for example : java.util.Locale
But now all my code is always referring to this class instead of jre
library. How and where can we specify where to look for?
Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_se.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/dom/builder/client/DomMediaBuilderBase.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_lkt.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/impl/cldr/DateTimeFormatInfoImpl_jgo.java'
[java] java.lang.String
.
.
.
..
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/core/client/JavaScriptObject.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Class.java'
[java] [ERROR]
com.google.gwt.core.client.JavaScriptObject cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/String.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/CloneNotSupportedException.java'
[java] [ERROR] java.lang.Exception cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/io/PrintWriter.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StackTraceElement.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/ClassNotFoundException.java'
[java] [ERROR] java.lang.Exception cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/reflect/Method.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/CharSequence.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Iterable.java'
[java] [ERROR] java.util.Spliterator cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/javaemul/internal/NativeRegExp.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/nio/charset/Charset.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuffer.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/util/Locale.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuilder.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Comparator.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/UnsupportedEncodingException.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Exception.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/OutputStream.java'
[java] [ERROR] java.io.IOException cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/IntStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Spliterator.java'
[java] [ERROR] java.util.Comparator cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/SortedMap.java'
[java] [ERROR] java.util.Comparator cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AbstractStringBuilder.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocaleInfo.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'
[java] [ERROR] java.lang.Exception cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Closeable.java'
[java] [ERROR] java.io.IOException cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Flushable.java'
[java] [ERROR] java.io.IOException cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/LongStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalDouble.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Integer.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalInt.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/DoubleStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Stream.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/BaseStream.java'
[java] [ERROR] java.lang.AutoCloseable cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/IntSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Double.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Long.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Map.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Appendable.java'
[java] [ERROR] java.io.IOException cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/DateTimeFormatInfo.java'
[java] [ERROR]
com.google.gwt.i18n.shared.DateTimeFormatInfo cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocalizedNames.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/DateTimeConstants.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/com/google/gwt/i18n/client/impl/LocaleInfoImpl.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalLong.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/LongSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/NumberFormatException.java'
[java] [ERROR] java.lang.IllegalArgumentException cannot
be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Number.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/DoubleSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/Predicate.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/BinaryOperator.java'
[java] [ERROR] java.util.Comparator cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Optional.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Collector.java'
[java] [ERROR] java.util.Set cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AutoCloseable.java'
[java] [ERROR] java.lang.Exception cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Collection.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Set.java'
[java] [ERROR] java.util.Collection cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/DateTimeFormatInfo.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/IllegalArgumentException.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to
a type
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
dinesh kumar
2018-06-12 12:52:54 UTC
Permalink
The above solution fixes the error but now getting another error:

com.ptc.cat.ops.client.internal.OperationManager
SEVERE: DefaultOperationManager-> Failure dispatching operation
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: The
response could not be deserialized
at Unknown.Throwable_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.Exception_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.RuntimeException_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.new
IncompatibleRemoteServiceException_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$fireOnResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onReadyStateChange(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.apply_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.entry0_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
Caused by: com.google.gwt.user.client.rpc.SerializationException:
java.util.LinkedHashSet/1826081506
at Unknown.Throwable_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.Exception_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.new
SerializationException_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$check(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$instantiate(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_668(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_697(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_337(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_335(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.read_8(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$fireOnResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onReadyStateChange(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.apply_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.entry0_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
Post by Thomas Broyer
IIUC, make sure all your <entry-point/> classes implement EntryPoint.
Before 2.7, entry points weren't cast to EntryPoint, so you only had to
have a method with "void onModuleLoad()" signature; starting with GWT 2.7
https://github.com/gwtproject/gwt/commit/3be1548873300d5bcb74c0258352c90abe7a42bd),
the entry points are cast to EntryPoint.
Post by dinesh kumar
I was able to compile my code using latest GWT library.
However while running, my i-frame does not load in the browser and
Tue Jun 12 13:41:26 GMT+530 2018
com.google.gwt.logging.client.LogConfiguration
SEVERE: null
java.lang.ClassCastException
at Unknown.Throwable_0(Throwable.java:67)
at Unknown.Exception_0(Exception.java:29)
at Unknown.RuntimeException_0(RuntimeException.java:29)
at Unknown.ClassCastException_0(ClassCastException.java:27)
at Unknown.checkCriticalType(InternalPreconditions.java:154)
at
Unknown.throwClassCastExceptionUnlessNull(InternalPreconditions.java:138)
at
Unknown.init_9(com_00046ptc_00046windchill_00046wncgwt_00046WncGWTdebug__EntryMethodHolder.java:3)
at Unknown.initializeModules(ModuleUtils.java:44)
at Unknown.apply_0(Impl.java:309)
at Unknown.entry0_0(Impl.java:368)
at Unknown.anonymous(Impl.java:78)
at Unknown.gwtOnLoad_0(ModuleUtils.java:55)
Uncaught Error: java.lang.ClassCastException
at ClassCastException_0.createError
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62059)
at ClassCastException_0.initializeBackingError
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62104)
at ClassCastException_0.Throwable_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62009)
at ClassCastException_0.Exception_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62145)
at ClassCastException_0.RuntimeException_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62179)
at new ClassCastException_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:480204)
at checkCriticalType
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:490918)
at throwClassCastExceptionUnlessNull
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:458)
at Array.init_9 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:74335)
at initializeModules (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:46)
at apply_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63011)
at entry0_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63076)
at com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63045
at gwtOnLoad_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:60)
at com.ptc.windchill.wncgwt.WncGWTdebug-0.js:495783
Post by Colin Alworth
The errors you are getting aren't related to your Locale supersource (or
at least not directly), but to the fact that your project has conflicting
JRE sources which don't make sense, and so cannot be compiled. Your version
of "gwtx" cannot be used with any version of GWT released within the last 9
years or so.
The first set of errors in your log, from GWT's internal i18n/etc, are
the same error you are going to get from every type in your entire
[ERROR] java.lang.Object cannot be resolved to a type
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to a
type
And in turn, searching for Throwable.java...
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be resolved to a
type
...
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot be
resolved to a type
And finally
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'.
Since GoogleCode is long dead, we can't see the sources there, but you
can see them in some exported github projects, such as
https://github.com/ttt43ttt/gwtx/blob/master/src/main/java/gwtx/java/io/emul/java/io/IOException.java.
You can see there that gwtx is missing this constructor, but GWT 2.8.2
correctly has it (see
https://gwt.googlesource.com/gwt/+/2.8.2/user/super/com/google/gwt/emul/java/io/IOException.java#37
).
This is the root issue - IOException is redefined in gwtx, and is
incompatible with "modern" (i.e. less than 9 years old) gwt-user.jar. Fix
this, and these other resulting issues should go away (though there may be
more issues if you do not entirely remove gwtx.jar, and possibly also
CoreGWT-src.jar as well, but I cannot say without actually seeing the
sources inside).
Post by dinesh kumar
I have emulated few of the classes for example : java.util.Locale
But now all my code is always referring to this class instead of jre
library. How and where can we specify where to look for?
Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_se.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/dom/builder/client/DomMediaBuilderBase.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_lkt.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/impl/cldr/DateTimeFormatInfoImpl_jgo.java'
[java] java.lang.String
.
.
.
..
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/core/client/JavaScriptObject.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Class.java'
[java] [ERROR]
com.google.gwt.core.client.JavaScriptObject cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/String.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/CloneNotSupportedException.java'
[java] [ERROR] java.lang.Exception cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/io/PrintWriter.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StackTraceElement.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/ClassNotFoundException.java'
[java] [ERROR] java.lang.Exception cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/reflect/Method.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/CharSequence.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Iterable.java'
[java] [ERROR] java.util.Spliterator cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/javaemul/internal/NativeRegExp.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/nio/charset/Charset.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuffer.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/util/Locale.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuilder.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Comparator.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/UnsupportedEncodingException.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Exception.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/OutputStream.java'
[java] [ERROR] java.io.IOException cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/IntStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Spliterator.java'
[java] [ERROR] java.util.Comparator cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/SortedMap.java'
[java] [ERROR] java.util.Comparator cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AbstractStringBuilder.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocaleInfo.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'
[java] [ERROR] java.lang.Exception cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Closeable.java'
[java] [ERROR] java.io.IOException cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Flushable.java'
[java] [ERROR] java.io.IOException cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/LongStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalDouble.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Integer.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalInt.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/DoubleStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Stream.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/BaseStream.java'
[java] [ERROR] java.lang.AutoCloseable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/IntSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Double.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Long.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Map.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Appendable.java'
[java] [ERROR] java.io.IOException cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/DateTimeFormatInfo.java'
[java] [ERROR]
com.google.gwt.i18n.shared.DateTimeFormatInfo cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocalizedNames.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/DateTimeConstants.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/com/google/gwt/i18n/client/impl/LocaleInfoImpl.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalLong.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/LongSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/NumberFormatException.java'
[java] [ERROR] java.lang.IllegalArgumentException cannot
be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Number.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/DoubleSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/Predicate.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/BinaryOperator.java'
[java] [ERROR] java.util.Comparator cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Optional.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Collector.java'
[java] [ERROR] java.util.Set cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AutoCloseable.java'
[java] [ERROR] java.lang.Exception cannot be resolved to
a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Collection.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Set.java'
[java] [ERROR] java.util.Collection cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/DateTimeFormatInfo.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/IllegalArgumentException.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to
a type
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Colin Alworth
2018-06-12 21:35:46 UTC
Permalink
This happens when the server thinks it can serialize and send an object,
but the client isn't actually capable of deserializing it. In this case,
the class is java.util.LinkedHashSet - the number that follows specifies
more details about how the class was referenced by the server, which the
client must match in order to deserialize correctly.

Without more details, it is hard to be specific, but I'd guess that for an
application like yours (without having seen any updates in about 10 years),
you might be missing some generics on some other collection. Raw
collections or custom field serializers that just reference Object make it
difficult for the RPC wiring to know what types will actually go over the
wire. It is possible that in GWT 1.5 this behaved differently, but it has
changed since then (I recall both around 2.0 and 2.5 that changes were made
to be more precise and limit application sizes in cases like this).
Post by dinesh kumar
com.ptc.cat.ops.client.internal.OperationManager
SEVERE: DefaultOperationManager-> Failure dispatching operation
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: The
response could not be deserialized
at Unknown.Throwable_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.Exception_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.RuntimeException_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.new
IncompatibleRemoteServiceException_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$fireOnResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onReadyStateChange(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.apply_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.entry0_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
java.util.LinkedHashSet/1826081506
at Unknown.Throwable_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.Exception_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.new
SerializationException_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$check(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$instantiate(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_668(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_697(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_337(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_335(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.read_8(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$fireOnResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onReadyStateChange(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.apply_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.entry0_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
Post by Thomas Broyer
IIUC, make sure all your <entry-point/> classes implement EntryPoint.
Before 2.7, entry points weren't cast to EntryPoint, so you only had to
have a method with "void onModuleLoad()" signature; starting with GWT 2.7
https://github.com/gwtproject/gwt/commit/3be1548873300d5bcb74c0258352c90abe7a42bd),
the entry points are cast to EntryPoint.
Post by dinesh kumar
I was able to compile my code using latest GWT library.
However while running, my i-frame does not load in the browser and
Tue Jun 12 13:41:26 GMT+530 2018
com.google.gwt.logging.client.LogConfiguration
SEVERE: null
java.lang.ClassCastException
at Unknown.Throwable_0(Throwable.java:67)
at Unknown.Exception_0(Exception.java:29)
at Unknown.RuntimeException_0(RuntimeException.java:29)
at Unknown.ClassCastException_0(ClassCastException.java:27)
at Unknown.checkCriticalType(InternalPreconditions.java:154)
at
Unknown.throwClassCastExceptionUnlessNull(InternalPreconditions.java:138)
at
Unknown.init_9(com_00046ptc_00046windchill_00046wncgwt_00046WncGWTdebug__EntryMethodHolder.java:3)
at Unknown.initializeModules(ModuleUtils.java:44)
at Unknown.apply_0(Impl.java:309)
at Unknown.entry0_0(Impl.java:368)
at Unknown.anonymous(Impl.java:78)
at Unknown.gwtOnLoad_0(ModuleUtils.java:55)
Uncaught Error: java.lang.ClassCastException
at ClassCastException_0.createError
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62059)
at ClassCastException_0.initializeBackingError
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62104)
at ClassCastException_0.Throwable_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62009)
at ClassCastException_0.Exception_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62145)
at ClassCastException_0.RuntimeException_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62179)
at new ClassCastException_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:480204)
at checkCriticalType
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:490918)
at throwClassCastExceptionUnlessNull
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:458)
at Array.init_9 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:74335)
at initializeModules (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:46)
at apply_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63011)
at entry0_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63076)
at com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63045
at gwtOnLoad_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:60)
at com.ptc.windchill.wncgwt.WncGWTdebug-0.js:495783
Post by Colin Alworth
The errors you are getting aren't related to your Locale supersource
(or at least not directly), but to the fact that your project has
conflicting JRE sources which don't make sense, and so cannot be compiled.
Your version of "gwtx" cannot be used with any version of GWT released
within the last 9 years or so.
The first set of errors in your log, from GWT's internal i18n/etc, are
the same error you are going to get from every type in your entire
[ERROR] java.lang.Object cannot be resolved to a type
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to
a type
And in turn, searching for Throwable.java...
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be resolved to
a type
...
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot be
resolved to a type
And finally
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'.
Since GoogleCode is long dead, we can't see the sources there, but you
can see them in some exported github projects, such as
https://github.com/ttt43ttt/gwtx/blob/master/src/main/java/gwtx/java/io/emul/java/io/IOException.java.
You can see there that gwtx is missing this constructor, but GWT 2.8.2
correctly has it (see
https://gwt.googlesource.com/gwt/+/2.8.2/user/super/com/google/gwt/emul/java/io/IOException.java#37
).
This is the root issue - IOException is redefined in gwtx, and is
incompatible with "modern" (i.e. less than 9 years old) gwt-user.jar. Fix
this, and these other resulting issues should go away (though there may be
more issues if you do not entirely remove gwtx.jar, and possibly also
CoreGWT-src.jar as well, but I cannot say without actually seeing the
sources inside).
Post by dinesh kumar
I have emulated few of the classes for example : java.util.Locale
But now all my code is always referring to this class instead of jre
library. How and where can we specify where to look for?
Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_se.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/dom/builder/client/DomMediaBuilderBase.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_lkt.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/impl/cldr/DateTimeFormatInfoImpl_jgo.java'
[java] java.lang.String
.
.
.
..
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/core/client/JavaScriptObject.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Class.java'
[java] [ERROR]
com.google.gwt.core.client.JavaScriptObject cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/String.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/CloneNotSupportedException.java'
[java] [ERROR] java.lang.Exception cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/io/PrintWriter.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StackTraceElement.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/ClassNotFoundException.java'
[java] [ERROR] java.lang.Exception cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/reflect/Method.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/CharSequence.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Iterable.java'
[java] [ERROR] java.util.Spliterator cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/javaemul/internal/NativeRegExp.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/nio/charset/Charset.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuffer.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/util/Locale.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuilder.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Comparator.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/UnsupportedEncodingException.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Exception.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/OutputStream.java'
[java] [ERROR] java.io.IOException cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/IntStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Spliterator.java'
[java] [ERROR] java.util.Comparator cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/SortedMap.java'
[java] [ERROR] java.util.Comparator cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AbstractStringBuilder.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocaleInfo.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'
[java] [ERROR] java.lang.Exception cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Closeable.java'
[java] [ERROR] java.io.IOException cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Flushable.java'
[java] [ERROR] java.io.IOException cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/LongStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalDouble.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Integer.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalInt.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/DoubleStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Stream.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/BaseStream.java'
[java] [ERROR] java.lang.AutoCloseable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/IntSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Double.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Long.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Map.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Appendable.java'
[java] [ERROR] java.io.IOException cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/DateTimeFormatInfo.java'
[java] [ERROR]
com.google.gwt.i18n.shared.DateTimeFormatInfo cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocalizedNames.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/DateTimeConstants.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/com/google/gwt/i18n/client/impl/LocaleInfoImpl.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalLong.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/LongSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/NumberFormatException.java'
[java] [ERROR] java.lang.IllegalArgumentException
cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Number.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/DoubleSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/Predicate.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/BinaryOperator.java'
[java] [ERROR] java.util.Comparator cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Optional.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Collector.java'
[java] [ERROR] java.util.Set cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AutoCloseable.java'
[java] [ERROR] java.lang.Exception cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Collection.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Set.java'
[java] [ERROR] java.util.Collection cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/DateTimeFormatInfo.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/IllegalArgumentException.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
dinesh kumar
2018-06-13 05:47:25 UTC
Permalink
Can you please tell what other details are required?

Earlier we were on GWT 2.6.0 (not on GWT 1.5) and currently trying to
upgrade to GWT 2.8.2.
Post by Colin Alworth
This happens when the server thinks it can serialize and send an object,
but the client isn't actually capable of deserializing it. In this case,
the class is java.util.LinkedHashSet - the number that follows specifies
more details about how the class was referenced by the server, which the
client must match in order to deserialize correctly.
Without more details, it is hard to be specific, but I'd guess that for an
application like yours (without having seen any updates in about 10 years),
you might be missing some generics on some other collection. Raw
collections or custom field serializers that just reference Object make it
difficult for the RPC wiring to know what types will actually go over the
wire. It is possible that in GWT 1.5 this behaved differently, but it has
changed since then (I recall both around 2.0 and 2.5 that changes were made
to be more precise and limit application sizes in cases like this).
Post by dinesh kumar
com.ptc.cat.ops.client.internal.OperationManager
SEVERE: DefaultOperationManager-> Failure dispatching operation
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: The
response could not be deserialized
at Unknown.Throwable_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.Exception_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.RuntimeException_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.new
IncompatibleRemoteServiceException_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$fireOnResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onReadyStateChange(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.apply_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.entry0_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
java.util.LinkedHashSet/1826081506
at Unknown.Throwable_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.Exception_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.new
SerializationException_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$check(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$instantiate(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_668(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_697(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_337(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_335(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.read_8(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$fireOnResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onReadyStateChange(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.apply_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.entry0_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
Post by Thomas Broyer
IIUC, make sure all your <entry-point/> classes implement EntryPoint.
Before 2.7, entry points weren't cast to EntryPoint, so you only had to
have a method with "void onModuleLoad()" signature; starting with GWT 2.7
https://github.com/gwtproject/gwt/commit/3be1548873300d5bcb74c0258352c90abe7a42bd),
the entry points are cast to EntryPoint.
Post by dinesh kumar
I was able to compile my code using latest GWT library.
However while running, my i-frame does not load in the browser and
Tue Jun 12 13:41:26 GMT+530 2018
com.google.gwt.logging.client.LogConfiguration
SEVERE: null
java.lang.ClassCastException
at Unknown.Throwable_0(Throwable.java:67)
at Unknown.Exception_0(Exception.java:29)
at Unknown.RuntimeException_0(RuntimeException.java:29)
at Unknown.ClassCastException_0(ClassCastException.java:27)
at Unknown.checkCriticalType(InternalPreconditions.java:154)
at
Unknown.throwClassCastExceptionUnlessNull(InternalPreconditions.java:138)
at
Unknown.init_9(com_00046ptc_00046windchill_00046wncgwt_00046WncGWTdebug__EntryMethodHolder.java:3)
at Unknown.initializeModules(ModuleUtils.java:44)
at Unknown.apply_0(Impl.java:309)
at Unknown.entry0_0(Impl.java:368)
at Unknown.anonymous(Impl.java:78)
at Unknown.gwtOnLoad_0(ModuleUtils.java:55)
Uncaught Error: java.lang.ClassCastException
at ClassCastException_0.createError
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62059)
at ClassCastException_0.initializeBackingError
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62104)
at ClassCastException_0.Throwable_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62009)
at ClassCastException_0.Exception_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62145)
at ClassCastException_0.RuntimeException_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62179)
at new ClassCastException_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:480204)
at checkCriticalType
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:490918)
at throwClassCastExceptionUnlessNull
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:458)
at Array.init_9 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:74335)
at initializeModules (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:46)
at apply_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63011)
at entry0_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63076)
at com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63045
at gwtOnLoad_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:60)
at com.ptc.windchill.wncgwt.WncGWTdebug-0.js:495783
Post by Colin Alworth
The errors you are getting aren't related to your Locale supersource
(or at least not directly), but to the fact that your project has
conflicting JRE sources which don't make sense, and so cannot be compiled.
Your version of "gwtx" cannot be used with any version of GWT released
within the last 9 years or so.
The first set of errors in your log, from GWT's internal i18n/etc, are
the same error you are going to get from every type in your entire
[ERROR] java.lang.Object cannot be resolved to a type
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be resolved to
a type
And in turn, searching for Throwable.java...
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be resolved to
a type
...
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot be
resolved to a type
And finally
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'.
Since GoogleCode is long dead, we can't see the sources there, but you
can see them in some exported github projects, such as
https://github.com/ttt43ttt/gwtx/blob/master/src/main/java/gwtx/java/io/emul/java/io/IOException.java.
You can see there that gwtx is missing this constructor, but GWT 2.8.2
correctly has it (see
https://gwt.googlesource.com/gwt/+/2.8.2/user/super/com/google/gwt/emul/java/io/IOException.java#37
).
This is the root issue - IOException is redefined in gwtx, and is
incompatible with "modern" (i.e. less than 9 years old) gwt-user.jar. Fix
this, and these other resulting issues should go away (though there may be
more issues if you do not entirely remove gwtx.jar, and possibly also
CoreGWT-src.jar as well, but I cannot say without actually seeing the
sources inside).
Post by dinesh kumar
I have emulated few of the classes for example : java.util.Locale
But now all my code is always referring to this class instead of jre
library. How and where can we specify where to look for?
Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_se.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/dom/builder/client/DomMediaBuilderBase.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_lkt.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/impl/cldr/DateTimeFormatInfoImpl_jgo.java'
[java] java.lang.String
.
.
.
..
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/core/client/JavaScriptObject.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Class.java'
[java] [ERROR]
com.google.gwt.core.client.JavaScriptObject cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/String.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/CloneNotSupportedException.java'
[java] [ERROR] java.lang.Exception cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/io/PrintWriter.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StackTraceElement.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/ClassNotFoundException.java'
[java] [ERROR] java.lang.Exception cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/reflect/Method.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/CharSequence.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Iterable.java'
[java] [ERROR] java.util.Spliterator cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/javaemul/internal/NativeRegExp.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/nio/charset/Charset.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuffer.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/util/Locale.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuilder.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Comparator.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/UnsupportedEncodingException.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Exception.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/OutputStream.java'
[java] [ERROR] java.io.IOException cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/IntStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Spliterator.java'
[java] [ERROR] java.util.Comparator cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/SortedMap.java'
[java] [ERROR] java.util.Comparator cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AbstractStringBuilder.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocaleInfo.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'
[java] [ERROR] java.lang.Exception cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Closeable.java'
[java] [ERROR] java.io.IOException cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Flushable.java'
[java] [ERROR] java.io.IOException cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/LongStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalDouble.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Integer.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalInt.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/DoubleStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Stream.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/BaseStream.java'
[java] [ERROR] java.lang.AutoCloseable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/IntSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Double.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Long.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Map.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Appendable.java'
[java] [ERROR] java.io.IOException cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/DateTimeFormatInfo.java'
[java] [ERROR]
com.google.gwt.i18n.shared.DateTimeFormatInfo cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocalizedNames.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/DateTimeConstants.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/com/google/gwt/i18n/client/impl/LocaleInfoImpl.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalLong.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/LongSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/NumberFormatException.java'
[java] [ERROR] java.lang.IllegalArgumentException
cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Number.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/DoubleSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/Predicate.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/BinaryOperator.java'
[java] [ERROR] java.util.Comparator cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Optional.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Collector.java'
[java] [ERROR] java.util.Set cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AutoCloseable.java'
[java] [ERROR] java.lang.Exception cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Collection.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Set.java'
[java] [ERROR] java.util.Collection cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/DateTimeFormatInfo.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/IllegalArgumentException.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Thomas Broyer
2018-06-13 07:58:57 UTC
Permalink
There was a change to LinkedHashSet GWT-RPC serialization in 2.7
(see http://www.gwtproject.org/release-notes.html#Release_Notes_2_7_0_RC1)
Make extra-sure that your gwt-servlet used on server side matches the GWT
version used for compiling the client side (i.e. that you also updated
gwt-servlet to 2.8.2)
Post by dinesh kumar
Can you please tell what other details are required?
Earlier we were on GWT 2.6.0 (not on GWT 1.5) and currently trying to
upgrade to GWT 2.8.2.
Post by Colin Alworth
This happens when the server thinks it can serialize and send an object,
but the client isn't actually capable of deserializing it. In this case,
the class is java.util.LinkedHashSet - the number that follows specifies
more details about how the class was referenced by the server, which the
client must match in order to deserialize correctly.
Without more details, it is hard to be specific, but I'd guess that for
an application like yours (without having seen any updates in about 10
years), you might be missing some generics on some other collection. Raw
collections or custom field serializers that just reference Object make it
difficult for the RPC wiring to know what types will actually go over the
wire. It is possible that in GWT 1.5 this behaved differently, but it has
changed since then (I recall both around 2.0 and 2.5 that changes were made
to be more precise and limit application sizes in cases like this).
Post by dinesh kumar
com.ptc.cat.ops.client.internal.OperationManager
SEVERE: DefaultOperationManager-> Failure dispatching operation
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: The
response could not be deserialized
at Unknown.Throwable_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.Exception_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.RuntimeException_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.new
IncompatibleRemoteServiceException_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$fireOnResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onReadyStateChange(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.apply_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.entry0_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
java.util.LinkedHashSet/1826081506
at Unknown.Throwable_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.Exception_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.new
SerializationException_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$check(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$instantiate(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_668(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_697(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_337(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_335(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.read_8(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$fireOnResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onReadyStateChange(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.apply_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.entry0_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
Post by Thomas Broyer
IIUC, make sure all your <entry-point/> classes implement EntryPoint.
Before 2.7, entry points weren't cast to EntryPoint, so you only had to
have a method with "void onModuleLoad()" signature; starting with GWT 2.7
https://github.com/gwtproject/gwt/commit/3be1548873300d5bcb74c0258352c90abe7a42bd),
the entry points are cast to EntryPoint.
Post by dinesh kumar
I was able to compile my code using latest GWT library.
However while running, my i-frame does not load in the browser and
Tue Jun 12 13:41:26 GMT+530 2018
com.google.gwt.logging.client.LogConfiguration
SEVERE: null
java.lang.ClassCastException
at Unknown.Throwable_0(Throwable.java:67)
at Unknown.Exception_0(Exception.java:29)
at Unknown.RuntimeException_0(RuntimeException.java:29)
at Unknown.ClassCastException_0(ClassCastException.java:27)
at Unknown.checkCriticalType(InternalPreconditions.java:154)
at
Unknown.throwClassCastExceptionUnlessNull(InternalPreconditions.java:138)
at
Unknown.init_9(com_00046ptc_00046windchill_00046wncgwt_00046WncGWTdebug__EntryMethodHolder.java:3)
at Unknown.initializeModules(ModuleUtils.java:44)
at Unknown.apply_0(Impl.java:309)
at Unknown.entry0_0(Impl.java:368)
at Unknown.anonymous(Impl.java:78)
at Unknown.gwtOnLoad_0(ModuleUtils.java:55)
Uncaught Error: java.lang.ClassCastException
at ClassCastException_0.createError
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62059)
at ClassCastException_0.initializeBackingError
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62104)
at ClassCastException_0.Throwable_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62009)
at ClassCastException_0.Exception_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62145)
at ClassCastException_0.RuntimeException_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62179)
at new ClassCastException_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:480204)
at checkCriticalType
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:490918)
at throwClassCastExceptionUnlessNull
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:458)
at Array.init_9 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:74335)
at initializeModules (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:46)
at apply_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63011)
at entry0_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63076)
at com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63045
at gwtOnLoad_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:60)
at com.ptc.windchill.wncgwt.WncGWTdebug-0.js:495783
Post by Colin Alworth
The errors you are getting aren't related to your Locale supersource
(or at least not directly), but to the fact that your project has
conflicting JRE sources which don't make sense, and so cannot be compiled.
Your version of "gwtx" cannot be used with any version of GWT released
within the last 9 years or so.
The first set of errors in your log, from GWT's internal i18n/etc,
are the same error you are going to get from every type in your entire
[ERROR] java.lang.Object cannot be resolved to a type
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
And in turn, searching for Throwable.java...
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be resolved
to a type
...
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot be
resolved to a type
And finally
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'.
Since GoogleCode is long dead, we can't see the sources there, but
you can see them in some exported github projects, such as
https://github.com/ttt43ttt/gwtx/blob/master/src/main/java/gwtx/java/io/emul/java/io/IOException.java.
You can see there that gwtx is missing this constructor, but GWT 2.8.2
correctly has it (see
https://gwt.googlesource.com/gwt/+/2.8.2/user/super/com/google/gwt/emul/java/io/IOException.java#37
).
This is the root issue - IOException is redefined in gwtx, and is
incompatible with "modern" (i.e. less than 9 years old) gwt-user.jar. Fix
this, and these other resulting issues should go away (though there may be
more issues if you do not entirely remove gwtx.jar, and possibly also
CoreGWT-src.jar as well, but I cannot say without actually seeing the
sources inside).
Post by dinesh kumar
I have emulated few of the classes for example : java.util.Locale
But now all my code is always referring to this class instead of jre
library. How and where can we specify where to look for?
Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_se.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/dom/builder/client/DomMediaBuilderBase.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_lkt.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/impl/cldr/DateTimeFormatInfoImpl_jgo.java'
[java] java.lang.String
.
.
.
..
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/core/client/JavaScriptObject.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Class.java'
[java] [ERROR]
com.google.gwt.core.client.JavaScriptObject cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/String.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/CloneNotSupportedException.java'
[java] [ERROR] java.lang.Exception cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/io/PrintWriter.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StackTraceElement.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/ClassNotFoundException.java'
[java] [ERROR] java.lang.Exception cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/reflect/Method.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/CharSequence.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Iterable.java'
[java] [ERROR] java.util.Spliterator cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/javaemul/internal/NativeRegExp.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/nio/charset/Charset.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuffer.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/util/Locale.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuilder.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Comparator.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/UnsupportedEncodingException.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Exception.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/OutputStream.java'
[java] [ERROR] java.io.IOException cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/IntStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Spliterator.java'
[java] [ERROR] java.util.Comparator cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/SortedMap.java'
[java] [ERROR] java.util.Comparator cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AbstractStringBuilder.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocaleInfo.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'
[java] [ERROR] java.lang.Exception cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Closeable.java'
[java] [ERROR] java.io.IOException cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Flushable.java'
[java] [ERROR] java.io.IOException cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/LongStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalDouble.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Integer.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalInt.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/DoubleStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Stream.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/BaseStream.java'
[java] [ERROR] java.lang.AutoCloseable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/IntSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Double.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Long.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Map.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Appendable.java'
[java] [ERROR] java.io.IOException cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/DateTimeFormatInfo.java'
[java] [ERROR]
com.google.gwt.i18n.shared.DateTimeFormatInfo cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocalizedNames.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/DateTimeConstants.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/com/google/gwt/i18n/client/impl/LocaleInfoImpl.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalLong.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/LongSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/NumberFormatException.java'
[java] [ERROR] java.lang.IllegalArgumentException
cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Number.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/DoubleSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/Predicate.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/BinaryOperator.java'
[java] [ERROR] java.util.Comparator cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Optional.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Collector.java'
[java] [ERROR] java.util.Set cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AutoCloseable.java'
[java] [ERROR] java.lang.Exception cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Collection.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Set.java'
[java] [ERROR] java.util.Collection cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/DateTimeFormatInfo.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/IllegalArgumentException.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
dinesh kumar
2018-06-13 13:01:11 UTC
Permalink
I am using the latest gwt-servlet, gwt-user, gwt-dev(GWT 2.8.2).
Is there anything that can cause the above error?
There was a change to LinkedHashSet GWT-RPC serialization in 2.7 (see
http://www.gwtproject.org/release-notes.html#Release_Notes_2_7_0_RC1)
Make extra-sure that your gwt-servlet used on server side matches the GWT
version used for compiling the client side (i.e. that you also updated
gwt-servlet to 2.8.2)
Post by dinesh kumar
Can you please tell what other details are required?
Earlier we were on GWT 2.6.0 (not on GWT 1.5) and currently trying to
upgrade to GWT 2.8.2.
Post by Colin Alworth
This happens when the server thinks it can serialize and send an object,
but the client isn't actually capable of deserializing it. In this case,
the class is java.util.LinkedHashSet - the number that follows specifies
more details about how the class was referenced by the server, which the
client must match in order to deserialize correctly.
Without more details, it is hard to be specific, but I'd guess that for
an application like yours (without having seen any updates in about 10
years), you might be missing some generics on some other collection. Raw
collections or custom field serializers that just reference Object make it
difficult for the RPC wiring to know what types will actually go over the
wire. It is possible that in GWT 1.5 this behaved differently, but it has
changed since then (I recall both around 2.0 and 2.5 that changes were made
to be more precise and limit application sizes in cases like this).
Post by dinesh kumar
com.ptc.cat.ops.client.internal.OperationManager
SEVERE: DefaultOperationManager-> Failure dispatching operation
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: The
response could not be deserialized
at Unknown.Throwable_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.Exception_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.RuntimeException_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.new
IncompatibleRemoteServiceException_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$fireOnResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onReadyStateChange(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.apply_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.entry0_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
java.util.LinkedHashSet/1826081506
at Unknown.Throwable_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.Exception_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.new
SerializationException_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$check(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$instantiate(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_668(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_697(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_337(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_335(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.read_8(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$fireOnResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onReadyStateChange(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.apply_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.entry0_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
Post by Thomas Broyer
IIUC, make sure all your <entry-point/> classes implement EntryPoint.
Before 2.7, entry points weren't cast to EntryPoint, so you only had
to have a method with "void onModuleLoad()" signature; starting with GWT
https://github.com/gwtproject/gwt/commit/3be1548873300d5bcb74c0258352c90abe7a42bd),
the entry points are cast to EntryPoint.
Post by dinesh kumar
I was able to compile my code using latest GWT library.
However while running, my i-frame does not load in the browser and
Tue Jun 12 13:41:26 GMT+530 2018
com.google.gwt.logging.client.LogConfiguration
SEVERE: null
java.lang.ClassCastException
at Unknown.Throwable_0(Throwable.java:67)
at Unknown.Exception_0(Exception.java:29)
at Unknown.RuntimeException_0(RuntimeException.java:29)
at Unknown.ClassCastException_0(ClassCastException.java:27)
at Unknown.checkCriticalType(InternalPreconditions.java:154)
at
Unknown.throwClassCastExceptionUnlessNull(InternalPreconditions.java:138)
at
Unknown.init_9(com_00046ptc_00046windchill_00046wncgwt_00046WncGWTdebug__EntryMethodHolder.java:3)
at Unknown.initializeModules(ModuleUtils.java:44)
at Unknown.apply_0(Impl.java:309)
at Unknown.entry0_0(Impl.java:368)
at Unknown.anonymous(Impl.java:78)
at Unknown.gwtOnLoad_0(ModuleUtils.java:55)
Uncaught Error: java.lang.ClassCastException
at ClassCastException_0.createError
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62059)
at ClassCastException_0.initializeBackingError
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62104)
at ClassCastException_0.Throwable_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62009)
at ClassCastException_0.Exception_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62145)
at ClassCastException_0.RuntimeException_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62179)
at new ClassCastException_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:480204)
at checkCriticalType
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:490918)
at throwClassCastExceptionUnlessNull
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:458)
at Array.init_9 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:74335)
at initializeModules
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:46)
at apply_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63011)
at entry0_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63076)
at com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63045
at gwtOnLoad_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:60)
at com.ptc.windchill.wncgwt.WncGWTdebug-0.js:495783
Post by Colin Alworth
The errors you are getting aren't related to your Locale supersource
(or at least not directly), but to the fact that your project has
conflicting JRE sources which don't make sense, and so cannot be compiled.
Your version of "gwtx" cannot be used with any version of GWT released
within the last 9 years or so.
The first set of errors in your log, from GWT's internal i18n/etc,
are the same error you are going to get from every type in your entire
[ERROR] java.lang.Object cannot be resolved to a type
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
And in turn, searching for Throwable.java...
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be resolved
to a type
...
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot be
resolved to a type
And finally
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'.
Since GoogleCode is long dead, we can't see the sources there, but
you can see them in some exported github projects, such as
https://github.com/ttt43ttt/gwtx/blob/master/src/main/java/gwtx/java/io/emul/java/io/IOException.java.
You can see there that gwtx is missing this constructor, but GWT 2.8.2
correctly has it (see
https://gwt.googlesource.com/gwt/+/2.8.2/user/super/com/google/gwt/emul/java/io/IOException.java#37
).
This is the root issue - IOException is redefined in gwtx, and is
incompatible with "modern" (i.e. less than 9 years old) gwt-user.jar. Fix
this, and these other resulting issues should go away (though there may be
more issues if you do not entirely remove gwtx.jar, and possibly also
CoreGWT-src.jar as well, but I cannot say without actually seeing the
sources inside).
Post by dinesh kumar
I have emulated few of the classes for example : java.util.Locale
But now all my code is always referring to this class instead of
jre library. How and where can we specify where to look for?
Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_se.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/dom/builder/client/DomMediaBuilderBase.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_lkt.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/impl/cldr/DateTimeFormatInfoImpl_jgo.java'
[java] java.lang.String
.
.
.
..
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/core/client/JavaScriptObject.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Class.java'
[java] [ERROR]
com.google.gwt.core.client.JavaScriptObject cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/String.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/CloneNotSupportedException.java'
[java] [ERROR] java.lang.Exception cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/io/PrintWriter.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StackTraceElement.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/ClassNotFoundException.java'
[java] [ERROR] java.lang.Exception cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/reflect/Method.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/CharSequence.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Iterable.java'
[java] [ERROR] java.util.Spliterator cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/javaemul/internal/NativeRegExp.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/nio/charset/Charset.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuffer.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/util/Locale.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuilder.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Comparator.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/UnsupportedEncodingException.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Exception.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/OutputStream.java'
[java] [ERROR] java.io.IOException cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/IntStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Spliterator.java'
[java] [ERROR] java.util.Comparator cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/SortedMap.java'
[java] [ERROR] java.util.Comparator cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AbstractStringBuilder.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocaleInfo.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'
[java] [ERROR] java.lang.Exception cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Closeable.java'
[java] [ERROR] java.io.IOException cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Flushable.java'
[java] [ERROR] java.io.IOException cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/LongStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalDouble.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Integer.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalInt.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/DoubleStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Stream.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/BaseStream.java'
[java] [ERROR] java.lang.AutoCloseable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/IntSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Double.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Long.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Map.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Appendable.java'
[java] [ERROR] java.io.IOException cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/DateTimeFormatInfo.java'
[java] [ERROR]
com.google.gwt.i18n.shared.DateTimeFormatInfo cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocalizedNames.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/DateTimeConstants.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/com/google/gwt/i18n/client/impl/LocaleInfoImpl.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalLong.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/LongSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/NumberFormatException.java'
[java] [ERROR] java.lang.IllegalArgumentException
cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Number.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/DoubleSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/Predicate.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/BinaryOperator.java'
[java] [ERROR] java.util.Comparator cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Optional.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Collector.java'
[java] [ERROR] java.util.Set cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AutoCloseable.java'
[java] [ERROR] java.lang.Exception cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Collection.java'
[java] [ERROR] java.lang.Object cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Set.java'
[java] [ERROR] java.util.Collection cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/DateTimeFormatInfo.java'
[java] [ERROR] java.lang.String cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/IllegalArgumentException.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Colin Alworth
2018-06-13 13:19:54 UTC
Permalink
Details that would be helpful include the RemoteService interface, and
whatever classes are referenced there. That probably isn't small though,
but it may be enough to find the class that your RemoteServiceServlet is
sending back which should have a LinkedHashSet inside it, and see how it is
declared there.

Also, in your compiled output directory, there should probably be a
.gwt.rpc file showing what types are serializable -
java.util.LinkedHashSet/1826081506 should be listed in there if the server
tried to send it at all. The log from compiling your GWT application should
warn if some raw type was allowed, but it might be necessary to see both
the old log (from before the update) and the new one. I'm not certain that
either build log will have useful details though.

The main thing I would look for is some List/Set/Map/Collection in your
current DTOs which is declared raw, or generic on Object. That at least
should be warned in the logs.

From the stack trace, this will be the "third object deep" in the output
sent from the server:
* at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)*
at Unknown.deserialize_668(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_697(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
* at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)*
at Unknown.deserialize_337(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_335(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
* at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)*

First might be a bean or something which has a field, second will be that
field, I'm guessing a raw List/Set/Map or List<Object>/Set<Object> etc, and
the third is this failed LinkedHashSet. So, it should be enough to review
(or share) every java object mentioned in this failed RemoteService method
(and the method signature itself).
Post by dinesh kumar
I am using the latest gwt-servlet, gwt-user, gwt-dev(GWT 2.8.2).
Is there anything that can cause the above error?
There was a change to LinkedHashSet GWT-RPC serialization in 2.7 (see
http://www.gwtproject.org/release-notes.html#Release_Notes_2_7_0_RC1)
Make extra-sure that your gwt-servlet used on server side matches the GWT
version used for compiling the client side (i.e. that you also updated
gwt-servlet to 2.8.2)
Post by dinesh kumar
Can you please tell what other details are required?
Earlier we were on GWT 2.6.0 (not on GWT 1.5) and currently trying to
upgrade to GWT 2.8.2.
Post by Colin Alworth
This happens when the server thinks it can serialize and send an
object, but the client isn't actually capable of deserializing it. In this
case, the class is java.util.LinkedHashSet - the number that follows
specifies more details about how the class was referenced by the server,
which the client must match in order to deserialize correctly.
Without more details, it is hard to be specific, but I'd guess that for
an application like yours (without having seen any updates in about 10
years), you might be missing some generics on some other collection. Raw
collections or custom field serializers that just reference Object make it
difficult for the RPC wiring to know what types will actually go over the
wire. It is possible that in GWT 1.5 this behaved differently, but it has
changed since then (I recall both around 2.0 and 2.5 that changes were made
to be more precise and limit application sizes in cases like this).
Post by dinesh kumar
com.ptc.cat.ops.client.internal.OperationManager
SEVERE: DefaultOperationManager-> Failure dispatching operation
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: The
response could not be deserialized
at Unknown.Throwable_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.Exception_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.RuntimeException_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.new
IncompatibleRemoteServiceException_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at
Unknown.$fireOnResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onReadyStateChange(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.apply_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.entry0_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
java.util.LinkedHashSet/1826081506
at Unknown.Throwable_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.Exception_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.new
SerializationException_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$check(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$instantiate(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_668(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_697(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_337(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_335(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.read_8(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at
Unknown.$fireOnResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onReadyStateChange(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.apply_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.entry0_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
Post by Thomas Broyer
IIUC, make sure all your <entry-point/> classes implement EntryPoint.
Before 2.7, entry points weren't cast to EntryPoint, so you only had
to have a method with "void onModuleLoad()" signature; starting with GWT
https://github.com/gwtproject/gwt/commit/3be1548873300d5bcb74c0258352c90abe7a42bd),
the entry points are cast to EntryPoint.
Post by dinesh kumar
I was able to compile my code using latest GWT library.
However while running, my i-frame does not load in the browser and
Tue Jun 12 13:41:26 GMT+530 2018
com.google.gwt.logging.client.LogConfiguration
SEVERE: null
java.lang.ClassCastException
at Unknown.Throwable_0(Throwable.java:67)
at Unknown.Exception_0(Exception.java:29)
at Unknown.RuntimeException_0(RuntimeException.java:29)
at Unknown.ClassCastException_0(ClassCastException.java:27)
at Unknown.checkCriticalType(InternalPreconditions.java:154)
at
Unknown.throwClassCastExceptionUnlessNull(InternalPreconditions.java:138)
at
Unknown.init_9(com_00046ptc_00046windchill_00046wncgwt_00046WncGWTdebug__EntryMethodHolder.java:3)
at Unknown.initializeModules(ModuleUtils.java:44)
at Unknown.apply_0(Impl.java:309)
at Unknown.entry0_0(Impl.java:368)
at Unknown.anonymous(Impl.java:78)
at Unknown.gwtOnLoad_0(ModuleUtils.java:55)
Uncaught Error: java.lang.ClassCastException
at ClassCastException_0.createError
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62059)
at ClassCastException_0.initializeBackingError
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62104)
at ClassCastException_0.Throwable_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62009)
at ClassCastException_0.Exception_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62145)
at ClassCastException_0.RuntimeException_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62179)
at new ClassCastException_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:480204)
at checkCriticalType
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:490918)
at throwClassCastExceptionUnlessNull
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:458)
at Array.init_9 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:74335)
at initializeModules
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:46)
at apply_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63011)
at entry0_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63076)
at com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63045
at gwtOnLoad_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:60)
at com.ptc.windchill.wncgwt.WncGWTdebug-0.js:495783
Post by Colin Alworth
The errors you are getting aren't related to your Locale
supersource (or at least not directly), but to the fact that your project
has conflicting JRE sources which don't make sense, and so cannot be
compiled. Your version of "gwtx" cannot be used with any version of GWT
released within the last 9 years or so.
The first set of errors in your log, from GWT's internal i18n/etc,
are the same error you are going to get from every type in your entire
[ERROR] java.lang.Object cannot be resolved to a type
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be resolved
to a type
And in turn, searching for Throwable.java...
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be resolved
to a type
...
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot be
resolved to a type
And finally
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'.
Since GoogleCode is long dead, we can't see the sources there, but
you can see them in some exported github projects, such as
https://github.com/ttt43ttt/gwtx/blob/master/src/main/java/gwtx/java/io/emul/java/io/IOException.java.
You can see there that gwtx is missing this constructor, but GWT 2.8.2
correctly has it (see
https://gwt.googlesource.com/gwt/+/2.8.2/user/super/com/google/gwt/emul/java/io/IOException.java#37
).
This is the root issue - IOException is redefined in gwtx, and is
incompatible with "modern" (i.e. less than 9 years old) gwt-user.jar. Fix
this, and these other resulting issues should go away (though there may be
more issues if you do not entirely remove gwtx.jar, and possibly also
CoreGWT-src.jar as well, but I cannot say without actually seeing the
sources inside).
Post by dinesh kumar
I have emulated few of the classes for example : java.util.Locale
But now all my code is always referring to this class instead of
jre library. How and where can we specify where to look for?
Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_se.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/dom/builder/client/DomMediaBuilderBase.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_lkt.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/impl/cldr/DateTimeFormatInfoImpl_jgo.java'
[java] java.lang.String
.
.
.
..
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/core/client/JavaScriptObject.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Class.java'
[java] [ERROR]
com.google.gwt.core.client.JavaScriptObject cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/String.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/CloneNotSupportedException.java'
[java] [ERROR] java.lang.Exception cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/io/PrintWriter.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StackTraceElement.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/ClassNotFoundException.java'
[java] [ERROR] java.lang.Exception cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/reflect/Method.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/CharSequence.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Iterable.java'
[java] [ERROR] java.util.Spliterator cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/javaemul/internal/NativeRegExp.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/nio/charset/Charset.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuffer.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/util/Locale.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuilder.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Comparator.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/UnsupportedEncodingException.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Exception.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/OutputStream.java'
[java] [ERROR] java.io.IOException cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/IntStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Spliterator.java'
[java] [ERROR] java.util.Comparator cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/SortedMap.java'
[java] [ERROR] java.util.Comparator cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AbstractStringBuilder.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocaleInfo.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'
[java] [ERROR] java.lang.Exception cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Closeable.java'
[java] [ERROR] java.io.IOException cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Flushable.java'
[java] [ERROR] java.io.IOException cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/LongStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalDouble.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Integer.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalInt.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/DoubleStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Stream.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/BaseStream.java'
[java] [ERROR] java.lang.AutoCloseable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/IntSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Double.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Long.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Map.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Appendable.java'
[java] [ERROR] java.io.IOException cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/DateTimeFormatInfo.java'
[java] [ERROR]
com.google.gwt.i18n.shared.DateTimeFormatInfo cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocalizedNames.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/DateTimeConstants.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/com/google/gwt/i18n/client/impl/LocaleInfoImpl.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalLong.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/LongSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/NumberFormatException.java'
[java] [ERROR] java.lang.IllegalArgumentException
cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Number.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/DoubleSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/Predicate.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/BinaryOperator.java'
[java] [ERROR] java.util.Comparator cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Optional.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Collector.java'
[java] [ERROR] java.util.Set cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AutoCloseable.java'
[java] [ERROR] java.lang.Exception cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Collection.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Set.java'
[java] [ERROR] java.util.Collection cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/DateTimeFormatInfo.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/IllegalArgumentException.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
dinesh kumar
2018-06-15 00:49:29 UTC
Permalink
We are using something like :

Set<type_a> temp = new LinkedHashSet<type_a>();

Can using such generics cause that issue?
Post by Colin Alworth
Details that would be helpful include the RemoteService interface, and
whatever classes are referenced there. That probably isn't small though,
but it may be enough to find the class that your RemoteServiceServlet is
sending back which should have a LinkedHashSet inside it, and see how it is
declared there.
Also, in your compiled output directory, there should probably be a
.gwt.rpc file showing what types are serializable -
java.util.LinkedHashSet/1826081506 should be listed in there if the server
tried to send it at all. The log from compiling your GWT application should
warn if some raw type was allowed, but it might be necessary to see both
the old log (from before the update) and the new one. I'm not certain that
either build log will have useful details though.
The main thing I would look for is some List/Set/Map/Collection in your
current DTOs which is declared raw, or generic on Object. That at least
should be warned in the logs.
From the stack trace, this will be the "third object deep" in the output
* at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)*
at Unknown.deserialize_668(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_697(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
* at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)*
at Unknown.deserialize_337(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_335(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
* at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)*
First might be a bean or something which has a field, second will be that
field, I'm guessing a raw List/Set/Map or List<Object>/Set<Object> etc, and
the third is this failed LinkedHashSet. So, it should be enough to review
(or share) every java object mentioned in this failed RemoteService method
(and the method signature itself).
Post by dinesh kumar
I am using the latest gwt-servlet, gwt-user, gwt-dev(GWT 2.8.2).
Is there anything that can cause the above error?
There was a change to LinkedHashSet GWT-RPC serialization in 2.7 (see
http://www.gwtproject.org/release-notes.html#Release_Notes_2_7_0_RC1)
Make extra-sure that your gwt-servlet used on server side matches the
GWT version used for compiling the client side (i.e. that you also updated
gwt-servlet to 2.8.2)
Post by dinesh kumar
Can you please tell what other details are required?
Earlier we were on GWT 2.6.0 (not on GWT 1.5) and currently trying to
upgrade to GWT 2.8.2.
Post by Colin Alworth
This happens when the server thinks it can serialize and send an
object, but the client isn't actually capable of deserializing it. In this
case, the class is java.util.LinkedHashSet - the number that follows
specifies more details about how the class was referenced by the server,
which the client must match in order to deserialize correctly.
Without more details, it is hard to be specific, but I'd guess that
for an application like yours (without having seen any updates in about 10
years), you might be missing some generics on some other collection. Raw
collections or custom field serializers that just reference Object make it
difficult for the RPC wiring to know what types will actually go over the
wire. It is possible that in GWT 1.5 this behaved differently, but it has
changed since then (I recall both around 2.0 and 2.5 that changes were made
to be more precise and limit application sizes in cases like this).
Post by dinesh kumar
com.ptc.cat.ops.client.internal.OperationManager
SEVERE: DefaultOperationManager-> Failure dispatching operation
The response could not be deserialized
at Unknown.Throwable_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.Exception_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.RuntimeException_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.new
IncompatibleRemoteServiceException_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at
Unknown.$fireOnResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onReadyStateChange(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.apply_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.entry0_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
java.util.LinkedHashSet/1826081506
at Unknown.Throwable_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.Exception_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.new
SerializationException_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$check(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$instantiate(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_668(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_697(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_337(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_335(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.read_8(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at
Unknown.$fireOnResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onReadyStateChange(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.apply_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.entry0_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
Post by Thomas Broyer
IIUC, make sure all your <entry-point/> classes implement EntryPoint.
Before 2.7, entry points weren't cast to EntryPoint, so you only had
to have a method with "void onModuleLoad()" signature; starting with GWT
https://github.com/gwtproject/gwt/commit/3be1548873300d5bcb74c0258352c90abe7a42bd),
the entry points are cast to EntryPoint.
Post by dinesh kumar
I was able to compile my code using latest GWT library.
However while running, my i-frame does not load in the browser and
Tue Jun 12 13:41:26 GMT+530 2018
com.google.gwt.logging.client.LogConfiguration
SEVERE: null
java.lang.ClassCastException
at Unknown.Throwable_0(Throwable.java:67)
at Unknown.Exception_0(Exception.java:29)
at Unknown.RuntimeException_0(RuntimeException.java:29)
at Unknown.ClassCastException_0(ClassCastException.java:27)
at Unknown.checkCriticalType(InternalPreconditions.java:154)
at
Unknown.throwClassCastExceptionUnlessNull(InternalPreconditions.java:138)
at
Unknown.init_9(com_00046ptc_00046windchill_00046wncgwt_00046WncGWTdebug__EntryMethodHolder.java:3)
at Unknown.initializeModules(ModuleUtils.java:44)
at Unknown.apply_0(Impl.java:309)
at Unknown.entry0_0(Impl.java:368)
at Unknown.anonymous(Impl.java:78)
at Unknown.gwtOnLoad_0(ModuleUtils.java:55)
Uncaught Error: java.lang.ClassCastException
at ClassCastException_0.createError
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62059)
at ClassCastException_0.initializeBackingError
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62104)
at ClassCastException_0.Throwable_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62009)
at ClassCastException_0.Exception_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62145)
at ClassCastException_0.RuntimeException_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62179)
at new ClassCastException_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:480204)
at checkCriticalType
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:490918)
at throwClassCastExceptionUnlessNull
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:458)
at Array.init_9
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:74335)
at initializeModules
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:46)
at apply_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63011)
at entry0_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63076)
at com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63045
at gwtOnLoad_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:60)
at com.ptc.windchill.wncgwt.WncGWTdebug-0.js:495783
Post by Colin Alworth
The errors you are getting aren't related to your Locale
supersource (or at least not directly), but to the fact that your project
has conflicting JRE sources which don't make sense, and so cannot be
compiled. Your version of "gwtx" cannot be used with any version of GWT
released within the last 9 years or so.
The first set of errors in your log, from GWT's internal i18n/etc,
are the same error you are going to get from every type in your entire
[ERROR] java.lang.Object cannot be resolved to a type
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
And in turn, searching for Throwable.java...
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be
resolved to a type
...
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot be
resolved to a type
And finally
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'.
Since GoogleCode is long dead, we can't see the sources there, but
you can see them in some exported github projects, such as
https://github.com/ttt43ttt/gwtx/blob/master/src/main/java/gwtx/java/io/emul/java/io/IOException.java.
You can see there that gwtx is missing this constructor, but GWT 2.8.2
correctly has it (see
https://gwt.googlesource.com/gwt/+/2.8.2/user/super/com/google/gwt/emul/java/io/IOException.java#37
).
This is the root issue - IOException is redefined in gwtx, and is
incompatible with "modern" (i.e. less than 9 years old) gwt-user.jar. Fix
this, and these other resulting issues should go away (though there may be
more issues if you do not entirely remove gwtx.jar, and possibly also
CoreGWT-src.jar as well, but I cannot say without actually seeing the
sources inside).
Post by dinesh kumar
I have emulated few of the classes for example : java.util.Locale
But now all my code is always referring to this class instead of
jre library. How and where can we specify where to look for?
Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_se.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/dom/builder/client/DomMediaBuilderBase.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_lkt.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/impl/cldr/DateTimeFormatInfoImpl_jgo.java'
[java] java.lang.String
.
.
.
..
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/core/client/JavaScriptObject.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Class.java'
[java] [ERROR]
com.google.gwt.core.client.JavaScriptObject cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/String.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/CloneNotSupportedException.java'
[java] [ERROR] java.lang.Exception cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot
be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/io/PrintWriter.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StackTraceElement.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/ClassNotFoundException.java'
[java] [ERROR] java.lang.Exception cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/reflect/Method.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/CharSequence.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Iterable.java'
[java] [ERROR] java.util.Spliterator cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/javaemul/internal/NativeRegExp.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/nio/charset/Charset.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuffer.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/util/Locale.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuilder.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Comparator.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/UnsupportedEncodingException.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Exception.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/OutputStream.java'
[java] [ERROR] java.io.IOException cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/IntStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Spliterator.java'
[java] [ERROR] java.util.Comparator cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/SortedMap.java'
[java] [ERROR] java.util.Comparator cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AbstractStringBuilder.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocaleInfo.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'
[java] [ERROR] java.lang.Exception cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Closeable.java'
[java] [ERROR] java.io.IOException cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Flushable.java'
[java] [ERROR] java.io.IOException cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/LongStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalDouble.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Integer.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalInt.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/DoubleStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Stream.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/BaseStream.java'
[java] [ERROR] java.lang.AutoCloseable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/IntSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Double.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Long.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Map.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Appendable.java'
[java] [ERROR] java.io.IOException cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/DateTimeFormatInfo.java'
[java] [ERROR]
com.google.gwt.i18n.shared.DateTimeFormatInfo cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocalizedNames.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/DateTimeConstants.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/com/google/gwt/i18n/client/impl/LocaleInfoImpl.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalLong.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/LongSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/NumberFormatException.java'
[java] [ERROR] java.lang.IllegalArgumentException
cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Number.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/DoubleSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/Predicate.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/BinaryOperator.java'
[java] [ERROR] java.util.Comparator cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Optional.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Collector.java'
[java] [ERROR] java.util.Set cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AutoCloseable.java'
[java] [ERROR] java.lang.Exception cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Collection.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Set.java'
[java] [ERROR] java.util.Collection cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/DateTimeFormatInfo.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/IllegalArgumentException.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
dinesh kumar
2018-06-19 08:25:50 UTC
Permalink
I am further getting the below error:

com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
java.lang.ClassNotFoundException: 1C2DD3E7BC435105789300F99C966F9B
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:323)
at com.ptc.mvc.gwt.GwtHandlerAdapter.processCall(GwtHandlerAdapter.java:156)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:305)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at com.ptc.mvc.gwt.GwtHandlerAdapter.handle(GwtHandlerAdapter.java:118)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
at
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at wt.licenseusage.licensing.LicenseFilter.doFilter(LicenseFilter.java:47)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at
com.ptc.core.ui.validation.URLValidationFilter.doFilter(URLValidationFilter.java:77)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at
wt.httpgw.filter.WTContextBeanFilter.doWithWtContextBeanHandler(WTContextBeanFilter.java:104)
at
wt.httpgw.filter.WTContextBeanFilter.doFilter(WTContextBeanFilter.java:58)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at wt.servlet.CompressionFilter.doFilter(CompressionFilter.java:301)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at wt.servlet.RequestInterrupter.doFilter(RequestInterrupter.java:335)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at
wt.servlet.ServletRequestMonitor.doFilter(ServletRequestMonitor.java:1660)
at
wt.servlet.ServletRequestMonitorFilter.doFilter(ServletRequestMonitorFilter.java:56)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:479)
at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1478)
at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.google.gwt.user.client.rpc.SerializationException:
java.lang.ClassNotFoundException: 1C2DD3E7BC435105789300F99C966F9B
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserialize(ServerSerializationStreamReader.java:708)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.readObject(ServerSerializationStreamReader.java:592)
at
com.google.gwt.user.server.rpc.core.java.util.Arrays$ArrayList_ServerCustomFieldSerializer.instantiate(Arrays.java:71)
at
com.google.gwt.user.server.rpc.core.java.util.Arrays$ArrayList_ServerCustomFieldSerializer.instantiateInstance(Arrays.java:106)
at
com.google.gwt.user.server.rpc.core.java.util.Arrays$ArrayList_ServerCustomFieldSerializer.instantiateInstance(Arrays.java:39)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.instantiate(ServerSerializationStreamReader.java:1088)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserialize(ServerSerializationStreamReader.java:682)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.readObject(ServerSerializationStreamReader.java:592)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader$ValueReader$8.readValue(ServerSerializationStreamReader.java:149)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeValue(ServerSerializationStreamReader.java:434)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeClass(ServerSerializationStreamReader.java:832)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeImpl(ServerSerializationStreamReader.java:903)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeClass(ServerSerializationStreamReader.java:861)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeImpl(ServerSerializationStreamReader.java:903)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeClass(ServerSerializationStreamReader.java:861)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeImpl(ServerSerializationStreamReader.java:903)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserialize(ServerSerializationStreamReader.java:687)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.readObject(ServerSerializationStreamReader.java:592)
at
com.google.gwt.user.server.rpc.core.java.util.Collection_ServerCustomFieldSerializerBase.deserialize(Collection_ServerCustomFieldSerializerBase.java:38)
at
com.google.gwt.user.server.rpc.core.java.util.ArrayList_ServerCustomFieldSerializer.deserialize(ArrayList_ServerCustomFieldSerializer.java:40)
at
com.google.gwt.user.server.rpc.core.java.util.ArrayList_ServerCustomFieldSerializer.deserializeInstance(ArrayList_ServerCustomFieldSerializer.java:54)
at
com.google.gwt.user.server.rpc.core.java.util.ArrayList_ServerCustomFieldSerializer.deserializeInstance(ArrayList_ServerCustomFieldSerializer.java:33)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeImpl(ServerSerializationStreamReader.java:884)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserialize(ServerSerializationStreamReader.java:687)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.readObject(ServerSerializationStreamReader.java:592)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader$ValueReader$8.readValue(ServerSerializationStreamReader.java:149)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeValue(ServerSerializationStreamReader.java:434)
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:312)
... 49 more
Caused by: java.lang.ClassNotFoundException:
1C2DD3E7BC435105789300F99C966F9B
at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1308)
at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1136)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserialize(ServerSerializationStreamReader.java:634)
... 76 more


I don understand what does that string mean :
1C2DD3E7BC435105789300F99C966F9B?
Post by Colin Alworth
Details that would be helpful include the RemoteService interface, and
whatever classes are referenced there. That probably isn't small though,
but it may be enough to find the class that your RemoteServiceServlet is
sending back which should have a LinkedHashSet inside it, and see how it is
declared there.
Also, in your compiled output directory, there should probably be a
.gwt.rpc file showing what types are serializable -
java.util.LinkedHashSet/1826081506 should be listed in there if the server
tried to send it at all. The log from compiling your GWT application should
warn if some raw type was allowed, but it might be necessary to see both
the old log (from before the update) and the new one. I'm not certain that
either build log will have useful details though.
The main thing I would look for is some List/Set/Map/Collection in your
current DTOs which is declared raw, or generic on Object. That at least
should be warned in the logs.
From the stack trace, this will be the "third object deep" in the output
* at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)*
at Unknown.deserialize_668(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_697(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
* at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)*
at Unknown.deserialize_337(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_335(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
* at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)*
First might be a bean or something which has a field, second will be that
field, I'm guessing a raw List/Set/Map or List<Object>/Set<Object> etc, and
the third is this failed LinkedHashSet. So, it should be enough to review
(or share) every java object mentioned in this failed RemoteService method
(and the method signature itself).
Post by dinesh kumar
I am using the latest gwt-servlet, gwt-user, gwt-dev(GWT 2.8.2).
Is there anything that can cause the above error?
There was a change to LinkedHashSet GWT-RPC serialization in 2.7 (see
http://www.gwtproject.org/release-notes.html#Release_Notes_2_7_0_RC1)
Make extra-sure that your gwt-servlet used on server side matches the
GWT version used for compiling the client side (i.e. that you also updated
gwt-servlet to 2.8.2)
Post by dinesh kumar
Can you please tell what other details are required?
Earlier we were on GWT 2.6.0 (not on GWT 1.5) and currently trying to
upgrade to GWT 2.8.2.
Post by Colin Alworth
This happens when the server thinks it can serialize and send an
object, but the client isn't actually capable of deserializing it. In this
case, the class is java.util.LinkedHashSet - the number that follows
specifies more details about how the class was referenced by the server,
which the client must match in order to deserialize correctly.
Without more details, it is hard to be specific, but I'd guess that
for an application like yours (without having seen any updates in about 10
years), you might be missing some generics on some other collection. Raw
collections or custom field serializers that just reference Object make it
difficult for the RPC wiring to know what types will actually go over the
wire. It is possible that in GWT 1.5 this behaved differently, but it has
changed since then (I recall both around 2.0 and 2.5 that changes were made
to be more precise and limit application sizes in cases like this).
Post by dinesh kumar
com.ptc.cat.ops.client.internal.OperationManager
SEVERE: DefaultOperationManager-> Failure dispatching operation
The response could not be deserialized
at Unknown.Throwable_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.Exception_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.RuntimeException_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.new
IncompatibleRemoteServiceException_1(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at
Unknown.$fireOnResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onReadyStateChange(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.apply_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.entry0_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
java.util.LinkedHashSet/1826081506
at Unknown.Throwable_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.Exception_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.new
SerializationException_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$check(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$instantiate(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_668(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_697(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_337(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.deserialize_335(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$deserialize(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.$readObject(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.read_8(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at
Unknown.$fireOnResponseReceived(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.onReadyStateChange(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.apply_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.entry0_0(com.ptc.windchill.wncgwt.WncGWT-0.js)
at Unknown.<anonymous>(com.ptc.windchill.wncgwt.WncGWT-0.js)
Post by Thomas Broyer
IIUC, make sure all your <entry-point/> classes implement EntryPoint.
Before 2.7, entry points weren't cast to EntryPoint, so you only had
to have a method with "void onModuleLoad()" signature; starting with GWT
https://github.com/gwtproject/gwt/commit/3be1548873300d5bcb74c0258352c90abe7a42bd),
the entry points are cast to EntryPoint.
Post by dinesh kumar
I was able to compile my code using latest GWT library.
However while running, my i-frame does not load in the browser and
Tue Jun 12 13:41:26 GMT+530 2018
com.google.gwt.logging.client.LogConfiguration
SEVERE: null
java.lang.ClassCastException
at Unknown.Throwable_0(Throwable.java:67)
at Unknown.Exception_0(Exception.java:29)
at Unknown.RuntimeException_0(RuntimeException.java:29)
at Unknown.ClassCastException_0(ClassCastException.java:27)
at Unknown.checkCriticalType(InternalPreconditions.java:154)
at
Unknown.throwClassCastExceptionUnlessNull(InternalPreconditions.java:138)
at
Unknown.init_9(com_00046ptc_00046windchill_00046wncgwt_00046WncGWTdebug__EntryMethodHolder.java:3)
at Unknown.initializeModules(ModuleUtils.java:44)
at Unknown.apply_0(Impl.java:309)
at Unknown.entry0_0(Impl.java:368)
at Unknown.anonymous(Impl.java:78)
at Unknown.gwtOnLoad_0(ModuleUtils.java:55)
Uncaught Error: java.lang.ClassCastException
at ClassCastException_0.createError
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62059)
at ClassCastException_0.initializeBackingError
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62104)
at ClassCastException_0.Throwable_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62009)
at ClassCastException_0.Exception_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62145)
at ClassCastException_0.RuntimeException_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:62179)
at new ClassCastException_0
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:480204)
at checkCriticalType
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:490918)
at throwClassCastExceptionUnlessNull
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:458)
at Array.init_9
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:74335)
at initializeModules
(com.ptc.windchill.wncgwt.WncGWTdebug-0.js:46)
at apply_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63011)
at entry0_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63076)
at com.ptc.windchill.wncgwt.WncGWTdebug-0.js:63045
at gwtOnLoad_0 (com.ptc.windchill.wncgwt.WncGWTdebug-0.js:60)
at com.ptc.windchill.wncgwt.WncGWTdebug-0.js:495783
Post by Colin Alworth
The errors you are getting aren't related to your Locale
supersource (or at least not directly), but to the fact that your project
has conflicting JRE sources which don't make sense, and so cannot be
compiled. Your version of "gwtx" cannot be used with any version of GWT
released within the last 9 years or so.
The first set of errors in your log, from GWT's internal i18n/etc,
are the same error you are going to get from every type in your entire
[ERROR] java.lang.Object cannot be resolved to a type
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
And in turn, searching for Throwable.java...
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be
resolved to a type
...
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot be
resolved to a type
And finally
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'.
Since GoogleCode is long dead, we can't see the sources there, but
you can see them in some exported github projects, such as
https://github.com/ttt43ttt/gwtx/blob/master/src/main/java/gwtx/java/io/emul/java/io/IOException.java.
You can see there that gwtx is missing this constructor, but GWT 2.8.2
correctly has it (see
https://gwt.googlesource.com/gwt/+/2.8.2/user/super/com/google/gwt/emul/java/io/IOException.java#37
).
This is the root issue - IOException is redefined in gwtx, and is
incompatible with "modern" (i.e. less than 9 years old) gwt-user.jar. Fix
this, and these other resulting issues should go away (though there may be
more issues if you do not entirely remove gwtx.jar, and possibly also
CoreGWT-src.jar as well, but I cannot say without actually seeing the
sources inside).
Post by dinesh kumar
I have emulated few of the classes for example : java.util.Locale
But now all my code is always referring to this class instead of
jre library. How and where can we specify where to look for?
Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_se.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/dom/builder/client/DomMediaBuilderBase.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/impl/cldr/DateTimeFormatInfoImpl_lkt.java'
[java] java.lang.String
[java] Compilation unit
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/impl/cldr/DateTimeFormatInfoImpl_jgo.java'
[java] java.lang.String
.
.
.
..
[ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Object.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/core/client/JavaScriptObject.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Throwable.java'
[java] [ERROR] java.io.PrintStream cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Class.java'
[java] [ERROR]
com.google.gwt.core.client.JavaScriptObject cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/String.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/CloneNotSupportedException.java'
[java] [ERROR] java.lang.Exception cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/PrintStream.java'
[java] [ERROR] java.io.FilterOutputStream cannot
be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/io/PrintWriter.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StackTraceElement.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/ClassNotFoundException.java'
[java] [ERROR] java.lang.Exception cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/reflect/Method.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/CharSequence.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Iterable.java'
[java] [ERROR] java.util.Spliterator cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/javaemul/internal/NativeRegExp.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/nio/charset/Charset.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuffer.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/util/Locale.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/StringBuilder.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Comparator.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/UnsupportedEncodingException.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Exception.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/OutputStream.java'
[java] [ERROR] java.io.IOException cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/io/FilterOutputStream.java'
[java] [ERROR] Line 74: The constructor
IOException(Throwable) is undefined
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/IntStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Spliterator.java'
[java] [ERROR] java.util.Comparator cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/SortedMap.java'
[java] [ERROR] java.util.Comparator cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AbstractStringBuilder.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocaleInfo.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/IOException.java'
[java] [ERROR] java.lang.Exception cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Closeable.java'
[java] [ERROR] java.io.IOException cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/io/emul/java/io/Flushable.java'
[java] [ERROR] java.io.IOException cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/LongStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalDouble.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/gwt/java/lang/Integer.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalInt.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/DoubleStream.java'
[java] [ERROR] java.util.OptionalDouble cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Stream.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/BaseStream.java'
[java] [ERROR] java.lang.AutoCloseable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/IntSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Double.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Long.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Map.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Appendable.java'
[java] [ERROR] java.io.IOException cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/DateTimeFormatInfo.java'
[java] [ERROR]
com.google.gwt.i18n.shared.DateTimeFormatInfo cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/LocalizedNames.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/DateTimeConstants.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/ptc/fox_10/Windchill/srclib/wnc/CoreGWT-src.jar!/com/google/gwt/i18n/client/impl/LocaleInfoImpl.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/client/constants/NumberConstants.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/OptionalLong.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/LongSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/NumberFormatException.java'
[java] [ERROR] java.lang.IllegalArgumentException
cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/Number.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/DoubleSummaryStatistics.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/Predicate.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/function/BinaryOperator.java'
[java] [ERROR] java.util.Comparator cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Optional.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Collector.java'
[java] [ERROR] java.util.Set cannot be resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/AutoCloseable.java'
[java] [ERROR] java.lang.Exception cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Collection.java'
[java] [ERROR] java.lang.Object cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/util/Set.java'
[java] [ERROR] java.util.Collection cannot be
resolved to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/i18n/shared/DateTimeFormatInfo.java'
[java] [ERROR] java.lang.String cannot be resolved
to a type
[java] [ERROR] Errors in
'jar:file:/opt/wnc/3rdPartyJars/lib/gwt-user.jar!/com/google/gwt/emul/java/lang/IllegalArgumentException.java'
[java] [ERROR] java.lang.Throwable cannot be
resolved to a type
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...