Solved

Java FileNotFoundException

Posted on 2013-12-12
3
210 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
eclipse console opening separately 2 50
Need Help! Getting a syntax error and don't understand why 3 56
running on tomcat not jboss eap 7.0 3 55
Java pass by reference 3 74
There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The viewer will learn how to implement Singleton Design Pattern in Java.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

752 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