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

BJ Freeman commented on OFBIZ-2567:
-----------------------------------

May be David can give some guidance.
I think that the getModelEntity  should give a debug.info that a entity was not 
found and return a null.
ad the comments suggest.
or mabe use a different method to check for the entity.


> Entity VirtualProduct missing
> -----------------------------
>
>                 Key: OFBIZ-2567
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2567
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: Release Branch 9.04
>         Environment: OFBiz 9.04.781707
>            Reporter: Jan Valkovic
>             Fix For: Release Branch 9.04, SVN trunk
>
>
> Here https://localhost:8443/catalog/control/quickCreateVirtualWithVariants is 
> occured this:
> 2009-06-04 14:23:56,055 (http-0.0.0.0-8443-3) [     
> ControlServlet.java:299:INFO ] [[[ApplyFeaturesToProduct] Request Done- 
> total:1.456,since last([ApplyFeaturesToP...):1.456]]                          
>                                                                               
>                                                             
> 2009-06-04 14:24:02,304 (http-0.0.0.0-8443-4) [     
> ControlServlet.java:130:INFO ] [[[quickCreateVirtualWithVariants] Request 
> Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]                    
>                                                                               
>                                                           
> 2009-06-04 14:24:02,309 (http-0.0.0.0-8443-4) [   
> GenericDelegator.java:398:ERROR]                                              
>                                           
> ---- exception report 
> ----------------------------------------------------------                    
>                                                                       
> Error getting entity definition from model                                    
>                                                                               
>               
> Exception: org.ofbiz.entity.GenericModelException                             
>                                                                               
>               
> Message: Could not find definition for entity name VirtualProduct             
>                                                                               
>               
> ---- stack trace 
> ---------------------------------------------------------------
> EDIT:
> Stack trace ...
> org.ofbiz.entity.GenericModelException: Could not find definition for entity 
> name VirtualProduct                                                           
>                
> org.ofbiz.entity.model.ModelReader.getModelEntity(ModelReader.java:451)       
>                                                                               
>               
> org.ofbiz.entity.GenericDelegator.getModelEntity(GenericDelegator.java:396)   
>                                                                               
>               
> org.ofbiz.entity.GenericDelegator.getNextSeqIdLong(GenericDelegator.java:3166)
>                                                                               
>               
> org.ofbiz.entity.GenericDelegator.getNextSeqId(GenericDelegator.java:3119)    
>                                                                               
>               
> org.ofbiz.entity.GenericDelegator.getNextSeqId(GenericDelegator.java:3109)    
>                                                                               
>               
> org.ofbiz.product.product.ProductServices.quickCreateVirtualWithVariants(ProductServices.java:743)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to