jankrause / idocit

Automatically exported from code.google.com/p/idocit
0 stars 0 forks source link

Uncaught Exception if tagger model or dictionary are not loaded #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open Eclipse.
2. Open the iDocIt! editor and click on a method or parameter before the POS 
tagger model and the WordNet dictionary are loaded.

What is the expected output? What do you see instead?
The thematic grid should be displayed at the bottom left, but the editor hangs.

The model and dict are loaded several seconds after Eclipse startup. 
Nevertheless, the iDocIt! can be opened. If iDocIt! tries to access the model 
and dict before they are loaded, an uncaught exception (NPE) occurs.

The exception must be caught and an information message should be displayed, 
that the Thematic Grid service is not loaded yet and that the user should wait 
a few seconds.

Original issue reported on code.google.com by dirk.mei...@gmail.com on 27 Apr 2011 at 10:42

GoogleCodeExporter commented 8 years ago
Estimation: 3 hours

Original comment by dirk.mei...@gmail.com on 27 Apr 2011 at 10:44

GoogleCodeExporter commented 8 years ago

Original comment by dirk.mei...@gmail.com on 3 May 2011 at 8:03

GoogleCodeExporter commented 8 years ago
I caught the NPE and display an error message to the user. This is a temporary 
solution. The NPE has to be caught in the WSDLTaggerService.

Original comment by dirk.mei...@gmail.com on 12 May 2011 at 6:57

GoogleCodeExporter commented 8 years ago

Original comment by krauseda...@web.de on 17 May 2011 at 5:15

GoogleCodeExporter commented 8 years ago

Original comment by krauseda...@web.de on 19 May 2011 at 7:50