Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 826831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T03:28:38+00:00 2026-05-15T03:28:38+00:00

I just started using Eclipse so go easy on me ;). But when trying

  • 0

I just started using Eclipse so go easy on me ;). But when trying to debug a JUnit test case I get a dialog that states the the source is not found when I get to this line in the code in my test method:

Assert.assertEquals(1, contents.size());

I know I should probably go and try and download the source from somewhere, but I really don’t want to because I have no interest in stepping into the JUnit code. I have the JUnit runtime jar so Why does Eclipse expect me to have all the referenced tools source code in order to debug my own code (seems somewhat silly)?

My main question is though, how can I tell Eclipse to skip this dialog when the source is not available and allow me to continue to debug my own code?

[Edit]

I’ve isolated the cause of this. It seems that Eclipse seems to think it needs the source when an exception is thrown by the internal JUnit code. In general is there anyway to tell it that it doesn’t and just have it throw up an error dialog of some kind instead?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T03:28:38+00:00Added an answer on May 15, 2026 at 3:28 am

    I had this very annoying problem for a long time but was finally able to solve it. In my case, a null pointer exception was being thrown somewhere in Java’s Transformer.IsRuntimeCode(ProtectionDomain) function.

    I didn’t really need to know about this since the exception was being caught and handled, but eclipse would pause debugging every time this happened and tell me that the source wasn’t available. As a result, I constantly had to keep pressing the button to continue code execution.

    In order to prevent this from happening, I:

    1. Clicked on the “Breakpoints” window
      at the bottom of the debugging
      screen
    2. Right clicked “NullPointerException”
    3. Unchecked “Caught”

    This prevented the debugger from pausing program flow during a caught NullPointerException.

    alt text
    (source: SharpDetail.com)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to JSP, using Eclipse, and am trying to just get started with
I just started using Eclipse but already I have a small problem. At first
I've just started using Eclipse and I noticed that when I start typing a
I've just started using my Eclipse to test some jms codes. The thing is...
I'm trying to get started with Android development. I'm using eclipse on Linux and
I just started using the Eclipse IDE and for a first test I created
I just started using the new Eclipse 4.2 (Juno) Null Analysis. On code like
I am working on ubuntu OS,I have started working on pentaho-BI using eclipse.. Just
I have just started the Hello World App using Blackberry Eclipse Plugin. I have
I have just started learning to write apps for android using Eclipse. Where can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.