Project

Profile

Help

Bug #1706

closed

NullPointerException using doc()

Added by Michael Kay about 11 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Start date:
2013-02-22
Due date:
% Done:

0%

Estimated time:
Platforms:

Description

When the old syntax doc('html:document') is used in place of ixsl:page(), for example in the knight's tour stylesheet, a NullPointerException occurs.

Controller.registerDocument() is called with a null value for the doc argument.

Actions #1

Updated by Michael Kay about 11 years ago

  • Subject changed from NullPointerException usin doc() to NullPointerException using doc()

Fixed by replacing the reference to the unitialized variable hostPage in Configuration.buildDocument() with a call on Configuration.getHostPage().

Actions #2

Updated by Michael Kay over 10 years ago

  • Status changed from New to Resolved

Please register to edit this issue

Also available in: Atom PDF