NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This page shows the general form of the live-template macro, and the attachment shows an example of the macro in use. The Test Template is a space template created and modified for this test. It could also be used as a static template.

More information

The general form is:

Error formatting macro: live-template: java.lang.NullPointerException: Cannot invoke "Object.toString()" because the return value of "java.util.Map.get(Object)" is null

To use the

Error formatting macro: live-template: java.lang.NullPointerException: Cannot invoke "Object.toString()" because the return value of "java.util.Map.get(Object)" is null

macro:

  • Create a template in the template editing interface.
  • Put the
    Error formatting macro: live-template: java.lang.NullPointerException: Cannot invoke "Object.toString()" because the return value of "java.util.Map.get(Object)" is null
    macro on a page you want to create using the template, and update each time the template is updated.

For this example, the Test Template started with this content:

This is a test template. The last word is five (5), spelled out all in caps. FIVE

The template was changed, so the word "FIVE" is followed by a comma and the word "SIX."

The Template Test Page shows the live template macro and how it renders the template after the template has been changed.

The macro on the Template Test Page is:

{live-template:Template Test}
  • No labels