[#14586] - java.lang.Math.floorDiv(JI)J Error from server not reported on Studio.

Category:
Bug report
Priority:
Normal
Status:
New
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

I updated my server from 6 to 8.1.1 and imported my reports. Since then My reports still run fine in Studio but when pushed to the server I get the same type of message.

2023-04-04T15:38:28,912 ERROR SecureExceptionHandlerImpl,pool-9-thread-20:125 - There was an error on the server. Try again or contact site administrators. (Error UID: afe1fc3f-f125-4360-b8a0-f52e85b58f2a). j
ava.lang.Math.floorDiv(JI)J net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression for source text: $F{intake_date} == null || $F{intake_date} == "" ? (DAYS($F{purchase_date},
$F{auction_date})) : (DAYS($F{purchase_date},$F{auction_date}))

....

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError: java.lang.Math.floorDiv(JI)J
at net.sf.jasperreports.functions.standard.DateTimeFunctions.ofInstant(DateTimeFunctions.java:750)
at net.sf.jasperreports.functions.standard.DateTimeFunctions.DAYS(DateTimeFunctions.java:395)

....

v8.1.0
Ad Hoc
ryanneves_1's picture
Joined: Jan 24 2018 - 11:13am
Last seen: 3 months 1 week ago
Feedback
randomness