Issues

Select view

Select search mode

 

Null pointer exception on create java object

Description

We have problem with creating java object with bundles in newest version.
Whan we try to create java object with flying soucer libs we receve an exeption 'java.lang.NullPointerException' but in version 5.3.4.80 our code work fine.

Test code:
createObject('java', 'org.xhtmlrenderer.pdf.ITextRenderer', ['[full-path]/flying-saucer-core-9.1.18.jar', '[full-path]/flying-saucer-pdf-openpdf-9.1.18.jar', '[full-path]/openpdf-1.3.11.jar']).init();

Environment

Servlet Container Apache Tomcat/9.0.31
Java 11.0.6 (AdoptOpenJDK) 64bit
OS Windows 10 (10.0) 64bit
Architecture 64bit

Attachments

4

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Created 3 April 2020 at 07:12
Updated 26 February 2022 at 16:53

Activity

Show:

Pothys - MitrahSoft3 August 2021 at 13:59

I've added a test file to reproduce the issue

 

StackTrace :

Michael Offner2 August 2021 at 15:17

The NPE does not happen constructing the object, it happens calling the constructor afterwards (org.xhtmlrenderer.pdf.ITextRenderer.<init>).

My guess would be this happens because the flying saucer library we used got updated and maybe the interface changed. But that is just a guess, i would need the code to reproduce the issue.

Pothys - MitrahSoft18 June 2021 at 13:27

, The regression starts from 5.3.5.42-SNAPSHOT. It works fine until 5.3.5.41-SNAPSHOT. Maybe this commit causes the issue

Volodymyr Vodnitskyy26 August 2020 at 07:59

Any progress on this?

Volodymyr Vodnitskyy1 June 2020 at 13:57

5.3.8.0 - reproduced(

Flag notifications