Eclipse Scout - HelloScout error [message #1841380] |
Thu, 13 May 2021 13:25  |
Eclipse User |
|
|
|
Hello everyone
It's my first time posting in this forum,.. I checked a few answers already but couldn't find the proper solution to it.
I am stuck with the "hello scout" introduction tutorial. My hello scout doesn't event start properly, after generating it and 'running' it.
Here's the error:
Quote:2021-05-13 19:16:42,620 INFO [main] org.eclipse.scout.rt.platform.config.ConfigPropertyProvider.parse(ConfigPropertyProvider.java:116) - Reading properties from file:/Users/mike/eclipse-workspace/helloscout/helloscout.ui.html.app.dev/target/classes/config.properties using org.eclipse.scout.rt.platform.config.DefaultConfigFileLoader - MDC[]
2021-05-13 19:16:42,687 INFO [main] org.eclipse.jetty.util.log.initialized(Log.java:169) - Logging initialized @791ms to org.eclipse.jetty.util.log.Slf4jLog - MDC[]
2021-05-13 19:16:42,772 INFO [main] org.eclipse.scout.dev.jetty.JettyServer.createWebApp(JettyServer.java:212) - Starting Jetty with resourceBase=/Users/mike/eclipse-workspace/helloscout/helloscout.ui.html.app.dev/src/main/webapp - MDC[]
2021-05-13 19:16:42,805 INFO [scout-platform-starter] org.eclipse.scout.rt.platform.internal.PlatformImplementor.validateHeadless(PlatformImplementor.java:175) - Headless mode: scout.headless=true, java.awt.headless=true (automatically set by Scout), GraphicsEnvironment.isHeadless()=true - MDC[]
2021-05-13 19:16:42,811 INFO [scout-platform-starter] org.eclipse.scout.rt.platform.inventory.ClassInventory.<clinit>(ClassInventory.java:38) - Building jandex class inventory using rebuild strategy IF_MODIFIED... - MDC[]
2021-05-13 19:16:42,863 INFO [ForkJoinPool.commonPool-worker-3] org.eclipse.scout.rt.platform.inventory.internal.JandexInventoryBuilder.scanFolder(JandexInventoryBuilder.java:181) - Rebuild index 'file:/Users/mike/eclipse-workspace/helloscout/helloscout.client/target/classes/META-INF/jandex.idx'. Scanning location... - MDC[]
2021-05-13 19:16:42,867 INFO [ForkJoinPool.commonPool-worker-5] org.eclipse.scout.rt.platform.inventory.internal.JandexInventoryBuilder.scanFolder(JandexInventoryBuilder.java:181) - Rebuild index 'file:/Users/mike/eclipse-workspace/helloscout/helloscout.ui.html/target/classes/META-INF/jandex.idx'. Scanning location... - MDC[]
2021-05-13 19:16:43,156 INFO [scout-platform-starter] org.eclipse.scout.rt.platform.inventory.ClassInventory.<clinit>(ClassInventory.java:44) - Finished building jandex class inventory in 348.962417 ms. Total class count: 3970 - MDC[]
2021-05-13 19:16:43,452 INFO [scout-platform-starter] org.eclipse.scout.rt.platform.internal.PlatformImplementor.createBeanManager(PlatformImplementor.java:222) - Collected 333 beans in 292.896083 ms - MDC[]
2021-05-13 19:16:43,589 INFO [scout-platform-starter] org.eclipse.scout.rt.platform.internal.PlatformImplementor.createBeanManager(PlatformImplementor.java:227) - Registered 333 beans in 137.447417 ms - MDC[]
2021-05-13 19:16:43,601 INFO [scout-platform-starter] org.eclipse.scout.rt.platform.job.internal.DevelopmentThreadNameDecorator.stateChanged(DevelopmentThreadNameDecorator.java:88) - +++ Development thread name decoration - MDC[]
2021-05-13 19:16:43,607 INFO [scout-platform-starter] org.eclipse.scout.rt.platform.logger.LoggerPlatformListener.registerLoggerSupportBean(LoggerPlatformListener.java:105) - Registered logger support org.eclipse.scout.rt.platform.logger.LogbackLoggerSupport - MDC[]
2021-05-13 19:16:43,624 INFO [scout-platform-starter] org.eclipse.scout.rt.shared.services.common.code.CodeTypeRegistrator.stateChanged(CodeTypeRegistrator.java:42) - 1 code type classes registered. - MDC[]
2021-05-13 19:16:43,646 INFO [scout-platform-starter] org.eclipse.scout.rt.shared.servicetunnel.RegisterTunnelToServerPlatformListener.registerTunnelToServerProxies(RegisterTunnelToServerPlatformListener.java:68) - Tunnel to server proxies registered. - MDC[]
2021-05-13 19:16:43,667 ERROR [scout-platform-starter] org.eclipse.scout.rt.platform.config.ConfigPropertyValidator.isValid(ConfigPropertyValidator.java:73) - Failed parsing value of config property with key='scout.auth.privateKey'. Configured value='TODO_use_org.eclipse.scout.rt.platform.security.SecurityUtility.main(String[])'. - MDC[]
org.eclipse.scout.rt.platform.exception.PlatformException: Illegal base64 character 5f
at org.eclipse.scout.rt.platform.config.AbstractConfigProperty.read(AbstractConfigProperty.java:81)
at org.eclipse.scout.rt.platform.config.AbstractConfigProperty.lambda$0(AbstractConfigProperty.java:51)
at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
at org.eclipse.scout.rt.platform.config.AbstractConfigProperty.getValue(AbstractConfigProperty.java:51)
at org.eclipse.scout.rt.platform.config.AbstractConfigProperty.getValue(AbstractConfigProperty.java:89)
at org.eclipse.scout.rt.platform.config.ConfigPropertyValidator.isValid(ConfigPropertyValidator.java:69)
at org.eclipse.scout.rt.platform.internal.PlatformImplementor.isConfigEntryValid(PlatformImplementor.java:205)
at org.eclipse.scout.rt.platform.internal.PlatformImplementor.validateConfiguration(PlatformImplementor.java:193)
at org.eclipse.scout.rt.platform.internal.PlatformImplementor.start(PlatformImplementor.java:140)
at org.eclipse.scout.rt.platform.internal.PlatformStarter.run(PlatformStarter.java:30)
Caused by: java.lang.IllegalArgumentException: Illegal base64 character 5f
at java.base/java.util.Base64$Decoder.decode0(Base64.java:791)
at java.base/java.util.Base64$Decoder.decode(Base64.java:567)
at java.base/java.util.Base64$Decoder.decode(Base64.java:590)
at org.eclipse.scout.rt.platform.util.Base64Utility.decode(Base64Utility.java:88)
at org.eclipse.scout.rt.platform.util.Base64Utility.decode(Base64Utility.java:61)
at org.eclipse.scout.rt.platform.config.AbstractBinaryConfigProperty.parse(AbstractBinaryConfigProperty.java:21)
at org.eclipse.scout.rt.platform.config.AbstractBinaryConfigProperty.parse(AbstractBinaryConfigProperty.java:1)
at org.eclipse.scout.rt.platform.config.AbstractConfigProperty.read(AbstractConfigProperty.java:74)
... 9 common frames omitted
2021-05-13 19:16:43,668 ERROR [scout-platform-starter] org.eclipse.scout.rt.platform.internal.PlatformImplementor.validateConfiguration(PlatformImplementor.java:195) - Config property with key 'scout.auth.privateKey' does not exist or has an invalid value. - MDC[]
2021-05-13 19:16:43,669 ERROR [scout-platform-starter] org.eclipse.scout.rt.platform.internal.PlatformImplementor.start(PlatformImplementor.java:147) - Error during platform startup - MDC[]
org.eclipse.scout.rt.platform.exception.PlatformException: Cannot start platform due to 1 invalid config properties: [scout.auth.privateKey]
at org.eclipse.scout.rt.platform.internal.PlatformImplementor.validateConfiguration(PlatformImplementor.java:199)
at org.eclipse.scout.rt.platform.internal.PlatformImplementor.start(PlatformImplementor.java:140)
at org.eclipse.scout.rt.platform.internal.PlatformStarter.run(PlatformStarter.java:30)
Exception in thread "scout-platform-starter" 2021-05-13 19:16:43,670 ERROR [main] org.eclipse.scout.dev.jetty.JettyServer.start(JettyServer.java:85) - Fatal: Unable to start application - MDC[]
org.eclipse.scout.rt.platform.exception.PlatformException: The platform is in an invalid state.
at org.eclipse.scout.rt.platform.internal.PlatformImplementor.throwOnPlatformInvalid(PlatformImplementor.java:97)
at org.eclipse.scout.rt.platform.internal.PlatformImplementor.getBeanManager(PlatformImplementor.java:76)
at org.eclipse.scout.rt.platform.BEANS.opt(BEANS.java:56)
at org.eclipse.scout.rt.platform.BEANS.get(BEANS.java:42)
at org.eclipse.scout.rt.platform.config.CONFIG.getPropertyValue(CONFIG.java:53)
at org.eclipse.scout.rt.platform.config.CONFIG.getPropertyValue(CONFIG.java:37)
at org.eclipse.scout.dev.jetty.JettyServer.startInternal(JettyServer.java:122)
at org.eclipse.scout.dev.jetty.JettyServer.start(JettyServer.java:82)
at org.eclipse.scout.dev.jetty.JettyServer.main(JettyServer.java:77)
org.eclipse.scout.rt.platform.exception.PlatformException: Cannot start platform due to 1 invalid config properties: [scout.auth.privateKey]
at org.eclipse.scout.rt.platform.internal.PlatformImplementor.validateConfiguration(PlatformImplementor.java:199)
at org.eclipse.scout.rt.platform.internal.PlatformImplementor.start(PlatformImplementor.java:140)
at org.eclipse.scout.rt.platform.internal.PlatformStarter.run(PlatformStarter.java:30)
2021-05-13 19:16:43,671 INFO [main] org.eclipse.scout.dev.jetty.JettyServer.shutdown(JettyServer.java:158) - Shutting down application... - MDC[]
2021-05-13 19:16:43,672 INFO [main] org.eclipse.scout.dev.jetty.JettyServer.shutdown(JettyServer.java:161) - Shutdown complete - MDC[]
Exception in thread "main" org.eclipse.scout.rt.platform.exception.PlatformException: Fatal: Unable to start application
at org.eclipse.scout.dev.jetty.JettyServer.start(JettyServer.java:87)
at org.eclipse.scout.dev.jetty.JettyServer.main(JettyServer.java:77)
Caused by: org.eclipse.scout.rt.platform.exception.PlatformException: The platform is in an invalid state.
at org.eclipse.scout.rt.platform.internal.PlatformImplementor.throwOnPlatformInvalid(PlatformImplementor.java:97)
at org.eclipse.scout.rt.platform.internal.PlatformImplementor.getBeanManager(PlatformImplementor.java:76)
at org.eclipse.scout.rt.platform.BEANS.opt(BEANS.java:56)
at org.eclipse.scout.rt.platform.BEANS.get(BEANS.java:42)
at org.eclipse.scout.rt.platform.config.CONFIG.getPropertyValue(CONFIG.java:53)
at org.eclipse.scout.rt.platform.config.CONFIG.getPropertyValue(CONFIG.java:37)
at org.eclipse.scout.dev.jetty.JettyServer.startInternal(JettyServer.java:122)
at org.eclipse.scout.dev.jetty.JettyServer.start(JettyServer.java:82)
... 1 more
|
|
|
|
|
|
|
|
Re: Eclipse Scout - HelloScout error [message #1842921 is a reply to message #1842914] |
Tue, 06 July 2021 06:09  |
Eclipse User |
|
|
|
Hi Tom
Thanks for analyzing that issue. It seems this never showed up here, because we use a version 11 VM.
We had issues in the past with the security providers and different JREs and this seems to be a similar case.
I'll check if we can make this work with newer VMs. At least we can document which VMs are supported for the Hello World.
In the meantime I hope you can continue with the oracle-jdk-11 (or probably any other VM with version 11, or less than 16).
Cheers,
André
|
|
|
Powered by
FUDForum. Page generated in 0.05697 seconds