NullPointerException in Wiki
Description
is related to
relates
Activity

Pani GuiJuly 15, 2012 at 7:33 PM
PASSED Manual Testing using the following steps:
1. Add Wiki portlet to a page.
2. Click "This page is empty. Edit it to add some text.".
3. Click Source on editor.
4. Enter "|**|".
5. Publish.
Reproduced on:
Tomcat 6.0 + MySQL 5. 6.0.12 EE.
Tomcat 7.0 + MySQL 5. 6.1.10 EE GA1.
Wiki is temporarily unavailable and throwing exceptions in the console.
Fixed on:
Tomcat 6.0 + MySQL 5. Portal 6.0.x GIT ID: 0b4fc6038f204c16deb3e328a1021c15b7e56fa9.
Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 960a1f35e66bf04b587b4005989d04bba78ceada.
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: c30f2892ee80137c93de9f524c09a10cb01383b5.
Creating wiki page successfully and there is no error in the console.

Michael SaechangJuly 13, 2012 at 11:33 AM
Committed on:
Portal 6.1.x CE GIT ID: 01efb0c9dc2363c4e146c77148a83640c656a417.
Portal 6.2.x GIT ID: 12999fdcf2aeb57cccf74ed4239c8588270ab2fe.

Dimitri TischenkoApril 1, 2012 at 8:34 AM
Full stack trace:

Dimitri TischenkoApril 1, 2012 at 8:24 AM
In some cases, the Creole parser returns a tree with nodes containing null elements. Such a case is, for instance, '**'. I suggest adding a simple test for null values to prevent this.
Details
Assignee
Pani GuiPani Gui(Deactivated)Reporter
Dimitri TischenkoDimitri Tischenko(Deactivated)Labels
Branch Version/s
6.1.x6.0.xBackported to Branch
CommittedGit Pull Request
Components
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Labels
Branch Version/s
Backported to Branch
Git Pull Request
Components
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

After creating a Creole Wiki document with a title and this content (source mode):
and saving, you receive the message:
and in the log you see: