Solved

Java FileNotFoundException

Posted on 2013-12-12
3
208 Views
Last Modified: 2013-12-21
Hi,
I enabled the FileNotFoundException in Breakpoints in my eclipse while debugging a java spring application.
I am getting the following :
URLClassPath$JarLoader.getJarFile(URL) line: 641      

I am unable to know what does this means, why its giving me FileNotFoundException.
How to investigate this further.

Thanks
0
Comment
Question by:Rohit Bajaj
3 Comments
 

Author Comment

by:Rohit Bajaj
ID: 39713849
Also if i resume i get   JdbcOdbcDriver.finalize() line: 96      
Null pointer exception.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 39713910
why its giving me FileNotFoundException.
How to investigate this further.
By looking at the log files. Presumably you're logging the stack trace?
0
 
LVL 37

Accepted Solution

by:
TommySzalapski earned 500 total points
ID: 39713973
You need to look at the stack trace until the first line of the stack trace that is your code. Then see the file name that you passed in to the built-in function and see why that file is not there.

You should be able to see it when it crashes in the stack trace console. Then you can just click the line (of your code) that is the highest in the stack.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
more than one jdk and one jre 1 41
javap not working 8 44
JAVA API design with micro service cloud in mind 1 14
Problem to Alipay 10 21
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question