Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2442

After Upgrade to 2.4.6 has NullPointerException in InterceptedSubclassFactory.java:272

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Blocker
    • None
    • 3.0.2.Final, 2.4.6.Final
    • None
    • None

    Description

      Hi,

      I am using cdi weld 2.4.5 with Wildfly 11.0.0.Final and CDI InterceptorBinding, it works perfectly, however after I upgrade the Weld to 2.4.6. The injects stopped running my classes which extends multiples abstract class with NullPointerException.

      NullPointerException in this Line:

      https://github.com/weld/core/blob/2.4.6.Final/impl/src/main/java/org/jboss/weld/bean/proxy/InterceptedSubclassFactory.java#L272

      My code for explanation:

      import javax.interceptor.InterceptorBinding;
      import java.lang.annotation.Inherited;
      import java.lang.annotation.Retention;
      import java.lang.annotation.RetentionPolicy;
      import java.lang.annotation.Target;
      
      import static java.lang.annotation.ElementType.*;
      
      @Inherited
      @InterceptorBinding
      @Target({TYPE})
      @Retention(RetentionPolicy.RUNTIME)
      public @interface LoggerInterceptor {
      
      }
      
      public interface AbstractConverter<DTO extends RestDTO, DTO_FILTER extends RestFilterDTO,
              DTO_SEARCH extends SearchDTO, DTO_SEARCH_RESULT extends SearchResultDTO,
              ENTITY extends HibernateEntity, ENTITY_FILTER extends EntityFilter> extends Serializable {
      
          public DTO convertToDto(ENTITY entity);
      
          public DTO convertToDto(ENTITY entity, boolean isAudit);
      
          public List<DTO> convertToListDto(List<ENTITY> listEntity);
      
          public List<DTO> convertToListDto(List<ENTITY> listEntity, boolean isAudit);
      
          public DTO_SEARCH_RESULT convertToSearchResultDTO(EntityResultSearch entityResultSearch);
      
          public DTO_SEARCH_RESULT convertToSearchResultDTO(EntityResultSearch entityResultSearch, boolean isAudit);
      
          public ENTITY convertToEntity(DTO dto, DataSession dataSession);
      
          public List<ENTITY> convertToListEntity(List<DTO> listDto, DataSession dataSession);
      
          public ENTITY_FILTER convertToEntityFilter(DTO_FILTER dto, DataSession dataSession);
      
          public EntitySearch convertToEntitySearch(DTO_SEARCH searchDTO, DataSession dataSession);
      }
      
      public abstract class AbstractConverterImpl<DTO extends RestDTO, DTO_FILTER extends RestFilterDTO,
              DTO_SEARCH extends SearchDTO, DTO_SEARCH_RESULT extends SearchResultDTO,
              ENTITY extends HibernateEntity, ENTITY_FILTER extends EntityFilter>
              implements AbstractConverter<DTO, DTO_FILTER, DTO_SEARCH, DTO_SEARCH_RESULT, ENTITY, ENTITY_FILTER>, ObjectLogger, Serializable {
      ..............
      }
      

      .

      public interface AtributoConverter extends AbstractConverter<AtributoDTO, AtributoFilterDTO,
              AtributoSearchDTO, AtributoSearchResultDTO,
              AtributoEntity, AtributoEntityFilter> {
      
      }
      
      @LoggerInterceptor
      class AtributoConverterImpl extends AbstractConverterImpl<AtributoDTO, AtributoFilterDTO,
              AtributoSearchDTO, AtributoSearchResultDTO,
              AtributoEntity, AtributoEntityFilter> implements AtributoConverter {
      
          private static final long serialVersionUID = 1L;
      
          private final Logger logger;
      
          @Inject
          public AtributoConverterImpl(Logger logger) {
              super(AtributoEntity.class, AtributoEntityFilter.class, AtributoDTO.class, AtributoSearchResultDTO.class);
              this.throwInjection(logger);
              this.logger = logger;
          }
          ...........
      }
      

      .

      @RequestScoped
      @FacadeType
      public class AtributoFacadeImpl extends ...... {
      
          private static final long serialVersionUID = 1L;
      
          @EJB
          private AtributoBusinessService atributoBusinessService;
      
          @Inject
          private AtributoConverter atributoConverter;
      
          @Inject
          private Logger logger;
      
          public AtributoFacadeImpl() {
              super();
          }
         ...................
      }
      

      Error Log:

      Unable to find source-code formatter for language: log. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      2017-12-14 18:03:55,260 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.1.Final
      2017-12-14 18:03:55,599 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1
      2017-12-14 18:03:55,763 INFO  [org.jboss.as] (MSC service thread 1-8) WFLYSRV0049: WildFly Full 11.0.0.Final (WildFly Core 3.0.8.Final) starting
      ..............................
      2017-12-14 18:03:57,237 INFO  [org.xnio] (MSC service thread 1-7) XNIO version 3.5.4.Final
      2017-12-14 18:03:57,245 INFO  [org.xnio.nio] (MSC service thread 1-7) XNIO NIO Implementation Version 3.5.4.Final
      2017-12-14 18:03:57,275 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 49) WFLYJSF0007: Activated the following JSF Implementations: [main]
      2017-12-14 18:03:57,281 INFO  [org.jboss.as.jaxrs] (ServerService Thread Pool -- 44) WFLYRS0016: RESTEasy version 3.1.4.Final
      2017-12-14 18:03:57,299 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 43) WFLYCLINF0001: Activating Infinispan subsystem.
      2017-12-14 18:03:57,312 INFO  [org.jboss.as.connector] (MSC service thread 1-2) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.6.Final)
      2017-12-14 18:03:57,347 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 37) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
      2017-12-14 18:03:57,350 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0018: Started Driver service with driver-name = h2
      2017-12-14 18:03:57,365 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 51) WFLYNAM0001: Activating Naming Subsystem
      2017-12-14 18:03:57,366 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 58) WFLYSEC0002: Activating Security Subsystem
      2017-12-14 18:03:57,375 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 61) WFLYWS0002: Activating WebServices Extension
      2017-12-14 18:03:57,394 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 37) WFLYJCA0005: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 42.1)
      2017-12-14 18:03:57,395 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) WFLYJCA0018: Started Driver service with driver-name = postgresql
      2017-12-14 18:03:57,423 INFO  [org.jboss.as.security] (MSC service thread 1-3) WFLYSEC0001: Current PicketBox version=5.0.2.Final
      2017-12-14 18:03:57,472 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0003: Undertow 1.4.18.Final starting
      2017-12-14 18:03:57,488 INFO  [org.jboss.as.naming] (MSC service thread 1-1) WFLYNAM0003: Starting Naming Service
      2017-12-14 18:03:57,494 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-1) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
      2017-12-14 18:03:57,703 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 60) WFLYUT0014: Creating file handler for path 'C:\wildfly\wildfly-11.0.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
      2017-12-14 18:03:57,772 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 42) WFLYIO001: Worker 'default' has auto-configured to 16 core threads with 128 task threads based on your 8 available processors
      2017-12-14 18:03:57,783 INFO  [org.jboss.as.ejb3] (MSC service thread 1-5) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 128 (per class), which is derived from thread worker pool sizing.
      2017-12-14 18:03:57,783 INFO  [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 32 (per class), which is derived from the number of CPUs on this host.
      2017-12-14 18:03:57,830 INFO  [org.jboss.remoting] (MSC service thread 1-7) JBoss Remoting version 5.0.5.Final
      2017-12-14 18:03:57,842 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0012: Started server default-server.
      2017-12-14 18:03:57,844 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0018: Host default-host starting
      2017-12-14 18:03:58,176 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080
      2017-12-14 18:03:58,205 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-5) WFLYDM0111: Keystore C:\wildfly\wildfly-11.0.0.Final\standalone\configuration\application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
      2017-12-14 18:03:58,205 INFO  [org.jboss.as.patching] (MSC service thread 1-4) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: wildfly-11-weld-2.4, wildfly-11.0.0.Final-hibernate-validator-6.0.6.Final
      2017-12-14 18:03:58,210 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) WFLYDS0013: Started FileSystemDeploymentService for directory C:\wildfly\wildfly-11.0.0.Final\standalone\deployments
      2017-12-14 18:03:58,240 INFO  [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0493: EJB subsystem suspension complete
      2017-12-14 18:03:58,357 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0001: Bound data source [java:jboss/datasources/xxxxxxxxxTimerServiceDS]
      2017-12-14 18:03:58,356 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) WFLYJCA0001: Bound data source [java:jboss/datasources/xxxxxxxxxBatchServiceDS]
      2017-12-14 18:03:58,365 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/xxxxxxxxxServiceDS]
      2017-12-14 18:03:58,365 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
      2017-12-14 18:03:58,607 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443
      2017-12-14 18:03:58,631 DEBUG [org.keycloak.adapters.authentication.ClientCredentialsProviderUtils] (MSC service thread 1-8) Using provider 'secret' for authentication of client 'xxxxxxxxx-api'
      2017-12-14 18:03:58,633 DEBUG [org.keycloak.adapters.authentication.ClientCredentialsProviderUtils] (MSC service thread 1-8) Loaded clientCredentialsProvider secret
      2017-12-14 18:03:58,634 DEBUG [org.keycloak.adapters.authentication.ClientCredentialsProviderUtils] (MSC service thread 1-8) Loaded clientCredentialsProvider jwt
      2017-12-14 18:03:58,641 DEBUG [org.keycloak.adapters.KeycloakDeployment] (MSC service thread 1-8) resolveUrls
      2017-12-14 18:03:58,643 DEBUG [org.keycloak.adapters.KeycloakDeploymentBuilder] (MSC service thread 1-8) Use authServerUrl: https://auth.xxxxxxxxx.com.br/auth, tokenUrl: https://auth.xxxxxxxxx.com.br/auth/realms/development/protocol/openid-connect/token, relativeUrls: NEVER
      2017-12-14 18:03:58,691 INFO  [org.jboss.ws.common.management] (MSC service thread 1-6) JBWS022052: Starting JBossWS 5.1.9.Final (Apache CXF 3.1.12) 
      2017-12-14 18:03:58,778 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
      2017-12-14 18:03:58,781 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
      2017-12-14 18:03:58,781 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
      2017-12-14 18:03:58,781 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 11.0.0.Final (WildFly Core 3.0.8.Final) started in 3900ms - Started 313 of 574 services (350 services are lazy, passive or on-demand)
      2017-12-14 18:03:59,578 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0027: Starting deployment of "xxxxxxxxx-service-0.16.9-SNAPSHOT" (runtime-name: "xxxxxxxxx-service-0.16.9-SNAPSHOT.war")
      2017-12-14 18:04:07,810 INFO  [org.jboss.as.jpa] (MSC service thread 1-3) WFLYJPA0002: Read persistence.xml for xxxxxxxxxServicePU
      2017-12-14 18:04:08,756 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 21) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'xxxxxxxxx-service-0.16.9-SNAPSHOT#xxxxxxxxxServicePU'
      2017-12-14 18:04:08,780 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 21) HHH000204: Processing PersistenceUnitInfo [
      	name: xxxxxxxxxServicePU
      	...]
      2017-12-14 18:04:08,879 INFO  [org.hibernate.Version] (ServerService Thread Pool -- 21) HHH000412: Hibernate Core {5.2.12.Final}
      2017-12-14 18:04:08,881 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 21) HHH000206: hibernate.properties not found
      2017-12-14 18:04:08,915 INFO  [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 21) HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
      2017-12-14 18:04:09,055 INFO  [org.jboss.keycloak] (MSC service thread 1-8) Keycloak subsystem override for deployment xxxxxxxxx-service-0.16.9-SNAPSHOT.war
      2017-12-14 18:04:09,058 INFO  [org.jboss.weld.deployer] (MSC service thread 1-8) WFLYWELD0003: Processing weld deployment xxxxxxxxx-service-0.16.9-SNAPSHOT.war
      2017-12-14 18:04:09,135 INFO  [org.hibernate.validator.internal.util.Version] (MSC service thread 1-8) HV000001: Hibernate Validator 6.0.6.Final
      
      .............................
      
      2017-12-14 18:04:09,546 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-7) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.8.Final
      2017-12-14 18:04:09,986 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 64) WFLYCLINF0002: Started client-mappings cache from ejb container
      2017-12-14 18:04:10,846 INFO  [org.jboss.weld.Version] (MSC service thread 1-2) WELD-000900: 2.4.6 (Final)
      2017-12-14 18:04:11,061 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 64) WFLYCLINF0002: Started default-server cache from web container
      2017-12-14 18:04:11,076 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 4) WFLYCLINF0002: Started xxxxxxxxx-service-0.16.9-SNAPSHOT.war cache from web container
      2017-12-14 18:04:13,115 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 21) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'xxxxxxxxx-service-0.16.9-SNAPSHOT#xxxxxxxxxServicePU'
      2017-12-14 18:04:13,202 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 21) HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL95Dialect
      2017-12-14 18:04:14,392 INFO  [org.hibernate.engine.jdbc.env.internal.LobCreatorBuilderImpl] (ServerService Thread Pool -- 21) HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
      2017-12-14 18:04:14,393 INFO  [org.hibernate.type.BasicTypeRegistry] (ServerService Thread Pool -- 21) HHH000270: Type registration [java.util.UUID] overrides previous : org.hibernate.type.UUIDBinaryType@7af4aabf
      2017-12-14 18:04:14,398 INFO  [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 21) Envers integration enabled? : true
      2017-12-14 18:04:16,922 INFO  [org.hibernate.search.engine.Version] (ServerService Thread Pool -- 21) HSEARCH000034: Hibernate Search 5.8.2.Final
      2017-12-14 18:04:33,146 WARN  [org.hibernate.search.elasticsearch.client.impl.ServerUris] (ServerService Thread Pool -- 21) HSEARCH400073: Hibernate Search will connect to Elasticsearch server with authentication over plain HTTP (not HTTPS). The password will be sent in clear text over the network.
      2017-12-14 18:04:33,313 DEBUG [org.hibernate.search.elasticsearch.request] (Hibernate Search: Elasticsearch transport thread-2) HSEARCH400082: Executed Elasticsearch HTTP GET request to path '' with query parameters {} in 30ms. Response had status 200 'OK'.
      2017-12-14 18:04:33,390 WARN  [org.hibernate.search.analyzer.impl.LuceneEmbeddedAnalyzerStrategy] (ServerService Thread Pool -- 21) HSEARCH000075: Configuration setting hibernate.search.lucene_version was not specified: using LUCENE_CURRENT.
      2017-12-14 18:04:33,490 DEBUG [org.hibernate.search.elasticsearch.request] (Hibernate Search: Elasticsearch transport thread-2) HSEARCH400082: Executed Elasticsearch HTTP HEAD request to path '/xxxxxxxxx-erp-v1' with query parameters {} in 2ms. Response had status 200 'OK'.
      2017-12-14 18:04:33,496 DEBUG [org.hibernate.search.elasticsearch.request] (Hibernate Search: Elasticsearch transport thread-2) HSEARCH400082: Executed Elasticsearch HTTP GET request to path '/_cluster/health/xxxxxxxxx-erp-v1' with query parameters {wait_for_status=yellow, timeout=10000ms} in 1ms. Response had status 200 'OK'.
      2017-12-14 18:04:33,514 DEBUG [org.hibernate.search.elasticsearch.request] (Hibernate Search: Elasticsearch transport thread-2) HSEARCH400082: Executed Elasticsearch HTTP GET request to path '/xxxxxxxxx-erp-v1/_mapping' with query parameters {} in 14ms. Response had status 200 'OK'.
      2017-12-14 18:04:33,544 DEBUG [org.hibernate.search.elasticsearch.request] (Hibernate Search: Elasticsearch transport thread-2) HSEARCH400082: Executed Elasticsearch HTTP GET request to path '/xxxxxxxxx-erp-v1/_settings' with query parameters {} in 13ms. Response had status 200 'OK'.
      2017-12-14 18:04:33,593 DEBUG [org.hibernate.search.elasticsearch.request] (Hibernate Search: Elasticsearch transport thread-2) HSEARCH400082: Executed Elasticsearch HTTP PUT request to path '/xxxxxxxxx-erp-v1/br.com.xxxxxxxxx.repositories.relational.model.entities.skudata.SkuDataEntity/_mapping' with query parameters {} in 18ms. Response had status 200 'OK'.
      2017-12-14 18:04:35,996 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.deployment.unit."xxxxxxxxx-service-0.16.9-SNAPSHOT.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."xxxxxxxxx-service-0.16.9-SNAPSHOT.war".WeldStartService: Failed to start service
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: org.jboss.weld.exceptions.WeldException: WELD-001524: Unable to load proxy class for bean Managed Bean [class br.com.xxxxxxxxx.facades.converter.atributoproduto.AtributoProdutoConverterImpl] with qualifiers [@Any @Default] with class class br.com.xxxxxxxxx.facades.converter.atributoproduto.AtributoProdutoConverterImpl using classloader ModuleClassLoader for Module "deployment.xxxxxxxxx-service-0.16.9-SNAPSHOT.war" from Service Module Loader
      	at org.jboss.weld.bean.proxy.ProxyFactory.getProxyClass(ProxyFactory.java:388)
      	at org.jboss.weld.injection.producer.SubclassedComponentInstantiator.createEnhancedSubclass(SubclassedComponentInstantiator.java:114)
      	at org.jboss.weld.injection.producer.SubclassedComponentInstantiator.initEnhancedSubclass(SubclassedComponentInstantiator.java:86)
      	at org.jboss.weld.injection.producer.SubclassedComponentInstantiator.<init>(SubclassedComponentInstantiator.java:79)
      	at org.jboss.weld.injection.producer.SubclassedComponentInstantiator.forInterceptedDecoratedBean(SubclassedComponentInstantiator.java:63)
      	at org.jboss.weld.injection.producer.BeanInjectionTarget.initializeAfterBeanDiscovery(BeanInjectionTarget.java:121)
      	at org.jboss.weld.injection.producer.InjectionTargetInitializationContext.initialize(InjectionTargetInitializationContext.java:42)
      	at org.jboss.weld.injection.producer.InjectionTargetService.initialize(InjectionTargetService.java:63)
      	at org.jboss.weld.bootstrap.WeldStartup.deployBeans(WeldStartup.java:463)
      	at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:83)
      	at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:95)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
      	... 3 more
      Caused by: org.jboss.weld.exceptions.WeldException
      	at org.jboss.weld.bean.proxy.InterceptedSubclassFactory.addMethodsFromClass(InterceptedSubclassFactory.java:227)
      	at org.jboss.weld.bean.proxy.InterceptedSubclassFactory.addMethods(InterceptedSubclassFactory.java:115)
      	at org.jboss.weld.bean.proxy.ProxyFactory.createProxyClass(ProxyFactory.java:477)
      	at org.jboss.weld.bean.proxy.ProxyFactory.getProxyClass(ProxyFactory.java:380)
      	... 15 more
      Caused by: java.lang.NullPointerException
      	at org.jboss.weld.bean.proxy.InterceptedSubclassFactory.createDelegateToSuper(InterceptedSubclassFactory.java:272)
      	at org.jboss.weld.bean.proxy.InterceptedSubclassFactory.createDelegateToSuper(InterceptedSubclassFactory.java:266)
      	at org.jboss.weld.bean.proxy.InterceptedSubclassFactory.createDelegateMethod(InterceptedSubclassFactory.java:451)
      	at org.jboss.weld.bean.proxy.InterceptedSubclassFactory.addMethodsFromClass(InterceptedSubclassFactory.java:144)
      	... 18 more
      
      2017-12-14 18:04:36,008 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "xxxxxxxxx-service-0.16.9-SNAPSHOT")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"xxxxxxxxx-service-0.16.9-SNAPSHOT.war\".WeldStartService" => "Failed to start service
          Caused by: org.jboss.weld.exceptions.WeldException: WELD-001524: Unable to load proxy class for bean Managed Bean [class br.com.xxxxxxxxx.facades.converter.atributoproduto.AtributoProdutoConverterImpl] with qualifiers [@Any @Default] with class class br.com.xxxxxxxxx.facades.converter.atributoproduto.AtributoProdutoConverterImpl using classloader ModuleClassLoader for Module \"deployment.xxxxxxxxx-service-0.16.9-SNAPSHOT.war\" from Service Module Loader
          Caused by: org.jboss.weld.exceptions.WeldException
          Caused by: java.lang.NullPointerException"}}
      2017-12-14 18:04:36,010 ERROR [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0021: Deploy of deployment "xxxxxxxxx-service-0.16.9-SNAPSHOT.war" was rolled back with the following failure message: 
      {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"xxxxxxxxx-service-0.16.9-SNAPSHOT.war\".WeldStartService" => "Failed to start service
          Caused by: org.jboss.weld.exceptions.WeldException: WELD-001524: Unable to load proxy class for bean Managed Bean [class br.com.xxxxxxxxx.facades.converter.atributoproduto.AtributoProdutoConverterImpl] with qualifiers [@Any @Default] with class class br.com.xxxxxxxxx.facades.converter.atributoproduto.AtributoProdutoConverterImpl using classloader ModuleClassLoader for Module \"deployment.xxxxxxxxx-service-0.16.9-SNAPSHOT.war\" from Service Module Loader
          Caused by: org.jboss.weld.exceptions.WeldException
          Caused by: java.lang.NullPointerException"}}
      2017-12-14 18:04:36,019 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 21) WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service 'xxxxxxxxx-service-0.16.9-SNAPSHOT#xxxxxxxxxServicePU'
      2017-12-14 18:04:36,038 INFO  [org.infinispan.eviction.impl.PassivationManagerImpl] (ServerService Thread Pool -- 67) ISPN000029: Passivating all entries to disk
      2017-12-14 18:04:36,039 INFO  [org.infinispan.eviction.impl.PassivationManagerImpl] (ServerService Thread Pool -- 67) ISPN000030: Passivated 0 entries in 1 milliseconds
      2017-12-14 18:04:36,044 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 67) WFLYCLINF0003: Stopped xxxxxxxxx-service-0.16.9-SNAPSHOT.war cache from web container
      2017-12-14 18:04:36,052 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 21) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service 'xxxxxxxxx-service-0.16.9-SNAPSHOT#xxxxxxxxxServicePU'
      2017-12-14 18:04:36,113 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 67) WFLYCLINF0003: Stopped default-server cache from web container
      2017-12-14 18:04:36,944 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0028: Stopped deployment xxxxxxxxx-service-0.16.9-SNAPSHOT (runtime-name: xxxxxxxxx-service-0.16.9-SNAPSHOT.war) in 933ms
      
      Unable to find source-code formatter for language: log. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      2017-12-14 18:04:35,996 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.deployment.unit."xxxxxxxxx-service-0.16.9-SNAPSHOT.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."xxxxxxxxx-service-0.16.9-SNAPSHOT.war".WeldStartService: Failed to start service
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: org.jboss.weld.exceptions.WeldException: WELD-001524: Unable to load proxy class for bean Managed Bean [class br.com.xxxxxxxxx.facades.converter.atributoproduto.AtributoProdutoConverterImpl] with qualifiers [@Any @Default] with class class br.com.xxxxxxxxx.facades.converter.atributoproduto.AtributoProdutoConverterImpl using classloader ModuleClassLoader for Module "deployment.xxxxxxxxx-service-0.16.9-SNAPSHOT.war" from Service Module Loader
      	at org.jboss.weld.bean.proxy.ProxyFactory.getProxyClass(ProxyFactory.java:388)
      	at org.jboss.weld.injection.producer.SubclassedComponentInstantiator.createEnhancedSubclass(SubclassedComponentInstantiator.java:114)
      	at org.jboss.weld.injection.producer.SubclassedComponentInstantiator.initEnhancedSubclass(SubclassedComponentInstantiator.java:86)
      	at org.jboss.weld.injection.producer.SubclassedComponentInstantiator.<init>(SubclassedComponentInstantiator.java:79)
      	at org.jboss.weld.injection.producer.SubclassedComponentInstantiator.forInterceptedDecoratedBean(SubclassedComponentInstantiator.java:63)
      	at org.jboss.weld.injection.producer.BeanInjectionTarget.initializeAfterBeanDiscovery(BeanInjectionTarget.java:121)
      	at org.jboss.weld.injection.producer.InjectionTargetInitializationContext.initialize(InjectionTargetInitializationContext.java:42)
      	at org.jboss.weld.injection.producer.InjectionTargetService.initialize(InjectionTargetService.java:63)
      	at org.jboss.weld.bootstrap.WeldStartup.deployBeans(WeldStartup.java:463)
      	at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:83)
      	at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:95)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
      	... 3 more
      Caused by: org.jboss.weld.exceptions.WeldException
      	at org.jboss.weld.bean.proxy.InterceptedSubclassFactory.addMethodsFromClass(InterceptedSubclassFactory.java:227)
      	at org.jboss.weld.bean.proxy.InterceptedSubclassFactory.addMethods(InterceptedSubclassFactory.java:115)
      	at org.jboss.weld.bean.proxy.ProxyFactory.createProxyClass(ProxyFactory.java:477)
      	at org.jboss.weld.bean.proxy.ProxyFactory.getProxyClass(ProxyFactory.java:380)
      	... 15 more
      Caused by: java.lang.NullPointerException
      	at org.jboss.weld.bean.proxy.InterceptedSubclassFactory.createDelegateToSuper(InterceptedSubclassFactory.java:272)
      	at org.jboss.weld.bean.proxy.InterceptedSubclassFactory.createDelegateToSuper(InterceptedSubclassFactory.java:266)
      	at org.jboss.weld.bean.proxy.InterceptedSubclassFactory.createDelegateMethod(InterceptedSubclassFactory.java:451)
      	at org.jboss.weld.bean.proxy.InterceptedSubclassFactory.addMethodsFromClass(InterceptedSubclassFactory.java:144)
      	... 18 more
      

      Thank you

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              leandro.freitas Leandro Kersting de Freitas (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: