[ 
https://issues.apache.org/jira/browse/OFBIZ-12706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17619415#comment-17619415
 ] 

ASF subversion and git services commented on OFBIZ-12706:
---------------------------------------------------------

Commit 8fd16cdf4980b40cfdacf71c7fcd18f9d9f078b8 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=8fd16cdf49 ]

Fixed: EntityPerformanceTest.groovy shows error in log (OFBIZ-12706)

propNames String Array can be empty of the 1st element can be null.

In the case of the calling by EntityPerformanceTest the 1st element is null.


> EntityPerformanceTest.groovy shows error in log
> -----------------------------------------------
>
>                 Key: OFBIZ-12706
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12706
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework/webtools
>    Affects Versions: 22.01.01, Upcoming Branch
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: 22.01.01
>
>
> Here the error (only in log):
> {noformat}
> 2022-10-18 09:39:15,038 |27.0.0.1-8009-exec-2 |UtilCache                     
> |W| Error getting maxSize value from ResourceBundle for propNames: [null]
> java.lang.NullPointerException: null
>       at 
> org.apache.ofbiz.base.util.cache.UtilCache.getPropertyParam(UtilCache.java:155)
>  ~[main/:?]
>       at 
> org.apache.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:181)
>  ~[main/:?]
>       at 
> org.apache.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:174)
>  ~[main/:?]
>       at 
> org.apache.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:170)
>  ~[main/:?]
>       at 
> org.apache.ofbiz.base.util.cache.UtilCache.<init>(UtilCache.java:126) 
> ~[main/:?]
>       at 
> jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
> Method) ~[?:?]
>       at 
> jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>  ~[?:?]
>       at 
> jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>  ~[?:?]
>       at java.lang.reflect.Constructor.newInstance(Constructor.java:490) 
> ~[?:?]
>       at 
> org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:80)
>  ~[groovy-2.5.18.jar:2.5.18]
>       at 
> org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:74)
>  ~[groovy-2.5.18.jar:2.5.18]
>       at 
> org.codehaus.groovy.runtime.callsite.ConstructorSite.callConstructor(ConstructorSite.java:45)
>  ~[groovy-2.5.18.jar:2.5.18]
>       at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)
>  ~[groovy-2.5.18.jar:2.5.18]
>       at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237)
>  ~[groovy-2.5.18.jar:2.5.18]
>       at EntityPerformanceTest.run(EntityPerformanceTest.groovy:193) ~[?:?]
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to