Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

6.2 Upgrade issue

Avatar

Level 1

I am getting an error as below when i am trying to open a page

Error during include of component '/apps/lifescience/components/page/basePage'

Error Message:

org.apache.sling.api.scripting.ScriptEvaluationException: org.apache.sling.scripting.sightly.SightlyException: org.apache.sling.api.scripting.ScriptEvaluationException: org.apache.sling.scripting.sightly.SightlyException: data-sly-call: expression evaluates to null.

The base page HTML has:-

<body>
    <div class="offcanvas">
        <!-- Locale component -->
        <div class="container country-select country">
          <span class="icon-close_button close" aria-hidden="true"></span>
              <div class="row localepulldown">      
            </div>
        </div>
          <!-- Login Component 'container login clearfix'-->
        <div data-sly-include="login.html" data-sly-unwrap> </div>
    </div>
    <div class="canvas">
       <div data-sly-include="header.html" data-sly-unwrap> </div>
       <div data-sly-include="content.html" data-sly-unwrap> </div>
       <div data-sly-include="footer.html" data-sly-unwrap> </div>
    </div>
    <div data-sly-use.clientLib="${'/libs/granite/sightly/templates/clientlib.html'}"></div>
    <div data-sly-test="${!wcmmode.disabled}" data-sly-unwrap>
        <js data-sly-call="${clientLib.js @ categories=['ABC.widgets']}" data-sly-unwrap/>
    </div>
    <div data-sly-test="${!wcmmode.disabled}" data-sly-unwrap>
        <meta data-sly-call="${clientLib.js @ categories='cq.jquery'}" data-sly-unwrap />
    </div>
    <script src="/etc/designs/ABC/clientlib-site/js/modernizr.js" defer></script>

    <div data-sly-call="${clientLib.js @ categories=['ABC']}" data-sly-unwrap></div>
    
    <div data-sly-test="${inheritedPageProperties.bodyJS}" data-sly-unwrap>
          ${inheritedPageProperties.bodyJS @ context='styleToken'}
    </div>      
</body>

The situation came when i have upgraded from 6.0SP3 to 6.2 SP1 . Please help . Thanks in advance .

0 Replies