mbeddr / mbeddr.core

The mbeddr core. An extensible C
Eclipse Public License 2.0
225 stars 77 forks source link

NPE in ext.components #548

Closed bmerkle closed 10 years ago

bmerkle commented 11 years ago

an error occurred while applying rule to node InMemoryStorage java.lang.NullPointerException at com.mbeddr.ext.components.behavior.OperationTrigger_Behavior.virtual_getCharacteristicString_7603351357795646730(OperationTrigger_Behavior.java:41) at com.mbeddr.ext.components.behavior.OperationTrigger_BehaviorDescriptor.virtual_getCharacteristicString_7603351357795646730(OperationTrigger_BehaviorDescriptor.java:17) at sun.reflect.GeneratedMethodAccessor6877.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at jetbrains.mps.smodel.runtime.impl.CompiledBehaviorDescriptor.invoke(CompiledBehaviorDescriptor.java:101) at com.mbeddr.ext.components.behavior.RunnableTrigger_Behavior.call_getCharacteristicString_7603351357795646730(RunnableTrigger_Behavior.java:39) at com.mbeddr.ext.components.typesystem.check_AtomicComponentForUniqueTriggers_NonTypesystemRule.applyRule(check_AtomicComponentForUniqueTriggers_NonTypesystemRule.java:30) at jetbrains.mps.newTypesystem.NodeTypesComponent.applyRuleToNode(NodeTypesComponent.java:149) at jetbrains.mps.newTypesystem.NonTypeSystemComponent.applyNonTypesystemRulesToNode(NonTypeSystemComponent.java:319) at jetbrains.mps.newTypesystem.NonTypeSystemComponent.applyNonTypeSystemRulesToRoot(NonTypeSystemComponent.java:283) at jetbrains.mps.newTypesystem.NodeTypesComponent.applyNonTypesystemRulesToRoot(NodeTypesComponent.java:217) at jetbrains.mps.typesystem.checking.TypesEditorChecker$1.run(TypesEditorChecker.java:78) at jetbrains.mps.newTypesystem.TypeCheckingContextNew.runTypeCheckingAction(TypeCheckingContextNew.java:467) at jetbrains.mps.typesystem.checking.TypesEditorChecker.createMessages(TypesEditorChecker.java:58) at jetbrains.mps.nodeEditor.checking.BaseEditorChecker$1.run(BaseEditorChecker.java:36) at jetbrains.mps.nodeEditor.checking.BaseEditorChecker.performUninterruptableAction(BaseEditorChecker.java:116) at jetbrains.mps.nodeEditor.checking.BaseEditorChecker.createMessagesProtected(BaseEditorChecker.java:34) at jetbrains.mps.nodeEditor.Highlighter$11.compute(Highlighter.java:498) at jetbrains.mps.nodeEditor.Highlighter$11.compute(Highlighter.java:481) at jetbrains.mps.nodeEditor.Highlighter$13.compute(Highlighter.java:562) at jetbrains.mps.ide.smodel.WorkbenchModelAccess$3.compute(WorkbenchModelAccess.java:138) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:888) at jetbrains.mps.ide.smodel.WorkbenchModelAccess.runReadAction(WorkbenchModelAccess.java:134)

bkolb commented 11 years ago

In that case either provided port or the operation on this port seems to be null. Could you please check? When did you get this exception?