Error formatting macro: pagetree: java.lang.NullPointerException

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tickets ready for screening should also have:

  • Description:
    • The cause of the problem
    • An accurate description of the approach being pursued to solve the problem
    • Name of current patch to consider
    • Summary or reference to alternative approaches that were considered
  • Patch attachment:
    • Implementation that follows the approach specified in the description
    • Tests as appropriate
    • Benchmark data (if performance related)
 
Example:
 
This is an example of how the description might look once a ticket has gone through screening - it starts with a succinct description of the problem and a demonstration that can be tried at the REPL. That may be all that exists when the ticket comes into the system. By the time it gets through screening, we should expect to see the dev's analysis of the cause of the problem, the solution that is being offered (and possibly alternatives that were considered), and the patch currently implementing the solution and test.
 
Adding odd numbers doesn't work. 

user> (+ 2 2)
4
user> (+ 1 3)
ClassCastException

Cause:  Never implemented odd number adding in the Compiler! See the missing branch in FooExpr.

Solution:  Fully implemented the branch for odd numbers to be just like even numbers. Considered just getting rid of addition altogether but I guess people use it.

Patch: add-odd-3.patch

Tend Your Ticket

As work progresses on a ticket, it is common for it to accumulate discussion between submitter, screeners, and patch developers. As this occurs, it is essential to edit the ticket description to stay up to date as a summary of the essential problem, solution approach, and patch. It should not be necessary to read the the full ticket history to evaluate the patch.