datni / gwt-pectin

Automatically exported from code.google.com/p/gwt-pectin
0 stars 0 forks source link

Unable to load module in GWT 2.0 #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Using pectin 0.4 and GWT 2.0, I'm getting this error on loading:
00:07:40.297 [SPAM] Resolving
com.pietschy.gwt.pectin.client.components.AbstractDynamicList
00:07:40.297 [SPAM] Found type
'com.pietschy.gwt.pectin.client.components.AbstractDynamicList'
00:07:40.297 [ERROR] Unable to resolve inner class Row in
com.pietschy.gwt.pectin.client.components.AbstractDynamicList[]
com.google.gwt.core.ext.typeinfo.NotFoundException: null    at
com.google.gwt.core.ext.typeinfo.JArrayType.getNestedType(JArrayType.java:147)
    at
com.google.gwt.dev.javac.asm.ResolveTypeSignature.visitInnerClassType(ResolveTyp
eSignature.java:171)
    at
com.google.gwt.dev.asm.signature.SignatureReader.parseType(SignatureReader.java:
182)
    at
com.google.gwt.dev.asm.signature.SignatureReader.parseType(SignatureReader.java:
164)
    at
com.google.gwt.dev.asm.signature.SignatureReader.accept(SignatureReader.java:100
)
    at
com.google.gwt.dev.javac.TypeOracleMediator.resolveMethod(TypeOracleMediator.jav
a:972)
...

Looks like GWT is having issues with addRows(Row... rows) as it thinks Row
is an inner class of an AbstractDynamicList array

Original issue reported on code.google.com by donald.b...@gmail.com on 6 Jan 2010 at 2:34

GoogleCodeExporter commented 8 years ago

Original comment by andrew.pietsch on 6 Jan 2010 at 2:42

GoogleCodeExporter commented 8 years ago
Thanks for that.  Removing all the var-arg methods seems to have fixed the 
issue. 
I've checked the changes into svn.

Original comment by andrew.pietsch on 6 Jan 2010 at 3:02