|
Creating instance of abstract class org.ofbiz.base.util.string.FlexibleStringExpander
------------------------------------------------------------------------------------- Key: OFBIZ-3443 URL: https://issues.apache.org/jira/browse/OFBIZ-3443 Project: OFBiz Issue Type: Bug Reporter: Abdullah Shaikh In EditCategory.groovy & EditProductConfigItemContent.groovy, the line filenameExpander = new FlexibleStringExpander(imageFilenameFormat), is throwing below error. Error : org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://product/widget/catalog/CategoryScreens.xml#EditCategory]: org.ofbiz.base.util.GeneralException: Error running Groovy script at location [component://product/webapp/catalog/WEB-INF/actions/category/EditCategory.groovy] (Error loading Groovy script at [component://product/webapp/catalog/WEB-INF/actions/category/EditCategory.groovy]: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: component://product/webapp/catalog/WEB-INF/actions/category/EditCategory.groovy: 45: You cannot create an instance from the abstract class 'org.ofbiz.base.util.string.FlexibleStringExpander'. @ line 45, column 20. filenameExpander = new FlexibleStringExpander(imageFilenameFormat); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
[ https://issues.apache.org/jira/browse/OFBIZ-3443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abdullah Shaikh updated OFBIZ-3443: ----------------------------------- Attachment: OFBIZ-3443_Creating instance of abstract class.patch I have changed the line filenameExpander = new FlexibleStringExpander(imageFilenameFormat); to filenameExpander = FlexibleStringExpander.getInstance(imageFilenameFormat); in both EditCategory.groovy & EditProductConfigItemContent.groovy, I searched for "new FlexibleStringExpander", but these were the only files. > Creating instance of abstract class org.ofbiz.base.util.string.FlexibleStringExpander > ------------------------------------------------------------------------------------- > > Key: OFBIZ-3443 > URL: https://issues.apache.org/jira/browse/OFBIZ-3443 > Project: OFBiz > Issue Type: Bug > Reporter: Abdullah Shaikh > Attachments: OFBIZ-3443_Creating instance of abstract class.patch > > > In EditCategory.groovy & EditProductConfigItemContent.groovy, the line filenameExpander = new FlexibleStringExpander(imageFilenameFormat), is throwing below error. > Error : > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://product/widget/catalog/CategoryScreens.xml#EditCategory]: org.ofbiz.base.util.GeneralException: Error running Groovy script at location [component://product/webapp/catalog/WEB-INF/actions/category/EditCategory.groovy] (Error loading Groovy script at [component://product/webapp/catalog/WEB-INF/actions/category/EditCategory.groovy]: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: > component://product/webapp/catalog/WEB-INF/actions/category/EditCategory.groovy: 45: You cannot create an instance from the abstract class 'org.ofbiz.base.util.string.FlexibleStringExpander'. > @ line 45, column 20. > filenameExpander = new FlexibleStringExpander(imageFilenameFormat); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacopo Cappellato reassigned OFBIZ-3443: ---------------------------------------- Assignee: Jacopo Cappellato > Creating instance of abstract class org.ofbiz.base.util.string.FlexibleStringExpander > ------------------------------------------------------------------------------------- > > Key: OFBIZ-3443 > URL: https://issues.apache.org/jira/browse/OFBIZ-3443 > Project: OFBiz > Issue Type: Bug > Reporter: Abdullah Shaikh > Assignee: Jacopo Cappellato > Attachments: OFBIZ-3443_Creating instance of abstract class.patch > > > In EditCategory.groovy & EditProductConfigItemContent.groovy, the line filenameExpander = new FlexibleStringExpander(imageFilenameFormat), is throwing below error. > Error : > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://product/widget/catalog/CategoryScreens.xml#EditCategory]: org.ofbiz.base.util.GeneralException: Error running Groovy script at location [component://product/webapp/catalog/WEB-INF/actions/category/EditCategory.groovy] (Error loading Groovy script at [component://product/webapp/catalog/WEB-INF/actions/category/EditCategory.groovy]: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: > component://product/webapp/catalog/WEB-INF/actions/category/EditCategory.groovy: 45: You cannot create an instance from the abstract class 'org.ofbiz.base.util.string.FlexibleStringExpander'. > @ line 45, column 20. > filenameExpander = new FlexibleStringExpander(imageFilenameFormat); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacopo Cappellato closed OFBIZ-3443. ------------------------------------ Resolution: Fixed Thank you Abdullah, your patch is in rev. 906910 > Creating instance of abstract class org.ofbiz.base.util.string.FlexibleStringExpander > ------------------------------------------------------------------------------------- > > Key: OFBIZ-3443 > URL: https://issues.apache.org/jira/browse/OFBIZ-3443 > Project: OFBiz > Issue Type: Bug > Reporter: Abdullah Shaikh > Assignee: Jacopo Cappellato > Attachments: OFBIZ-3443_Creating instance of abstract class.patch > > > In EditCategory.groovy & EditProductConfigItemContent.groovy, the line filenameExpander = new FlexibleStringExpander(imageFilenameFormat), is throwing below error. > Error : > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://product/widget/catalog/CategoryScreens.xml#EditCategory]: org.ofbiz.base.util.GeneralException: Error running Groovy script at location [component://product/webapp/catalog/WEB-INF/actions/category/EditCategory.groovy] (Error loading Groovy script at [component://product/webapp/catalog/WEB-INF/actions/category/EditCategory.groovy]: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: > component://product/webapp/catalog/WEB-INF/actions/category/EditCategory.groovy: 45: You cannot create an instance from the abstract class 'org.ofbiz.base.util.string.FlexibleStringExpander'. > @ line 45, column 20. > filenameExpander = new FlexibleStringExpander(imageFilenameFormat); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
| Free forum by Nabble | Edit this page |
