hi
i am trying to execute mysql stored procedure from java program but when
i call that procedure
CallableStatement stmt = con.prepareCall("call readFloor()");

it produce

java.lang.NullPointerException
at com.mysql.jdbc.StringUtils.indexOfIgnoreCaseRespectQuotes(StringUtils.java:948)
so how can i remove this error


readFloore() is sample stored procedure it return nothinh

i tried this example whith another stored procedure which return some valu but still that error comes

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.