SAP Knowledge Base Article - Preview

2548245 - Theme Transport error where resulting theme is corrupted

Symptom

  • You are trying to Transport a custom theme using System Administration -> Portal Display -> Theme Transport
  • The export will fail, producing a <custom-theme>.zip file of just 0KB. 
  • Checking the Java engine Developer/Default Trace files you observe an error:
    "[EXCEPTION]
    java.lang.NullPointerException: while trying to invoke the method javax.naming.directory.Attribute.get() of a null object loaded from local variable 'lessZipAttribute'
    at com.sapportals.portal.design.less.LessThemingUtils.getLessContentFromSemanticObjectAttributes(LessThemingUtils.java:884)
    at com.sapportals.portal.design.less.LessPortalDataManager.exportDesign(LessPortalDataManager.java:346)
    at com.sapportals.portal.design.DesignService.exportDesign(DesignService.java:328)
    at com.sapportals.portal.styles.stylearchive.StyleArchive.doDownloadCustomerDesign(StyleArchive.java:226)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)"

Read more...

Environment

  • SAP NetWeaver Application Server for Java 7.00
  • SAP NetWeaver Application Server for Java 7.01
  • SAP NetWeaver Application Server for Java 7.02
  • Enterprise Portal

Product

SAP NetWeaver 7.0 ; SAP enhancement package 1 for SAP NetWeaver 7.0 ; SAP enhancement package 2 for SAP NetWeaver 7.0

Keywords

import, export, importing, exporting, null, zero, empty, corrupt, inconsistent, corrupted, broken, exception, error, small, file, kilobytes, kilo, bytes, ui, theme, designer, theme, editor, motiv, old, legacy, less, uitd, portal, ep, nw, netweaver, size , KBA , EP-PIN-TOL , Themes / Portal UI Theme Designer / Theme Editor , EP-PIN-PRT , Portal Runtime , CA-UI2-THD , Theme Designer , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.