Hello,
I’m trying to run a player for a standalone application.
I use the VEE for STMicroelectronics STM32F746G-DISCO and I created a module with the skeleton for Standalone Application.
I configured my HelloWorld module.ivy
as follow:
<ea:property name="virtual.device.sim.only" value="SET" />
<ea:property name="platform-loader.target.platform.dir" value="/home/mehdi/.microej/repositories/MicroEJ-SDK-Dist-21.03/1.6/vd001" />
The build is successful.
But when I start the player with sh launcher-linux.sh
I have the following error:
mainMock:
[shieldedplugServer] Wrong java/lang/Object (check classpath entries)
What am I missing?
Thanks
Here is the full output:
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1~20.04-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)
Buildfile: /home/mehdi/.microej/workspaces/Get-Started-STM32F746G-DISCO/HelloWorld/target~/player/s3Standalone.microejLaunch
standalone:init:
[delete] Deleting directory /home/mehdi/.microej/workspaces/Get-Started-STM32F746G-DISCO/HelloWorld/target~/player/output
[mkdir] Created dir: /home/mehdi/.microej/workspaces/Get-Started-STM32F746G-DISCO/HelloWorld/target~/player/output
[mkdir] Created dir: /home/mehdi/.microej/workspaces/Get-Started-STM32F746G-DISCO/HelloWorld/target~/player/tmp/microejlaunch1177702136
standalone:properties:
standalone:run:
Duplicated project name in import. Project extension.init.vd defined first in /home/mehdi/.microej/workspaces/Get-Started-STM32F746G-DISCO/HelloWorld/target~/player/platform/scripts/extension-init.xml and again in /home/mehdi/.microej/workspaces/Get-Started-STM32F746G-DISCO/HelloWorld/target~/player/platform/scripts/init-vd/vd-init.xml
activity/microej:
[echo] =============== [ Initialization Stage ] ===============
check/OS/job:
isWinXP:
check/OS:
target/define:
platform/constants:
init/vd/embeded-applications:
init/vd:
init/vd/generate-metadata/init:
init/vd/generate-metadata:
init/vd/generate-metadata-dropins:
init/vd/init-dependencies:
Trying to override old definition of task ApplicationsClasspath
Trying to override old definition of task ApplicationsList
init/vd/checkMainClass:
init/vd/checkEnable:
init/vd/do-nothing:
[echo] The specified MicroEJ Application main class 'com.mycompany.Main' overrides the Virtual Device Kernel main class 'com.microej.firmware.developer.KernelStartup'.
extension.init.vd.init/vd:
init/workbench:
init/microui/context/hook:
init/microui/check:
init/ecomcomm/check:
init/ecom/context/hook:
init/ecom/check:
init/edc/context:
init/frontpanelui/check:
init/hil/context:
init/frontpanel:
init/frontpanel/classpath:
init/frontpanelui/classpath/widget-microui/check:
init/frontpanelui/classpath/widget-microui:
init/frontpanelui/classpath:
init/frontpanel/fpFile:
init/frontpanel/fpProject:
context/fs-embedded-s3:
context/fs-embedded:
init/context/fullLink:
init/context/fullLinkMCUConf/init:
init/fontGen/check:
init/imageGen/check:
context/net-embedded:
context/net-embedded-dns-soft:
context/net-embedded-networksettings:
context/net-embedded-s3:
init/nls/check:
init/context/partialLink:
init/s3/check:
init/s3/context:
init/context/soar:
context/ssl-embedded-s3:
context/ssl:
init/context:
mkdirs/application:
[mkdir] Created dir: /home/mehdi/.microej/workspaces/Get-Started-STM32F746G-DISCO/HelloWorld/target~/player/output/com.mycompany.Main
[mkdir] Created dir: /home/mehdi/.microej/workspaces/Get-Started-STM32F746G-DISCO/HelloWorld/target~/player/output/com.mycompany.Main/externalResources
nested.init/execution:
resources:
immutables:
requires:
classpath:
buildProperties:
init/application:
init/bon/s3:
init/bon:
init/bon/soar:
init/bspDebug-mock-s3:
init/device.mock-sim:
init/device.mock-sim/architecture/set:
init/device.mock-sim/architecture:
init/device.mock-sim/id/check:
init/device.mock-sim/id:
init/device:
init/microui/options:
init/display:
init/microui:
init/ecom/comm/pump:
init/board/ecom-comm:
init/ecom-comm/properties/checkIDs:
init/ecom-comm/properties/mjvm:
add.ecom.comm0.properties:
add.ecom.comm1.properties:
add.ecom.comm2.properties:
add.ecom.comm3.properties:
add.ecom.comm4.properties:
add.ecom.comm5.properties:
add.ecom.comm6.properties:
add.ecom.comm7.properties:
add.ecom.comm8.properties:
add.ecom.comm9.properties:
init/ecom-comm/properties:
init/s3/ecom-comm:
init/ecom-comm:
init/ecom:
init/ecom/eventpump:
init/ecom/socket/s3:
init/edc/soar:
init/edc/s3:
init/edc:
init/firmware/s3:
init/frontpanelui:
init/frontpanelui/hil:
init/frontpanel/exec:
init/frontpanel/hil:
init/frontpanel/s3:
init/hil:
init/fs-embedded-s3/execution:
init/fs/impl:
init/fs-embedded-s3:
init/context/fullLinkMCUConf/lscf:
init/hal/enableHalClient:
init/hal:
init/inputs:
init/kf-dd:
init/kf-dd/soar/embed:
init/kf-dd/soar:
init/kf/soar:
definitions/fontGen:
activity/fontGen:
fontGen/init/outputdir:
[mkdir] Created dir: /home/mehdi/.microej/workspaces/Get-Started-STM32F746G-DISCO/HelloWorld/target~/player/output/com.mycompany.Main/fonts
[mkdir] Created dir: /home/mehdi/.microej/workspaces/Get-Started-STM32F746G-DISCO/HelloWorld/target~/player/output/com.mycompany.Main/fonts/bin
init/fontGen/internal:
init/fontGen/external:
init/fontGen/external/s3:
init/fontGen:
definitions/imageGen:
activity/imageGen:
imageGen/init/outputdir:
[mkdir] Created dir: /home/mehdi/.microej/workspaces/Get-Started-STM32F746G-DISCO/HelloWorld/target~/player/output/com.mycompany.Main/images
[mkdir] Created dir: /home/mehdi/.microej/workspaces/Get-Started-STM32F746G-DISCO/HelloWorld/target~/player/output/com.mycompany.Main/images/bin
init/imageGen/internal:
init/imageGen/external:
init/imageGen/external/s3:
init/imageGen:
init/net-embedded-dns-soft:
init/net-embedded-networksettings:
createLinkFileNetEmbeddedNetworkSettings:
init/net-embedded-s3:
init/net-embedded:
definitions/nlsGen:
activity/nlsGen:
init/nlsGen:
init/execution/partialLink:
createLinkFile:
createLinkFileGT:
createLinkFileJStackBlock:
initDefaultOptions:
createLinkFileKF:
createLinkFileTrace:
selectLinkFilePath:
init/partialLink/watchdog:
create/partialLink/watchdog:
init/pump:
resourceBufferGeneratorInit:run:
[mkdir] Created dir: /home/mehdi/.microej/workspaces/Get-Started-STM32F746G-DISCO/HelloWorld/target~/player/output/com.mycompany.Main/resourceBuffer
resourceBufferGeneratorInit:exec:
init/resourcemanager:
init/s3:
init/schedcontrol:
init/signature-s3:
init/soar:
sp/database:
init/spCompiler:
init/spLink:
init/spServer:
init/spServer/mock:
init/ssl-embedded-s3:
init/ssl:
init/testsuite:
init/trace.mock-sim:
trace-init:constant:
init/wadapps/microui:
init/watchdog:
init/watchogmock-sim:
init/execution:
mkdirs/s3/bon:
[mkdir] Created dir: /home/mehdi/.microej/workspaces/Get-Started-STM32F746G-DISCO/HelloWorld/target~/player/output/com.mycompany.Main/bon
mkdirs/bon:
heapdump.fs:
heapdump.no.fs:
logs.fs:
no.logs.fs:
cc.fs:
mkdir/soar:
launch/mkdirs:
finalization/s3:
properties/finalize:
[mkdir] Created dir: /home/mehdi/.microej/workspaces/Get-Started-STM32F746G-DISCO/HelloWorld/target~/player/tmp/microejlaunch1177702136/customlaunch1124540745properties/properties
constants/finalize:
[mkdir] Created dir: /home/mehdi/.microej/workspaces/Get-Started-STM32F746G-DISCO/HelloWorld/target~/player/tmp/microejlaunch1177702136/customlaunch1688202631constants/constants
collections/finalize:
finalization/hil:
finalization/net-embedded-dns-soft:
finalization/net-embedded-networksettings:
finalization/net-embedded-s3:
finalization/net-embedded:
init/finalization/partialLink:
init/finalization/soar:
finalization/ssl-embedded-s3:
init/finalization:
init:
soarForS3:
activity/s3:
[echo] =============== [ Launching on Simulator ] ===============
s3/exec/impl:
Duplicated project name in import. Project extension.init.vd defined first in /home/mehdi/.microej/workspaces/Get-Started-STM32F746G-DISCO/HelloWorld/target~/player/platform/scripts/init-vd/vd-init.xml and again in /home/mehdi/.microej/workspaces/Get-Started-STM32F746G-DISCO/HelloWorld/target~/player/platform/scripts/extension-init.xml
mock/spServer/loadProperties:
mock/spServer:
mock/spServer/activity:
[echo] =============== [ Launch Shielded Plug server on port 12345 ] ===============
Duplicated project name in import. Project extension.init.vd defined first in /home/mehdi/.microej/workspaces/Get-Started-STM32F746G-DISCO/HelloWorld/target~/player/platform/scripts/extension-init.xml and again in /home/mehdi/.microej/workspaces/Get-Started-STM32F746G-DISCO/HelloWorld/target~/player/platform/scripts/init-vd/vd-init.xml
sleep.onWinXP:
mainMock:
[parallel2] Wrong java/lang/Object (check classpath entries)