Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: Fail to get a resource in URL format

  1. #1
    Junior Member
    Join Date
    Jul 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Fail to get a resource in URL format

    Hello Forum!

    I have inherited some code that is supposed to work just fine.

    The trouble is that when everything is rebuilt on my desktop, the projects crash.

    They all seem to crash at one particular part of code.

    I pass it a string and the "getResource" or "getContentClassLoader" is failing.

    Any ideas?

    http://i67.photobucket.com/albums/h2...psbb2c54ae.png

    I guess one way to tackle this is to break it apart into segments.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Fail to get a resource in URL format

    Please copy the full text of the error message and paste it here. It has important info about the error. No images.

    break it apart into segments.
    That should help narrow down the problem.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Fail to get a resource in URL format

    Also posted at: Fail to get a resource in URL format

    I guess the OP didn't want to continue on this site.
    If you don't understand my answer, don't ignore it, ask a question.

  4. #4
    Junior Member
    Join Date
    Jul 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Fail to get a resource in URL format

    I will get back to you

  5. #5
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Fail to get a resource in URL format

    No problema, we have lots of time.

    Also posted at: http://www.dreamincode.net/forums/to...ring-resource/
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. I'M ABOUT TO FAIL MY CLASS... PLEASE HELPPPP!!!!
    By redbull in forum What's Wrong With My Code?
    Replies: 3
    Last Post: November 13th, 2012, 04:38 AM
  2. Connect Four FAIL....
    By melinko928 in forum What's Wrong With My Code?
    Replies: 4
    Last Post: October 14th, 2011, 02:10 PM
  3. Why do these things fail sometimes? Annoying program!
    By Scotty in forum What's Wrong With My Code?
    Replies: 4
    Last Post: May 3rd, 2011, 07:28 AM
  4. applet fail
    By wolfgar in forum What's Wrong With My Code?
    Replies: 7
    Last Post: January 21st, 2010, 06:24 AM