Revision: 4457 http://vexi.svn.sourceforge.net/vexi/?rev=4457&view=rev Author: mkpg2 Date: 2012-11-23 00:30:21 +0000 (Fri, 23 Nov 2012) Log Message: ----------- Fix. NPE when building js exn message.
Modified Paths: -------------- trunk/org.vexi-library.js/src/main/java/org/ibex/js/JSU.java Modified: trunk/org.vexi-library.js/src/main/java/org/ibex/js/JSU.java =================================================================== --- trunk/org.vexi-library.js/src/main/java/org/ibex/js/JSU.java 2012-11-21 14:48:06 UTC (rev 4456) +++ trunk/org.vexi-library.js/src/main/java/org/ibex/js/JSU.java 2012-11-23 00:30:21 UTC (rev 4457) @@ -312,7 +312,7 @@ static public int expectArg_int(JS[] args, int index) throws JSExn { JS js = getArg(args, index); if(isInt(js)) return toInt32(js); - throw new JSExn("Arg "+index+" is not an integer: "+js.toString()); + throw new JSExn("Arg "+index+" is not an integer: "+toString(js)); } static public int getArg_int(JS[] args, int index, int default_) throws JSExn { JS js = getArg(args, index); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn