Error trying to push a view

I have an this code in the Action event handler of a button:
Dim v As New v002_Trip
Self.PushTo(v)

And it worked fine yesterday. Now when I tap the button I’m getting a NilObjectException at the first line:

secondItem cannot be Nil when secondAttribute is not None

I have no idea what to do. I did not change anything since yesterday. Tried with different simulator devices, it’s the same everywhere. I’m this close giving up on Xojo, this stuff is just so annoying.

EDIT: And I don’t know either why the code would not format as code in this post AS IT USED TO. What a way to start the day.

I’ve figured it out: three(!) controls on the view v002_Trip were gone. I had to re-create them and now it works again. This is very concerning since I know I didn’t do anything between yesterday evening and this morning.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.