Error: Not Enough Arguments Error Details: Failed invoking <symbol> Stack: - onShow() -mc:20 0x1000008e

Can anyone help me identify the error here?

// Update the view
function onUpdate(dc) {
// Set Color
// Get and show the current time
var clockTime = System.getClockTime();
var hour, min, ampm;
hour = clockTime.hour;
min = clockTime.min.format("%02d");
ampm = (hour > 11) ? "PM" : "AM";
hour = hour % 12;
hour = (hour == 0) ? 12 : hour;
hour = hour.format("%02d");
var timeString = Lang.format("$1$:$2$ $3$", [hour, min, ampm]);
var view = View.findDrawableById("TimeLabel");
view.setText(timeString);

var myStats = System.getSystemStats();
var batt = System.getSystemStats(myStats.battery);
var view1 = View.findDrawableById("batt");
view1.setText(batt);

// Call the parent onUpdate function to redraw the layout
View.onUpdate(dc);
}

Error:

Error: Not Enough Arguments Error
Details: Failed invoking <symbol>
Stack:
- onShow() at C:\.....View.mc:20 0x1000008e