Hi, can you provide the stack trace you got on the console?
Marc. Peter Ledbrook wrote: > > Hi, > > Could anyone please explain why I'm getting the following error with the > attached javascript when using WebTest? > > Details > javascript error Wrapped java.lang.NullPointerException > (http://localhost:9090/security-service/js/prototype/prototype.js#272(eval)#45) > line -1 > javascript source function () { var sourceSelect = $("availPermissions"); > var targetSelect = $("currPermissions"); > transferSelectedItems(sourceSelect, targetSelect); } > failing line <no source> > > If I comment out line 45 of the attached javascript, no error is thrown. I > can't understand why that particular line is problematic. Does anyone have > any ideas? > > Thanks, > > Peter http://www.nabble.com/file/p12519636/example.js example.js > -- View this message in context: http://www.nabble.com/Javascript-problem-tf4391161.html#a12590985 Sent from the WebTest mailing list archive at Nabble.com. _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

