Buggy code:
@ Results ( { @ Result ( name = "input" , location = "outputxsd.jsp" ) , @ Result ( name = "error" , location = "outputxsd.jsp" ) , @ Result ( name = "success" , location = "outputxsd.jsp" ) , @ Result ( name = "textdata" , location = "outputxsd.jsp" ) , @ Result ( name = "redirect" , location = "${url}" , type = "redirectAction" ) } ) public class OutputXSDAction extends GeneralAction implements Preparable , ServletContextAware { protected final Logger log = Logger . getLogger ( getClass ( ) ) ; private List < XmlSchema > outputXSDs ; private String id = null ; private String uaction = "" ; private XmlSchema xmlschema ; private Crosswalk crosswalk ; private String selectedxsd ; private long sourceSchemaId ; private long targetSchemaId ; private String textdata = "" ; private ServletContext sc ; public void prepare ( ) { } @ Action ( "OutputXSD" ) public String execute ( ) throws Exception { } public List < XmlSchema > getXmlSchemas ( ) { } public List < Crosswalk > getCrosswalks ( ) { } public List < String > getAvailablexsd ( ) { } public List < String > getAvailableXSL ( ) { } @ Action ( "OutputXSD_input" ) @ Override public String input ( ) throws Exception { } public String getUaction ( ) { } public void setUaction ( String uaction ) { } public String getId ( ) { } public void setId ( String id ) { } public XmlSchema getXmlschema ( ) { } public void setXmlschema ( XmlSchema xmlschema ) { } public Crosswalk getCrosswalk ( ) { } public void setCrosswalk ( Crosswalk crosswalk ) { } public void setSourceSchemaId ( long id ) { } public void setTargetSchemaId ( long id ) { } private void processSchema ( XmlSchema schema ) throws IOException { log . debug ( ( "Processing<seq2seq4repair_space>schema:<seq2seq4repair_space>" + schema ) ) ; String confFilename = ( Config . getSchemaPath ( schema . getXsd ( ) ) ) + ".conf" ; File confFile = new File ( confFilename ) ; if ( confFile . exists ( ) ) { log . debug ( ( "Found<seq2seq4repair_space>configuration:<seq2seq4repair_space>" + confFilename ) ) ; StringBuffer confcontents = StringUtils . fileContents ( confFile ) ; schema . setJsonConfig ( confcontents . toString ( ) ) ; } else { schema . setJsonConfig ( null ) ; } String xsd = Config . getSchemaPath ( schema . getXsd ( ) ) ; TargetConfigurationFactory factory = null ; try { factory = new TargetConfigurationFactory ( xsd ) ; <START_BUG> } catch ( Exception ex ) { <END_BUG> ex . printStackTrace ( ) ; return ; } log . debug ( ( "Build<seq2seq4repair_space>schema<seq2seq4repair_space>factory<seq2seq4repair_space>for:<seq2seq4repair_space>" + ( schema . getXsd ( ) ) ) ) ; JSONObject configuration = null ; if ( ( ( schema . getJsonConfig ( ) ) == null ) || ( ( schema . getJsonConfig ( ) . length ( ) ) == 0 ) ) { configuration = factory . getConfiguration ( true ) ; configuration . element ( "xsd" , schema . getXsd ( ) ) ; schema . setJsonConfig ( configuration . toString ( ) ) ; log . debug ( "Generating<seq2seq4repair_space>default<seq2seq4repair_space>configuration" ) ; } else { configuration = ( ( JSONObject ) ( JSONSerializer . toJSON ( schema . getJsonConfig ( ) ) ) ) ; factory . setConfiguration ( schema . getJsonConfig ( ) ) ; log . debug ( "Using<seq2seq4repair_space>provided<seq2seq4repair_space>configuration" ) ; } schema . setJsonTemplate ( factory . getMappingTemplate ( ) . toString ( ) ) ; log . debug ( "Generating<seq2seq4repair_space>mapping<seq2seq4repair_space>template" ) ; schema . setDocumentation ( factory . getDocumentation ( ) . toString ( ) ) ; log . debug ( "Generating<seq2seq4repair_space>documentation" ) ; schema . setCreated ( new Date ( ) ) ; if ( configuration . has ( "paths" ) ) { JSONObject paths = configuration . getJSONObject ( "paths" ) ; if ( paths . has ( "item" ) ) { schema . setItemLevelPath ( paths . getString ( "item" ) ) ; } if ( paths . has ( "label" ) ) { schema . setItemLabelPath ( paths . getString ( "label" ) ) ; } if ( paths . has ( "id" ) ) { schema . setItemIdPath ( paths . getString ( "id" ) ) ; } } } public void setTextdata ( String s ) { } public String getTextdata ( ) { } @ Override public void setServletContext ( ServletContext sc ) { } }

Fix:
} catch ( Throwable ex ) {