Hi,
We developed a registration wizard. In our development environment, the wizard works fine. We have copied and pasted all the scripting related to the wizard to our productive environment. The wizard does not work.
It shows the following error: Cannot cast object 'null' with class 'null' to class 'long'. Try 'java.lang.Long' instead
When we look to the browser web address, in production environment, we see: https://ourDomain:8443/web/en#login%7Cs ... 1550422566
When we compare to development environment, we see that after this kind of web address, it changes to http://ourDomain:8080/web_dev/en#system ... RI9f8I4aE9
So, the end of the web address is not changing from #login%7Csystem.wizards.run!customWizardId=-1347720241550422566 to #system.wizards.run!key=XnAxdt12lTzoyjTWoTXd92RI9f8I4aE9
We even tested creating a new wizard without any scripting, just selecting the groups where user can register, and it works in developing environment, but does not work in production environment.
In Cyclos there is no error in logs, so we cannot find what is doing this.
Our version of Cyclos is 4.15.14.
Do you have any idea of what is the cause of this?
Registration wizard does not work in productive environment but works in development environment
Moderators: alexandre, hugo, rmvanarkel
Registration wizard does not work in productive environment but works in development environment
Thanks for your kind attention.
Best regards,
JAR
Best regards,
JAR
Re: Registration wizard does not work in productive environment but works in development environment
Hello,
We would need a bit more info.
The error "Cannot cast object 'null' with class 'null' to class 'long'. Try 'java.lang.Long' instead."
Can you tell us where is this error shown? In catalina.out? If so, we need the full stack trace.
Also, it would be nice to know the exact details of which versions are installed in which server (dev vs prod):
Operating system
Java
PostgreSQL
PostGIS
Best regards,
We would need a bit more info.
The error "Cannot cast object 'null' with class 'null' to class 'long'. Try 'java.lang.Long' instead."
Can you tell us where is this error shown? In catalina.out? If so, we need the full stack trace.
Also, it would be nice to know the exact details of which versions are installed in which server (dev vs prod):
Operating system
Java
PostgreSQL
PostGIS
Best regards,
Re: Registration wizard does not work in productive environment but works in development environment
Hi,
Our productive environment has the following software:
Cyclos version: 4.15.14
Database: PostgreSQL version 10.6
CPU: 4 x QEMU Virtual CPU version 2.5+
Physical memory: 4,96 GiB used, 7,79 GiB total (available 36,26%)
Operating system: 3.10.0-957.1.3.el7.centos.plus.x86_64
Java version: 11.0.18+10-LTS
Web server: Apache Tomcat/9.0.12
Java:
openjdk 11.0.18 2023-01-17 LTS
OpenJDK Runtime Environment (Red_Hat-11.0.18.0.10-1.el7_9) (build 11.0.18+10-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-11.0.18.0.10-1.el7_9) (build 11.0.18+10-LTS, mixed mode, sharing)
Our developing environment has the following software:
Cyclos version: 4.15.14
Database: PostgreSQL version 10.6
CPU: 2 x QEMU Virtual CPU version 2.5+
Physical memory: 1,88 GiB used, 1,95 GiB total (available 3,28%)
Operating system: 3.10.0-1160.62.1.el7.centos.plus.x86_64
Java version: 11.0.15+9-LTS
Web server: Apache Tomcat/9.0.2
Our productive environment has the following software:
Cyclos version: 4.15.14
Database: PostgreSQL version 10.6
CPU: 4 x QEMU Virtual CPU version 2.5+
Physical memory: 4,96 GiB used, 7,79 GiB total (available 36,26%)
Operating system: 3.10.0-957.1.3.el7.centos.plus.x86_64
Java version: 11.0.18+10-LTS
Web server: Apache Tomcat/9.0.12
Java:
openjdk 11.0.18 2023-01-17 LTS
OpenJDK Runtime Environment (Red_Hat-11.0.18.0.10-1.el7_9) (build 11.0.18+10-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-11.0.18.0.10-1.el7_9) (build 11.0.18+10-LTS, mixed mode, sharing)
Our developing environment has the following software:
Cyclos version: 4.15.14
Database: PostgreSQL version 10.6
CPU: 2 x QEMU Virtual CPU version 2.5+
Physical memory: 1,88 GiB used, 1,95 GiB total (available 3,28%)
Operating system: 3.10.0-1160.62.1.el7.centos.plus.x86_64
Java version: 11.0.15+9-LTS
Web server: Apache Tomcat/9.0.2
Thanks for your kind attention.
Best regards,
JAR
Best regards,
JAR
Re: Registration wizard does not work in productive environment but works in development environment
After some tests, we are sure that the problem is not the environment of development and productive instances.
Thanks for your kind attention.
Best regards,
JAR
Best regards,
JAR