Cannot find feature entry point class

I am trying to build a sandboxed application but when I try to run the feature on my VDE I have the following error:

=============== [ Initialization Stage ] ===============
=============== [ Converting fonts ] ===============
=============== [ Converting images ] ===============
=============== [ Launching on Simulator ] ===============
=============== [ Launch Shielded Plug server on port 10082 ] ===============
ShieldedPlug client "/" disconnected.
KERNEL Hello World!
=> Starting Feature MyFeature
Cannot find feature entry point class com/mycompany/MyFeature
Exception in thread "com.is2t.feature.MyFeature" java.lang.NullPointerException
	at java.lang.Throwable.fillInStackTrace(
	at java.lang.Throwable.<init>(
	at java.lang.Exception.<init>(
	at java.lang.RuntimeException.<init>(
	at java.lang.NullPointerException.<init>(
	at ej.kf.Feature.initEntryPoint(
	at ej.kf.Kernel$
	at java.lang.Thread.runWrapper(

What is going on?
Thank you.

Hello Medhi,

The error says that the kernel can not find the feature MyFeature. The kernel looks for the feature described in the file feature.kf located in src/main/resources/.

Check that the feature entry point described in feature.kf matches that of your feature.
Also, you may try to build the .fo (see Run on the Device) to see what happens.


1 Like

Thank you!

Indeed I had renamed my feature with the refactor tool but it didn’t update the feature.kf file. After I’ve updated the feature.kf entry point, everything works as expected.

Thanks for the tips to run on the device, the error is a bit clearer yes:

1 : SOAR ERROR [feature.kf]
	[M51] - Class com.mycompany.MyFeature not found (class is referenced by the file ...\MySandboxedApp\bin/feature.kf).