Buggy code:
ret . add ( new SimpleAction ( new SimpleActionConfig ( "Show<seq2seq4repair_space>generated<seq2seq4repair_space>table" , "Show<seq2seq4repair_space>the<seq2seq4repair_space>table<seq2seq4repair_space>generated<seq2seq4repair_space>by<seq2seq4repair_space>the<seq2seq4repair_space>selected<seq2seq4repair_space>adapted<seq2seq4repair_space>table." , "table-go.png" , null , true ) ) { @ Override public void actionPerformed ( ActionEvent e ) { executeAdapterResultViewer ( table , false ) ; } } ) ; ret . add ( new SimpleAction ( new SimpleActionConfig ( "Show<seq2seq4repair_space>generated<seq2seq4repair_space>map" , "Show<seq2seq4repair_space>the<seq2seq4repair_space>map<seq2seq4repair_space>generated<seq2seq4repair_space>by<seq2seq4repair_space>the<seq2seq4repair_space>selected<seq2seq4repair_space>adapted<seq2seq4repair_space>table." , "world.png" , null , true ) ) { @ Override public void actionPerformed ( ActionEvent e ) { executeAdapterResultViewer ( table , true ) ; } @ Override public void updateEnabled ( ) { long flags = adapter . getFlags ( ) ; if ( table != null ) { flags |= table . getFlags ( ) ; } setEnabled ( ( ( flags & ( TableFlags . FLAG_IS_DRAWABLES ) ) == ( TableFlags . FLAG_IS_DRAWABLES ) ) ) ; } } ) ; return ret ; } } ; ret . adapterTabControls . add ( tabControl ) ; ret . panel . addNoWrap ( tabControl ) ; ret . panel . addHalfWhitespace ( ) ; } } if ( ( componentConfig ) != null ) { ODLComponent component = ODLGlobalComponents . getProvider ( ) . getComponent ( componentConfig . getComponent ( ) ) ; if ( component == null ) { throw new RuntimeException ( ( "Unknown<seq2seq4repair_space>component:<seq2seq4repair_space>" + ( componentConfig . getComponent ( ) ) ) ) ; } JPanel userPanel = null ; if ( componentConfig . isUserCanEdit ( ) ) { if ( ( component . getConfigClass ( ) ) != null ) { ScriptUtils . validateComponentConfigClass ( component , componentConfig ) ; userPanel = component . createConfigEditorPanel ( createComponentEditorAPI ( component . getId ( ) , option , instruction ) , ( - 1 ) , componentConfig . getComponentConfig ( ) , true ) ; } } addLabelWithEditor ( componentConfig , ret . panel , isMultiPane ) ; if ( userPanel != null ) { if ( isMultiPane ) { setMultiPaneBorder ( userPanel ) ; } ret . panel . add ( userPanel ) ; ret . panel . addHalfWhitespace ( ) ; } } if ( ( instruction ) != null ) { boolean hasInstructionLabel = addLabelWithEditor ( instruction , ret . panel , isMultiPane ) ; if ( instruction . isUserCanEdit ( ) ) { if ( isMultiPane ) { TextEntryPanel dsid = new TextEntryPanel ( "Input<seq2seq4repair_space>datastore<seq2seq4repair_space>id:<seq2seq4repair_space>" , instruction . getDatastore ( ) , new TextChangedListener ( ) { @ Override public void textChange ( String newText ) { instruction . setDatastore ( newText ) ; } } ) ; ret . panel . add ( dsid ) ; ret . panel . addHalfWhitespace ( ) ; } ODLComponent component = ODLGlobalComponents . getProvider ( ) . getComponent ( instruction . getComponent ( ) ) ; if ( component == null ) { throw new RuntimeException ( ( "Unknown<seq2seq4repair_space>component:<seq2seq4repair_space>" + ( instruction . getComponent ( ) ) ) ) ; } if ( ( component . getConfigClass ( ) ) != null ) { ScriptUtils . validateComponentConfigClass ( component , instruction ) ; Serializable inplaceConfig = instruction . getComponentConfig ( ) ; if ( inplaceConfig != null ) { JPanel userPanel = component . createConfigEditorPanel ( createComponentEditorAPI ( component . getId ( ) , option , instruction ) , instruction . getExecutionMode ( ) , inplaceConfig , true ) ; if ( userPanel != null ) { if ( isMultiPane ) { setMultiPaneBorder ( userPanel ) ; } else { if ( ( ( adapter ) != null ) || ( ( outputs . size ( ) ) > 0 ) ) { if ( hasInstructionLabel ) { userPanel . setBorder ( LayoutUtils . createInsetTitledBorder ( "" ) ) ; } else { String text = "Settings<seq2seq4repair_space>for<seq2seq4repair_space>" + ( displayName ) ; userPanel . setBorder ( LayoutUtils . createInsetTitledBorder ( text ) ) ; } } } ret . panel . add ( userPanel ) ; ret . panel . addHalfWhitespace ( ) ; } } } } } for ( OutputConfig output : outputs ) { addLabelWithEditor ( output , ret . panel , isMultiPane ) ; if ( output . isUserCanEdit ( ) ) { <START_BUG> OutputPanel outputPanel = new OutputPanel ( output , false , OutputType . values ( ) ) ; <END_BUG> if ( isMultiPane ) { setMultiPaneBorder ( outputPanel ) ; } else { String borderTitle ; if ( Strings . isEmpty ( output . getInputTable ( ) ) ) { borderTitle = "Output<seq2seq4repair_space>new<seq2seq4repair_space>table(s)" ; } else { borderTitle = ( "Output<seq2seq4repair_space>table<seq2seq4repair_space>\"" + ( output . getInputTable ( ) ) ) + "\"" ; } outputPanel . setBorder ( LayoutUtils . createInsetTitledBorder ( borderTitle ) ) ; } ret . panel . add ( outputPanel ) ; } } if ( ( ! isMultiPane ) && ( ( children . size ( ) ) > 0 ) ) { JTabbedPane tabbedPane = new JTabbedPane ( ) ; for ( ScriptEditorWizardGenerated . DisplayNode node : children ) { tabbedPane . addTab ( node . displayName , node . createPane ( false ) ) ; } ret . panel . add ( tabbedPane ) ; } return ret ; } private ScriptEditorWizardGenerated . MyScrollPane createAvailableTablesPane ( ) { } private ScriptEditorWizardGenerated . MyScrollPane createOptionPane ( ) { } private void setMultiPaneBorder ( JPanel panel ) { } private void addLabel ( VerticalLayoutPanel panel , String text , boolean halfspaceAfter ) { } private void setDefaultBorder ( JComponent component ) { } int getNodeCount ( ) { } @ Override public TreeNode getChildAt ( int childIndex ) { } @ Override public int getChildCount ( ) { } @ Override public TreeNode getParent ( ) { } @ Override public int getIndex ( TreeNode node ) { } @ Override public boolean getAllowsChildren ( ) { } @ Override public boolean isLeaf ( ) { } @ Override public Enumeration children ( ) { } @ Override public String toString ( ) { } }

Fix:
OutputPanel outputPanel = new OutputPanel ( output , true , OutputType . values ( ) ) ;