Java. Lang. nullpointerexception at Oracle. JDBC. Driver. scrollableresultset. Close (scrollableresultset.

Source: Internet
Author: User

Java. Lang. nullpointerexception
At oracle. JDBC. Driver. scrollableresultset. Close (scrollableresultset. Java: 149)
At org. Apache. tomcat. DBCP. DBCP. delegatingresultset. Close (delegatingresultset. Java: 152)
At com. Unify. Common. Page. exportalldata (page. Java: 234)

.....

The following is useful information (COM. Unify. Common. Page is a class written by ourselves)

I encountered this problem today and found

I found the cause in the morning and hoped to help my friends who encountered the same problem.

The reason is that the version of the Oracle driver class12.jar in the project is different from the version of class12.jar In the lib directory of Tomcat (Tomcat is too low to support)

 

 

 




This was transplanted from the previous system, and another colleague was working together.

There will be problems on his side, not on my side. The browser issues can be ruled out.

It is probably an environment problem, but I don't know where it is.

So I checked JDK and excluded

I found it on the Internet. I don't quite understand it. It cannot be bypassed,

Finally, I tried to read the error description carefully because

Oracle. JDBC. Driver. scrollableresultset, so you can find the package where it is located and check whether this package exists in Tomcat. If so, the problem may occur. Sure enough.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.