unpredictable behavior during debugging of ofbiz service

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

unpredictable behavior during debugging of ofbiz service

Chuck22
Hi

I am expericing a strange behavior: when I debug a product detail page in my
catalog, I got different error message when refresh the same page (see
enclosed two error messages: #1 and #2).

Also strangely, it also happen to DemoCatalog product, for example, a
product detail page in DemoCatalog display OK on browser. But, if I set a
breakpoint at a service downstream method findByCondition in
GenericDelegator.java . It caught a *GenericEntityException  *and display
the error message #1 to the browser.

I guess they are related to the multi-threading of the service framework.
The error difference might be due to the thread execution order. Am I right?
Also, I cann't figure out how come a good displaying page could fail to
display when a service thread is suspended for debugging for a moment.

So, how would you debug in this situation?

Secondly, where is the debug log file for Debug.logError(e, errMsg, module);
?

Thanks,

-CB


public List findByCondition(String entityName, EntityCondition
whereEntityCondition,
            EntityCondition havingEntityCondition, Collection
fieldsToSelect, List orderBy, EntityFindOptions findOptions)
            throws GenericEntityException {
        boolean beganTransaction = false;
        try {
            if (alwaysUseTransaction) {
                beganTransaction = TransactionUtil.begin();
            }

            EntityListIterator eli =
this.findListIteratorByCondition(entityName,
whereEntityCondition, havingEntityCondition, fieldsToSelect, orderBy,
findOptions);
            eli.setDelegator(this);
            List list = eli.getCompleteList();
            eli.close();

            return list;
        } *catch (GenericEntityException e)* {
            *String errMsg = "Failure in findByCondition operation for
entity [" + entityName + "]: " + e.toString() + ". Rolling back
transaction.";
*            Debug.logError(e, errMsg, module);
            try {
                // only rollback the transaction if we started one...
                TransactionUtil.rollback(beganTransaction, errMsg, e);
            } catch (GenericEntityException e2) {
                Debug.logError(e2, "[GenericDelegator] Could not rollback
transaction: " + e2.toString (), module);
            }
            // after rolling back, rethrow the exception
            throw e;
        } finally {
            // only commit the transaction if we started one... this will
throw an exception if it fails
            TransactionUtil.commit(beganTransaction);
        }
    }

************* error message #1 displayed on browser
**************************
   org.ofbiz.base.util.GeneralException: Error rendering screen
[component://ecommerce/widget/CatalogScreens.xml#product]:
org.ofbiz.base.util.GeneralException : Error rendering screen
[component://ecommerce/widget/CommonScreens.xml#main-decorator]:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://ecommerce/widget/CatalogScreens.xml#productdetail]:
org.ofbiz.base.util.GeneralException : Error running BSH script at location
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [399]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd : at Line: 399 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: delegator .findByAnd ( "ProductFeatureAndAppl" , UtilMisc .toMap (
"productId" , productId , "productFeatureTypeId" , commonProductFeatureId )
, UtilMisc .toList ( "sequenceNum" , "defaultSequenceNum" ) )

Target exception: org.ofbiz.entity.GenericDataSourceException: SQL Exception
occurred on commit (Cannot commit a transactional connection: See JDBC
2.0Optional Package Specification section
7.1 (p25))
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd) (Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [399]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd : at Line: 399 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: delegator .findByAnd ( "ProductFeatureAndAppl" , UtilMisc .toMap (
"productId" , productId , "productFeatureTypeId" , commonProductFeatureId )
, UtilMisc .toList ( "sequenceNum" , "defaultSequenceNum" ) )

Target exception: org.ofbiz.entity.GenericDataSourceException: SQL Exception
occurred on commit (Cannot commit a transactional connection: See JDBC
2.0Optional Package Specification section
7.1 (p25))
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd)) (Error running BSH script at
location
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [399]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd : at Line: 399 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: delegator .findByAnd ( "ProductFeatureAndAppl" , UtilMisc .toMap (
"productId" , productId , "productFeatureTypeId" , commonProductFeatureId )
, UtilMisc .toList ( "sequenceNum" , "defaultSequenceNum" ) )

Target exception: org.ofbiz.entity.GenericDataSourceException: SQL Exception
occurred on commit (Cannot commit a transactional connection: See JDBC
2.0Optional Package Specification section
7.1 (p25))
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd) (Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [399]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd : at Line: 399 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: delegator .findByAnd ( "ProductFeatureAndAppl" , UtilMisc .toMap (
"productId" , productId , "productFeatureTypeId" , commonProductFeatureId )
, UtilMisc .toList ( "sequenceNum" , "defaultSequenceNum" ) )

Target exception: org.ofbiz.entity.GenericDataSourceException: SQL Exception
occurred on commit (Cannot commit a transactional connection: See JDBC
2.0Optional Package Specification section
7.1 (p25))
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd))) (Error rendering screen
[component://ecommerce/widget/CatalogScreens.xml#productdetail]:
org.ofbiz.base.util.GeneralException: Error running BSH script at location
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [399]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd : at Line: 399 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: delegator .findByAnd ( "ProductFeatureAndAppl" , UtilMisc .toMap (
"productId" , productId , "productFeatureTypeId" , commonProductFeatureId )
, UtilMisc .toList ( "sequenceNum" , "defaultSequenceNum" ) )

Target exception: org.ofbiz.entity.GenericDataSourceException: SQL Exception
occurred on commit (Cannot commit a transactional connection: See JDBC
2.0Optional Package Specification section
7.1 (p25))
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd) (Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [399]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd : at Line: 399 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: delegator .findByAnd ( "ProductFeatureAndAppl" , UtilMisc .toMap (
"productId" , productId , "productFeatureTypeId" , commonProductFeatureId )
, UtilMisc .toList ( "sequenceNum" , "defaultSequenceNum" ) )

Target exception: org.ofbiz.entity.GenericDataSourceException: SQL Exception
occurred on commit (Cannot commit a transactional connection: See JDBC
2.0Optional Package Specification section
7.1 (p25))
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd)) (Error running BSH script at
location
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [399]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd : at Line: 399 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: delegator .findByAnd ( "ProductFeatureAndAppl" , UtilMisc .toMap (
"productId" , productId , "productFeatureTypeId" , commonProductFeatureId )
, UtilMisc .toList ( "sequenceNum" , "defaultSequenceNum" ) )

Target exception: org.ofbiz.entity.GenericDataSourceException: SQL Exception
occurred on commit (Cannot commit a transactional connection: See JDBC
2.0Optional Package Specification section
7.1 (p25))
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd) (Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [399]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd : at Line: 399 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: delegator .findByAnd ( "ProductFeatureAndAppl" , UtilMisc .toMap (
"productId" , productId , "productFeatureTypeId" , commonProductFeatureId )
, UtilMisc .toList ( "sequenceNum" , "defaultSequenceNum" ) )

Target exception: org.ofbiz.entity.GenericDataSourceException: SQL Exception
occurred on commit (Cannot commit a transactional connection: See JDBC
2.0Optional Package Specification section
7.1 (p25))
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd)))) (Error rendering screen
[component://ecommerce/widget/CommonScreens.xml#main-decorator]:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://ecommerce/widget/CatalogScreens.xml#productdetail]:
org.ofbiz.base.util.GeneralException: Error running BSH script at location
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [399]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd : at Line: 399 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: delegator .findByAnd ( "ProductFeatureAndAppl" , UtilMisc .toMap (
"productId" , productId , "productFeatureTypeId" , commonProductFeatureId )
, UtilMisc .toList ( "sequenceNum" , "defaultSequenceNum" ) )

Target exception: org.ofbiz.entity.GenericDataSourceException: SQL Exception
occurred on commit (Cannot commit a transactional connection: See JDBC
2.0Optional Package Specification section
7.1 (p25))
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd) (Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [399]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd : at Line: 399 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: delegator .findByAnd ( "ProductFeatureAndAppl" , UtilMisc .toMap (
"productId" , productId , "productFeatureTypeId" , commonProductFeatureId )
, UtilMisc .toList ( "sequenceNum" , "defaultSequenceNum" ) )

Target exception: org.ofbiz.entity.GenericDataSourceException: SQL Exception
occurred on commit (Cannot commit a transactional connection: See JDBC
2.0Optional Package Specification section
7.1 (p25))
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd)) (Error running BSH script at
location
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [399]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd : at Line: 399 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: delegator .findByAnd ( "ProductFeatureAndAppl" , UtilMisc .toMap (
"productId" , productId , "productFeatureTypeId" , commonProductFeatureId )
, UtilMisc .toList ( "sequenceNum" , "defaultSequenceNum" ) )

Target exception: org.ofbiz.entity.GenericDataSourceException: SQL Exception
occurred on commit (Cannot commit a transactional connection: See JDBC
2.0Optional Package Specification section
7.1 (p25))
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd) (Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [399]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd : at Line: 399 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: delegator .findByAnd ( "ProductFeatureAndAppl" , UtilMisc .toMap (
"productId" , productId , "productFeatureTypeId" , commonProductFeatureId )
, UtilMisc .toList ( "sequenceNum" , "defaultSequenceNum" ) )

Target exception: org.ofbiz.entity.GenericDataSourceException: SQL Exception
occurred on commit (Cannot commit a transactional connection: See JDBC
2.0Optional Package Specification section
7.1 (p25))
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd))) (Error rendering screen
[component://ecommerce/widget/CatalogScreens.xml#productdetail]:
org.ofbiz.base.util.GeneralException: Error running BSH script at location
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [399]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd : at Line: 399 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: delegator .findByAnd ( "ProductFeatureAndAppl" , UtilMisc .toMap (
"productId" , productId , "productFeatureTypeId" , commonProductFeatureId )
, UtilMisc .toList ( "sequenceNum" , "defaultSequenceNum" ) )

Target exception: org.ofbiz.entity.GenericDataSourceException: SQL Exception
occurred on commit (Cannot commit a transactional connection: See JDBC
2.0Optional Package Specification section
7.1 (p25))
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd) (Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [399]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd : at Line: 399 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: delegator .findByAnd ( "ProductFeatureAndAppl" , UtilMisc .toMap (
"productId" , productId , "productFeatureTypeId" , commonProductFeatureId )
, UtilMisc .toList ( "sequenceNum" , "defaultSequenceNum" ) )

Target exception: org.ofbiz.entity.GenericDataSourceException: SQL Exception
occurred on commit (Cannot commit a transactional connection: See JDBC
2.0Optional Package Specification section
7.1 (p25))
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd)) (Error running BSH script at
location
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [399]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd : at Line: 399 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: delegator .findByAnd ( "ProductFeatureAndAppl" , UtilMisc .toMap (
"productId" , productId , "productFeatureTypeId" , commonProductFeatureId )
, UtilMisc .toList ( "sequenceNum" , "defaultSequenceNum" ) )

Target exception: org.ofbiz.entity.GenericDataSourceException: SQL Exception
occurred on commit (Cannot commit a transactional connection: See JDBC
2.0Optional Package Specification section
7.1 (p25))
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd) (Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [399]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd : at Line: 399 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: delegator .findByAnd ( "ProductFeatureAndAppl" , UtilMisc .toMap (
"productId" , productId , "productFeatureTypeId" , commonProductFeatureId )
, UtilMisc .toList ( "sequenceNum" , "defaultSequenceNum" ) )

Target exception: org.ofbiz.entity.GenericDataSourceException: SQL Exception
occurred on commit (Cannot commit a transactional connection: See JDBC
2.0Optional Package Specification section
7.1 (p25))
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation delegator.findByAnd)))))

