Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Report fails with FLM-1 - Internal error  (Read 1685 times)
Carl P.
Posts: 16


« on: July 08, 2024, 01:50:51 pm »

Hello,

The 3 developers in our company have the same Amazon WorkSpaces running Windows Server 2016. Among other versions of Genero we have Genero 4.01.01 installed.

I can open our application using Genero 4.01.01 and run reports and everything works as it should. My colleague runs the same application on her WorkSpace but her reports fail with the following error:

Exception at document location :
Program stopped at 'PrettyPrinterStyleSheet.4gl', line number 213.
FORMS statement error number -6000.
 FLM-1 - Internal error.
ERROR com.fourjs.report.stylesheet.PipeFromStreamThread - exception
java.lang.UnsatisfiedLinkError: no wrtj in java.library.path
   at java.lang.ClassLoader.loadLibrary(Unknown Source) ~[?:1.8.0_411]
   at java.lang.Runtime.loadLibrary0(Unknown Source) ~[?:1.8.0_411]
   at java.lang.System.loadLibrary(Unknown Source) ~[?:1.8.0_411]
   at com.fourjs.report.stylesheet.Wrtj.<clinit>(Wrtj.java:19) ~[gre.jar:?]
   at com.fourjs.report.stylesheet.Wrt.a(Wrt.java:150) ~[gre.jar:?]
   at com.fourjs.report.stylesheet.PipeFromStreamThread.c(PipeFromStreamThread.java:135) ~[gre.jar:?]
   at com.fourjs.report.stylesheet.PipeFromStreamThread.run(PipeFromStreamThread.java:150) [gre.jar:?]
com.fourjs.report.stylesheet.LoaderStyleSheet: element no 0 path=
Processor error:
java.lang.UnsatisfiedLinkError: no wrtj in java.library.path
   at java.lang.ClassLoader.loadLibrary(Unknown Source)
   at java.lang.Runtime.loadLibrary0(Unknown Source)
   at java.lang.System.loadLibrary(Unknown Source)
   at com.fourjs.report.stylesheet.Wrtj.<clinit>(Wrtj.java:19)
   at com.fourjs.report.stylesheet.Wrt.a(Wrt.java:150)
   at com.fourjs.report.stylesheet.PipeFromStreamThread.c(PipeFromStreamThread.java:135)
   at com.fourjs.report.stylesheet.PipeFromStreamThread.run(PipeFromStreamThread.java:150)
 WARN com.fourjs.report.stylesheet.PipeFromStreamThread - Timeout waiting 10 seconds for the sending side to close the stream

FLM would seem to indicate a license problem, so we uninstalled and reinstalled the license with no luck.

We tried deleting the license.dat and reinstalling the license again no luck.

So this morning we uninstalled Genero Studio 4.01.01 and reinstalled everything and still reports wouldn't be produced.

We updated Java this morning, but that just seemed to be a normal maintenance update.

Reports are still being produced correctly in her Genero 2.41.45 version of our application, so I think that rules out there being a problem with Java.

Any ideas what the problem could be?

Thanks,

Carl

Alex G.
Four Js
Posts: 149


« Reply #1 on: July 08, 2024, 01:56:58 pm »

Hi Carl,
I don't remember seeing this error before.
For a quick resolution I suggest to contact the support with this issue.
Best regards,
Alex 
Reuben B.
Four Js
Posts: 1097


« Reply #2 on: July 09, 2024, 07:09:50 am »

That error has been reported a few times to the support desk, suggest double-check Java related environment variables.  Not set, pointing at 32 v 64, that type of thing.  Also way back in older GRW such as 2.41, at install time some environment information was hardcoded into GREDIR/bin/greportwriter.  So you may find that it works in 2.41 because of what was written into GREDIR/bin/greportwriter at install time rather than what your environment is set to.

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Carl P.
Posts: 16


« Reply #3 on: July 15, 2024, 01:06:01 pm »

The Java Environment Variables looked fine: java8path and javapath, which a Java install sets. Even doing 'which java.exe' in a Command Prompt found java.exe.

It was only when we decided to uninstall and install Java did we see that we were now installing the 64-Bit version.

Thanks,

Carl
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines