Fixed many places to take into account that getRVI may return null now.
refs #3583
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@25390
ac1ea38d-2e2b-0410-8846-
a27921b304fc
if(in instanceof IResourceEditorInput2) {\r
IResourceEditorInput2 input = (IResourceEditorInput2) in;\r
\r
- if(!input.getRVI().isEmpty()) {\r
+ if(input.getRVI() != null && !input.getRVI().isEmpty()) {\r
Resource model = g.getPossibleResource(input.getModelURI());\r
if(model != null) {\r
Resource configuration = g.getPossibleObject(model, SimulationResource.getInstance(g).HasConfiguration);\r