Buggy code:
} continue ; } } } if ( ! foundComponentIsSame ) { ComponentFileChecker . checkComponentFolder ( currentFolder , getCodeLanguageSuffix ( ) ) ; } String pathName = xmlMainFile . getAbsolutePath ( ) ; String applicationPath = ComponentBundleToPath . getPathFromBundle ( bundleName ) ; pathName = new Path ( pathName ) . toPortableString ( ) ; pathName = pathName . replace ( applicationPath , "" ) ; EmfComponent currentComp = new EmfComponent ( pathName , bundleName , xmlMainFile . getParentFile ( ) . getName ( ) , pathSource , cache , foundComponentIsSame , provider ) ; if ( ! foundComponentIsSame ) { currentComp . isVisibleInComponentDefinition ( ) ; currentComp . isTechnical ( ) ; currentComp . getOriginalFamilyName ( ) ; currentComp . getTranslatedFamilyName ( ) ; currentComp . getPluginExtension ( ) ; currentComp . getVersion ( ) ; currentComp . getModulesNeeded ( ) ; currentComp . getPluginDependencies ( ) ; EList < ComponentInfo > componentsInfo = cache . getComponentEntryMap ( ) . get ( currentFolder . getName ( ) ) ; for ( ComponentInfo cInfo : componentsInfo ) { if ( cInfo . getSourceBundleName ( ) . equals ( bundleName ) ) { cInfo . setSha1 ( currentXmlSha1 ) ; break ; } } ComponentManager . setModified ( true ) ; } boolean hiddenComponent = false ; Collection < IComponentFactoryFilter > filters = ComponentsFactoryProviderManager . getInstance ( ) . getProviders ( ) ; for ( IComponentFactoryFilter filter : filters ) { if ( ! ( filter . isAvailable ( currentComp . getName ( ) ) ) ) { hiddenComponent = true ; break ; } } if ( hiddenComponent && ( ! ( ( currentComp . getOriginalFamilyName ( ) . contains ( "Technical" ) ) || ( currentComp . isTechnical ( ) ) ) ) ) { continue ; } ComponentsFactory . componentToProviderMap . put ( currentComp , provider ) ; if ( hiddenComponent && ( ( currentComp . getOriginalFamilyName ( ) . contains ( "Technical" ) ) || ( currentComp . isTechnical ( ) ) ) ) { currentComp . setVisible ( false ) ; currentComp . setTechnical ( true ) ; } if ( provider . getId ( ) . contains ( "Camel" ) ) { currentComp . setPaletteType ( CATEGORY_4_CAMEL . getName ( ) ) ; } else { currentComp . setPaletteType ( currentComp . getType ( ) ) ; } if ( ComponentsFactory . componentList . contains ( currentComp ) ) { ComponentsFactory . log . warn ( ( ( "Component<seq2seq4repair_space>" + ( currentComp . getName ( ) ) ) + "<seq2seq4repair_space>already<seq2seq4repair_space>exists.<seq2seq4repair_space>Cannot<seq2seq4repair_space>load<seq2seq4repair_space>user<seq2seq4repair_space>version." ) ) ; } else { currentComp . setProvider ( provider ) ; ComponentsFactory . componentList . add ( currentComp ) ; if ( isCustom ) { ComponentsFactory . customComponentList . add ( currentComp ) ; } if ( pathSource != null ) { Path userComponent = new Path ( pathSource ) ; Path templatePath = new Path ( ( ( ( ( ( IComponentsFactory . COMPONENTS_INNER_FOLDER ) + ( File . separatorChar ) ) + ( IComponentsFactory . EXTERNAL_COMPONENTS_INNER_FOLDER ) ) + ( File . separatorChar ) ) + ( ComponentUtilities . getExtFolder ( ComponentsFactory . OLD_COMPONENTS_USER_INNER_FOLDER ) ) ) ) ; if ( userComponent . equals ( templatePath ) ) { userComponentList . add ( currentComp ) ; } } } String componentName = xmlMainFile . getAbsolutePath ( ) ; if ( ! ( ComponentsFactory . componentsCache . containsKey ( componentName ) ) ) { ComponentsFactory . componentsCache . put ( componentName , new HashMap < String , IComponent > ( ) ) ; } ComponentsFactory . componentsCache . get ( xmlMainFile . getAbsolutePath ( ) ) . put ( currentComp . getPaletteType ( ) , currentComp ) ; } catch ( MissingMainXMLComponentFileException e ) { ComponentsFactory . log . trace ( ( ( ( ( currentFolder . getName ( ) ) + "<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>a<seq2seq4repair_space>" ) + ( getCodeLanguageSuffix ( ) ) ) + "<seq2seq4repair_space>component" ) , e ) ; } catch ( BusinessException e ) { BusinessException ex = new BusinessException ( ( ( ( "Cannot<seq2seq4repair_space>load<seq2seq4repair_space>component<seq2seq4repair_space>\"" + ( currentFolder . getName ( ) ) ) + "\":<seq2seq4repair_space>" ) + ( e . getMessage ( ) ) ) , e ) ; <START_BUG> ExceptionHandler . process ( ex , Level . WARN ) ; <END_BUG> } if ( ( this . subMonitor ) != null ) { this . subMonitor . worked ( 1 ) ; } if ( ( ( this . monitor ) != null ) && ( this . monitor . isCanceled ( ) ) ) { return ; } } ComponentsFactory . skeletonList . trimToSize ( ) ; } } } private File getComponentsLocation ( String folder ) { } private File getComponentsLocation ( String folder , AbstractComponentsProvider provider ) { } private ResourceBundle getComponentResourceBundle ( IComponent currentComp , String source , String cachedPathSource , AbstractComponentsProvider provider ) { } private String getCodeLanguageSuffix ( ) { } @ Override public synchronized int size ( ) { } @ Override public synchronized IComponent get ( String name ) { } @ Override public synchronized IComponent get ( String name , String paletteType ) { } @ Override public void initializeComponents ( IProgressMonitor monitor ) { } @ Override public void initializeComponents ( IProgressMonitor monitor , boolean duringLogon ) { } @ Override public synchronized Set < IComponent > getComponents ( ) { } @ Override public synchronized List < IComponent > getCustomComponents ( ) { } @ Override public List < String > getSkeletons ( ) { } @ Override public void reset ( ) { } @ Override public void resetCache ( ) { } @ Override public String getFamilyTranslation ( Object component , String text ) { } @ Override public void resetSpecificComponents ( ) { } @ Override public Map < String , File > getComponentsProvidersFolder ( ) { } @ Override public IComponentsHandler getComponentsHandler ( ) { } @ Override public void setComponentsHandler ( IComponentsHandler componentsHandler ) { } }

Fix:
ExceptionHandler . process ( ex , Level . ERROR ) ;