GetResourceAsStream() stops working when run online!

I have written an applet that I am hosting on a geocities website. The applet
runs fine in NetBeans, and locally fram an html file, but when I try to run the
applet online, the:
BufferedReader in= new BufferedReader(new InputStreamReader(Thread.currentThread().getContextClassLoader().getResourceAsStream("One.txt")));(it used to be "this.getClass().getResourceAsStream()", but after many
forum searches and revisions the above version still works in NetBeans
but not online)
line throws a NullPointerException because it cant find the file.
When I disable this line of code, the applet shows up just fine,
but has no functionality because it draws graphs of the information
found in the text file I am trying to read.
Everything is in the same directory, is this a problem with file permissions?
Or is it a problem with how getResourceAsStream() looks for files?

I am not using a jar at the moment, I was messing with that earlier and
was more complicated than it needed to be, I have all of the class files
for my buttons and such as well as the main applet class "Grapher.class"
and the class that reads the text file "GetStuff.class" in the main directory of
my geocities page, "www.geocities.com/bbubenheim/" and the applet tag in
the html is:
<applet code="Graph.class" height="600" width="1000">
</applet>since everything is in the main directory and not jarred then there should be
no need for an "archive" or "codebase" part.
Should I try hosting it somewhere else? Or am I missing something?

