Coder Social home page Coder Social logo

Comments (4)

onyxbits avatar onyxbits commented on July 26, 2024

That seems to be a misconfigured JVM (probably the server, not the desktop java edition), not a bug in Raccoon.

from raccoon4.

jpstotz avatar jpstotz commented on July 26, 2024

@onyxbits I disagree. This bug is caused here: https://github.com/onyxbits/raccoon4/blob/master/src/main/java/de/onyxbits/weave/diag/ReportManager.java#L109

if e.getMessage() returns null (which happens on certain exceptions) this bug happens as report.setFingerprint is never called. Therefore this is a problem of bad error handling of Raccoon.

from raccoon4.

onyxbits avatar onyxbits commented on July 26, 2024

That's just a detour. The basal bug happens somewhere between the Locale and Currency class (Currency getting an invalid Locale). This should not normally happen. At least not with a desktop Java edition. AFAIR, Debian offers a server edition which is basically a stripped down variant. So my guess here is missing config files.

from raccoon4.

jpstotz avatar jpstotz commented on July 26, 2024

Your guess may be correct, it is difficult to know what the original exception was if the exception handling code fails and raises an exception on it's own...

In my opinion an exception handling code should be safe in all cases. Therefore I would recommend to add an report.setFingerprint(new BigInteger.ZERO); in the empty exception handler https://github.com/onyxbits/raccoon4/blob/master/src/main/java/de/onyxbits/weave/diag/ReportManager.java#L113 or alternatively add a null check every where getFingerprint() is called.

from raccoon4.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.