Buggy code:
} private static final class ModelTracker implements mxIEventListener { private static XcosDiagram . ModelTracker instance ; private ModelTracker ( ) { } public static XcosDiagram . ModelTracker getInstance ( ) { } @ Override public void invoke ( final Object source , final mxEventObject evt ) { } } private static final class SuperBlockUpdateTracker implements mxIEventListener { private static XcosDiagram . SuperBlockUpdateTracker instance ; private SuperBlockUpdateTracker ( ) { } public static XcosDiagram . SuperBlockUpdateTracker getInstance ( ) { } @ Override public void invoke ( final Object source , final mxEventObject evt ) { } } private static final class UndoUpdateTracker implements mxIEventListener { private static XcosDiagram . UndoUpdateTracker instance ; public UndoUpdateTracker ( ) { } public static XcosDiagram . UndoUpdateTracker getInstance ( ) { } @ Override public void invoke ( final Object source , final mxEventObject evt ) { } } private static final class RefreshBlockTracker implements mxIEventListener { private static XcosDiagram . RefreshBlockTracker instance ; private RefreshBlockTracker ( ) { } public static XcosDiagram . RefreshBlockTracker getInstance ( ) { } @ Override public void invoke ( Object sender , mxEventObject evt ) { } } @ Override public Object createEdge ( Object parent , String id , Object value , Object source , Object target , String style ) { } @ Override public Object addCell ( Object cell , Object parent , Integer index , Object source , Object target ) { } public SplitBlock addSplitEdge ( final mxPoint splitPoint , final BasicLink link ) { } public void connect ( BasicPort src , BasicPort trg , List < mxPoint > points , mxPoint orig ) { } public void initComponent ( ) { } public void installStylesheet ( ) { } private void setMultiplicities ( ) { } public void installListeners ( ) { } @ Override public Object [ ] removeCells ( final Object [ ] cells , final boolean includeEdges ) { } private void addTerminalParent ( mxICell terminal , Collection < Object > removedCells , Collection < Object > loopCells ) { } private BasicPort [ ] findTerminals ( final mxICell linkSource , final mxICell linkTerminal , final Set < Object > removedCells ) { } private List < mxPoint > getDirectPoints ( final SplitBlock splitBlock , final mxICell inLink , final mxICell outLink ) { } @ Override public boolean isCellFoldable ( final Object cell , final boolean collapse ) { } @ Override public boolean isLabelMovable ( Object cell ) { } @ Override public boolean isCellSelectable ( final Object cell ) { } @ Override public boolean isCellMovable ( final Object cell ) { } @ Override public boolean isCellResizable ( final Object cell ) { } @ Override public boolean isCellDeletable ( final Object cell ) { } @ Override public boolean isCellEditable ( final Object cell ) { } @ Override public String convertValueToString ( Object cell ) { } @ Override public boolean isAutoSizeCell ( final Object cell ) { } @ Override public boolean isExtendParent ( Object cell ) { } public ScicosParameters getScicosParameters ( ) { } public void setScicosParameters ( final ScicosParameters scicosParameters ) { } public CompilationEngineStatus getEngine ( ) { } public void setFinalIntegrationTime ( final double finalIntegrationTime ) throws PropertyVetoException { } public void setIntegratorAbsoluteTolerance ( final double integratorAbsoluteTolerance ) throws PropertyVetoException { } public void setIntegratorRelativeTolerance ( final double integratorRelativeTolerance ) throws PropertyVetoException { } public void setMaximumStepSize ( final double maximumStepSize ) throws PropertyVetoException { } public void setMaxIntegrationTimeinterval ( final double maxIntegrationTimeinterval ) throws PropertyVetoException { } public void setRealTimeScaling ( final double realTimeScaling ) throws PropertyVetoException { } public void setSolver ( final double solver ) throws PropertyVetoException { } public void setToleranceOnTime ( final double toleranceOnTime ) throws PropertyVetoException { } public String [ ] getContext ( ) { } public void setGridVisible ( final boolean status ) { } public boolean saveDiagram ( ) { } public boolean saveDiagramAs ( final File fileName ) { } private void save ( final File file ) throws TransformerException { } public void postLoad ( final File file ) { } @ Override public void setTitle ( final String title ) { } public void updateTabTitle ( ) { } public void setContext ( final String [ ] context ) throws PropertyVetoException { } public void updateCellsContext ( ) { } public void setDebugLevel ( final int debugLevel ) throws PropertyVetoException { } public XcosDiagram openDiagramFromFile ( final File diagram ) { } protected boolean transformAndLoadFile ( final String file ) { } public void generateUID ( ) { } public void setChildrenParentDiagram ( ) { } public XcosDiagram getRootDiagram ( ) { } @ Override public String getToolTipForCell ( final Object cell ) { } public void info ( final String message ) { } public void error ( final String message ) { } public void warnCellByUID ( final String uid , final String message ) { } @ Override public void setModified ( final boolean modified ) { } public Map < String , String > evaluateContext ( ) { Map < String , String > result = null ; try { new ScilabDirectHandler ( ) . writeContext ( getContext ( ) ) ; <START_BUG> ScilabInterpreterManagement . synchronousScilabExec ( ( ( ( ( ScilabDirectHandler . CONTEXT ) + "<seq2seq4repair_space>=<seq2seq4repair_space>script2var(" ) + ( ScilabDirectHandler . CONTEXT ) ) + "<seq2seq4repair_space>struct());" ) ) ; <END_BUG> result = new ScilabDirectHandler ( ) . readContext ( ) ; } catch ( final InterpreterException e ) { info ( "Unable<seq2seq4repair_space>to<seq2seq4repair_space>evaluate<seq2seq4repair_space>the<seq2seq4repair_space>contexte" ) ; e . printStackTrace ( ) ; } return result ; } public BasicBlock getChildById ( final String uid ) { } @ Override public boolean isValidDropTarget ( final Object cell , final Object [ ] cells ) { } @ Deprecated public boolean isChildVisible ( ) { } public boolean canClose ( ) { } @ Override protected mxGraphSelectionModel createSelectionModel ( ) { } }

Fix:
ScilabInterpreterManagement . synchronousScilabExec ( ( ( ( ( ScilabDirectHandler . CONTEXT ) + "<seq2seq4repair_space>=<seq2seq4repair_space>script2var(" ) + ( ScilabDirectHandler . CONTEXT ) ) + ",<seq2seq4repair_space>struct());" ) ) ;