Buggy code:
@ Message ( id = 14512 , value = "%s<seq2seq4repair_space>not<seq2seq4repair_space>allowed<seq2seq4repair_space>in<seq2seq4repair_space>lifecycle<seq2seq4repair_space>methods" ) IllegalStateException lifecycleMethodNotAllowed ( String methodName ) { } @ Message ( id = 14513 , value = "%s<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>allowed<seq2seq4repair_space>in<seq2seq4repair_space>lifecycle<seq2seq4repair_space>methods<seq2seq4repair_space>of<seq2seq4repair_space>stateless<seq2seq4repair_space>session<seq2seq4repair_space>beans" ) IllegalStateException lifecycleMethodNotAllowedFromStatelessSessionBean ( String methodName ) { } @ Message ( id = 14514 , value = "Cannot<seq2seq4repair_space>call<seq2seq4repair_space>%s<seq2seq4repair_space>when<seq2seq4repair_space>invoking<seq2seq4repair_space>through<seq2seq4repair_space>%s<seq2seq4repair_space>or<seq2seq4repair_space>%s" ) IllegalStateException cannotCall ( String methodName , String name , String localName ) { } @ Message ( id = 14515 , value = "%s<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>allowed<seq2seq4repair_space>from<seq2seq4repair_space>stateful<seq2seq4repair_space>beans" ) IllegalStateException notAllowedFromStatefulBeans ( String method ) { } @ Message ( id = 14516 , value = "Failed<seq2seq4repair_space>to<seq2seq4repair_space>acquire<seq2seq4repair_space>a<seq2seq4repair_space>permit<seq2seq4repair_space>within<seq2seq4repair_space>%s<seq2seq4repair_space>%s" ) EJBException failedToAcquirePermit ( long timeout , TimeUnit timeUnit ) { } @ Message ( id = 14517 , value = "Acquire<seq2seq4repair_space>semaphore<seq2seq4repair_space>was<seq2seq4repair_space>interrupted" ) EJBException acquireSemaphoreInterrupted ( ) { } @ Message ( id = 14518 , value = "%s<seq2seq4repair_space>is<seq2seq4repair_space>deprecated" ) IllegalStateException isDeprecatedIllegalState ( String getEnvironment ) { } @ Message ( id = 14519 , value = "Could<seq2seq4repair_space>not<seq2seq4repair_space>find<seq2seq4repair_space>method<seq2seq4repair_space>%s<seq2seq4repair_space>on<seq2seq4repair_space>entity<seq2seq4repair_space>bean" ) RuntimeException couldNotFindEntityBeanMethod ( String method ) { } @ Message ( id = 14520 , value = "Could<seq2seq4repair_space>not<seq2seq4repair_space>determine<seq2seq4repair_space>ClassLoader<seq2seq4repair_space>for<seq2seq4repair_space>stub<seq2seq4repair_space>%s" ) RuntimeException couldNotFindClassLoaderForStub ( String stub ) { } @ Message ( id = 14521 , value = "No<seq2seq4repair_space>message<seq2seq4repair_space>listener<seq2seq4repair_space>of<seq2seq4repair_space>type<seq2seq4repair_space>%s<seq2seq4repair_space>found<seq2seq4repair_space>in<seq2seq4repair_space>resource<seq2seq4repair_space>adapter<seq2seq4repair_space>%s" ) IllegalStateException unknownMessageListenerType ( String resourceAdapterName , String messageListenerType ) { } @ Message ( id = 14522 , value = "Could<seq2seq4repair_space>not<seq2seq4repair_space>find<seq2seq4repair_space>method<seq2seq4repair_space>%s<seq2seq4repair_space>from<seq2seq4repair_space>view<seq2seq4repair_space>%s<seq2seq4repair_space>on<seq2seq4repair_space>EJB<seq2seq4repair_space>class<seq2seq4repair_space>%s" ) DeploymentUnitProcessingException couldNotFindViewMethodOnEjb ( final Method method , String viewClass , String ejb ) { } @ Message ( id = 14523 , value = "%s<seq2seq4repair_space>cannot<seq2seq4repair_space>be<seq2seq4repair_space>null<seq2seq4repair_space>or<seq2seq4repair_space>empty" ) IllegalArgumentException stringParamCannotBeNullOrEmpty ( final String paramName ) { } @ Message ( id = 14524 , value = "EJB<seq2seq4repair_space>4.6.4<seq2seq4repair_space>Cannot<seq2seq4repair_space>remove<seq2seq4repair_space>EJB<seq2seq4repair_space>via<seq2seq4repair_space>EJB<seq2seq4repair_space>2.x<seq2seq4repair_space>remove()<seq2seq4repair_space>method<seq2seq4repair_space>while<seq2seq4repair_space>participating<seq2seq4repair_space>in<seq2seq4repair_space>a<seq2seq4repair_space>transaction" ) RemoveException cannotRemoveWhileParticipatingInTransaction ( ) { } @ Message ( id = 14525 , value = "Transaction<seq2seq4repair_space>propagation<seq2seq4repair_space>over<seq2seq4repair_space>IIOP<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>supported" ) RemoteException transactionPropagationNotSupported ( ) { } @ Message ( id = 14526 , value = "Cannot<seq2seq4repair_space>call<seq2seq4repair_space>method<seq2seq4repair_space>%s<seq2seq4repair_space>in<seq2seq4repair_space>afterCompletion<seq2seq4repair_space>callback" ) IllegalStateException cannotCallMethodInAfterCompletion ( String methodName ) { } @ Message ( id = 14528 , value = "%s<seq2seq4repair_space>is<seq2seq4repair_space>already<seq2seq4repair_space>associated<seq2seq4repair_space>with<seq2seq4repair_space>serialization<seq2seq4repair_space>group<seq2seq4repair_space>%s" ) IllegalStateException existingSerializationGroup ( Object key , Object group ) { } @ Message ( id = 14529 , value = "%s<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>compatible<seq2seq4repair_space>with<seq2seq4repair_space>serialization<seq2seq4repair_space>group<seq2seq4repair_space>%s" ) IllegalStateException incompatibleSerializationGroup ( Object object , Object group ) { } @ Message ( id = 14530 , value = "Cache<seq2seq4repair_space>entry<seq2seq4repair_space>%s<seq2seq4repair_space>is<seq2seq4repair_space>in<seq2seq4repair_space>use" ) IllegalStateException cacheEntryInUse ( Object entry ) { } @ Message ( id = 14531 , value = "Cache<seq2seq4repair_space>entry<seq2seq4repair_space>%s<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>in<seq2seq4repair_space>use" ) IllegalStateException cacheEntryNotInUse ( Object entry ) { } @ Message ( id = 14532 , value = "Failed<seq2seq4repair_space>to<seq2seq4repair_space>acquire<seq2seq4repair_space>lock<seq2seq4repair_space>on<seq2seq4repair_space>%s" ) RuntimeException lockAcquisitionInterrupted ( @ Cause Throwable cause , Object id ) { } @ Message ( id = 14533 , value = "%s<seq2seq4repair_space>is<seq2seq4repair_space>already<seq2seq4repair_space>a<seq2seq4repair_space>member<seq2seq4repair_space>of<seq2seq4repair_space>serialization<seq2seq4repair_space>group<seq2seq4repair_space>%s" ) IllegalStateException duplicateSerializationGroupMember ( Object id , Object groupId ) { } @ Message ( id = 14534 , value = "%s<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>a<seq2seq4repair_space>member<seq2seq4repair_space>of<seq2seq4repair_space>serialization<seq2seq4repair_space>group<seq2seq4repair_space>%s" ) IllegalStateException missingSerializationGroupMember ( Object id , Object groupId ) { } @ Message ( id = 14535 , value = "%s<seq2seq4repair_space>already<seq2seq4repair_space>exists<seq2seq4repair_space>in<seq2seq4repair_space>cache" ) IllegalStateException duplicateCacheEntry ( Object id ) { } @ Message ( id = 14536 , value = "%s<seq2seq4repair_space>is<seq2seq4repair_space>missing<seq2seq4repair_space>from<seq2seq4repair_space>cache" ) IllegalStateException missingCacheEntry ( Object id ) { } @ Message ( id = 14537 , value = "Incompatible<seq2seq4repair_space>cache<seq2seq4repair_space>implementations<seq2seq4repair_space>in<seq2seq4repair_space>nested<seq2seq4repair_space>hierarchy" ) IllegalStateException incompatibleCaches ( ) { } @ Message ( id = 14538 , value = "Failed<seq2seq4repair_space>to<seq2seq4repair_space>passivate<seq2seq4repair_space>%s" ) RuntimeException passivationFailed ( @ Cause Throwable cause , Object id ) { } @ Message ( id = 14539 , value = "Failed<seq2seq4repair_space>to<seq2seq4repair_space>activate<seq2seq4repair_space>%s" ) RuntimeException activationFailed ( @ Cause Throwable cause , Object id ) { } @ Message ( id = 14540 , value = "Failed<seq2seq4repair_space>to<seq2seq4repair_space>create<seq2seq4repair_space>passivation<seq2seq4repair_space>directory:<seq2seq4repair_space>%s" ) RuntimeException passivationDirectoryCreationFailed ( String path ) { } @ Message ( id = 14541 , value = "Failed<seq2seq4repair_space>to<seq2seq4repair_space>create<seq2seq4repair_space>passivation<seq2seq4repair_space>directory:<seq2seq4repair_space>%s" ) RuntimeException passivationPathNotADirectory ( String path ) { } @ Message ( id = 14542 , value = "Group<seq2seq4repair_space>creation<seq2seq4repair_space>context<seq2seq4repair_space>already<seq2seq4repair_space>exists" ) IllegalStateException groupCreationContextAlreadyExists ( ) { } @ Message ( id = 14543 , value = "No<seq2seq4repair_space>EJB<seq2seq4repair_space>found<seq2seq4repair_space>with<seq2seq4repair_space>interface<seq2seq4repair_space>of<seq2seq4repair_space>type<seq2seq4repair_space>'%s'<seq2seq4repair_space>and<seq2seq4repair_space>name<seq2seq4repair_space>'%s'<seq2seq4repair_space>for<seq2seq4repair_space>binding<seq2seq4repair_space>%s" ) String ejbNotFound ( String typeName , String beanName , String binding ) { } @ Message ( id = 14544 , value = "No<seq2seq4repair_space>EJB<seq2seq4repair_space>found<seq2seq4repair_space>with<seq2seq4repair_space>interface<seq2seq4repair_space>of<seq2seq4repair_space>type<seq2seq4repair_space>'%s'<seq2seq4repair_space>for<seq2seq4repair_space>binding<seq2seq4repair_space>%s" ) String ejbNotFound ( String typeName , String binding ) { } @ Message ( id = 14545 , value = "More<seq2seq4repair_space>than<seq2seq4repair_space>one<seq2seq4repair_space>EJB<seq2seq4repair_space>found<seq2seq4repair_space>with<seq2seq4repair_space>interface<seq2seq4repair_space>of<seq2seq4repair_space>type<seq2seq4repair_space>'%s'<seq2seq4repair_space>and<seq2seq4repair_space>name<seq2seq4repair_space>'%s'<seq2seq4repair_space>for<seq2seq4repair_space>binding<seq2seq4repair_space>%s.<seq2seq4repair_space>Found:<seq2seq4repair_space>%s" ) String moreThanOneEjbFound ( String typeName , String beanName , String binding , Set < EJBViewDescription > componentViews ) { } @ Message ( id = 14546 , value = "More<seq2seq4repair_space>than<seq2seq4repair_space>one<seq2seq4repair_space>EJB<seq2seq4repair_space>found<seq2seq4repair_space>with<seq2seq4repair_space>interface<seq2seq4repair_space>of<seq2seq4repair_space>type<seq2seq4repair_space>'%s'<seq2seq4repair_space>for<seq2seq4repair_space>binding<seq2seq4repair_space>%s.<seq2seq4repair_space>Found:<seq2seq4repair_space>%s" ) String moreThanOneEjbFound ( String typeName , String binding , Set < EJBViewDescription > componentViews ) { } @ Message ( id = 14547 , value = "@Clustered<seq2seq4repair_space>annotation<seq2seq4repair_space>cannot<seq2seq4repair_space>be<seq2seq4repair_space>used<seq2seq4repair_space>with<seq2seq4repair_space>message<seq2seq4repair_space>driven<seq2seq4repair_space>beans.<seq2seq4repair_space>%s<seq2seq4repair_space>failed<seq2seq4repair_space>since<seq2seq4repair_space>%s<seq2seq4repair_space>bean<seq2seq4repair_space>is<seq2seq4repair_space>marked<seq2seq4repair_space>with<seq2seq4repair_space>@Clustered<seq2seq4repair_space>on<seq2seq4repair_space>class<seq2seq4repair_space>%s" ) DeploymentUnitProcessingException clusteredAnnotationIsNotApplicableForMDB ( final DeploymentUnit unit , final String componentName , final String componentClassName ) { } @ Message ( id = 14548 , value = "@Clustered<seq2seq4repair_space>annotation<seq2seq4repair_space>cannot<seq2seq4repair_space>be<seq2seq4repair_space>used<seq2seq4repair_space>with<seq2seq4repair_space>entity<seq2seq4repair_space>beans.<seq2seq4repair_space>%s<seq2seq4repair_space>failed<seq2seq4repair_space>since<seq2seq4repair_space>%s<seq2seq4repair_space>bean<seq2seq4repair_space>is<seq2seq4repair_space>marked<seq2seq4repair_space>with<seq2seq4repair_space>@Clustered<seq2seq4repair_space>on<seq2seq4repair_space>class<seq2seq4repair_space>%s" ) DeploymentUnitProcessingException clusteredAnnotationIsNotApplicableForEntityBean ( final DeploymentUnit unit , final String componentName , final String componentClassName ) { } @ Message ( id = 14549 , value = "@Clustered<seq2seq4repair_space>annotation<seq2seq4repair_space>is<seq2seq4repair_space>currently<seq2seq4repair_space>not<seq2seq4repair_space>supported<seq2seq4repair_space>for<seq2seq4repair_space>singleton<seq2seq4repair_space>EJB.<seq2seq4repair_space>%s<seq2seq4repair_space>failed<seq2seq4repair_space>since<seq2seq4repair_space>%s<seq2seq4repair_space>bean<seq2seq4repair_space>is<seq2seq4repair_space>marked<seq2seq4repair_space>with<seq2seq4repair_space>@Clustered<seq2seq4repair_space>on<seq2seq4repair_space>class<seq2seq4repair_space>%s" ) DeploymentUnitProcessingException clusteredAnnotationNotYetImplementedForSingletonBean ( final DeploymentUnit unit , final String componentName , final String componentClassName ) { } @ Message ( id = 14550 , value = "%s<seq2seq4repair_space>failed<seq2seq4repair_space>since<seq2seq4repair_space>@Clustered<seq2seq4repair_space>annotation<seq2seq4repair_space>cannot<seq2seq4repair_space>be<seq2seq4repair_space>used<seq2seq4repair_space>for<seq2seq4repair_space>%s<seq2seq4repair_space>bean<seq2seq4repair_space>on<seq2seq4repair_space>class<seq2seq4repair_space>%s" ) DeploymentUnitProcessingException clusteredAnnotationIsNotApplicableForBean ( final DeploymentUnit unit , final String componentName , final String componentClassName ) { } @ Message ( id = 14527 , value = "Cannot<seq2seq4repair_space>call<seq2seq4repair_space>%s<seq2seq4repair_space>when<seq2seq4repair_space>state<seq2seq4repair_space>is<seq2seq4repair_space>%s" ) IllegalStateException cannotCallMethod ( String methodName , String state ) { } @ Message ( id = 14551 , value = "<session-type><seq2seq4repair_space>not<seq2seq4repair_space>specified<seq2seq4repair_space>for<seq2seq4repair_space>ejb<seq2seq4repair_space>%s.<seq2seq4repair_space>This<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>present<seq2seq4repair_space>in<seq2seq4repair_space>ejb-jar.xml" ) DeploymentUnitProcessingException sessionTypeNotSpecified ( String bean ) { } @ Message ( id = 14552 , value = "Default<seq2seq4repair_space>interceptors<seq2seq4repair_space>cannot<seq2seq4repair_space>specify<seq2seq4repair_space>an<seq2seq4repair_space><interceptor-order><seq2seq4repair_space>element<seq2seq4repair_space>in<seq2seq4repair_space>ejb-jar.xml" ) DeploymentUnitProcessingException defaultInterceptorsNotSpecifyOrder ( ) { } @ Message ( id = 14553 , value = "Cache<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>clustered" ) IllegalStateException cacheIsNotClustered ( ) { } @ Message ( id = 14554 , value = "%s<seq2seq4repair_space>cannot<seq2seq4repair_space>be<seq2seq4repair_space>null" ) IllegalArgumentException paramCannotBeNull ( final String paramName ) { } @ Message ( id = 14555 , value = "A<seq2seq4repair_space>GroupMembershipNotifier<seq2seq4repair_space>is<seq2seq4repair_space>already<seq2seq4repair_space>registered<seq2seq4repair_space>by<seq2seq4repair_space>the<seq2seq4repair_space>name<seq2seq4repair_space>of<seq2seq4repair_space>%s" ) IllegalArgumentException groupMembershipNotifierAlreadyRegistered ( final String groupName ) { } @ Message ( id = 14556 , value = "No<seq2seq4repair_space>GroupMembershipNotifier<seq2seq4repair_space>registered<seq2seq4repair_space>by<seq2seq4repair_space>the<seq2seq4repair_space>name<seq2seq4repair_space>of<seq2seq4repair_space>%s" ) IllegalArgumentException groupMembershipNotifierNotRegistered ( final String groupName ) { } <START_BUG> @ Message ( id = 14528 , value = "Pool<seq2seq4repair_space>name<seq2seq4repair_space>cannot<seq2seq4repair_space>be<seq2seq4repair_space>empty<seq2seq4repair_space>string<seq2seq4repair_space>for<seq2seq4repair_space>bean<seq2seq4repair_space>%s" ) <END_BUG> IllegalArgumentException poolNameCannotBeEmptyString ( final String ejbName ) ; }

Fix:
@ Message ( id = 14557 , value = "Pool<seq2seq4repair_space>name<seq2seq4repair_space>cannot<seq2seq4repair_space>be<seq2seq4repair_space>empty<seq2seq4repair_space>string<seq2seq4repair_space>for<seq2seq4repair_space>bean<seq2seq4repair_space>%s" )