Forms not Fully Loading in 2021.12.1 Smart Client

Questions and answers for designing and implementing forms in Servoy

Forms not Fully Loading in 2021.12.1 Smart Client

Postby kwpsd » Fri Feb 04, 2022 2:42 am

Servoy Version: 2022.12.1

I am attempting to import a legacy 8.3.2 solution into Developer 2022.12.1, and it loads successfully. However, when the solution is run in a Smart Client, the forms that are displayed using showInModalWindow() either partially show or do not show at all. Also, some of the fields on the form that are blank should have data. It's as if the form is not fully loading. See attached graphic. Anyone know what is happening? Thanks!

showInModalWindow.png
showInModalWindow.png (11.12 KiB) Viewed 3392 times
Kim W. Premuda
San Diego, CA USA
User avatar
kwpsd
 
Posts: 687
Joined: Sat Jul 28, 2007 6:59 pm
Location: San Diego, CA USA

Re: Forms not Fully Loading in 2021.12.1 Smart Client

Postby omar » Fri Feb 04, 2022 10:58 am

Hi Kim,

I have had the same issue, check out this thread: https://forum.servoy.com/viewtopic.php?f=8&t=23410&p=123122&hilit=omar#p123122
Intrasoft, Founder
Omar van Galen
omar@intrasoft.nl
+31-(0)6-21234586
Servoy Developer
omar
 
Posts: 377
Joined: Sat Feb 12, 2011 4:51 pm
Location: Intrasoft, The Netherlands

Re: Forms not Fully Loading in 2021.12.1 Smart Client

Postby kwpsd » Sat Feb 05, 2022 12:57 am

Thanks, Omar, for pointing me to your other thread and for the sanity check...glad to learn I am not the only one experiencing this issue!

