Show TOC Start of Content Area

Background documentation Example  Locate the document in its SAP Library structure

The following Java exception was logged with severity FATAL in the log of the application and the AS Java. Unfortunately, the problem is harmless and must be an INFO level message in the next version of the application.

In addition to the incorrect severity, the information about the “troublemaker” (here: which resource cannot actually be found) is missing:

 

May 2, 2004 9:49:16 AM # Client_Thread_26     Fatal       java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key false in com.sapportals.portal.pcdeditor.iview.PCDEditorIViewPropBoxParams.createPropBoxParams

java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key false

      at java.util.ResourceBundle.getObject(Unknown Source)

      at java.util.ResourceBundle.getObject(Unknown Source)

      at java.util.ResourceBundle.getString(Unknown Source)

      [..approx. 50 more lines of stacktrace..]

 

The improved message text should be:

Cannot find resource <resource> in bundle <bundle> while processing <brief application description>. Only the technical ID of the resource will be displayed.

 

Caution

Also, this message must not be a log, but a trace message instead.

 

 

End of Content Area