************* error message #2 displayed on browser
**************************

org.ofbiz.base.util.GeneralException: Error rendering screen
[component://ecommerce/widget/CatalogScreens.xml#product]:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://ecommerce/widget/CommonScreens.xml#main-decorator]:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://ecommerce/widget/CatalogScreens.xml#productdetail]:
org.ofbiz.base.util.GeneralException: Error running BSH script at location
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [384]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync : at Line: 384 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: dispatcher .runSync ( "getAssociatedProducts" , UtilMisc .toMap (
"productId" , productId , "type" , "PRODUCT_OBSOLESCENCE" , "checkViewAllow"
, Boolean .TRUE , "prodCatalogId" , currentCatalogId ) )

Target exception: org.ofbiz.service.GenericServiceException: Problems with
the transaction. (The current transaction is marked for rollback, not
beginning a new transaction and aborting current operation; the rollbackOnly
was caused by: Service Error [getProductVariantTree]: Feature sample came
back empty.)
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync) (Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [384]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync : at Line: 384 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: dispatcher .runSync ( "getAssociatedProducts" , UtilMisc .toMap (
"productId" , productId , "type" , "PRODUCT_OBSOLESCENCE" , "checkViewAllow"
, Boolean .TRUE , "prodCatalogId" , currentCatalogId ) )

Target exception: org.ofbiz.service.GenericServiceException: Problems with
the transaction. (The current transaction is marked for rollback, not
beginning a new transaction and aborting current operation; the rollbackOnly
was caused by: Service Error [getProductVariantTree]: Feature sample came
back empty.)
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync)) (Error running BSH script at
location
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [384]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync : at Line: 384 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: dispatcher .runSync ( "getAssociatedProducts" , UtilMisc .toMap (
"productId" , productId , "type" , "PRODUCT_OBSOLESCENCE" , "checkViewAllow"
, Boolean .TRUE , "prodCatalogId" , currentCatalogId ) )

Target exception: org.ofbiz.service.GenericServiceException: Problems with
the transaction. (The current transaction is marked for rollback, not
beginning a new transaction and aborting current operation; the rollbackOnly
was caused by: Service Error [getProductVariantTree]: Feature sample came
back empty.)
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync) (Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [384]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync : at Line: 384 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: dispatcher .runSync ( "getAssociatedProducts" , UtilMisc .toMap (
"productId" , productId , "type" , "PRODUCT_OBSOLESCENCE" , "checkViewAllow"
, Boolean .TRUE , "prodCatalogId" , currentCatalogId ) )

Target exception: org.ofbiz.service.GenericServiceException: Problems with
the transaction. (The current transaction is marked for rollback, not
beginning a new transaction and aborting current operation; the rollbackOnly
was caused by: Service Error [getProductVariantTree]: Feature sample came
back empty.)
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync))) (Error rendering screen
[component://ecommerce/widget/CatalogScreens.xml#productdetail]:
org.ofbiz.base.util.GeneralException: Error running BSH script at location
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [384]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync : at Line: 384 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: dispatcher .runSync ( "getAssociatedProducts" , UtilMisc .toMap (
"productId" , productId , "type" , "PRODUCT_OBSOLESCENCE" , "checkViewAllow"
, Boolean .TRUE , "prodCatalogId" , currentCatalogId ) )

Target exception: org.ofbiz.service.GenericServiceException: Problems with
the transaction. (The current transaction is marked for rollback, not
beginning a new transaction and aborting current operation; the rollbackOnly
was caused by: Service Error [getProductVariantTree]: Feature sample came
back empty.)
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync) (Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [384]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync : at Line: 384 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: dispatcher .runSync ( "getAssociatedProducts" , UtilMisc .toMap (
"productId" , productId , "type" , "PRODUCT_OBSOLESCENCE" , "checkViewAllow"
, Boolean .TRUE , "prodCatalogId" , currentCatalogId ) )

Target exception: org.ofbiz.service.GenericServiceException: Problems with
the transaction. (The current transaction is marked for rollback, not
beginning a new transaction and aborting current operation; the rollbackOnly
was caused by: Service Error [getProductVariantTree]: Feature sample came
back empty.)
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync)) (Error running BSH script at
location
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [384]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync : at Line: 384 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: dispatcher .runSync ( "getAssociatedProducts" , UtilMisc .toMap (
"productId" , productId , "type" , "PRODUCT_OBSOLESCENCE" , "checkViewAllow"
, Boolean .TRUE , "prodCatalogId" , currentCatalogId ) )

Target exception: org.ofbiz.service.GenericServiceException: Problems with
the transaction. (The current transaction is marked for rollback, not
beginning a new transaction and aborting current operation; the rollbackOnly
was caused by: Service Error [getProductVariantTree]: Feature sample came
back empty.)
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync) (Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [384]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync : at Line: 384 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: dispatcher .runSync ( "getAssociatedProducts" , UtilMisc .toMap (
"productId" , productId , "type" , "PRODUCT_OBSOLESCENCE" , "checkViewAllow"
, Boolean .TRUE , "prodCatalogId" , currentCatalogId ) )

Target exception: org.ofbiz.service.GenericServiceException: Problems with
the transaction. (The current transaction is marked for rollback, not
beginning a new transaction and aborting current operation; the rollbackOnly
was caused by: Service Error [getProductVariantTree]: Feature sample came
back empty.)
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync)))) (Error rendering screen
[component://ecommerce/widget/CommonScreens.xml#main-decorator]:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://ecommerce/widget/CatalogScreens.xml#productdetail]:
org.ofbiz.base.util.GeneralException: Error running BSH script at location
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [384]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync : at Line: 384 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: dispatcher .runSync ( "getAssociatedProducts" , UtilMisc .toMap (
"productId" , productId , "type" , "PRODUCT_OBSOLESCENCE" , "checkViewAllow"
, Boolean .TRUE , "prodCatalogId" , currentCatalogId ) )

Target exception: org.ofbiz.service.GenericServiceException: Problems with
the transaction. (The current transaction is marked for rollback, not
beginning a new transaction and aborting current operation; the rollbackOnly
was caused by: Service Error [getProductVariantTree]: Feature sample came
back empty.)
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync) (Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [384]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync : at Line: 384 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: dispatcher .runSync ( "getAssociatedProducts" , UtilMisc .toMap (
"productId" , productId , "type" , "PRODUCT_OBSOLESCENCE" , "checkViewAllow"
, Boolean .TRUE , "prodCatalogId" , currentCatalogId ) )

Target exception: org.ofbiz.service.GenericServiceException: Problems with
the transaction. (The current transaction is marked for rollback, not
beginning a new transaction and aborting current operation; the rollbackOnly
was caused by: Service Error [getProductVariantTree]: Feature sample came
back empty.)
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync)) (Error running BSH script at
location
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [384]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync : at Line: 384 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: dispatcher .runSync ( "getAssociatedProducts" , UtilMisc .toMap (
"productId" , productId , "type" , "PRODUCT_OBSOLESCENCE" , "checkViewAllow"
, Boolean .TRUE , "prodCatalogId" , currentCatalogId ) )

Target exception: org.ofbiz.service.GenericServiceException: Problems with
the transaction. (The current transaction is marked for rollback, not
beginning a new transaction and aborting current operation; the rollbackOnly
was caused by: Service Error [getProductVariantTree]: Feature sample came
back empty.)
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync) (Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [384]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync : at Line: 384 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: dispatcher .runSync ( "getAssociatedProducts" , UtilMisc .toMap (
"productId" , productId , "type" , "PRODUCT_OBSOLESCENCE" , "checkViewAllow"
, Boolean .TRUE , "prodCatalogId" , currentCatalogId ) )

Target exception: org.ofbiz.service.GenericServiceException: Problems with
the transaction. (The current transaction is marked for rollback, not
beginning a new transaction and aborting current operation; the rollbackOnly
was caused by: Service Error [getProductVariantTree]: Feature sample came
back empty.)
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync))) (Error rendering screen
[component://ecommerce/widget/CatalogScreens.xml#productdetail]:
org.ofbiz.base.util.GeneralException: Error running BSH script at location
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [384]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync : at Line: 384 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: dispatcher .runSync ( "getAssociatedProducts" , UtilMisc .toMap (
"productId" , productId , "type" , "PRODUCT_OBSOLESCENCE" , "checkViewAllow"
, Boolean .TRUE , "prodCatalogId" , currentCatalogId ) )

Target exception: org.ofbiz.service.GenericServiceException: Problems with
the transaction. (The current transaction is marked for rollback, not
beginning a new transaction and aborting current operation; the rollbackOnly
was caused by: Service Error [getProductVariantTree]: Feature sample came
back empty.)
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync) (Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [384]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync : at Line: 384 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: dispatcher .runSync ( "getAssociatedProducts" , UtilMisc .toMap (
"productId" , productId , "type" , "PRODUCT_OBSOLESCENCE" , "checkViewAllow"
, Boolean .TRUE , "prodCatalogId" , currentCatalogId ) )

Target exception: org.ofbiz.service.GenericServiceException: Problems with
the transaction. (The current transaction is marked for rollback, not
beginning a new transaction and aborting current operation; the rollbackOnly
was caused by: Service Error [getProductVariantTree]: Feature sample came
back empty.)
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync)) (Error running BSH script at
location
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [384]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync : at Line: 384 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: dispatcher .runSync ( "getAssociatedProducts" , UtilMisc .toMap (
"productId" , productId , "type" , "PRODUCT_OBSOLESCENCE" , "checkViewAllow"
, Boolean .TRUE , "prodCatalogId" , currentCatalogId ) )

Target exception: org.ofbiz.service.GenericServiceException: Problems with
the transaction. (The current transaction is marked for rollback, not
beginning a new transaction and aborting current operation; the rollbackOnly
was caused by: Service Error [getProductVariantTree]: Feature sample came
back empty.)
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync) (Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh],
line [384]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync : at Line: 384 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: dispatcher .runSync ( "getAssociatedProducts" , UtilMisc .toMap (
"productId" , productId , "type" , "PRODUCT_OBSOLESCENCE" , "checkViewAllow"
, Boolean .TRUE , "prodCatalogId" , currentCatalogId ) )

Target exception: org.ofbiz.service.GenericServiceException: Problems with
the transaction. (The current transaction is marked for rollback, not
beginning a new transaction and aborting current operation; the rollbackOnly
was caused by: Service Error [getProductVariantTree]: Feature sample came
back empty.)
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/productdetail.bsh
: Method Invocation dispatcher.runSync)))))