g.mahdduh5 Posted July 17, 2020 Share Posted July 17, 2020 [java] Resource name: applicationContext-themes-pro.xml [java] Resource name: applicationContext-virtual-data-source.xml [java] Resource name: applicationContext-virtual-data-source-query-service.xml [java] WARNING: An illegal reflective access operation has occurred [java] WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:jasperreports-server-pro-7.1.1-bin/buildomatic/conf_source/iePro/lib/groovy-all-2.4.5.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int) [java] WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1 [java] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations [java] WARNING: All illegal access operations will be denied in a future release [java] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'errorPageHandlerAction' defined in file [jasperreports-server-pro-7.1.1-bin/buildomatic/conf_source/iePro/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanInitializationException: Initialization of this Action failed: errorDescriptorFactory must not be null.; nested exception is java.lang.IllegalArgumentException: errorDescriptorFactory must not be null. [java] -- JasperServer: TeiidCache preparedplan shutdown called. This normal shutdown operation. [java] -- JasperServer: TeiidCache resultset-repl shutdown called. This normal shutdown operation. [java] -- JasperServer: TeiidCache resultset shutdown called. This normal shutdown operation. [java] -- JasperServer: ProfileAttributeCacheImpl shutdown called. This normal shutdown operation. [java] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'errorPageHandlerAction' defined in file [jasperreports-server-pro-7.1.1-bin/buildomatic/conf_source/iePro/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanInitializationException: Initialization of this Action failed: errorDescriptorFactory must not be null.; nested exception is java.lang.IllegalArgumentException: errorDescriptorFactory must not be null. [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1514) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [java] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) [java] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:638) [java] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) [java] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) [java] at com.jaspersoft.jasperserver.export.BaseExportImportCommand.createSpringContext(BaseExportImportCommand.java:126) [java] at com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(BaseExportImportCommand.java:79) [java] at com.jaspersoft.jasperserver.export.ImportCommand.main(ImportCommand.java:40) [java] Caused by: org.springframework.beans.factory.BeanInitializationException: Initialization of this Action failed: errorDescriptorFactory must not be null.; nested exception is java.lang.IllegalArgumentException: errorDescriptorFactory must not be null. [java] at org.springframework.webflow.action.AbstractAction.afterPropertiesSet(AbstractAction.java:59) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1573) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511) [java] ... 12 more [java] Caused by: java.lang.IllegalArgumentException: errorDescriptorFactory must not be null. [java] at org.springframework.util.Assert.notNull(Assert.java:112) [java] at com.jaspersoft.jasperserver.war.action.ErrorPageHandlerAction.initAction(ErrorPageHandlerAction.java:67) [java] at org.springframework.webflow.action.AbstractAction.afterPropertiesSet(AbstractAction.java:57) [java] ... 14 more BUILD FAILEDjasperreports-server-pro-7.1.1-bin/buildomatic/bin/db-common.xml:1351: The following error occurred while executing this line:jasperreports-server-pro-7.1.1-bin/buildomatic/bin/import-export.xml:312: The following error occurred while executing this line:jasperreports-server-pro-7.1.1-bin/buildomatic/bin/import-export.xml:196: Java returned: 255 Total time: 58 secondsChecking Ant return code: OK Below is our infrastructure details:1. JBoss EAP 7.2.8.GA (WildFly Core 6.0.27.Final-redhat-00001)2. jasperreports-server-pro-7.1.1-bin3. java-1.8.0-openjdk-1.8.0.252.b09-2.el7_8.x86_64Please let me know if there is any problem with jboss version? Link to comment Share on other sites More sharing options...
gdmoreno Posted July 21, 2020 Share Posted July 21, 2020 Hi,Installing JRS on JBoss is usually tricky ... did you manage to get past this problem? It usually requires a lot of troubleshooting to do it (it's much simpler on Tomcat). Contact me if you have questions.Gonzalo Link to comment Share on other sites More sharing options...
jose_galvez Posted April 7, 2022 Share Posted April 7, 2022 Hi,For those facing this issue: I got the same error because of Java 11, when I moved to Java 8, that error did not occur.Jose Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now