[JBoss JIRA] (DROOLS-2257) Error evaluating constraint
by 丹丹 王 (JIRA)
丹丹 王 created DROOLS-2257:
----------------------------
Summary: Error evaluating constraint
Key: DROOLS-2257
URL: https://issues.jboss.org/browse/DROOLS-2257
Project: Drools
Issue Type: Feature Request
Components: docker images
Affects Versions: 7.0.0.Final
Reporter: 丹丹 王
Assignee: Roger Martínez
code:
{code:java}
//不动产变更
rule "不动产变更备件"
when
$materialDecision: SearchDrools(nodeCode.equals(CallActivityEnum.BU_DONG_CHAN_JU_BIAN_GENG.getCode()))
then
logger.info("access rule: 不动产变更备件");
end
rule "不动产变更备件基本材料" extends "不动产变更备件"
when
then
logger.info("access rule: 不动产变更备件基本材料");
$materialDecision.getMaterialResultList().add(new Material().setCode(MaterialCodeConstants.FANG_CHAN_ZHENG).setCopy(0).setNum(1));
$materialDecision.getMaterialResultList().add(new Material().setCode(MaterialCodeConstants.JIA_FANG_SHEN_FEN_ZHENG).setCopy(0).setNum(1));
$materialDecision.getMaterialResultList().add(new Material().setCode(MaterialCodeConstants.FANG_CHAN_ZHENG).setCopy(1).setNum(1));
$materialDecision.getMaterialResultList().add(new Material().setCode(MaterialCodeConstants.JIA_FANG_SHEN_FEN_ZHENG).setCopy(1).setNum(1));
$materialDecision.getMaterialResultList().add(new Material().setCode(MaterialCodeConstants.BIAN_GENG_SHOU_LI_TONG_ZHI_SHU).setCopy(0).setNum(1));
logger.info("access rule: 不动产变更备件基本材料结束");
logger.info("$materialDecision = {}", JSON.toJSON($materialDecision.getMaterialResultList()));
end
rule "不动产变更甲方婚姻证明补充材料" extends "不动产变更备件"
when
SearchDrools(
$biangengqingkuang: contractData[TradeDataConstants.BIAN_GENG_QING_KUANG];
$biangengqingkuang != null
&& (($biangengqingkuang instanceof String && $biangengqingkuang.equals("离婚变更"))
|| ($biangengqingkuang instanceof List && $biangengqingkuang contains "离婚变更"))
)
then
logger.info("access rule: 不动产变更甲方婚姻证明补充材料");
$materialDecision.getMaterialResultList().add(new Material().setCode(MaterialCodeConstants.JIA_FANG_HUN_YIN_ZHENG_MING).setCopy(0).setNum(1));
logger.info("access rule: 不动产变更甲方婚姻证明补充材料结束");
logger.info("$materialDecision = {}", JSON.toJSON($materialDecision.getMaterialResultList()));
end
{code}
local: everything is ok
server: error message is belowing. but, when i restart server, everything is ok.
{panel:title=My title}
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: Error evaluating constraint '($biangengqingkuang instanceof String && $biangengqingkuang.equals("离婚变更")) || ($biangengqingkuang instanceof List && $biangengqingkuang contains "离婚变更")' in [Rule "不动产变更甲方婚姻证明补充材料" in BOOT-xxx.drl]] with root cause
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection
at ConditionEvaluator403561e24141452a9c4005ea91e84986.evaluate(Unknown Source)
at org.drools.core.rule.constraint.MvelConstraint.evaluate(MvelConstraint.java:261)
at org.drools.core.rule.constraint.MvelConstraint.isAllowed(MvelConstraint.java:216)
at org.drools.core.reteoo.AlphaNode.assertObject(AlphaNode.java:131)
at org.drools.core.reteoo.CompositeObjectSinkAdapter.doPropagateAssertObject(CompositeObjectSinkAdapter.java:487)
at org.drools.core.reteoo.CompositeObjectSinkAdapter.propagateAssertObject(CompositeObjectSinkAdapter.java:385)
at org.drools.core.reteoo.AlphaNode.assertObject(AlphaNode.java:134)
at org.drools.core.reteoo.CompositeObjectSinkAdapter.doPropagateAssertObject(CompositeObjectSinkAdapter.java:487)
at org.drools.core.reteoo.CompositeObjectSinkAdapter.propagateAssertObject(CompositeObjectSinkAdapter.java:385)
at org.drools.core.reteoo.ObjectTypeNode.propagateAssert(ObjectTypeNode.java:320)
at org.drools.core.phreak.PropagationEntry$Insert.propagate(PropagationEntry.java:161)
at org.drools.core.phreak.PropagationEntry$Insert.execute(PropagationEntry.java:166)
at org.drools.core.phreak.SynchronizedPropagationList.flush(SynchronizedPropagationList.java:96)
at org.drools.core.phreak.SynchronizedPropagationList.flush(SynchronizedPropagationList.java:91)
at org.drools.core.common.DefaultAgenda.fireLoop(DefaultAgenda.java:1056)
at org.drools.core.common.DefaultAgenda.internalFireAllRules(DefaultAgenda.java:1019)
at org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1011)
at org.drools.core.impl.StatefulKnowledgeSessionImpl.internalFireAllRules(StatefulKnowledgeSessionImpl.java:1321)
at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1312)
at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1296)
at org.drools.core.impl.StatelessKnowledgeSessionImpl.execute(StatelessKnowledgeSessionImpl.java:269)
at com.zhhl.trade.service.impl.ContractMaterialDroolsServiceImpl.getMaterialResultBeanByDrools(ContractMaterialDroolsServiceImpl.java:85)
at com.zhhl.trade.service.impl.ContractMaterialDroolsServiceImpl$$FastClassBySpringCGLIB$$3874772b.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:280)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655)
at com.zhhl.trade.service.impl.ContractMaterialDroolsServiceImpl$$EnhancerBySpringCGLIB$$fb2491d0.getMaterialResultBeanByDrools(<generated>)
at com.zhhl.trade.service.impl.ContractMaterialResultServiceImpl.computeMaterial(ContractMaterialResultServiceImpl.java:51)
at com.zhhl.trade.service.impl.ContractMaterialResultServiceImpl.computeMaterial(ContractMaterialResultServiceImpl.java:80)
at com.zhhl.trade.service.impl.ContractMaterialResultServiceImpl$$FastClassBySpringCGLIB$$e7a85f03.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:280)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655)
at com.zhhl.trade.service.impl.ContractMaterialResultServiceImpl$$EnhancerBySpringCGLIB$$8423f058.computeMaterial(<generated>)
at com.zhhl.trade.service.impl.ReservationServiceImpl.setExplanation(ReservationServiceImpl.java:486)
at com.zhhl.trade.service.impl.ReservationServiceImpl.calcExplanation(ReservationServiceImpl.java:392)
at com.zhhl.trade.service.impl.ReservationServiceImpl$$FastClassBySpringCGLIB$$84603545.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:280)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655)
at com.zhhl.trade.service.impl.ReservationServiceImpl$$EnhancerBySpringCGLIB$$96fa6c5e.calcExplanation(<generated>)
at com.zhhl.trade.controller.ReservationControllerV1.explanations(ReservationControllerV1.java:161)
at sun.reflect.GeneratedMethodAccessor668.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:114)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:105)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:115)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:169)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationProcessingFilter.doFilter(OAuth2AuthenticationProcessingFilter.java:176)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:121)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.security.oauth2.client.filter.OAuth2ClientContextFilter.doFilter(OAuth2ClientContextFilter.java:60)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:87)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:106)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:798)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1434)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
{panel}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (JGRP-2246) Internal thread pool not created if default thread pool is injected
by Bela Ban (JIRA)
[ https://issues.jboss.org/browse/JGRP-2246?page=com.atlassian.jira.plugin.... ]
Bela Ban updated JGRP-2246:
---------------------------
Fix Version/s: 4.0.10
> Internal thread pool not created if default thread pool is injected
> -------------------------------------------------------------------
>
> Key: JGRP-2246
> URL: https://issues.jboss.org/browse/JGRP-2246
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 4.0.9
> Reporter: Paul Ferraro
> Assignee: Bela Ban
> Fix For: 4.0.10
>
>
> WildFly injects a custom thread pool into its JGroups transports. However, in JGroups 4.0.x, only the default thread pool exposes a setThreadPool(...) method. The internal thread pool does not. However, the logic within TP.init() will not create an internal thread pool if the default thread pool already exists (and is not shutdown), which is the case in WildFly.
> Can we restore the TP.setInternalThreadPool(...) method? Alternatively, assuming JGRP-2244 is fixed, can we fix this logic such that the internal thread pool is always created when thread_pool_enabled is true?
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (WFCORE-3531) EnumValidator.validateParameter should check toStringMap first to reduce the times of IllegalArgumentException creation
by Lin Gao (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3531?page=com.atlassian.jira.plugi... ]
Lin Gao updated WFCORE-3531:
----------------------------
Labels: downstream_dependency performace (was: downstream_dependency)
> EnumValidator.validateParameter should check toStringMap first to reduce the times of IllegalArgumentException creation
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-3531
> URL: https://issues.jboss.org/browse/WFCORE-3531
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management, JMX
> Environment: JBoss EAP 6.4.16,6.4.18
> Reporter: Lin Gao
> Assignee: Lin Gao
> Labels: downstream_dependency, performace
> Original Estimate: 2 days
> Remaining Estimate: 2 days
>
> {panel:title=Description of downstream issue}
> 1. Proposed title of this feature request
> Enum is misspelled causing java.lang.IllegalArgumentException
> 2. Who is the customer behind the request?
> Account: Hamburg Südamerikanische Dampfschifffahrts-Ge, 5651756
> 3. What is the nature and description of the request?
> Enum is misspelled causing java.lang.IllegalArgumentException
> 5. How would the customer like to achieve this? (List the functional requirements here)
> In such way, it should not throw Exception and spelled correctly.
> ENUM : "ReadResourceDescriptionHandler.AccessControl.TRIM_DESCRIPTONS"
> Location Where Enum is Used :
> jboss-as-jmx module:
> ./jmx/src/main/java/org/jboss/as/jmx/model/ResourceAccessControlUtil.java
> Code : op.get(ACCESS_CONTROL).set(ReadResourceDescriptionHandler.AccessControl.TRIM_DESCRIPTONS.toModelNode());
> it's a general internal jboss issue for all queries that somehow involve the JMX related ResourceAccessControlUtil.
> Stacktrace Attached.
> {panel}
> ----
> {panel:title=Description}
> +EnumValidator.validateParameter+ is now trying to call +Enum.valueOf()+ first and fall back to +toStringMap.get(tuString)+ on +IllegalArgumentException+.
> However, +toStringMap+ contains necessary Enum values in most cases, so switch the way to get the +enumValue+ can reduce the times of IllegalArgumentException creation. And Exception creation may affect performance.
> {panel}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (WFCORE-3531) EnumValidator.validateParameter should check toStringMap first to reduce the times of IllegalArgumentException creation
by Lin Gao (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3531?page=com.atlassian.jira.plugi... ]
Lin Gao updated WFCORE-3531:
----------------------------
Labels: downstream_dependency (was: )
> EnumValidator.validateParameter should check toStringMap first to reduce the times of IllegalArgumentException creation
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-3531
> URL: https://issues.jboss.org/browse/WFCORE-3531
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management, JMX
> Environment: JBoss EAP 6.4.16,6.4.18
> Reporter: Lin Gao
> Assignee: Lin Gao
> Labels: downstream_dependency
> Original Estimate: 2 days
> Remaining Estimate: 2 days
>
> {panel:title=Description of downstream issue}
> 1. Proposed title of this feature request
> Enum is misspelled causing java.lang.IllegalArgumentException
> 2. Who is the customer behind the request?
> Account: Hamburg Südamerikanische Dampfschifffahrts-Ge, 5651756
> 3. What is the nature and description of the request?
> Enum is misspelled causing java.lang.IllegalArgumentException
> 5. How would the customer like to achieve this? (List the functional requirements here)
> In such way, it should not throw Exception and spelled correctly.
> ENUM : "ReadResourceDescriptionHandler.AccessControl.TRIM_DESCRIPTONS"
> Location Where Enum is Used :
> jboss-as-jmx module:
> ./jmx/src/main/java/org/jboss/as/jmx/model/ResourceAccessControlUtil.java
> Code : op.get(ACCESS_CONTROL).set(ReadResourceDescriptionHandler.AccessControl.TRIM_DESCRIPTONS.toModelNode());
> it's a general internal jboss issue for all queries that somehow involve the JMX related ResourceAccessControlUtil.
> Stacktrace Attached.
> {panel}
> ----
> {panel:title=Description}
> +EnumValidator.validateParameter+ is now trying to call +Enum.valueOf()+ first and fall back to +toStringMap.get(tuString)+ on +IllegalArgumentException+.
> However, +toStringMap+ contains necessary Enum values in most cases, so switch the way to get the +enumValue+ can reduce the times of IllegalArgumentException creation. And Exception creation may affect performance.
> {panel}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (WFCORE-3531) EnumValidator.validateParameter should check toStringMap first to reduce the times of IllegalArgumentException creation
by Lin Gao (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3531?page=com.atlassian.jira.plugi... ]
Lin Gao updated WFCORE-3531:
----------------------------
Summary: EnumValidator.validateParameter should check toStringMap first to reduce the times of IllegalArgumentException creation (was: EnumValidator.validateParameter should check toStringMap first to reduce the possibility of IllegalArgumentException creation)
> EnumValidator.validateParameter should check toStringMap first to reduce the times of IllegalArgumentException creation
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-3531
> URL: https://issues.jboss.org/browse/WFCORE-3531
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management, JMX
> Environment: JBoss EAP 6.4.16,6.4.18
> Reporter: Lin Gao
> Assignee: Lin Gao
> Original Estimate: 2 days
> Remaining Estimate: 2 days
>
> {panel:title=Description of downstream issue}
> 1. Proposed title of this feature request
> Enum is misspelled causing java.lang.IllegalArgumentException
> 2. Who is the customer behind the request?
> Account: Hamburg Südamerikanische Dampfschifffahrts-Ge, 5651756
> 3. What is the nature and description of the request?
> Enum is misspelled causing java.lang.IllegalArgumentException
> 5. How would the customer like to achieve this? (List the functional requirements here)
> In such way, it should not throw Exception and spelled correctly.
> ENUM : "ReadResourceDescriptionHandler.AccessControl.TRIM_DESCRIPTONS"
> Location Where Enum is Used :
> jboss-as-jmx module:
> ./jmx/src/main/java/org/jboss/as/jmx/model/ResourceAccessControlUtil.java
> Code : op.get(ACCESS_CONTROL).set(ReadResourceDescriptionHandler.AccessControl.TRIM_DESCRIPTONS.toModelNode());
> it's a general internal jboss issue for all queries that somehow involve the JMX related ResourceAccessControlUtil.
> Stacktrace Attached.
> {panel}
> ----
> {panel:title=Description}
> +EnumValidator.validateParameter+ is now trying to call +Enum.valueOf()+ first and fall back to +toStringMap.get(tuString)+ on +IllegalArgumentException+.
> However, +toStringMap+ contains necessary Enum values in most cases, so switch the way to get the +enumValue+ can reduce the times of IllegalArgumentException creation. And Exception creation may affect performance.
> {panel}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (WFCORE-3531) EnumValidator.validateParameter should check toStringMap first to reduce the possibility of IllegalArgumentException creation
by Lin Gao (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3531?page=com.atlassian.jira.plugi... ]
Lin Gao updated WFCORE-3531:
----------------------------
Description:
{panel:title=Description of downstream issue}
1. Proposed title of this feature request
Enum is misspelled causing java.lang.IllegalArgumentException
2. Who is the customer behind the request?
Account: Hamburg Südamerikanische Dampfschifffahrts-Ge, 5651756
3. What is the nature and description of the request?
Enum is misspelled causing java.lang.IllegalArgumentException
5. How would the customer like to achieve this? (List the functional requirements here)
In such way, it should not throw Exception and spelled correctly.
ENUM : "ReadResourceDescriptionHandler.AccessControl.TRIM_DESCRIPTONS"
Location Where Enum is Used :
jboss-as-jmx module:
./jmx/src/main/java/org/jboss/as/jmx/model/ResourceAccessControlUtil.java
Code : op.get(ACCESS_CONTROL).set(ReadResourceDescriptionHandler.AccessControl.TRIM_DESCRIPTONS.toModelNode());
it's a general internal jboss issue for all queries that somehow involve the JMX related ResourceAccessControlUtil.
Stacktrace Attached.
{panel}
----
{panel:title=Description}
+EnumValidator.validateParameter+ is now trying to call +Enum.valueOf()+ first and fall back to +toStringMap.get(tuString)+ on +IllegalArgumentException+.
However, +toStringMap+ contains necessary Enum values in most cases, so switch the way to get the +enumValue+ can reduce the times of IllegalArgumentException creation. And Exception creation may affect performance.
{panel}
was:
1. Proposed title of this feature request
Enum is misspelled causing java.lang.IllegalArgumentException
2. Who is the customer behind the request?
Account: Hamburg Südamerikanische Dampfschifffahrts-Ge, 5651756
3. What is the nature and description of the request?
Enum is misspelled causing java.lang.IllegalArgumentException
5. How would the customer like to achieve this? (List the functional requirements here)
In such way, it should not throw Exception and spelled correctly.
ENUM : "ReadResourceDescriptionHandler.AccessControl.TRIM_DESCRIPTONS"
Location Where Enum is Used :
jboss-as-jmx module:
./jmx/src/main/java/org/jboss/as/jmx/model/ResourceAccessControlUtil.java
Code : op.get(ACCESS_CONTROL).set(ReadResourceDescriptionHandler.AccessControl.TRIM_DESCRIPTONS.toModelNode());
it's a general internal jboss issue for all queries that somehow involve the JMX related ResourceAccessControlUtil.
Stacktrace Attached.
> EnumValidator.validateParameter should check toStringMap first to reduce the possibility of IllegalArgumentException creation
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-3531
> URL: https://issues.jboss.org/browse/WFCORE-3531
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management, JMX
> Environment: JBoss EAP 6.4.16,6.4.18
> Reporter: Lin Gao
> Assignee: Lin Gao
> Original Estimate: 2 days
> Remaining Estimate: 2 days
>
> {panel:title=Description of downstream issue}
> 1. Proposed title of this feature request
> Enum is misspelled causing java.lang.IllegalArgumentException
> 2. Who is the customer behind the request?
> Account: Hamburg Südamerikanische Dampfschifffahrts-Ge, 5651756
> 3. What is the nature and description of the request?
> Enum is misspelled causing java.lang.IllegalArgumentException
> 5. How would the customer like to achieve this? (List the functional requirements here)
> In such way, it should not throw Exception and spelled correctly.
> ENUM : "ReadResourceDescriptionHandler.AccessControl.TRIM_DESCRIPTONS"
> Location Where Enum is Used :
> jboss-as-jmx module:
> ./jmx/src/main/java/org/jboss/as/jmx/model/ResourceAccessControlUtil.java
> Code : op.get(ACCESS_CONTROL).set(ReadResourceDescriptionHandler.AccessControl.TRIM_DESCRIPTONS.toModelNode());
> it's a general internal jboss issue for all queries that somehow involve the JMX related ResourceAccessControlUtil.
> Stacktrace Attached.
> {panel}
> ----
> {panel:title=Description}
> +EnumValidator.validateParameter+ is now trying to call +Enum.valueOf()+ first and fall back to +toStringMap.get(tuString)+ on +IllegalArgumentException+.
> However, +toStringMap+ contains necessary Enum values in most cases, so switch the way to get the +enumValue+ can reduce the times of IllegalArgumentException creation. And Exception creation may affect performance.
> {panel}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (WFCORE-3531) EnumValidator.validateParameter should check toStringMap first to reduce the possibility of IllegalArgumentException creation
by Lin Gao (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3531?page=com.atlassian.jira.plugi... ]
Lin Gao moved JBEAP-14117 to WFCORE-3531:
-----------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-3531 (was: JBEAP-14117)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Domain Management
JMX
(was: JMX)
Affects Version/s: (was: 6.4.0.GA)
> EnumValidator.validateParameter should check toStringMap first to reduce the possibility of IllegalArgumentException creation
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-3531
> URL: https://issues.jboss.org/browse/WFCORE-3531
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management, JMX
> Environment: JBoss EAP 6.4.16,6.4.18
> Reporter: Lin Gao
> Assignee: Lin Gao
> Original Estimate: 2 days
> Remaining Estimate: 2 days
>
> 1. Proposed title of this feature request
> Enum is misspelled causing java.lang.IllegalArgumentException
> 2. Who is the customer behind the request?
> Account: Hamburg Südamerikanische Dampfschifffahrts-Ge, 5651756
> 3. What is the nature and description of the request?
> Enum is misspelled causing java.lang.IllegalArgumentException
> 5. How would the customer like to achieve this? (List the functional requirements here)
> In such way, it should not throw Exception and spelled correctly.
> ENUM : "ReadResourceDescriptionHandler.AccessControl.TRIM_DESCRIPTONS"
> Location Where Enum is Used :
> jboss-as-jmx module:
> ./jmx/src/main/java/org/jboss/as/jmx/model/ResourceAccessControlUtil.java
> Code : op.get(ACCESS_CONTROL).set(ReadResourceDescriptionHandler.AccessControl.TRIM_DESCRIPTONS.toModelNode());
> it's a general internal jboss issue for all queries that somehow involve the JMX related ResourceAccessControlUtil.
> Stacktrace Attached.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (ELY-1494) SecurityException: JCE cannot authenticate the provider WildFlyElytron
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/ELY-1494?page=com.atlassian.jira.plugin.s... ]
Martin Choma updated ELY-1494:
------------------------------
Description:
This happens on HP-UX in KeyStoreCredentialStoreTest. It probably related to ELY-1295 fix. Fix have to take HP-UX JDK in account as well.
Btw. Isn't there more elegant way how to enable tests for PKCS12. Necessary hack seems to be problematic.
{noformat}
java.lang.SecurityException: JCE cannot authenticate the provider WildFlyElytron
at javax.crypto.JceSecurity.getInstance(JceSecurity.java:118)
at javax.crypto.SecretKeyFactory.getInstance(SecretKeyFactory.java:244)
at org.wildfly.security.credential.store.impl.KeyStoreCredentialStoreTest.installWildFlyElytronProvider(KeyStoreCredentialStoreTest.java:117)
Caused by: java.lang.SecurityException: Cannot verify jar:file:/hudson_workspace/workspace/wildfly-elytron-unit-tests/8cc93d85/wildfly-elytron/target/classes/!/
at javax.crypto.JarVerifier.verifySingleJar(JarVerifier.java:448)
at javax.crypto.JarVerifier.verifyJars(JarVerifier.java:363)
at javax.crypto.JarVerifier.verify(JarVerifier.java:289)
at javax.crypto.JceSecurity.verifyProviderJar(JceSecurity.java:164)
at javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:190)
at javax.crypto.JceSecurity.getInstance(JceSecurity.java:114)
... 2 more
Caused by: java.security.PrivilegedActionException: java.io.FileNotFoundException: /hudson_workspace/workspace/wildfly-elytron-unit-tests/8cc93d85/wildfly-elytron/target/classes (Is a directory)
at java.security.AccessController.doPrivileged(Native Method)
at javax.crypto.JarVerifier.verifySingleJar(JarVerifier.java:426)
... 7 more
Caused by: java.io.FileNotFoundException: /hudson_workspace/workspace/wildfly-elytron-unit-tests/8cc93d85/wildfly-elytron/target/classes (Is a directory)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:225)
at java.util.zip.ZipFile.<init>(ZipFile.java:155)
at java.util.jar.JarFile.<init>(JarFile.java:166)
at java.util.jar.JarFile.<init>(JarFile.java:103)
at javax.crypto.JarVerifier$2.run(JarVerifier.java:440)
at javax.crypto.JarVerifier$2.run(JarVerifier.java:427)
... 9 more
{noformat}
[1] https://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/view/EAP7/view/EAP7-...
was:
This happens on HP-UX. It probably related to ELY-1295 fix. Fix have to take HP-UX JDK in account as well.
Btw. Isn't there more elegant way how to enable tests for PKCS12. Necessary hack seems to be problematic.
{noformat}
java.lang.SecurityException: JCE cannot authenticate the provider WildFlyElytron
at javax.crypto.JceSecurity.getInstance(JceSecurity.java:118)
at javax.crypto.SecretKeyFactory.getInstance(SecretKeyFactory.java:244)
at org.wildfly.security.credential.store.impl.KeyStoreCredentialStoreTest.installWildFlyElytronProvider(KeyStoreCredentialStoreTest.java:117)
Caused by: java.lang.SecurityException: Cannot verify jar:file:/hudson_workspace/workspace/wildfly-elytron-unit-tests/8cc93d85/wildfly-elytron/target/classes/!/
at javax.crypto.JarVerifier.verifySingleJar(JarVerifier.java:448)
at javax.crypto.JarVerifier.verifyJars(JarVerifier.java:363)
at javax.crypto.JarVerifier.verify(JarVerifier.java:289)
at javax.crypto.JceSecurity.verifyProviderJar(JceSecurity.java:164)
at javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:190)
at javax.crypto.JceSecurity.getInstance(JceSecurity.java:114)
... 2 more
Caused by: java.security.PrivilegedActionException: java.io.FileNotFoundException: /hudson_workspace/workspace/wildfly-elytron-unit-tests/8cc93d85/wildfly-elytron/target/classes (Is a directory)
at java.security.AccessController.doPrivileged(Native Method)
at javax.crypto.JarVerifier.verifySingleJar(JarVerifier.java:426)
... 7 more
Caused by: java.io.FileNotFoundException: /hudson_workspace/workspace/wildfly-elytron-unit-tests/8cc93d85/wildfly-elytron/target/classes (Is a directory)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:225)
at java.util.zip.ZipFile.<init>(ZipFile.java:155)
at java.util.jar.JarFile.<init>(JarFile.java:166)
at java.util.jar.JarFile.<init>(JarFile.java:103)
at javax.crypto.JarVerifier$2.run(JarVerifier.java:440)
at javax.crypto.JarVerifier$2.run(JarVerifier.java:427)
... 9 more
{noformat}
> SecurityException: JCE cannot authenticate the provider WildFlyElytron
> ----------------------------------------------------------------------
>
> Key: ELY-1494
> URL: https://issues.jboss.org/browse/ELY-1494
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Testsuite
> Affects Versions: 1.2.0.Beta11
> Reporter: Martin Choma
>
> This happens on HP-UX in KeyStoreCredentialStoreTest. It probably related to ELY-1295 fix. Fix have to take HP-UX JDK in account as well.
>
> Btw. Isn't there more elegant way how to enable tests for PKCS12. Necessary hack seems to be problematic.
> {noformat}
> java.lang.SecurityException: JCE cannot authenticate the provider WildFlyElytron
> at javax.crypto.JceSecurity.getInstance(JceSecurity.java:118)
> at javax.crypto.SecretKeyFactory.getInstance(SecretKeyFactory.java:244)
> at org.wildfly.security.credential.store.impl.KeyStoreCredentialStoreTest.installWildFlyElytronProvider(KeyStoreCredentialStoreTest.java:117)
> Caused by: java.lang.SecurityException: Cannot verify jar:file:/hudson_workspace/workspace/wildfly-elytron-unit-tests/8cc93d85/wildfly-elytron/target/classes/!/
> at javax.crypto.JarVerifier.verifySingleJar(JarVerifier.java:448)
> at javax.crypto.JarVerifier.verifyJars(JarVerifier.java:363)
> at javax.crypto.JarVerifier.verify(JarVerifier.java:289)
> at javax.crypto.JceSecurity.verifyProviderJar(JceSecurity.java:164)
> at javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:190)
> at javax.crypto.JceSecurity.getInstance(JceSecurity.java:114)
> ... 2 more
> Caused by: java.security.PrivilegedActionException: java.io.FileNotFoundException: /hudson_workspace/workspace/wildfly-elytron-unit-tests/8cc93d85/wildfly-elytron/target/classes (Is a directory)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.crypto.JarVerifier.verifySingleJar(JarVerifier.java:426)
> ... 7 more
> Caused by: java.io.FileNotFoundException: /hudson_workspace/workspace/wildfly-elytron-unit-tests/8cc93d85/wildfly-elytron/target/classes (Is a directory)
> at java.util.zip.ZipFile.open(Native Method)
> at java.util.zip.ZipFile.<init>(ZipFile.java:225)
> at java.util.zip.ZipFile.<init>(ZipFile.java:155)
> at java.util.jar.JarFile.<init>(JarFile.java:166)
> at java.util.jar.JarFile.<init>(JarFile.java:103)
> at javax.crypto.JarVerifier$2.run(JarVerifier.java:440)
> at javax.crypto.JarVerifier$2.run(JarVerifier.java:427)
> ... 9 more
> {noformat}
> [1] https://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/view/EAP7/view/EAP7-...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (ELY-1494) SecurityException: JCE cannot authenticate the provider WildFlyElytron
by Martin Choma (JIRA)
Martin Choma created ELY-1494:
---------------------------------
Summary: SecurityException: JCE cannot authenticate the provider WildFlyElytron
Key: ELY-1494
URL: https://issues.jboss.org/browse/ELY-1494
Project: WildFly Elytron
Issue Type: Bug
Components: Testsuite
Affects Versions: 1.2.0.Beta11
Reporter: Martin Choma
This happens on HP-UX. It probably related to ELY-1295 fix. Fix have to take HP-UX JDK in account as well.
Btw. Isn't there more elegant way how to enable tests for PKCS12. Necessary hack seems to be problematic.
{noformat}
java.lang.SecurityException: JCE cannot authenticate the provider WildFlyElytron
at javax.crypto.JceSecurity.getInstance(JceSecurity.java:118)
at javax.crypto.SecretKeyFactory.getInstance(SecretKeyFactory.java:244)
at org.wildfly.security.credential.store.impl.KeyStoreCredentialStoreTest.installWildFlyElytronProvider(KeyStoreCredentialStoreTest.java:117)
Caused by: java.lang.SecurityException: Cannot verify jar:file:/hudson_workspace/workspace/wildfly-elytron-unit-tests/8cc93d85/wildfly-elytron/target/classes/!/
at javax.crypto.JarVerifier.verifySingleJar(JarVerifier.java:448)
at javax.crypto.JarVerifier.verifyJars(JarVerifier.java:363)
at javax.crypto.JarVerifier.verify(JarVerifier.java:289)
at javax.crypto.JceSecurity.verifyProviderJar(JceSecurity.java:164)
at javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:190)
at javax.crypto.JceSecurity.getInstance(JceSecurity.java:114)
... 2 more
Caused by: java.security.PrivilegedActionException: java.io.FileNotFoundException: /hudson_workspace/workspace/wildfly-elytron-unit-tests/8cc93d85/wildfly-elytron/target/classes (Is a directory)
at java.security.AccessController.doPrivileged(Native Method)
at javax.crypto.JarVerifier.verifySingleJar(JarVerifier.java:426)
... 7 more
Caused by: java.io.FileNotFoundException: /hudson_workspace/workspace/wildfly-elytron-unit-tests/8cc93d85/wildfly-elytron/target/classes (Is a directory)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:225)
at java.util.zip.ZipFile.<init>(ZipFile.java:155)
at java.util.jar.JarFile.<init>(JarFile.java:166)
at java.util.jar.JarFile.<init>(JarFile.java:103)
at javax.crypto.JarVerifier$2.run(JarVerifier.java:440)
at javax.crypto.JarVerifier$2.run(JarVerifier.java:427)
... 9 more
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (ELY-1493) java.util.concurrent.TimeoutException on slow machines
by Martin Choma (JIRA)
Martin Choma created ELY-1493:
---------------------------------
Summary: java.util.concurrent.TimeoutException on slow machines
Key: ELY-1493
URL: https://issues.jboss.org/browse/ELY-1493
Project: WildFly Elytron
Issue Type: Bug
Components: Testsuite
Affects Versions: 1.2.0.Beta11
Reporter: Martin Choma
On solaris 10 (slow machine) there occured timeout for task task2Future.get(1, TimeUnit.SECONDS) on line 492.
Prolong timeout will probably reduce occurences.
{noformat}
java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.util.concurrent.TimeoutException
at org.wildfly.security.credential.store.KeystorePasswordStoreTest.testAccessFromMultipleCredentialStores(KeystorePasswordStoreTest.java:459)
at org.wildfly.security.credential.store.KeystorePasswordStoreTest.testParallelAccessToCS(KeystorePasswordStoreTest.java:439)
Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.TimeoutException
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:205)
at org.wildfly.security.credential.store.KeystorePasswordStoreTest.testAccessFromMultipleCredentialStores(KeystorePasswordStoreTest.java:457)
... 1 more
Caused by: java.util.concurrent.TimeoutException
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:204)
at org.wildfly.security.credential.store.KeystorePasswordStoreTest$1.call(KeystorePasswordStoreTest.java:492)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.base/java.lang.Thread.run(Thread.java:844)
{noformat}
[1] https://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/view/EAP7/view/EAP7-...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months