SAP Knowledge Base Article - Preview

2505950 - Error when trying to upload a file into KM

Symptom

You are using When Knowledge Management (KM) 7.3 and upwards, and you try to upload a file into a CM (Content Management) repository, you get the following error:

System Error

An exception occurred during the program execution. 

Exception Message:  java.lang.NullPointerException: while trying to invoke the method com.sapportals.wcm.repository.util.file.IFile.getName() of a null object loaded from local variable 'tmpFile'

NullPointerException-tmpfile.jpg

In the Default Trace file you can also find the errors as follows:

  • while trying to invoke the method com.sapportals.wcm.repository.IProperty.getValueAsString() of a null object loaded from local variable 'property' java.lang.NullPointerException: while trying to invoke the method com.sapportals.wcm.repository.IProperty.getValueAsString() of a null object loaded from local variable 'property'
  • Error while retrieving properties for IMetaName <rpt:state>; com.sapportals.wcm.WcmException: java.lang.NullPointerException: while trying to invoke the method com.sapportals.wcm.repository.IProperty.getValueAsString() of a null object loaded from local variable 'property'


Read more...

Environment

  • SAP NetWeaver 7.3
  • SAP enhancement package 1 for SAP NetWeaver 7.3
  • SAP NetWeaver 7.4
  • SAP Netweaver 7.5

Product

SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.3

Keywords

Enterprise Portal 7.30, EP 7.30, Enterprise Portal 7.31, EP 7.31, Enterprise Portal 7.40, EP 7.4, Enterprise Portal 7.50, EP 7.5 , KBA , EP-KM-CM-UI , CM User Interface , Problem

About this page

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

Search for additional results

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