Skip to content

Null-Anti-Null: Don't assume postPageFunctions are Some.#1694

Merged
Shadowfiend merged 1 commit into
masterfrom
null-anti-null
Apr 20, 2015
Merged

Null-Anti-Null: Don't assume postPageFunctions are Some.#1694
Shadowfiend merged 1 commit into
masterfrom
null-anti-null

Conversation

@Shadowfiend
Copy link
Copy Markdown
Member

When generating post-page JavaScript, we were assuming that because our first
access of the post-page functions was non-empty, all of them would be. This led
to occasional .get-related NullPointerExceptions. We now allow for later calls
to the post-page functions to be None, and simply assume we have no more
functions to fetch once we get a None for them.

Fixess #1689 .

When generating post-page JavaScript, we were assuming that because our first
access of the post-page functions was non-empty, all of them would be. This led
to occasional .get-related NullPointerExceptions. We now allow for later calls
to the post-page functions to be None, and simply assume we have no more
functions to fetch once we get a None for them.
@fmpwizard fmpwizard added this to the 3.0-M6 milestone Mar 22, 2015
@Shadowfiend
Copy link
Copy Markdown
Member Author

Once this guy gets passing, I'm going to go ahead and merge 'im.

@Shadowfiend
Copy link
Copy Markdown
Member Author

Success!

Shadowfiend added a commit that referenced this pull request Apr 20, 2015
Null-Anti-Null: Don't assume postPageFunctions are Some.

When generating post-page JavaScript, we were assuming that because our first
access of the post-page functions was non-empty, all of them would be. This led
to occasional .get-related NullPointerExceptions. We now allow for later calls
to the post-page functions to be None, and simply assume we have no more
functions to fetch once we get a None for them.
@Shadowfiend Shadowfiend merged commit b56842a into master Apr 20, 2015
@Shadowfiend Shadowfiend deleted the null-anti-null branch April 20, 2015 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants