Error when trying to use Create App feature within SimBiology

I can run simulations and generate plots using the Task Editor, but keep getting an error when I try to create an app using the Create App feature. I have used the Create App feature successfully for different models. I am using Matlab 2015b, SimBiology v5.3 on Windows 7 64bit, running locally. Any insight on the error would be appreciated. The error that I am getting are:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.mathworks.toolbox.simbio.desktop.analysis.toolbar.GenerateAppAction.generalMATLABCallCompleted(GenerateAppAction.java:239) at com.mathworks.toolbox.simbio.desktop.runnable.GeneralHandlerRunnable.matlabEvent(GeneralHandlerRunnable.java:92)
at com.mathworks.jmi.MatlabMCR$AWTReplyEvent.run(MatlabMCR.java:1637)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

 Accepted Answer

Hi Sean,
I think this indicates that an unexpected MATLAB error occurred while trying to create the app. However, it's difficult to diagnose without more information. This may be the sort of problem that is more easily handled by Tech Support . If you can, please contact them.
Regardless of whether you decide to contact Tech Support or look for help on MATLAB Answers, here's some additional information you should gather to help diagnose the problem. The most helpful thing would be if you are able to share the sbproj file for the project so that we can reproduce the problem here at MathWorks.
If that's not possible, the next best thing would be to get the error that occurred. To do that, you could try running the lasterror command after this error occurs. Please save the resulting error to a MAT file and share it.
Thanks, Arthur

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!