Matlab JA Builder NullPointerException Failure to Run in Eclipse
Show older comments
Hello-
I have built and installed MATLAB code encrypted into JavaPackages using Matlab's deploytool/JA Builder. However, I get the same error each time I try to run the functions encoded in the packages - even when implementing the example plotdemo [Example]
- - - -
import plotdemo.*
RUN CODE
- - - -
[*Error yielded*: (createplot.java:27 refers to plotter thePlot = new plotter();)]
_Exception in thread "main" java.lang.ExceptionInInitializerError
...
at plotdemo.PlotdemoMCRFactory.newInstance (PlotdemoMCRFactory.java:50)
at plotdemo.PlotdemoMCRFactory.newInstance(PlotdemoMCRFactory.java:61) at plotdemo.plotter.<init>(plotter.java:64)
at uploadDownload.createplot.main(createplot.java:27)
Caused by: java.lang.NullPointerException
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ProxyLibraryDir. get(MCRConfiguration.java:143) at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ProxyLibraryDir. clinit(MCRConfiguration.java:173)
... 11 more_
Answers (0)
Categories
Find more on Troubleshooting in MATLAB Compiler SDK in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!