Page 1 of 1

Error "cannot invoke "String.length()" because "<local12>"is null."

Posted: Thu Feb 01, 2024 9:18 am
by sure4369
Hi,

We are getting the below error while running transformation in DITA Map PDF - based on HTML5 & CSS scenario.

"cannot invoke "String.length()" because "<local12>" is null."

Also attached snapshot for reference.
MicrosoftTeams-image.png

Please provide a possible solution for this.

Re: Error "cannot invoke "String.length()" because "<local12>"is null."

Posted: Thu Feb 01, 2024 10:12 am
by julien_lacour
Hello,

Is it possible for you to send us the console output of the transformation? It is in the tab named after the transformation:
image.png
You can send it directly to support@oxygenxml.com for analysis.

Regards,
Julien

Re: Error "cannot invoke "String.length()" because "<local12>"is null."

Posted: Thu Feb 01, 2024 12:47 pm
by sure4369
Hi Julien,
The specified error comes in a split of second right after applying the transformation. So, the "transformation name" tab itself is not there (See attached snapshot). Somehow it was coming before as we shared in the previous attachment. But not coming today as we tried again.
MicrosoftTeams-image (1).png
.

Do you feel that we should re-install Oxygen again? Maybe that will work.

Re: Error "cannot invoke "String.length()" because "<local12>"is null."

Posted: Thu Feb 01, 2024 4:54 pm
by julien_lacour
Hi,

Could you try to start Oxygen using the oxygen.bat script and launch the transformation again, then copy the stacktrace here?
Or you can try to send us the debugging log of Oxygen in the online form.

Regards,
Julien