Similar Messages

  • View Source stops working when running multiple instances in FF4

    I run two instances of FF each under its own profile. I have different add-on, etc, for each.
    Since upgrading to FF4, View Source is not working in the second instance. After pressing Command-U or otherwise choosing View Source, nothing happens. If I go to the "Window" menu, I see a window listed "Source of ..." but this window is not visible in any way and I can't find it or switch to it.

    Seems to work ok for me but I am using windows XP. I have firefox 3.6 & 4.0 both open, and both have now opened view source windows. Possibly some combination of extensions causes the problem.

  • LabWindows/CVI 2013 SP2 stops working when I try to open a file using the project file menu.

    I have windows 7 on my system and sometime late last year I starrted getting a Windows dialog telling me that LabWindows/CVI has stopped working when I try to open a file from the project file menu.  I also get an error when I run a project debug mode and use a selectFilePopup in the code.  The error says, "The program has suspended execution at address 0x75D5025E.  No source line information is available."  I've tried removing and reinstalling CVI to no avail.  Any suggestions?

    Constantin,
    Thank you for your response.  I've attached screnshots showing the version details for kernal32.dll and ntdll.dll.  I also looked at the updates to see which might have been installed when the problem started.  Unfortunately there are 15-20 updates every month.  I didn't take note of when the error started to occur.  At first it only affected my ability to open files from within the project (i.e. file->open->Source, etc).  Then I went back to modify a project that had a SelectFilePopup and found that that wouldn't work either. 
    Attachments:
    ntdll.dll version.jpg ‏15 KB

  • I get a message that itunes has stopped working when I try to sync photos

    I get a message that itunes has stopped working when I try to sync photos. Error message says "APPCRASH ..."
    Can anyone help? Thanks.

    I found the file but when I added it to the  list for the Data  Execution Program to ignore , I received a message that the Program.x86/itunes file must have the DEP on in order to run. Anyone else having this problem ?

  • Error "Licensing for this product has stopped working" when you launch Acrobat 9

    Hi,
    I'm part of service desk and my company has several thousand users of Acrobat. There has been strange issues reported since upgrading from 7.0.5 to 9.1 and a lot of them are uhappy. The latest issue is users started to receive the following error,
    Error "Licensing for this product has stopped working" when you launch Acrobat 9 or Adobe Creative Suite 4 products. The link http://kb2.adobe.com/cps/405/kb405970.html#ErrorCodes has solution, but i tried everything given for 147-178, and nothing works. The users are highly frustrated. Any other possibilities? one collegue claims running simple reg cleaner could solve this issue.

    Wow,
    I went through a "font crisis" on my MacBook about two weeks ago, and I reinstalled Snow Leopard, then restored everything from Time Machine backup. Everything but Office 2008 and CS4 was able to run from the restore, because there were preferences for both that wouldn't copy back to my Library (permissions).
    I reinstalled both from the "original media" (dmg's)  with my Time Machine and 2 other external HDs connected and mounted. I had no problems with either. In fact since I was re-installing from dmg's stored on my Time Machine drive, I had to have it connected to do this. Installing Office and CS4 from the dmg's took all of twenty minutes for both with no errors at all.
    I'm glad you got everything taken care of, but anectdotal evidence tells me CS4 can be reinstalled with external drives connected and mounted.

  • Why does my Adobe Reader DC stop working when I click scroll down options?

    I used to use PDF Suite 2014 Standard to view pdf files.
    However, tonight a message appeared when I attempted to open files saying ..."if the document does not load then the pdf viewer may not be able to display this type of document"
    I went to the website provided to download Adobe Acrobat Reader DC.
    Although I was able to load pdf documents and fill in forms, the program repeatedly would crash whenever I attempted to click on scroll down options on forms.
    Any help is appreciated
    ....and talk/write slowly for I am not super computer literate.
    Regards,
    Luisa

     Dear Aedesh, Thank you for your assistance.  I did all that you instructed below, regarding uninstalling, and using the Adobe Reader and Acrobat Cleaner Tool.  I restarted my computer, then installed Adobe Acrobat Reader DC (for Windows 7, English and version: Reader DC 2015). I continue to have the problems: (1) When I attempt to use a scroll down option within a pdf form, the program stops working. (2) If I send the pdf to my iPhone, and I open the pdf, I receive the message "Please wait...if the message is not eventually replaced by the proper contents of the document, your pdf viewer may not be able to display this type of document..." However, when I send pdf's created earlier than 4-28-15, I am able to open in my iPhone.I am able to open on my laptop the pdf's created after 4-28-15, but have the scroll option issue  (thank you in advance for your patience)Luisa 
     Luisa Montaini-Klovdahl, Ph.D.Licensed Psychologist &
    Captain, US Army Reserves Medical Service Corps4153 Park Blvd
    Palo Alto, CA 94306
    Telephone: 650.384.6559
    Facsimile: 650.384.6547 This e-mail may contain confidential patient information. If you have received this transmission in error, please delete and contact the sender.   
         From: aadeshs76610910 <[email protected]>
    To: Luisa Montaini-Klovdahl <[email protected]>
    Sent: Thursday, April 30, 2015 9:55 AM
    Subject:  Why does my Adobe Reader DC stop working when I click scroll down options?
    Why does my Adobe Reader DC stop working when I click scroll down options?
    created by aadeshs76610910 in Acrobat Reader - View the full discussionHi Luisa,  Please follow the steps below :- 1) Uninstall Adobe Acrobat Reader DC. 2) Run the cleaning tool Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs3) Restart the computer.4) Install Adobe Acrobat Reader DC using this link Adobe Acrobat Reader DC Install for all versions Let me know if the issue persist.  Regards,Aadesh If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7499212#7499212 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7499212#7499212 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following" 
    Start a new discussion in Acrobat Reader by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Reports with prompting stop working when moved from Crystal10 to crystal 11

    Issue:
    We are having trouble with Crystal Reports XI. It appears that the Crystal 10 runtime included the ability to process reports that used prompting. If we run the same report with the Crystal XI runtime, it fails.
    I can send a sample of the report.
    Error Dialog:
    Title: Internet Explorer Script Error
    Error Details:
    An error has occurred in the script on this page
    Line: 1
    Char: 1
    Error: invalid character
    Code: 0
    URL: file: /// C:/Program%20Files/Business%20Objects/3.0/crystalreportsviewers11/prompting/js/promptengine_strings_en.js
    Do you want to continue running scripts on this page?
    Yes/No
    Our Configuration:
    We use Merge Modules that install Crystal Reports through the browser via a CAB file that we created. It runs a setup executable
    The setup executable project that installs CR XI uses the following Merge Modules:
    CrystalReports11_RDC_Reportengine.msm
    CrystalReports11_RDC_Runtime.msm
    CrystalReports11_HotFix_Merge.msm (This is contrived by us from one of your hot fixes)
    Observation:
    When the install is finished, the folder structure under u2026. Crystalviewers11/prompting do not have any files like they do if we install the development environment.
    Question:
    What do we need to do to correct this situation?
    *why the reports with*
    *prompting stops working when it is moved from a Crystal 10 to Crystal 11*
    *environment.  I believe that it has something to do with Merge Modules*
    *because the files under the prompting folder do not populate with the*
    *merge module like they do with the full install of Crystal Reports.*
    Please help.
    Best Regards,
    Peter Freeman
    Edited by: Vivek Kumar Sharma on May 19, 2009 3:43 PM

    We have JDK 1.6 installed.  The License Merge Module is not related to
    this issue.
    The files under \Program Files\Common Files\Business
    Objects\3.0\crystalreportviewers11\prompting  are not being installed.
    If we copy files, into this folder structure the reports work.
    One of the Business Object's Merge Modules should install the files
    there rather than just an empty folder structure.
    I got was able to figure out how to enter a customer support message.
    They said that they could not support us because we were not on CRXIR2
    (Crystal Reports 11 Release 2).
    I found a download for CRXIR2SP4 (same thing service pack 4).
    I installed it the Merge Module names changed to include a "_5"
    Was:
    CrystalReports11_RDC_Reportengine.msm
    CrystalReports11_RDC_Runtime.msm
    CrystalReports11_HotFix_Merge.msm (This is contrived by us from one of
    your hot fixes)
    Now:
    CrystalReports11_5_RDC_Reportengine.msm
    CrystalReports11_5_RDC_Runtime.msm
    CrystalReports11_5_RDC_License.msm (should have been included)
    *CrystalReports11_HotFix_Merge.msm (not needed anymore)
    I will try to put a installer together with these.  If this work there
    will be some complexity around uninstalling the old one and installing
    the new one.

  • Reader stops working when newest GTK2.0 installed - bug report and proposed fix

    Adobe Reader 7.0.9 (Linux i386) stopped working when I installed a batch of updates on Xubuntu Feisty Fawn (7.04). The updates included GTK 2.0, version 2.10.11. The symptom was that upon startup, Reader ended up in a seemingly infinite loop, printing out "expr: syntax error" (when started from terminal emulator). A few debug "echo"'s revealed that the loop concerned function get_gtk_file_ver().
    The bug itself is on line 418. The original line is as follows:
    echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
    - note that there is no '*' in the middle number-matching regexp, so the full expression matches only strings in which the "middle" group is 100, 200, ..., 900.
    At this point in the execution, $mfile contains the name of the gtk library .so, in this case, libgtk-x11-2.0.so.0.1000.11. In prior versions (e.g. 2.8.20, which is the current version in Ubuntu Dapper Drake LTS), the minor version had only one digit, and the regexp matched. When the minor version got incremented to two digits, the regexp no longer match because of the missing '*'! As an additional bonus, somehow this leads to the infinite loop (which is *not* good).
    A working fix is to add the missing '*' into the regexp. I'd say that a lot of Linux users will be tripping on this issue soon, at least those who keep current on security updates.
    I found no sensible way to contact the developers, i.e. a way that wouldn't have to pass a gazillion of customer-service and tech support people, who are most likely just as unaware of the issue as the users...
    I hope this issue will be fixed ASAP - after all, it's only one added character, and that'll save a lot of users a lot of hassle.
    (and btw, to have the intended effect, the dots in the sed expression should all be escaped with a backslash - now e.g. "libgtk-x11-2.0.sog0.1000.11" matches the sed regexp as well as "libgtk-x11-2.0.so.0.1000.11", but this probably isn't too critical...)

    The solutions provided here work, but by accident. The script compares 2104 (2.10.4) to 240 (2.4.0) and sees that it's greater. Adobe will have problems in future releases if the minimum GTK release is, say, 2.10.4 and the user has 2.4.0.
    I've crafted a more elegant solution, shown here in "patch" format. I think the reformatting and tab elimination done by HTML will preclude you from pasting this into a file and running "patch", but it's pretty easy to read and is short...
    --- /usr/local/Adobe/Acrobat7.0/bin/acroread~ 2007-01-05 14:56:39.000000000 -0500
    +++ /usr/local/Adobe/Acrobat7.0/bin/acroread 2007-08-03 09:33:08.000000000 -0400
    @@ -409,13 +409,13 @@ get_gtk_file_ver()
    fi
    mfile=`basename $ifile`
    - echo $mfile | grep -q "libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\).\([0-9]*\)" 2>/dev/null
    + echo $mfile | grep -q "libgtk-x11-\([0-9]*\)\.0\.so\.0\.\([0-9]*\)\.\([0-9]*\)" 2>/dev/null
    if [ $? -ne 0 ]; then
    return 1
    fi
    - echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
    + echo $mfile| sed 's/libgtk-x11-\([0-9]*\)\.0\.so\.0\.\([0-9]*\)00\.\([0-9]*\)/\1.\2.\3/'
    return 0
    fi
    @@ -455,16 +455,25 @@ check_gtk_ver_and_set_lib_path()
    continue
    fi
    - len_version=`expr length $version`
    - base_version=`expr substr "${base_version}0000000000" 1 $len_version`
    - len_base_version=`expr length $base_version`
    - while [ $len_version -gt $len_base_version ]; do
    - base_version=`expr substr "${base_version}0000000000" 1 $len_version`
    - len_base_version=`expr length $base_version`
    + ok=true
    +
    + while [ -n "$base_version" ]
    + do
    + base_subversion=`echo $base_version | sed 's/\..*$//'`
    + subversion=`echo $version | sed 's/\..*$//'`
    + if [ $subversion -lt $base_subversion ]
    + then
    + ok=
    + break
    + elif [ $subversion -gt $base_subversion ]
    + then
    + break
    + fi
    + base_version=`echo $base_version | sed 's/^[0-9]*\.*//'`
    + version=`echo $version | sed 's/^[0-9]*\.*//'`
    done
    - if [ $version -ge $base_version ]; then
    + if [ -n "$ok" ]; then
    export LD_LIBRARY_PATH="$idir":"$LD_LIBRARY_PATH"
    IFS="$OLD_IFS"
    OLD_IFS=""
    @@ -640,7 +649,7 @@ fi
    # Check the version of gtk and update the LD_LIBRARY_PATH if required.
    if [ "`uname -s`" = "Linux" ]; then
    - MIN_GTK_VERSION="240"
    + MIN_GTK_VERSION="2.4.0"
    check_gtk_ver_and_set_lib_path "$MIN_GTK_VERSION" ### returns 0 if found gtk >= 2.4
    fi

  • Adobe Stop working when I open two PDF Files.

    I am using the Adobe Acrobat 11.0.03 on my desktop running win-8. The big issue for me is that the adobe just stop working, when I tried to open two PDF files at the same time. But it is fine when I just open one. So could any one give me same advise? Thank you very much.

    Hi, Stacy:
    I am using the Adobe Acrobat XI. Currently, it works perfectly when I only open one PDF file. If I try to open two files at the same time. the Adobe Acrobat just stop working and shows "Adobe Acrobat has stopped working".
    It is so frastrating becasue I always need to open and edit multiple PDF file at the same time.
    I really hope I can get some helps.
    Thank you, Stacy.

  • Premier 13 stops working when existing project is loaded (after uninstalling Premier 9 where the project started)

    I started a project using Premier 9. Then I upgraded to 13, edited and saved my existing project several times successfully. Decided that it appeared 13 was working well and I no longer needed 9 and 11 (both Photoshop Elements and Premier Elements) so I uninstalled them using the Control Panel app. Now 13 stops working when I try to load my project.
    I have since uninstalled/re-installed/rebooted everything in various sequences many many times with no luck. I even purchased and installed another copy of 9 (since the original was a download and I could not find my notes & serial numbers)! The 9 install encountered a problem "an installation process has encountered an error while installing", it stopped, then rolled the install back so I have nothing for 9.
    HELP
    Paul L

    PaulL
    Probably good idea to recreate the version 9 project in version 13. Investment of time in troubleshooting version 9 is questionable as you say.
    At this point, I would leave Premiere Elements 9.0/9.0.1 installed, just do not open it.
    When you are between Premiere Elements 13 projects and you want to get rid of Premiere Elements 9.0/9.0.1,
    consider
    1. Deactivate the program from an opened project's Help Menu/Deactivate...close out of the program.
    2. Uninstall the program the usual Control Panel way
    3. Do a free ccleaner run through (regular cleaner and registry cleaner parts) to get rid of leftovers from incomplete installs or uninstalls.
    CCleaner - Download
    Note: Deactivation is not the same as uninstall.
    Critical - after a project is saved closed, never move, delete, or rename files/folders that were imported into the project after the project's save close.
    When you import files into a project, all you get are copies of the originals. But, those copies need to trace back to the originals in the location where
    they were when they were first imported into the project. More on that later as indicated.
    Please let me know if any questions or clarification needed on any of the above. Are there any Elements Organizer consideration in any of this?
    If so, I would convert the Elements Organizer 9 catalog in Elements Organizer 13 before uninstalling Premiere Elements 9.0/9.0.1.
    Thanks for the follow ups.
    ATR

  • Elements 11 program stops working when photo collage opened when 297 x 210 selected

    Adobe Photoshop elements 11 program stops working when photo collage opened when 297 x 210 selected>Running Windows 8.1

    Hi Jane
    There are sometimes problems calling up the template from the media database. Why not design your own? It is possible to make a collage manually in Expert Mode and its quite easy.
    Click File >> Open and select all of your photos
    That will add them to the project bin
    Then select File >> New >> Blank File
    Select background color White (or whatever you prefer) and add your width and height for your final image (set resolution 72 for web usage or 240 to 300 for printing) then click OK
    In the project bin click your first photo and drag it up into the main window on top of your new background.
    Click on the move tool and click in the center of the photo and drag to arrange it where you want on the background - you can hold down the shift key to maintain original proportions whilst dragging the corner handles of the bounding box to get the size you want.
    Do the same with the next photo (drag it up into the main window) and use the move tool to position it. Then continue with each image.
    Finally Click Layer >>Flatten image and save as jpeg. (Save as PSD if you want to preserve the layers for editing again)
    N.B. as you add images they get dropped in the center. So you need to use the move tool to drag them apart. Click in the middle of one and move it around, and then the others until you get them positioned as you want.
    When you click again with the move tool a bounding box appears around the image and you can drag out the corner handles to re-size your photos. Hold down the shift key when dragging the corner handle and that will maintain the proportions of the original.
    Finally click Layer >>Flatten Image and save your collage - you may then want to use the crop tool to cut away any surplus white canvas, and then re-save.

  • After installing 10.5 window comes up - itunes has stopped working. Check online for a solution and Close program.

    after installing 10.5 window comes up - the window comes up "run or cancel"  I click run.  It says "Installer completed." click finish (only options)  "itunes has stopped working. Check online for a solution and Close program." 

    Hi marymike,
    The crash signature is simalr to that mentioned in the thread: https://forums.adobe.com/thread/644139
    Please try the suggested steps mentioned and check.
    Regards,
    Rave

  • Error message - Captivate has stopped working - when publishing to MP4

    I get and error message that Captivate has stopped working when I try to publish to an MP4. I am using Captivate 6. How do I solve this problem?

    Hi Shivers,
    What is the Exact version of Captivate you are using (Go to Help > About Adobe Captivate) ?
    Please try to clear the cache of Captivate ( Go to Edit > Prefrences > General Settings)
    See Screenshot
    Please clear cache from computer as well..
       Go to Start>Run>Type %temp% and then click on ok
    Delete all the files from that folder(Some of the files which are in used will not get deleted , Ignore them)
    Then try to Run as Admin and check if this works
    Thanks and Regards
    Himanshu Satija

  • Skype has stopped working when i make a call or vi...

    i need help my skype has stopped working when i make a call or video call.. i tried all solution my webcam works fine my mic too help me fast i use skype to study and work and thx :'( email me on [Mod edit: Please do not include personal/private information when making a public post. Thanks!]
    Attachments:
    Untitled.png ‏1174 KB

    Please,  run the DirectX diagnostics tool.
    Go to Windows Start and in the Run box type dxdiag.exe and press the OK button. This will start the DirectX diagnostics program. Run this diagnostics and save the results to a file. Please, attach this file to your post.
    Be aware that you will have to zip this file before attaching it here.

  • Stop working when converting media type

    I can't convert my music using itunes, it will just stopped working when I try to do so
    Please teach me what should I do.
    [email protected]

    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    Please report back soon.

Maybe you are looking for

  • Why is my youtube webpage not displaying properly?

    My youtube webpage is not displaying properly. its like tthere is only text and thumbnails and the whle webpage is too damn long. The videos don't play when clicked. Problem on both firefox and chrome. I disabled kaspersky av but it didnt make any di

  • Mail App Crash with Contact Photos

    Hi @ all, i use Mac OS X 10.10 and my Mail App is crashing every time i use contact photos. If i want to open a mail from one of my contacts with a picture, Mail App is crashs ... If i want to show contact photos in my E-Mail List, the Mail App crash

  • Upgrade to Netweaver 7.3 components release questions.

    Hi,      I want to upgrade an BW environment from Netweaver 7 EHP2 to Netweaver 7.3 but I'm not sure what release I have to download for this components... I mean... for this components what are the release supported or what release I have to downloa

  • Why does Creative Cloud keep signing me out

    I am attempting to download (since Tuesday) my Adobe Pro Subscription.  Each time I attempt to download the subscription, I am prompted to sign in.  Each time I sign in I am immediately signed out.  I made sure the login name and password are correct

  • Open EPS files in PSE 12

    Im trying to Open EPS Files in Photoshop Elements 12. Adobe's supported Fileformat says that EPS Fileformat is supportet. What am i doing wrong? *The operation could not be performed because this document is not of the correct type* I also tried to d