i have created one entity item
when i click all button in webtools on this item i get following error org.ofbiz.base.util.GeneralException: Error rendering screen [component://webtools/widget/EntityScreens.xml#FindGeneric]: org.ofbiz.base.util.GeneralException: Error running BSH script at location [component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh]: org.ofbiz.base.util.GeneralException: Error running BSH script at [component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh], line [135]: Sourced file: component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh : Method Invocation delegator.findCountByCondition : at Line: 135 : in file: component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh : delegator .findCountByCondition ( entityName , condition , null ) Target exception: org.ofbiz.entity.GenericEntityException: Helper name not found for entity Item (Sourced file: component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh : Method Invocation delegator.findCountByCondition) (Error running BSH script at [component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh], line [135]: Sourced file: component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh : Method Invocation delegator.findCountByCondition : at Line: 135 : in file: component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh : delegator .findCountByCondition ( entityName , condition , null ) Target exception: org.ofbiz.entity.GenericEntityException: Helper name not found for entity Item (Sourced file: component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh : Method Invocation delegator.findCountByCondition)) (Error running BSH script at location [component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh]: org.ofbiz.base.util.GeneralException: Error running BSH script at [component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh], line [135]: Sourced file: component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh : Method Invocation delegator.findCountByCondition : at Line: 135 : in file: component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh : delegator .findCountByCondition ( entityName , condition , null ) Target exception: org.ofbiz.entity.GenericEntityException: Helper name not found for entity Item (Sourced file: component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh : Method Invocation delegator.findCountByCondition) (Error running BSH script at [component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh], line [135]: Sourced file: component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh : Method Invocation delegator.findCountByCondition : at Line: 135 : in file: component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh : delegator .findCountByCondition ( entityName , condition , null ) Target exception: org.ofbiz.entity.GenericEntityException: Helper name not found for entity Item (Sourced file: component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh : Method Invocation delegator.findCountByCondition))) |
Your entity "Item" needs not only be defined in an entitymodel xml file
that gets loaded by your ofbiz-component file, but also be included in an entitygroup that is loaded by your ofbiz-component file. --- amit charaya <[hidden email]> wrote: > > i have created one entity item > when i click all button in webtools on this item i get following > error > > org.ofbiz.base.util.GeneralException: Error rendering screen > [component://webtools/widget/EntityScreens.xml#FindGeneric]: > org.ofbiz.base.util.GeneralException: Error running BSH script at > location > > org.ofbiz.base.util.GeneralException: Error running BSH script at > [component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh], > line [135]: Sourced file: > component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh > : Method Invocation delegator.findCountByCondition : at Line: 135 : > in file: > component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh > : delegator .findCountByCondition ( entityName , condition , null ) > > Target exception: org.ofbiz.entity.GenericEntityException: Helper > name not > found for entity Item > (Sourced file: > component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh > : Method Invocation delegator.findCountByCondition) (Error running > BSH > script at > [component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh], > line [135]: Sourced file: > component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh > : Method Invocation delegator.findCountByCondition : at Line: 135 : > in file: > component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh > : delegator .findCountByCondition ( entityName , condition , null ) > > Target exception: org.ofbiz.entity.GenericEntityException: Helper > name not > found for entity Item > (Sourced file: > component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh > : Method Invocation delegator.findCountByCondition)) (Error running > BSH > script at location > [component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh]: > org.ofbiz.base.util.GeneralException: Error running BSH script at > [component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh], > line [135]: Sourced file: > component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh > : Method Invocation delegator.findCountByCondition : at Line: 135 : > in file: > component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh > : delegator .findCountByCondition ( entityName , condition , null ) > > Target exception: org.ofbiz.entity.GenericEntityException: Helper > name not > found for entity Item > (Sourced file: > component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh > : Method Invocation delegator.findCountByCondition) (Error running > BSH > script at > [component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh], > line [135]: Sourced file: > component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh > : Method Invocation delegator.findCountByCondition : at Line: 135 : > in file: > component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh > : delegator .findCountByCondition ( entityName , condition , null ) > > Target exception: org.ofbiz.entity.GenericEntityException: Helper > name not > found for entity Item > (Sourced file: > component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.bsh > : Method Invocation delegator.findCountByCondition))) > -- > View this message in context: > http://www.nabble.com/run-time-error-tf3864689.html#a10948240 > Sent from the OFBiz - User mailing list archive at Nabble.com. > > |
Free forum by Nabble | Edit this page |