Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

strange error in CMD Error: /rangecheck in --pdfmark-- #36

Closed
Vad1mo opened this issue Sep 3, 2014 · 2 comments
Closed

strange error in CMD Error: /rangecheck in --pdfmark-- #36

Vad1mo opened this issue Sep 3, 2014 · 2 comments

Comments

@Vad1mo
Copy link

Vad1mo commented Sep 3, 2014

Hi I get this error
Error: /rangecheck in --pdfmark--
...
...
Current file position is 466

but only when I run the application via gradle run.
If I run the application from Intellij it is working.

I have same working dir.
Same JVM
Same start parameter
same startup process gradle run from intellij and command line.

what does this error mean anyway? I can I trace it more then with "-dDEBUG", "-E",
Can I print out the libraries ghost4j is using?

@zippy1978
Copy link
Owner

Hi,

The error comes from Ghostscript, this is probably caused by a path issue.
/bin and /lib of Ghostscript must be on the path.

Regards,
Gilles

@Vad1mo
Copy link
Author

Vad1mo commented Sep 13, 2014

Thank you.
I think I will try to print out the PATH during start in java and see if there are any differences between start with intellij and cmd.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants