# There was an error while initializing the numerical kernel

**URL:** <https://forum.spis.org/t/there-was-an-error-while-initializing-the-numerical-kernel/856>\
**Category:** SPIS\
**Created:** [19 March 2021 08:19 UTC](https://forum.spis.org/t/there-was-an-error-while-initializing-the-numerical-kernel/856 "2021-03-19T08:19:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhangzl](https://forum.spis.org/letter_avatar_proxy/v4/letter/z/f0a364/32.png) [@zhangzl](https://forum.spis.org/u/zhangzl)\
**Post date:** [19 March 2021 08:19 UTC](https://forum.spis.org/t/there-was-an-error-while-initializing-the-numerical-kernel/856/1 "2021-03-19T08:19:24Z")

</div>

2021-03-19 14:25:45,842 INFO o.s.u.u.u.Ui2Num [Ui2Num.java:390] DONE  
2021-03-19 14:25:45,906 ERROR o.s.u.u.c.NumTopFromUICommand [NumTopFromUICommand.java:226] Error in UI2NUM  
java.lang.NullPointerException: null  
at spis.Surf.SurfMesh.ThreeDUnstructSurfMesh.setVm(ThreeDUnstructSurfMesh.java:1696) ~[org-spis-num-core-6.0.2.jar:6.0.2]  
at org.spis.ui.ui2num.util.Ui2Num.buildNumTopFromUI(Ui2Num.java:393) ~[org-spis-ui-ui2num-6.0.4.jar:6.0.4]  
at org.spis.ui.ui2num.command.NumTopFromUICommand.run(NumTopFromUICommand.java:170) [org-spis-ui-ui2num-6.0.4.jar:6.0.4]  
at org.spis.ui.ui2num.command.NumTopFromUICommand.run(NumTopFromUICommand.java:54) [org-spis-ui-ui2num-6.0.4.jar:6.0.4]  
at org.keridwen.core.messaging.AbstractCommand.execute(AbstractCommand.java:208) [org-keridwen-core-messaging-3.0.10.jar:na]  
at org.keridwen.core.messaging.DefaultBundleController$CallableCommand.call(DefaultBundleController.java:267) [org-keridwen-core-messaging-3.0.10.jar:na]  
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0\_202]  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0\_202]  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0\_202]  
at java.lang.Thread.run(Thread.java:748) [na:1.8.0\_202]  
2021-03-19 14:27:11,388 DEBUG BundleController:SPIS Model [CommandLogLevel.java:42] Change model state - org.spis.ui.simulation

---

<div class="post-metadata">

**Author:** ![sebhess](https://forum.spis.org/letter_avatar_proxy/v4/letter/s/45deac/32.png) [@sebhess](https://forum.spis.org/u/sebhess)\
**Post date:** [19 March 2021 15:04 UTC](https://forum.spis.org/t/there-was-an-error-while-initializing-the-numerical-kernel/856/2 "2021-03-19T15:04:47Z")

</div>

I have seen this kind of error when there was errors in the group definition. In this case the mesh parameters may not be correctly parsed by UI and NUM has no mesh to initialize. Thus, you should check your group definition, and eventually rebuild a new simulation importing your mesh, circuit and global parameters but redefining from scratch the groups.  
Sébastien

---

<div class="post-metadata">

**Author:** ![zhangzl](https://forum.spis.org/letter_avatar_proxy/v4/letter/z/f0a364/32.png) [@zhangzl](https://forum.spis.org/u/zhangzl)\
**Post date:** [22 March 2021 03:36 UTC](https://forum.spis.org/t/there-was-an-error-while-initializing-the-numerical-kernel/856/3 "2021-03-22T03:36:36Z")

</div>

Thank you very much！
