AnsweredAssumed Answered

Error while deploying Blaze application on JDK 1.8

Question asked by vivek.shukla@asurion.com on May 30, 2018
Latest reply on Jun 1, 2018 by karenyue@fairisaac.com

I am trying to deploy Blaze 7.1 on JBoss 6.4 and JDK 1.8

After Application EAR deployment , I am getting following error -

 

 

09:48:31,629 ERROR [stderr] (Exception Multicaster Thread0) com.blazesoft.server.base.NdServiceException: Service 'AssemblerService'. Server 'AssemblerService' on host 'LNPNPRBBIVR001V.int.asurion.com'.

09:48:31,629 ERROR [stderr] (Exception Multicaster Thread0) There was 1 exception while initializing the Java class provider resource.

09:48:31,630 ERROR [stderr] (Exception Multicaster Thread0) java.lang.IllegalArgumentException: The method 'static IntStream concat(IntStream, IntStream)' cannot be declared by the interface 'IntStream' because it is static.

09:48:31,631 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHBmHS(:2269)

09:48:31,631 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHBmGR(:2238)

09:48:31,631 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHBnjT(:4157)

09:48:31,631 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHBniS(:4113)

09:48:31,632 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHBneO(:3937)

09:48:31,632 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHZMlY(:1357)

09:48:31,632 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.<init>(:7485)

09:48:31,632 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHZMmA(:7180)

09:48:31,633 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHWHoM(:7220)

09:48:31,633 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHBnIR(:7105)

09:48:31,633 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHJssO(:7406)

09:48:31,633 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHBnKT(:7287)

09:48:31,634 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHBmoS(:516)

09:48:31,634 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHBnyH(:6752)

09:48:31,634 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHBmoS(:600)

09:48:31,634 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHBnyH(:6752)

09:48:31,635 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHBmoS(:540)

09:48:31,635 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHBnyH(:6752)

09:48:31,635 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHBmoS(:540)

09:48:31,636 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHBnyH(:6752)

09:48:31,636 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHBmoS(:600)

09:48:31,636 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHBnyH(:6752)

09:48:31,636 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHBmoS(:600)

09:48:31,637 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHBnyH(:6752)

09:48:31,637 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHBmoS(:540)

09:48:31,637 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHBnyH(:6752)

09:48:31,637 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClass.WjHBnNW(:7599)

09:48:31,638 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClassProvider.WjHGWmI(:320)

09:48:31,638 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClassProvider.addSystemClass(:1169)

09:48:31,638 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClassProvider.addSystemClass(:1131)

09:48:31,645 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdDefJavaClassProviderResource$WjHBxqR.addSystemClass(:1413)

09:48:31,645 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdAdvisorExternalJavaClassProvider.addSystemClass(:1222)

09:48:31,645 ERROR [stderr] (Exception Multicaster Thread0)    at com.blazesoft.engines.rules.java.NdDefJavaClassProviderResource.WjHANkD(:727)

ewInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.8.0_161]

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [rt.jar:1.8.0_161]

        at com.blazesoft.objects.ejb.NdEJBLib.newEJBSystemException(:442) [AdvCommon.jar:]

        at com.blazesoft.server.deploy.ejb.session.NdStatelessEjbServerBeanBase.invokeService(:204) [AdvisorSvr.jar:]

        at com.blazesoft.server.deploy.ejb.session.NdStatelessEjb3ServerBean.invokeService(:134) [AdvisorSvr.jar:]

        at qdassemblerservice.AssemblerServiceBean.asyncInvokeAssemblerService(AssemblerServiceBean.java:28) [IVRBBASSEMBLER.jar:]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_161]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_161]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_161]

        at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_161]

        at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) [jboss-as-ee.jar:7.5.19.Final-redhat

 

 

I believe i am getting this error because of IntStream interface implementation in JDK 1.8.

 

Blaze implementation -

Class - NdAdvisorExternalJavaClass

Method - WjHBmHS

Code block-

 

{

    NdExternalMethod[] arrayOfNdExternalMethod = WjHBmAL();

    if ((paramNdExternalMethod.isStatic() == true) && (paramNdExternalMethod.getDeclaringClass().isInterface() == true)) {

      throw new IllegalArgumentException(NdStrings.WjHCbUC("MethodsOfInterfacesCannotBeStatic", WjHBZPL.WjHBZLW(paramNdExternalMethod), paramNdExternalMethod.getDeclaringClass().getName()));

    }

Outcomes