Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stepancheg/gwt-bug-diag
Reproduce a GWT problem
https://github.com/stepancheg/gwt-bug-diag
Last synced: about 4 hours ago
JSON representation
Reproduce a GWT problem
- Host: GitHub
- URL: https://github.com/stepancheg/gwt-bug-diag
- Owner: stepancheg
- Created: 2015-07-22T20:38:52.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-13T14:02:14.000Z (over 9 years ago)
- Last Synced: 2024-11-24T12:42:21.397Z (2 months ago)
- Language: Shell
- Homepage: https://github.com/gwtproject/gwt/issues/9163
- Size: 156 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Reproduce a GWT problem
### Problem
On some incorrect programs GWT fails to report error properly (with file and line number)
and shows meaningless `java.lang.IndexOutOfBoundsException: Index: 0` exception instead:
[here](https://gist.github.com/stepancheg/db1eb94998fea540930a).Similar exceptions occur in very different situations, and make it hard to find
the cause.I've found the simplest case for that exception.
### How to reproduce
1. Clone the repository
2. Comment out call to nonexistent `foo()` function in class `Cccc`.
3. Start devmode+superdevmode, using `./gwt-devmode.sh` or similar.
4. Open page in your browser: http://localhost:8888/aaaa.Bbbb/Bbbb.html . Page works fine.
5. Uncomment call to nonexistent function `foo()`.
6. Open page in your browser: http://localhost:8888/aaaa.Bbbb/Bbbb.html . Result is the exception.### Expected result
Nice message with file and line number.
### Environment
* Problem is reproducible with GWT 2.7.0 and with 2.8.0-20150717.
* OS: MacOS X 10.10.4
* Browser: Firefox 39.0
* Java: "1.8.0_45"