Closed janenicholson closed 2 years ago
@rultor merge
@rultor merge
@yegor256 OK, I'll try to merge now. You can check the progress of the merge here
@janenicholson thanks!
@janenicholson I released version 1.2 (with your changes), feel free to use it
Can you link the release for 1.2? I don't see it
@thomasbao12 here: https://github.com/jcabi/jcabi-manifests/releases/tag/1.2 The release didn't go entire correct, that's why the JAR is in Maven Central, but not here. Sorry.
fix ArrayIndexOutOfBoundsException leading to com.jcabi.manifests.Manifests NoClassDefFoundError
When an error occurs loading the manifest, a piece of static code that's trying to report the error instead throws an exception during a catch block. This prevents loading of the class, and results in NoClassDefFoundError errors which are hard to diagnose, as the class is present in the jar file.
The real error encountered by users is described in the exception that is being caught, but this is never reported due to the exception thrown during the attempt to report.
This issue was reported against the parent project at https://github.com/jcabi/jcabi/issues/333