Comments (9)
Subject should have said: "samples in trunk do NOT build with GWT-Export build
from
trunk"
K.
Original comment by [email protected]
on 12 May 2010 at 12:47
from gwt-exporter.
I'm having the same problem, anyone have a solution?
Original comment by [email protected]
on 21 Aug 2010 at 4:27
from gwt-exporter.
I tried to compile this with the 2.10 M2 version, and I get the same compiler
errors.
Original comment by [email protected]
on 22 Aug 2010 at 8:05
from gwt-exporter.
If I comment out the following lines in Employee.java it'll compile:
@Export
public Person[] getPeople() {
return people;
}
Original comment by [email protected]
on 30 Aug 2010 at 6:45
from gwt-exporter.
After further investigation, it seems that the exporter is failing on arrays of
non-primitive types (double[] works, but Person[] doesn't as a return value.)
Original comment by [email protected]
on 31 Aug 2010 at 1:34
from gwt-exporter.
Hi Michael,
Glad to see you're making some progress on this, I never managed to get
anywhere unfortunately.
Would be great if this "issue" could get fixed somehow, because this exporter
is sort of vital to the project I have in mind. (for now the project is on hold
anyway).
K
Original comment by [email protected]
on 31 Aug 2010 at 6:28
from gwt-exporter.
Hello, sorry by the delay.
New version has all these errors fixed.
Thanks for reporting
Original comment by manuel.carrasco.m
on 8 Jun 2011 at 9:10
- Changed state: Fixed
from gwt-exporter.
[deleted comment]
from gwt-exporter.
I suggest reopening this.
I experience the same issue when returning a custom-type array. When I changed
the return type of the trouble-making method to void (rather than Road[])
everything worked fine.
Error:
... Line 64: Referencing method 'org.timepedia.exporter.client.ExporterUtil.wrap([Lgame/client/Road;)': unable to resolve method
... [ERROR] Line 13: Unresolvable native reference to method 'wrap' in type 'org.timepedia.exporter.client.ExporterUtil' (did you mean 'wrap(Ljava/lang/Object;)', 'wrap([B)', 'wrap([C)', 'wrap([D)', 'wrap([F)', 'wrap([I)', 'wrap([J)', 'wrap([Lcom/google/gwt/core/client/JavaScriptObject;)', 'wrap([Ljava/lang/String;)', 'wrap([Ljava/util/Date;)', 'wrap([Lorg/timepedia/exporter/client/Exportable;)', 'wrap([S)'?)
Original method signature (fails with error above):
public Road[] factoryRoad(int block,RoadServer[] rArr){ ... }
Fixed method (works; changed code to set arr):
public void factoryRoad(int block,RoadServer[] rArr, Road[] arr){ ... }
GWT version: 2.4.0
gwt-exporter version: 2.4.0-M1
Original comment by [email protected]
on 7 Apr 2012 at 10:42
from gwt-exporter.
Related Issues (20)
- ClassCastException when passing object to method with interface-type parameter HOT 6
- ClassCastException caused in Javascript When passing object to JSNI function HOT 3
- JsDoclet and method detail HOT 6
- JsDoclet ignores javadoc option "-charset UTF-8" HOT 1
- ExportOverlay<T> does not work if T is an interface HOT 8
- ClassCastException when passing factory-based object to method with interface-type parameter HOT 3
- property support with @getter and @setter annotations HOT 5
- Export fields/constants of a interface that a exported class extends. HOT 5
- Elemental interface directly exportable support. HOT 2
- primitive int get/set fails for gwt exported methods in debug mode (gwt.codesvr)
- Error processing null Exportable parameter HOT 5
- Exporting all GWT-(Exporter)-compatible classes HOT 2
- Callback-Methods with Array as Param don't get propper Array HOT 3
- gwtexporter cannot be compiled with closure compiler option enabled HOT 1
- JsDoclet no longer work with Java 7 HOT 3
- It would be nice to have some way of using a class that was instantiated in Java code
- wrapping non-exportable return objects
- Unit Test failed using GWT 2.6
- __gwtex_wrap in Heap Snapshot
- GWT exporter cast exception from GWT.create; Tried to use mvp4g with GWT-Exporter but GWT.create didn't work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gwt-exporter.