This issue has been created
 
 
Inline Table LiveData / cid:jira-generated-image-avatar-2f4f9bb6-f1fc-4ca6-97e8-e29c8fc197a4 XLIT-4 Open

NullPointerException when the content does not contain a table

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-aa8d218b-b439-4546-ac82-ba3052716839 Dorian Ouakli created this issue on 01/Jan/25 19:24
 
Summary: NullPointerException when the content does not contain a table
Issue Type: cid:jira-generated-image-avatar-2f4f9bb6-f1fc-4ca6-97e8-e29c8fc197a4 Bug
Affects Versions: 0.0.1
Assignee: Unassigned
Created: 01/Jan/25 19:24
Priority: cid:jira-generated-image-static-major-43c29357-1307-4f69-991e-2d3f1b9276c3 Major
Reporter: Dorian Ouakli
Description:

Steps to reproduce:

Insert the following macro call in a page's wiki syntax:

 

{{livedata-inline-table}}
{{/livedata-inline-table}} 

Then, click save and view.

Expected result:

  • A message explains that the macro content should contain a table.

Current result:

  • An error message is displayed: 
    Failed to execute the [livedata-inline-table] macro. Cause: [Cannot invoke "org.xwiki.rendering.block.TableBlock.getChildren()" because "table" is null]. Click on this message for details.