[
https://issues.jboss.org/browse/JBRULES-2952?page=com.atlassian.jira.plug...
]
Mark Proctor resolved JBRULES-2952.
-----------------------------------
Resolution: Out of Date
This has already been fixed in trunk
JavaParser fails with JDK 1.5
-----------------------------
Key: JBRULES-2952
URL:
https://issues.jboss.org/browse/JBRULES-2952
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-compiler
Reporter: bodi bajk
Assignee: Mark Proctor
Priority: Blocker
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'knowledgeBase': Invocation of init method failed; nested exception is
java.lang.NoSuchMethodError: java.util.LinkedList.peekLast()Ljava/lang/Object;
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
... 57 more
Caused by: java.lang.NoSuchMethodError:
java.util.LinkedList.peekLast()Ljava/lang/Object;
at
org.drools.rule.builder.dialect.java.parser.JavaParser.addBlockDescr(JavaParser.java:249)
at
org.drools.rule.builder.dialect.java.parser.JavaParser.pushContainerBlockDescr(JavaParser.java:254)
at
org.drools.rule.builder.dialect.java.parser.JavaParser.ifStatement(JavaParser.java:6263)
at
org.drools.rule.builder.dialect.java.parser.JavaParser.statement(JavaParser.java:5918)
at
org.drools.rule.builder.dialect.java.parser.JavaParser.blockStatement(JavaParser.java:5733)
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira