| Encountered an NullPointException with StructuredModelManager [message #1796520]
||Mon, 15 October 2018 16:44
Again, we are reading/writing in-memory objects. A disk file will be
parsed into model, and the SSE editor will display a small portion of the
I implemented the IStorageEditorInput and IStorage for the objects. Then
added required plug-ins to the launch settings. But I kept encountering
NullPointException when trying to open a file. The debug showed that in
the following lines, model is a null value.
Do we need to register a model? If yes, how to register a model?
// first parameter must be unique
model = StructuredModelManager.getModelManager().getModelForEdit(id,
model.setBaseLocation(calculateBaseLocation(input));https://subwaysurfers.vip/ https://psiphon.vip/ https://hillclimbracing.vip/
If the program starts with all the plug-ins, the problem is gone. It seems
that some plug-in contributes models for the issue. Is there a way to
figure out the plug-in?
Thank you so much!
[Updated on: Mon, 15 October 2018 21:14] by Moderator
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01896 seconds