Cannot read property 'attribute' of null

TypeError: Cannot read property 'attribute' of null
    at getProduct (/opt/tam/frontend/shop/source/routes/category/product-list-detail.js:38:49)
    at <anonymous>