Studio window is not appearing

Dear team,

Recently I had installed Cuba Studio SE 6.8.3 in a new fresh Windows 10 laptop. However, the application is not showing, but in the task manager, the exe file is running in background.

image

This laptop has dedicated GPU (AMD Radeon).

Please assist.

Regards,
Idzuan

1 Like

Hi,
Please see the documentation: Installation and Setup - CUBA Platform. Developer’s Manual. Does your system meet all the requirements?
Which version of Java is installed? Platform and Studio require JDK 8.

JDK installed: 1.8.0.152

JAVA_HOME has been set correctly.

Even when running the studio.bat -nogui, no window appear.

I had tried for several laptop with Radeon chip, the same error.

Please assist.

Thanks

Hi Iskandarov,

Any update on this?

Regards,
Idzuan

Is there anything in ~/.haulmont/studio/logs directory? Could you share the logs?

studio-se.log (1.8 KB)

Attached is the log file.

Hi @idzuan,

  1. What does command java -version show? Probably your system uses 32-bit JDK.

  2. Does Studio browser edition work fine?

Dear Ivan,

  1. C:\WINDOWS\system32>java -version
    java version "1.8.0_152"
    Java™ SE Runtime Environment (build 1.8.0_152-b16)
    Java HotSpot™ 64-Bit Server VM (build 25.152-b16, mixed mode)

  2. Studio browser also does not work.

Regards,
Idzuan

Hi Idzuan,

Thanks for the information. Unfortunately it’s not possible to reproduce this on our environment.

You mentioned Radeon chip. I remember that once Nvidia released their driver, after that CUBA run with problems. I would like to know your driver version.

Also some antivirus apps my block network ports, causing CUBA failure, probably by Bitdefender + Windows Defender, but I’m not sure.

Dear Ivan,

There is no AV installed yet. Only Windows Defender.

To be exact, we tried in one of our laptop (only Intel drivers). It’s working perfectly.

Below is the driver detail;

image

Regards,
Idzuan

1 Like

I just desided by your screenshot :slight_smile:.

Ok, try to downgrade to recommended version 18.2.1 or below. There is no hardware with Radeon graphics near by me to check :confused:

Actually, we disable the dedicated card (AMD) so that the system will just rely on the Intel chip.

But it still showing the same problem.

Ok, this is helpful. This should hide ability to run application using different graphic card in context menu on right click (as a proof of card totally disabled).

Let’s wait for results of driver downgrade.

Dear Ivan,

I did not downgrade my driver yet.

Anyway, I tried in another machine which is still using the AMD old driver.

image

Windows 10 Enterprise, JDK 1.8.0_172. JAVA_HOME set correctly.

Again, same result.

Maybe you can test in your environment for the AMD chip.

Regards,
Idzuan

1 Like

Hi,
The studio-se.log contains nothing useful. So could you please clear a couple of things:

  1. Does Studio works OK in the nogui mode?
    Using CMD launch studio.bat -nogui and open http://localhost:8111/studio/ in browser.
  2. Could you also launch studio.bat in command line and share the stdout? is there something strange?

Dear Iskandarov,

  1. image

  2. Cannot proceed as no 1 showing issue.

Please assist.

Regards,
Idzuan

Hi,
Could you launch studio.bat with DEBUG = true and share the output?

  1. execute set DEBUG=“true” in CMD
    image
  2. execute studio -nogui

Hi,

Here is the results;

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>set DEBUG="true"

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>studio -nogui

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>if "Windows_NT" == "Windows_NT" setlocal

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>set DIRNAME=C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin\

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>if "C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin\" == "" set DIRNAME=.

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>set APP_BASE_NAME=studio

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>set APP_HOME=C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin\..

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>set DEFAULT_JVM_OPTS="-Xmx512m" "-Dfile.encoding=UTF-8" "-Dstudio.user.home=C:\Users\IPEC - Idzuan\.haulmont\studio"

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>if defined JAVA_HOME goto findJavaFromJavaHome

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_152

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>set JAVA_EXE=C:\Program Files\Java\jdk1.8.0_152/bin/javaw.exe

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>if exist "C:\Program Files\Java\jdk1.8.0_152/bin/javaw.exe" goto init

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>if not "Windows_NT" == "Windows_NT" goto win9xME_args

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>set CMD_LINE_ARGS=

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>set _SKIP=2

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>if "x-nogui" == "x" goto set_vars

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>set CMD_LINE_ARGS=-nogui

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>set STUDIO_HOME=C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin\..

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>set STUDIO_VERSION=6.8.4

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>set STUDIO_MINOR_VERSION=6.8

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>set /A STUDIO_BUGFIX_VERSION=4

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>if exist C:\Users\IPEC - Idzuan\.haulmont\studio\update\6.8 (goto updated) else (goto execute)

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>set UPDATE_BUGFIX_VERSION=00

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>for / %S in (C:\Users\IPEC - Idzuan\.haulmont\studio\update\6.8\??) do set UPDATE_BUGFIX_VERSION=%~nxS

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>set UPDATE_BUGFIX_VERSION=IPEC

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>set UPDATE_BUGFIX_VERSION=-

C:\Program Files (x86)\CUBA Studio SE\resources\app\studio\bin>set /A SHORT_BUGFIX_VERSION=-
Missing operand.
4 was unexpected at this time.

Hi,

Issue caused by spaces in your user name.
We will fix it in the next Studio release.

To fix your current Studio distribution please modify studio.bat file. Surround %USERPROFILE%\.haulmont\studio\update\%STUDIO_MINOR_VERSION% path with double quotes
So you will have:
if exist "%USERPROFILE%\.haulmont\studio\update\%STUDIO_MINOR_VERSION%" (goto updated) else (goto execute)
for /D %%S in ("%USERPROFILE%\.haulmont\studio\update\%STUDIO_MINOR_VERSION%\??") do set UPDATE_BUGFIX_VERSION=%%~nxS

2 Likes

Dear Gaslov,

Thanks for the workaround.

It is working now. I thought it is related to the Graphic chip.

Anyway, hope next release will come out soon.

Thanks a lot for the great support from your team.

Regards,
Idzuan