Generate Bindings Failed

Hi,
i’m trying to bind sqlite3.h in my common java module like docs but i have that error:

Generate Bindings Failed
java.lang.RuntimeException: Generate Bindings Failed
	at org.moe.tools.natjgen.binding.MOEBindingGeneratorByXcode.generate(MOEBindingGeneratorByXcode.java:120)
	at org.moe.tools.natjgen.binding.MOEBindingGeneratorByXcode.generate(MOEBindingGeneratorByXcode.java:68)
	at org.moe.idea.actions.MOEGenerateBindingAction$ChoosePackageDialog$1.run(MOEGenerateBindingAction.java:183)
	at com.intellij.openapi.progress.impl.CoreProgressManager$5.run(CoreProgressManager.java:227)
	at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
	at com.intellij.openapi.progress.impl.CoreProgressManager$8.run(CoreProgressManager.java:357)
	at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:446)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)
	at com.intellij.openapi.application.impl.ApplicationImpl$13$1.run(ApplicationImpl.java:633)
	at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:369)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
	at org.moe.tools.natjgen.binding.MOEBindingGeneratorByXcode$GenerateBindings.generate(MOEBindingGeneratorByXcode.java:169)
	at org.moe.tools.natjgen.binding.MOEBindingGeneratorByXcode.generate(MOEBindingGeneratorByXcode.java:118)
	... 17 more

Thanks

1 Like

I have the same issue. Have you find any solution yet?

You are probably hitting a known bug in the MOE 1.2 binding generator. In fact, this code was already removed from MOE 1.3. We are just days away from the first beta release of MOE 1.3, where this bug will no longer happen.

For more details on MOE 1.3: https://multi-os-engine.org/blog/2016-12-05-plans-for-moe-1.3/

1 Like

That’s great, thank you for your answer.