[JBoss JIRA] (DROOLS-2654) [DMN Designer] Automatically show (Name) edit control when adding new ContextEntries
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2654?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-2654:
--------------------------------
Description:
When a new {{ContextEntry}} is added the User must double click on the {{Name}} cell to change the default value.
[~tari_manga] suggested it would be good if the {{Name}} editor was automatically shown and focused when the User creates a new {{ContextEntry}}.
h3. Manual Acceptance test
For each column/row agreed in comments that should support this feature:
- Append row/column, fill name, save reopen, check value stored (/)
- Try undo/redo after appending row/column (x)
- Add multiple items in row, check always the last is edited (/)
was:
When a new {{ContextEntry}} is added the User must double click on the {{Name}} cell to change the default value.
[~tari_manga] suggested it would be good if the {{Name}} editor was automatically shown and focused when the User creates a new {{ContextEntry}}.
h3. Manual Acceptance test
For each column/row agreed in comments that should support this feature:
- Append row/column, fill name, save reopen, check value stored (/)
- Append such row/column that could affect name in DRG, fill name, check DRG and rename there, check expression editor again
- Try undo/redo after appending row/column (x)
- Add multiple items in row, check always the last is edited
> [DMN Designer] Automatically show (Name) edit control when adding new ContextEntries
> ------------------------------------------------------------------------------------
>
> Key: DROOLS-2654
> URL: https://issues.jboss.org/browse/DROOLS-2654
> Project: Drools
> Issue Type: Enhancement
> Components: DMN Editor
> Affects Versions: 7.8.0.Final
> Reporter: Michael Anstis
> Assignee: Michael Anstis
> Labels: UX, UXTeam
>
> When a new {{ContextEntry}} is added the User must double click on the {{Name}} cell to change the default value.
> [~tari_manga] suggested it would be good if the {{Name}} editor was automatically shown and focused when the User creates a new {{ContextEntry}}.
> h3. Manual Acceptance test
> For each column/row agreed in comments that should support this feature:
> - Append row/column, fill name, save reopen, check value stored (/)
> - Try undo/redo after appending row/column (x)
> - Add multiple items in row, check always the last is edited (/)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-2654) [DMN Designer] Automatically show (Name) edit control when adding new ContextEntries
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2654?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-2654:
--------------------------------
Description:
When a new {{ContextEntry}} is added the User must double click on the {{Name}} cell to change the default value.
[~tari_manga] suggested it would be good if the {{Name}} editor was automatically shown and focused when the User creates a new {{ContextEntry}}.
h3. Manual Acceptance test
For each column/row agreed in comments that should support this feature:
- Append row/column, fill name, save reopen, check value stored (/)
- Append such row/column that could affect name in DRG, fill name, check DRG and rename there, check expression editor again
- Try undo/redo after appending row/column (x)
- Add multiple items in row, check always the last is edited
was:
When a new {{ContextEntry}} is added the User must double click on the {{Name}} cell to change the default value.
[~tari_manga] suggested it would be good if the {{Name}} editor was automatically shown and focused when the User creates a new {{ContextEntry}}.
h3. Manual Acceptance test
For each column/row agreed in comments that should support this feature:
- Append row/column, fill name, save reopen, check value stored
- Append such row/column that could affect name in DRG, fill name, check DRG and rename there, check expression editor again
- Try undo/redo after appending row/column (x)
- Add multiple items in row, check always the last is edited
> [DMN Designer] Automatically show (Name) edit control when adding new ContextEntries
> ------------------------------------------------------------------------------------
>
> Key: DROOLS-2654
> URL: https://issues.jboss.org/browse/DROOLS-2654
> Project: Drools
> Issue Type: Enhancement
> Components: DMN Editor
> Affects Versions: 7.8.0.Final
> Reporter: Michael Anstis
> Assignee: Michael Anstis
> Labels: UX, UXTeam
>
> When a new {{ContextEntry}} is added the User must double click on the {{Name}} cell to change the default value.
> [~tari_manga] suggested it would be good if the {{Name}} editor was automatically shown and focused when the User creates a new {{ContextEntry}}.
> h3. Manual Acceptance test
> For each column/row agreed in comments that should support this feature:
> - Append row/column, fill name, save reopen, check value stored (/)
> - Append such row/column that could affect name in DRG, fill name, check DRG and rename there, check expression editor again
> - Try undo/redo after appending row/column (x)
> - Add multiple items in row, check always the last is edited
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (WFLY-10184) HibernateValidatorPermission is missing for several tests
by Martin Stefanko (JIRA)
[ https://issues.jboss.org/browse/WFLY-10184?page=com.atlassian.jira.plugin... ]
Martin Stefanko reopened WFLY-10184:
------------------------------------
Assignee: Martin Stefanko
> HibernateValidatorPermission is missing for several tests
> ---------------------------------------------------------
>
> Key: WFLY-10184
> URL: https://issues.jboss.org/browse/WFLY-10184
> Project: WildFly
> Issue Type: Bug
> Components: Bean Validation
> Reporter: David Lloyd
> Assignee: Martin Stefanko
> Labels: security-manager
>
> Several tests fail with security manager because of missing permission {{"("org.hibernate.validator.HibernateValidatorPermission" "accessPrivateMembers")"}}:
> Tests:
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.BootStrapValidationTestCase#testCustomConstraintValidatorFactory}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.BootStrapValidationTestCase#testSafeHTML}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.ConstraintValidationTestCase#testConstraintValidation}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.ConstraintValidationTestCase#testObjectGraphValidation}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.ExpressionLanguageTestCase#testValidationUsingExpressionLanguage}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.GroupandGroupSequenceValidationTestCase#testGroupValidation}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.MessageInterpolationValidationTestCase#testCustomMessageInterpolation}}
> * {{org.jboss.as.test.integration.jca.beanvalidation.PositiveValidationTestCase#testRegistryConfiguration}}
> * {{org.jboss.as.test.integration.jpa.beanvalidation.beanvalidationinheritancetest.BeanValidationJPAInheritanceTestCase#testConstraintValidationforJPA}}
> * {{org.jboss.as.test.integration.jpa.beanvalidation.beanvalidationtest.JPABeanValidationTestCase#testFailingBeanValidationNullAddress}}
> * {{org.jboss.as.test.integration.jpa.beanvalidation.beanvalidationtest.JPABeanValidationTestCase#testSuccessfulBeanValidation}}
> * {{org.jboss.as.test.integration.jpa.beanvalidation.cdi.BeanValidationCdiIntegrationTestCase#testFailingBeanValidation}}
> * {{org.jboss.as.test.integration.jpa.beanvalidation.cdi.BeanValidationCdiIntegrationTestCase#testSuccessfulBeanValidation}}
> * {{org.jboss.as.test.integration.weld.beanvalidation.BeanValidationIntegrationTestCase#testInjectedValidatorFactoryIsCdiEnabled}}
> * {{org.jboss.as.test.integration.weld.beanvalidation.BeanValidationIntegrationTestCase#testJndiBoundValidatorFactoryIsCdiEnabled}}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (WFLY-10184) HibernateValidatorPermission is missing for several tests
by Martin Stefanko (JIRA)
[ https://issues.jboss.org/browse/WFLY-10184?page=com.atlassian.jira.plugin... ]
Martin Stefanko updated WFLY-10184:
-----------------------------------
Comment: was deleted
(was: A comment with security level 'Red Hat Employee' was removed.)
> HibernateValidatorPermission is missing for several tests
> ---------------------------------------------------------
>
> Key: WFLY-10184
> URL: https://issues.jboss.org/browse/WFLY-10184
> Project: WildFly
> Issue Type: Bug
> Components: Bean Validation
> Reporter: David Lloyd
> Labels: security-manager
>
> Several tests fail with security manager because of missing permission {{"("org.hibernate.validator.HibernateValidatorPermission" "accessPrivateMembers")"}}:
> Tests:
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.BootStrapValidationTestCase#testCustomConstraintValidatorFactory}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.BootStrapValidationTestCase#testSafeHTML}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.ConstraintValidationTestCase#testConstraintValidation}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.ConstraintValidationTestCase#testObjectGraphValidation}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.ExpressionLanguageTestCase#testValidationUsingExpressionLanguage}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.GroupandGroupSequenceValidationTestCase#testGroupValidation}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.MessageInterpolationValidationTestCase#testCustomMessageInterpolation}}
> * {{org.jboss.as.test.integration.jca.beanvalidation.PositiveValidationTestCase#testRegistryConfiguration}}
> * {{org.jboss.as.test.integration.jpa.beanvalidation.beanvalidationinheritancetest.BeanValidationJPAInheritanceTestCase#testConstraintValidationforJPA}}
> * {{org.jboss.as.test.integration.jpa.beanvalidation.beanvalidationtest.JPABeanValidationTestCase#testFailingBeanValidationNullAddress}}
> * {{org.jboss.as.test.integration.jpa.beanvalidation.beanvalidationtest.JPABeanValidationTestCase#testSuccessfulBeanValidation}}
> * {{org.jboss.as.test.integration.jpa.beanvalidation.cdi.BeanValidationCdiIntegrationTestCase#testFailingBeanValidation}}
> * {{org.jboss.as.test.integration.jpa.beanvalidation.cdi.BeanValidationCdiIntegrationTestCase#testSuccessfulBeanValidation}}
> * {{org.jboss.as.test.integration.weld.beanvalidation.BeanValidationIntegrationTestCase#testInjectedValidatorFactoryIsCdiEnabled}}
> * {{org.jboss.as.test.integration.weld.beanvalidation.BeanValidationIntegrationTestCase#testJndiBoundValidatorFactoryIsCdiEnabled}}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (WFLY-10184) BeanValidationEE8TestCase fails with security manager
by Martin Stefanko (JIRA)
[ https://issues.jboss.org/browse/WFLY-10184?page=com.atlassian.jira.plugin... ]
Martin Stefanko updated WFLY-10184:
-----------------------------------
Description:
Several tests fail with security manager because of missing permission {{"("org.hibernate.validator.HibernateValidatorPermission" "accessPrivateMembers")"}}:
Tests:
* {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.BootStrapValidationTestCase#testCustomConstraintValidatorFactory}}
* {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.BootStrapValidationTestCase#testSafeHTML}}
* {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.ConstraintValidationTestCase#testConstraintValidation}}
* {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.ConstraintValidationTestCase#testObjectGraphValidation}}
* {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.ExpressionLanguageTestCase#testValidationUsingExpressionLanguage}}
* {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.GroupandGroupSequenceValidationTestCase#testGroupValidation}}
* {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.MessageInterpolationValidationTestCase#testCustomMessageInterpolation}}
* {{org.jboss.as.test.integration.jca.beanvalidation.PositiveValidationTestCase#testRegistryConfiguration}}
* {{org.jboss.as.test.integration.jpa.beanvalidation.beanvalidationinheritancetest.BeanValidationJPAInheritanceTestCase#testConstraintValidationforJPA}}
* {{org.jboss.as.test.integration.jpa.beanvalidation.beanvalidationtest.JPABeanValidationTestCase#testFailingBeanValidationNullAddress}}
* {{org.jboss.as.test.integration.jpa.beanvalidation.beanvalidationtest.JPABeanValidationTestCase#testSuccessfulBeanValidation}}
* {{org.jboss.as.test.integration.jpa.beanvalidation.cdi.BeanValidationCdiIntegrationTestCase#testFailingBeanValidation}}
* {{org.jboss.as.test.integration.jpa.beanvalidation.cdi.BeanValidationCdiIntegrationTestCase#testSuccessfulBeanValidation}}
* {{org.jboss.as.test.integration.weld.beanvalidation.BeanValidationIntegrationTestCase#testInjectedValidatorFactoryIsCdiEnabled}}
* {{org.jboss.as.test.integration.weld.beanvalidation.BeanValidationIntegrationTestCase#testJndiBoundValidatorFactoryIsCdiEnabled}}
was:
The test method fail with a stack like this:
{noformat}
java.security.AccessControlException: WFSM000001: Permission check failed (permission "("org.hibernate.validator.HibernateValidatorPermission" "accessPrivateMembers")" in code source "(vfs:/content/beanvalidation-ee8-test-case.war/WEB-INF/classes <no signer certificates>)" of "ModuleClassLoader for Module "deployment.beanvalidation-ee8-test-case.war" from Service Module Loader")
at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:295)
at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:192)
at org.hibernate.validator.internal.metadata.location.FieldConstraintLocation.getAccessible(FieldConstraintLocation.java:129)
at org.hibernate.validator.internal.metadata.location.FieldConstraintLocation.<init>(FieldConstraintLocation.java:50)
at org.hibernate.validator.internal.metadata.location.ConstraintLocation.forField(ConstraintLocation.java:43)
at org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.convertToMetaConstraints(AnnotationMetaDataProvider.java:255)
at org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.findPropertyMetaData(AnnotationMetaDataProvider.java:231)
at org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.getFieldMetaData(AnnotationMetaDataProvider.java:225)
at org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.retrieveBeanConfiguration(AnnotationMetaDataProvider.java:133)
at org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.getBeanConfiguration(AnnotationMetaDataProvider.java:124)
at org.hibernate.validator.internal.metadata.BeanMetaDataManager.getBeanConfigurationForHierarchy(BeanMetaDataManager.java:220)
at org.hibernate.validator.internal.metadata.BeanMetaDataManager.createBeanMetaData(BeanMetaDataManager.java:187)
at org.hibernate.validator.internal.metadata.BeanMetaDataManager.lambda$getBeanMetaData$0(BeanMetaDataManager.java:160)
at java.util.concurrent.ConcurrentMap.computeIfAbsent(ConcurrentMap.java:324)
at org.hibernate.validator.internal.metadata.BeanMetaDataManager.getBeanMetaData(BeanMetaDataManager.java:159)
at org.hibernate.validator.internal.engine.ValidationContext$ValidationContextBuilder.forValidate(ValidationContext.java:566)
at org.hibernate.validator.internal.engine.ValidatorImpl.validate(ValidatorImpl.java:155)
at org.wildfly.test.integration.ee8.temp.BeanValidationEE8TestCase.testValueExtractor(BeanValidationEE8TestCase.java:81)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:379)
at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85)
at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130)
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92)
at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92)
at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143)
at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136)
at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:372)
at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:246)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431)
at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55)
at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:260)
at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:324)
at org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:35)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85)
at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130)
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92)
at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92)
at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)
at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159)
at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:317)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:205)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431)
at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55)
at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:219)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:167)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:66)
at org.jboss.arquillian.protocol.jmx.JMXTestRunner.doRunTestMethod(JMXTestRunner.java:180)
at org.jboss.as.arquillian.service.ArquillianService$ExtendedJMXTestRunner.doRunTestMethod(ArquillianService.java:200)
at org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethodInternal(JMXTestRunner.java:162)
at org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethod(JMXTestRunner.java:141)
at org.jboss.as.arquillian.service.ArquillianService$ExtendedJMXTestRunner.runTestMethod(ArquillianService.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.invoke(PluggableMBeanServerImpl.java:1475)
at org.jboss.as.jmx.PluggableMBeanServerImpl.invoke(PluggableMBeanServerImpl.java:724)
at org.jboss.as.jmx.BlockingNotificationMBeanServer.invoke(BlockingNotificationMBeanServer.java:168)
at org.jboss.as.jmx.AuthorizingMBeanServer.invoke(AuthorizingMBeanServer.java:258)
at org.jboss.remotingjmx.protocol.v2.ServerProxy$InvokeHandler.handle(ServerProxy.java:950)
at org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1$1.run(ServerCommon.java:153)
at org.jboss.as.jmx.ServerInterceptorFactory$Interceptor$1.run(ServerInterceptorFactory.java:71)
at org.jboss.as.jmx.ServerInterceptorFactory$Interceptor$1.run(ServerInterceptorFactory.java:66)
at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:287)
at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:244)
at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:254)
at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:225)
at org.jboss.as.jmx.ServerInterceptorFactory$Interceptor.handleEvent(ServerInterceptorFactory.java:66)
at org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1.run(ServerCommon.java:149)
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)
{noformat}
It looks to me like the permission check should not be necessary here. If it works like reflection, then it should be allowing access to the calling class' private members without an extra permission check. If the spec does mandate the permission check, then the fix would be to update the test with the necessary permission.
> BeanValidationEE8TestCase fails with security manager
> -----------------------------------------------------
>
> Key: WFLY-10184
> URL: https://issues.jboss.org/browse/WFLY-10184
> Project: WildFly
> Issue Type: Bug
> Components: Bean Validation
> Reporter: David Lloyd
> Labels: security-manager
>
> Several tests fail with security manager because of missing permission {{"("org.hibernate.validator.HibernateValidatorPermission" "accessPrivateMembers")"}}:
> Tests:
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.BootStrapValidationTestCase#testCustomConstraintValidatorFactory}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.BootStrapValidationTestCase#testSafeHTML}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.ConstraintValidationTestCase#testConstraintValidation}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.ConstraintValidationTestCase#testObjectGraphValidation}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.ExpressionLanguageTestCase#testValidationUsingExpressionLanguage}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.GroupandGroupSequenceValidationTestCase#testGroupValidation}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.MessageInterpolationValidationTestCase#testCustomMessageInterpolation}}
> * {{org.jboss.as.test.integration.jca.beanvalidation.PositiveValidationTestCase#testRegistryConfiguration}}
> * {{org.jboss.as.test.integration.jpa.beanvalidation.beanvalidationinheritancetest.BeanValidationJPAInheritanceTestCase#testConstraintValidationforJPA}}
> * {{org.jboss.as.test.integration.jpa.beanvalidation.beanvalidationtest.JPABeanValidationTestCase#testFailingBeanValidationNullAddress}}
> * {{org.jboss.as.test.integration.jpa.beanvalidation.beanvalidationtest.JPABeanValidationTestCase#testSuccessfulBeanValidation}}
> * {{org.jboss.as.test.integration.jpa.beanvalidation.cdi.BeanValidationCdiIntegrationTestCase#testFailingBeanValidation}}
> * {{org.jboss.as.test.integration.jpa.beanvalidation.cdi.BeanValidationCdiIntegrationTestCase#testSuccessfulBeanValidation}}
> * {{org.jboss.as.test.integration.weld.beanvalidation.BeanValidationIntegrationTestCase#testInjectedValidatorFactoryIsCdiEnabled}}
> * {{org.jboss.as.test.integration.weld.beanvalidation.BeanValidationIntegrationTestCase#testJndiBoundValidatorFactoryIsCdiEnabled}}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (WFLY-10184) HibernateValidatorPermission is missing for several tests
by Martin Stefanko (JIRA)
[ https://issues.jboss.org/browse/WFLY-10184?page=com.atlassian.jira.plugin... ]
Martin Stefanko updated WFLY-10184:
-----------------------------------
Summary: HibernateValidatorPermission is missing for several tests (was: BeanValidationEE8TestCase fails with security manager)
> HibernateValidatorPermission is missing for several tests
> ---------------------------------------------------------
>
> Key: WFLY-10184
> URL: https://issues.jboss.org/browse/WFLY-10184
> Project: WildFly
> Issue Type: Bug
> Components: Bean Validation
> Reporter: David Lloyd
> Labels: security-manager
>
> Several tests fail with security manager because of missing permission {{"("org.hibernate.validator.HibernateValidatorPermission" "accessPrivateMembers")"}}:
> Tests:
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.BootStrapValidationTestCase#testCustomConstraintValidatorFactory}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.BootStrapValidationTestCase#testSafeHTML}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.ConstraintValidationTestCase#testConstraintValidation}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.ConstraintValidationTestCase#testObjectGraphValidation}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.ExpressionLanguageTestCase#testValidationUsingExpressionLanguage}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.GroupandGroupSequenceValidationTestCase#testGroupValidation}}
> * {{org.jboss.as.test.integration.beanvalidation.hibernate.validator.MessageInterpolationValidationTestCase#testCustomMessageInterpolation}}
> * {{org.jboss.as.test.integration.jca.beanvalidation.PositiveValidationTestCase#testRegistryConfiguration}}
> * {{org.jboss.as.test.integration.jpa.beanvalidation.beanvalidationinheritancetest.BeanValidationJPAInheritanceTestCase#testConstraintValidationforJPA}}
> * {{org.jboss.as.test.integration.jpa.beanvalidation.beanvalidationtest.JPABeanValidationTestCase#testFailingBeanValidationNullAddress}}
> * {{org.jboss.as.test.integration.jpa.beanvalidation.beanvalidationtest.JPABeanValidationTestCase#testSuccessfulBeanValidation}}
> * {{org.jboss.as.test.integration.jpa.beanvalidation.cdi.BeanValidationCdiIntegrationTestCase#testFailingBeanValidation}}
> * {{org.jboss.as.test.integration.jpa.beanvalidation.cdi.BeanValidationCdiIntegrationTestCase#testSuccessfulBeanValidation}}
> * {{org.jboss.as.test.integration.weld.beanvalidation.BeanValidationIntegrationTestCase#testInjectedValidatorFactoryIsCdiEnabled}}
> * {{org.jboss.as.test.integration.weld.beanvalidation.BeanValidationIntegrationTestCase#testJndiBoundValidatorFactoryIsCdiEnabled}}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-2715) Null Pointer Exception on Accumulate
by Mario Fusco (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2715?page=com.atlassian.jira.plugi... ]
Mario Fusco edited comment on DROOLS-2715 at 7/11/18 4:30 AM:
--------------------------------------------------------------
I simplified the rule causing the problem as it follows
{code}
rule "Rule X" when
openAlarms: Collection( ) from accumulate (
MyAlarm(
openAlarms_ek: externalKey
),
init( Map map = new HashMap(); ),
action( map.put(openAlarms_ek, openAlarms); ),
result( map.values() ) )
then
end
{code}
As you can see you're trying to use the result of the accumulation (the openAlarms collection) inside the action function of the accumulate itself. I guess this is not what you wanted and anyway doesn't make any sense. Do you agree?
I think that in this case the drl shouldn't compile at all and I'll try to change the compiler to raise a compilation error in this case.
was (Author: mfusco):
I simplified the rule causing the problem as it follows
{code}
rule "Rule X" when
*openAlarms*: Collection( ) from accumulate (
MyAlarm(
openAlarms_ek: externalKey
),
init( Map map = new HashMap(); ),
action( map.put(openAlarms_ek, *openAlarms*); ),
result( map.values() ) )
then
end
{code}
As you can see you're trying to use the result of the accumulation inside the action function of the accumulate itself. I guess this is not what you wanted and anyway doesn't make any sense. Do you agree?
I think that in this case the drl shouldn't compile at all and I'll try to change the compiler to raise a compilation error in this case.
> Null Pointer Exception on Accumulate
> ------------------------------------
>
> Key: DROOLS-2715
> URL: https://issues.jboss.org/browse/DROOLS-2715
> Project: Drools
> Issue Type: Bug
> Affects Versions: 7.6.0.Final, 7.7.0.Final, 7.8.0.Final
> Reporter: Pedro Almeida
> Assignee: Mario Fusco
> Attachments: DroolsBug.zip
>
>
> I was able to get a Null Pointer out of a simple accumulate.
> Download the attached zip and run the test.
> java.lang.RuntimeException: java.lang.NullPointerException
> at org.drools.core.rule.SingleAccumulate.init(SingleAccumulate.java:88)
> at org.drools.core.phreak.PhreakAccumulateNode.doLeftInserts(PhreakAccumulateNode.java:148)
> at org.drools.core.phreak.PhreakAccumulateNode.doNode(PhreakAccumulateNode.java:89)
> at org.drools.core.phreak.RuleNetworkEvaluator.switchOnDoBetaNode(RuleNetworkEvaluator.java:567)
> at org.drools.core.phreak.RuleNetworkEvaluator.evalBetaNode(RuleNetworkEvaluator.java:538)
> at org.drools.core.phreak.RuleNetworkEvaluator.evalNode(RuleNetworkEvaluator.java:373)
> at org.drools.core.phreak.RuleNetworkEvaluator.innerEval(RuleNetworkEvaluator.java:333)
> at org.drools.core.phreak.RuleNetworkEvaluator.outerEval(RuleNetworkEvaluator.java:169)
> at org.drools.core.phreak.RuleNetworkEvaluator.evaluateNetwork(RuleNetworkEvaluator.java:127)
> at org.drools.core.phreak.RuleExecutor.reEvaluateNetwork(RuleExecutor.java:212)
> at org.drools.core.phreak.RuleExecutor.evaluateNetworkAndFire(RuleExecutor.java:87)
> at org.drools.core.concurrent.AbstractRuleEvaluator.internalEvaluateAndFire(AbstractRuleEvaluator.java:34)
> at org.drools.core.concurrent.SequentialRuleEvaluator.evaluateAndFire(SequentialRuleEvaluator.java:43)
> at org.drools.core.common.DefaultAgenda.fireLoop(DefaultAgenda.java:1067)
> at org.drools.core.common.DefaultAgenda.internalFireAllRules(DefaultAgenda.java:1014)
> at org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1006)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.internalFireAllRules(StatefulKnowledgeSessionImpl.java:1308)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1299)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1283)
> at tests.TestsClass.test(TestsClass.java:52)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
> at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
> at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
> at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
> at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
> at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
> Caused by: java.lang.NullPointerException
> at org.drools.core.reteoo.BaseLeftTuple.getObject(BaseLeftTuple.java:628)
> at org.drools.core.reteoo.BaseTuple.getObject(BaseTuple.java:48)
> at defaultpkg.Rule_Rule_X0Accumulate0Invoker.init(Rule_Rule_X0Accumulate0Invoker.java:21)
> at org.drools.core.rule.SingleAccumulate.init(SingleAccumulate.java:82)
> ... 41 more
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-2715) Null Pointer Exception on Accumulate
by Mario Fusco (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2715?page=com.atlassian.jira.plugi... ]
Mario Fusco commented on DROOLS-2715:
-------------------------------------
I simplified the rule causing the problem as it follows
{code}
rule "Rule X" when
*openAlarms*: Collection( ) from accumulate (
MyAlarm(
openAlarms_ek: externalKey
),
init( Map map = new HashMap(); ),
action( map.put(openAlarms_ek, *openAlarms*); ),
result( map.values() ) )
then
end
{code}
As you can see you're trying to use the result of the accumulation inside the action function of the accumulate itself. I guess this is not what you wanted and anyway doesn't make any sense. Do you agree?
I think that in this case the drl shouldn't compile at all and I'll try to change the compiler to raise a compilation error in this case.
> Null Pointer Exception on Accumulate
> ------------------------------------
>
> Key: DROOLS-2715
> URL: https://issues.jboss.org/browse/DROOLS-2715
> Project: Drools
> Issue Type: Bug
> Affects Versions: 7.6.0.Final, 7.7.0.Final, 7.8.0.Final
> Reporter: Pedro Almeida
> Assignee: Mario Fusco
> Attachments: DroolsBug.zip
>
>
> I was able to get a Null Pointer out of a simple accumulate.
> Download the attached zip and run the test.
> java.lang.RuntimeException: java.lang.NullPointerException
> at org.drools.core.rule.SingleAccumulate.init(SingleAccumulate.java:88)
> at org.drools.core.phreak.PhreakAccumulateNode.doLeftInserts(PhreakAccumulateNode.java:148)
> at org.drools.core.phreak.PhreakAccumulateNode.doNode(PhreakAccumulateNode.java:89)
> at org.drools.core.phreak.RuleNetworkEvaluator.switchOnDoBetaNode(RuleNetworkEvaluator.java:567)
> at org.drools.core.phreak.RuleNetworkEvaluator.evalBetaNode(RuleNetworkEvaluator.java:538)
> at org.drools.core.phreak.RuleNetworkEvaluator.evalNode(RuleNetworkEvaluator.java:373)
> at org.drools.core.phreak.RuleNetworkEvaluator.innerEval(RuleNetworkEvaluator.java:333)
> at org.drools.core.phreak.RuleNetworkEvaluator.outerEval(RuleNetworkEvaluator.java:169)
> at org.drools.core.phreak.RuleNetworkEvaluator.evaluateNetwork(RuleNetworkEvaluator.java:127)
> at org.drools.core.phreak.RuleExecutor.reEvaluateNetwork(RuleExecutor.java:212)
> at org.drools.core.phreak.RuleExecutor.evaluateNetworkAndFire(RuleExecutor.java:87)
> at org.drools.core.concurrent.AbstractRuleEvaluator.internalEvaluateAndFire(AbstractRuleEvaluator.java:34)
> at org.drools.core.concurrent.SequentialRuleEvaluator.evaluateAndFire(SequentialRuleEvaluator.java:43)
> at org.drools.core.common.DefaultAgenda.fireLoop(DefaultAgenda.java:1067)
> at org.drools.core.common.DefaultAgenda.internalFireAllRules(DefaultAgenda.java:1014)
> at org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1006)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.internalFireAllRules(StatefulKnowledgeSessionImpl.java:1308)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1299)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1283)
> at tests.TestsClass.test(TestsClass.java:52)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
> at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
> at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
> at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
> at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
> at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
> Caused by: java.lang.NullPointerException
> at org.drools.core.reteoo.BaseLeftTuple.getObject(BaseLeftTuple.java:628)
> at org.drools.core.reteoo.BaseTuple.getObject(BaseTuple.java:48)
> at defaultpkg.Rule_Rule_X0Accumulate0Invoker.init(Rule_Rule_X0Accumulate0Invoker.java:21)
> at org.drools.core.rule.SingleAccumulate.init(SingleAccumulate.java:82)
> ... 41 more
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years