Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why do I see the warning message Detected a NaN anomaly believed to be due to use of JDK 1.4.1?

0
Posted

Why do I see the warning message Detected a NaN anomaly believed to be due to use of JDK 1.4.1?

0

You’re using an obsolete version of Jena and JDK 1.4.1. As a side effect of some changes post-Jena 2.1 we started seeing random error message of the form ‘Illegal load factor: NaN’ when creating a HashMap. This appears to be a JDK bug in that the call is perfectly legal and the error message is seen frequently under JDK 1.4.1 but has never been seen under 1.3.1 or 1.4.2. We provided a work around which simply tries again to create the HashMap and this log message indicates that the work around has been triggered. Later versions of Jena ceased using that code.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.