I followed the instructions you gave in the thread, but when I launch Developer, a message appears stating to check the Developer log files (there is nothing in the servoy_log.txt file...I don't think it gets far enough along to create entries for this log). Below is an excerpt from the Developer log file. Would you mind having a look to see if anything unusual stands out. There are a lot of Unresolved requirement: issues, and I have no idea how to resolve them. Thanks!

eclipse.buildId=unknown
java.version=1.8.0_121
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -vm C:/openjdk-11.0.2/jdk-11.0.2/bin/server/jvm.dll
Command-line arguments: -os win32 -ws win32 -arch x86_64 -vm C:/openjdk-11.0.2/jdk-11.0.2/bin/server/jvm.dll

This is a continuation of log file C:\Servoy_2021_12\developer\configuration\1644004127675.bak_1.log
Created Time: 2022-02-04 11:48:57.089

!ENTRY org.eclipse.dltk.logconsole.ui 2 0 2022-02-04 11:48:57.089
!MESSAGE Could not resolve module: org.eclipse.dltk.logconsole.ui [150]
Unresolved requirement: Require-Bundle: org.eclipse.dltk.logconsole
-> Bundle-SymbolicName: org.eclipse.dltk.logconsole; bundle-version="5.1.1.202110110926"; singleton:="true"
org.eclipse.dltk.logconsole [149]
Unresolved requirement: Require-Bundle: org.eclipse.core.runtime
-> Bundle-SymbolicName: org.eclipse.core.runtime; bundle-version="3.23.0.v20210730-2035"; singleton:="true"
org.eclipse.core.runtime [126]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"
Unresolved requirement: Require-Bundle: org.eclipse.equinox.app; bundle-version="1.3.0"; visibility:="reexport"
-> Bundle-SymbolicName: org.eclipse.equinox.app; bundle-version="1.6.0.v20210723-1130"; singleton:="true"
org.eclipse.equinox.app [198]
Unresolved requirement: Require-Bundle: org.eclipse.equinox.registry; bundle-version="[3.4.0,4.0.0)"
-> Bundle-SymbolicName: org.eclipse.equinox.registry; bundle-version="3.11.0.v20210723-1953"; singleton:="true"
org.eclipse.equinox.registry [241]
Unresolved requirement: Require-Bundle: org.eclipse.equinox.common; bundle-version="[3.14.0,4.0.0)"
-> Bundle-SymbolicName: org.eclipse.equinox.common; bundle-version="3.15.0.v20210518-0604"; singleton:="true"
org.eclipse.equinox.common [200]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"
Unresolved requirement: Import-Package: org.eclipse.core.runtime.jobs; resolution:="optional"
-> Export-Package: org.eclipse.core.runtime.jobs; bundle-symbolic-name="org.eclipse.core.jobs"; bundle-version="3.12.0.v20210723-1034"; version="0.0.0"
org.eclipse.core.jobs [121]
Unresolved requirement: Require-Bundle: org.eclipse.equinox.common; bundle-version="[3.8.0,4.0.0)"
-> Bundle-SymbolicName: org.eclipse.equinox.common; bundle-version="3.15.0.v20210518-0604"; singleton:="true"
Unresolved requirement: Require-Bundle: org.eclipse.equinox.common; bundle-version="[3.14.0,4.0.0)"; visibility:="reexport"
-> Bundle-SymbolicName: org.eclipse.equinox.common; bundle-version="3.15.0.v20210518-0604"; singleton:="true"
Unresolved requirement: Require-Bundle: org.eclipse.equinox.preferences; bundle-version="[3.7.0,4.0.0)"; visibility:="reexport"
-> Bundle-SymbolicName: org.eclipse.equinox.preferences; bundle-version="3.9.0.v20210726-0943"; singleton:="true"
org.eclipse.equinox.preferences [240]
Unresolved requirement: Require-Bundle: org.eclipse.equinox.common; bundle-version="[3.2.0,4.0.0)"
-> Bundle-SymbolicName: org.eclipse.equinox.common; bundle-version="3.15.0.v20210518-0604"; singleton:="true"
Unresolved requirement: Require-Bundle: org.eclipse.equinox.registry; bundle-version="[3.10.0,4.0.0)"; visibility:="reexport"
-> Bundle-SymbolicName: org.eclipse.equinox.registry; bundle-version="3.11.0.v20210723-1953"; singleton:="true"
Unresolved requirement: Require-Bundle: org.eclipse.core.contenttype; bundle-version="[3.7.0,4.0.0)"; visibility:="reexport"
-> Bundle-SymbolicName: org.eclipse.core.contenttype; bundle-version="3.8.0.v20210621-0954"; singleton:="true"
org.eclipse.core.contenttype [111]
Unresolved requirement: Require-Bundle: org.eclipse.equinox.preferences; bundle-version="[3.2.0,4.0.0)"
-> Bundle-SymbolicName: org.eclipse.equinox.preferences; bundle-version="3.9.0.v20210726-0943"; singleton:="true"
Unresolved requirement: Require-Bundle: org.eclipse.core.jobs; bundle-version="[3.10.0,4.0.0)"; visibility:="reexport"
-> Bundle-SymbolicName: org.eclipse.core.jobs; bundle-version="3.12.0.v20210723-1034"; singleton:="true"

!MESSAGE Could not resolve module: org.eclipse.e4.emf.xpath [162]
!MESSAGE Could not resolve module: org.eclipse.equinox.simpleconfigurator [2]
!MESSAGE Could not resolve module: org.eclipse.ui.genericeditor [315]
!MESSAGE Could not resolve module: org.eclipse.wst.common.modulecore [341]
!MESSAGE Could not resolve module: com.servoy.eclipse.ui [30]
!MESSAGE Could not resolve module: org.eclipse.wst.sse.core [352]
!MESSAGE Could not resolve module: org.eclipse.equinox.p2.operations [225]
!MESSAGE Could not resolve module: org.eclipse.e4.ui.dialogs [168]
!MESSAGE Could not resolve module: org.eclipse.ui.views [326]
!MESSAGE Could not resolve module: org.eclipse.core.filesystem.win32.x86_64 [120]
!MESSAGE Could not resolve module: org.sweetlemonade.eclipse.json [387]
<Many, many more!>

Kim W. Premuda
San Diego, CA USA
User avatar
kwpsd
 
Posts: 687
Joined: Sat Jul 28, 2007 6:59 pm
Location: San Diego, CA USA

Re: Forms not Fully Loading in 2021.12.1 Smart Client

Postby jcompagner » Mon Feb 07, 2022 10:54 am

you can't run developer with Java 1.8
you need at least have Java11
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8828
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Forms not Fully Loading in 2021.12.1 Smart Client

Postby kwpsd » Fri Feb 11, 2022 10:03 pm

Thanks, Johan! Good to hear from you.

I installed Java11 and can verify that the forms are either blank or not being completely painted. Installing OpenJDK11 and pointing the Servoy.ini file to its jvm.dll does fix the issue. Do you know what the difference is between the jvm.dll files?

Also, I tested with Java17, and the problem comes back...blank screen or partial screen. Adding OpenJDK17 did not fix it this time. I am not certain this is a valid test, because with Java17, the Servoy.ini file did not have an entry for -vm. I added a -vm line to point to the OpenJDK17 jvm.dll.

I am attempting to run a legacy solution (smart client) and an NG solution together on a 2021.12 server. That is do-able, right?
Kim W. Premuda
San Diego, CA USA
User avatar
kwpsd
 
Posts: 687
Joined: Sat Jul 28, 2007 6:59 pm
Location: San Diego, CA USA


Return to Forms

Who is online

Users browsing this forum: No registered users and 2 guests