Solved

Java FileNotFoundException

Posted on 2013-12-12
3
227 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Suggested Courses

623 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