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

Deepak Dixit edited comment on OFBIZ-12934 at 3/11/24 4:44 AM:
---------------------------------------------------------------

It's seems the issue is due to isAccessibleAccordingToModuleExports, need to 
check if we need to have some additional configuration

 

 
{quote}Caused by: java.lang.NullPointerException: Cannot invoke 
"java.lang.Package.getName()" because "accessedPackage" is null
    at 
freemarker.core._Java9Impl.isAccessibleAccordingToModuleExports(_Java9Impl.java:44)
 ~[freemarker-2.3.33-SNAPSHOT.jar:2.3.32.97]
    at 
freemarker.ext.beans.ClassIntrospector.discoverAccessibleMethods(ClassIntrospector.java:827)
 ~[freemarker-2.3.33-SNAPSHOT.jar:2.3.32.97]
{quote}


was (Author: deepak.dixit):
```Caused by: java.lang.NullPointerException: Cannot invoke 
"java.lang.Package.getName()" because "accessedPackage" is null```

> Test next FreeMarker release 
> -----------------------------
>
>                 Key: OFBIZ-12934
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12934
>             Project: OFBiz
>          Issue Type: Task
>          Components: Freemarker
>    Affects Versions: Upcoming Branch
>            Reporter: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-12934.patch, OFBIZ-12934.txt
>
>
> {color:#FF8B00}This issue is a "reusable" one, not to be closed...{color}
> It's intended to test next FreeMarker releases [as, for instance, requested 
> by the FreeMarker 
> team|https://lists.apache.org/thread/t4c9z7wkcp3dbdokmnjd32fcptq8h9tz]
> As it's not an as simple change, here I attach a patch as an exemple based on 
> the test requested above: [^OFBIZ-12934.patch] 



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

Reply via email to