#459 closed defect (fixed)
Better error message if plugin jar can't be found
Reported by: | Nicklas Nordborg | Owned by: | Martin Svensson |
---|---|---|---|
Priority: | minor | Milestone: | BASE 2.2 |
Component: | core | Version: | |
Keywords: | Cc: |
Description (last modified by )
The stacktrace that is shown when a trying to install a plugin and the JAR file can't be found is not very informative:
Could not instantiate plugin class ... Caused by: java.util.zip.ZipException
We could probably let the JarClassLoader check that the JAR file exists and throw a better error message if it doesn't.
Change History (3)
comment:1 by , 18 years ago
Description: | modified (diff) |
---|
comment:2 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 18 years ago
(In [3078]) References #459: Better error message if plugin jar can't be found
Throw InvalidDataException instead of IOException to make the web application display a simple error message instead of a complete stack trace.
Note:
See TracTickets
for help on using tickets.
(In [3052]) Fixes #459 Better error message if plugin jar can't be found