Bad allocation file- any hope?

Hi there- having problems with a 15" Powerbook G4 running OSX.4.9 (possibly .10). Friday the computer was unbootable with the system disk- would automatically start up from my TechTools eDrive. Volume or directory problems on the start-up drive, so I couldn't do volume tests (or they failed), with "Bad header" error, and couldn't test disk permissions using Disk Utility. Took to Apple store- where the genius at the bar tried to recover the directory structure but said he couldn't do it.
Skip to this morning- I was about to reinstall OSX but the start-up disk worked! After an immediate home-folder backup, I'm trying TechTools again, and now show the error BAD ALLOCATION FILE. Is there any way to fix this? Would a bad allocation file affect my back-up (ie. should I use a slightly older back-up before these problems started?) Any advice here- I'd really like to avoid having to reinstall the OS and all my apps if possible.
Thanks!
Alan

Just a final update here- I ended up wiping the HD and reinstalling. So far the reinstall is going smoothly, although I'll need to figure out who controls the site licenses for some of my apps at my new university...
I had a strange contradiction between Disk Utility and TechTools- techtools showed an allocation overlap error but disk utility showed no problem. I ended up trying the repair in tech tools- the repair process worked, although it damaged some OS files (airport disabled, basically everything with the network preferences was not working). Hence the reinstall.
From the techtools moderator:
"Given the diagnosis and the symptoms, it is likely that there was an allocation overlap that damaged a file important to the operating system. The most it is possible to do is to identify the files. An overwritten sector of a file cannot be repaired."
The one other thing I learned was that Techtools pro is now up to v. 4.5.3- I was using 4.1.1. Apparently the older versions may not work quite as well with Tiger. The upgrade is not downloadable and requires a DVD...
Thanks to everyone for their advice.

Similar Messages

  • How do I find bad music files?  I have thousands of files, but some are bad.  When I try to load them into iTunes, it just spins.  I need a routine to identify and remove the bad files.  Any ideas?

    How do I find bad music files?  I have thousands of files, but some are bad.  When I try to load them into iTunes, it just spins.  I need a routine to identify and remove the bad files.  Any ideas?

    Hi ajoddo20,
    Welcome to the Apple Support Communities!
    You can use Home Sharing to import music and other media from one computer to another. Please use the instructions and information located in the attached article for information on how to complete the process. 
    iTunes 11 for Mac: Use Home Sharing to import items from another iTunes library
    Cheers,
    Joe 

  • Is there any hope for Help Viewer?

    I have read through as many discussions about Help Viewer problems as I can find, and still, help in Finder doesn't work. I have tried all of Dr. Smoke's suggestions and many others to no avail. Help Viewer still ends up going back to a blank screen, links that don't work, and the search just keeps searching.
    All of the suggestions I have tried fix Help Viewer temporarily, but it has always gone back to its same old broken self.
    If anyone out there can REALLY help, I would REALLY appreciate it.
    Thank you!

    Hi Jordan. Hopefully I can offer a solution for this which bugged me enough to really try to resolve it, and have now done so, at least for me.
    First the essentials.
    System Setup: Powermac G4 Dual 1GHz MDD. 1GB. MacOS 10.4.3
    Issue: Loading Mac Helper from the Finder will result in a blank screen after the first launch. On first launch you will be able to click one or two links then it will not work and search will not function [issues may vary but blank screen always]
    This problem occurred with earlier versions of Tiger. I have since done a clean install. Tried replacing the Help Viewer app from the Install disk and also the MacHelp.help document too, but it did not help. I even tried the same items from other disks just to check for corrupt files but still no change. Trashing the prefs does not seem to make any difference, nor the same with the cache folder but it can resolve other issues, just not this particular one.
    NOTE Before others try this fix I strongly suggest you try the solutions suggested by Apple and those on the very good XLab web site. Here are a few related articles:
    XLab. The most comprehensive guide to the Help issues.Check out the 'Help Viewer displays a blank window.' link.
    http://www.thexlab.com/faqs/helpviewer.html
    Apple. From the source. Not quite the same symptoms but offers Help advice on
    'Mac OS X 10.2, 10.3: Mac Help Viewer unexpectedly quits'
    http://docs.info.apple.com/article.html?artnum=107013
    Solution:
    1. Go to User > Library > Caches > com.apple.helpui [note: you need to launch Help Viewer at least once so that this folder is created]
    2. Delete ALL files/ folders in the com.apple.helpui folder, if any.
    3. Create a new folder inside com.apple.helpui and name it 'Mac Help' [the same as that created automatically by Help Viewer, case sensitive].
    4. Select the new folder and use Command + I to see the folder 'Info'. First
    label it red [to aid further diagnostics] and then change ALL the permissions at the bottom to *Read only* [click Details to see the options, not just 'You can'. Include Read only for 'Owner', 'Group' & 'Others'. You will need Admin access for this]. Close the Info panel.
    5. Launch Mac Help from the Finder menu bar. If it was blank before, the Help Viewer screen should show the Mac Help homepage again. Try several links and search and Index. They should all work, and quicker now. Quit and relaunch. This time the Help Viewer works now and no blank screen. The issue with Mac Help is fixed ( but be aware that any other Help folders created could well cause the same issue, so check for these if it still happens and read on for details of how to deal with this other part of the issue)
    *BUT*
    Although this resolves the Mac Help issue, AS SOON AS OTHER MAC APPLICATION HELP's ARE LAUNCHED, IT IS MOST LIKELY THE ISSUE WILL RETURN!, hence the labeling of the Help folders red, to track newly created Help folders (i.e. Mail Help, Safari Help etc). If these are launched this automatically creates help folders in com.apple.helpui for them and they also cause the blank screen problem.
    So, the best thing is to create Help folders in the same way that you did for Mac Help, for ALL Mac applications to avoid having to do it incrementally as and when you use another Mac application Help [or if you do a search it may well create folders anyhow]. These are the Help folders I have created, with the red label and 'Read only' permissions:
    Activity Monitor Help
    Address Book Help
    AirPort Help
    AppleScript Help
    Automator Help
    Bluetooth Help
    Calculator Help
    Chess Help
    Console Help
    Dictionary Help
    Directory Access Help
    Disk Utility Help
    DVD Player Help
    Font Book Help
    Grapher Help
    iCal Help
    iChat Help
    Image Capture Help
    Mac Help
    Mail Help
    ODBC Administrator Help
    Preview Help
    QuickTime Player Help
    Safari Help
    Script Editor Help
    Sherlock Help
    Stickies Help
    System Profiler Help
    Terminal Help
    TextEdit Help
    There are probably more but these are the ones I could find fairly easily. If they are labeled red then it is easy to see if any others appear and cause the issue. Once I have done this I make a backup copy of these folders with the permissions set and archive it for use as and when I need to replace them.
    Result: For me and my setup this has resulted in my being able to use Help normally without the blank screen issue for nearly two weeks now since I spent a lot of time looking at this issue. In fact I find Help works a lot faster and suffers fewer delays. Because this only requires amendments to file permissions, in a folder which is automatically replaced if deleted anyhow, I feel it is a safe and easy enough for most users to do if they have this problem.
    I hope this offers a solution to other users with the same issue and who have tried the other suggestions (Including Dr. Smoke's and from Apple etc) but still have problems with the blank screen.
    The Cause & Other Notes
    Having been frustrated with this issue for several months now I spent some time trying to find the cause. It clearly does not effect everyone, and others have found the suggested fixes, such as trashing the com.apple.helpui cache folder and relevant preference files, have worked for them. It makes it a more complicated problem to identify. It appears perhaps to be related to your type/ speed of connection from the computer to the Apple help servers where the cache folders and files and downloaded from. This seems likely from error messages. It also appears that, for whatever reason, some of those files being automatically created when Help Viewer is launched are the actual problem. In order to explain why I think that, if you have this issue then you should get the exact same repeatable test which led me to find the solution.
    Do this:
    1. Firstly navigate to > Library > Caches > com.apple.helpui and trash this folder. Then before proceeding launch the following apps to help diagnose and follow what is happening:
    a. Console [so you can watch for error message in console.log window]
    b. Activity Monitor [to watch internet traffic during launch and browsing the Help Viewer]
    c. Leave the FInder window so you can watch what happens.
    2. Launch Mac Help from the Finder menu bar. It should launch and show the home page on the screen. Immediately you will see a new com.apple.helpui folder being created. Navigate into this so you can watch what is being placed in the newly created com.apple.helpui folder.
    3. Now click on any of the Help links on the right (not the link to the apple web site). Immediately (slower if dialup and not already connected) you should see traffic over the network as the computer connects to the Apple help servers. Then, in the com.apple.helpui folder you will see a new folder called 'Mac Help'. Also some other numbered (0-15) cache folders which are not of interest right now. And on quit a file called 'TOCCache.plist' which does not effect things. Soon you should see an error in the Console console.log window something like this:
    "2005-11-19 01:57:45.585 Help Viewer[1313] Exception raised during posting of notification. Ignored. exception: * End of archive encountered prematurely at 400"
    I am not sure exactly why this is but it appears to be related to some sort of timeout and failure to fully download some items.
    4. Now try to click on any link or Index. For me, nothing happens and I get only more error messages like:
    "2005-11-19 02:02:21.190 Help Viewer[1313] Uncaught exception - * End of archive encountered prematurely at 400
    2005-11-19 02:02:21.190 Help Viewer[1313] * Attempt to remove unrecognized exception handler 0xbfffdce0"
    The only option is to quit out.
    5. Immediately relaunch Mac Help. If it is like me then it will now be a blank screen accompanied by the following my critical error message:
    "2005-11-19 02:03:33.543 Help Viewer[1319] * NSRunLoop ignoring exception '* End of archive encountered prematurely at 400' that raised during posting of delayed perform with target 375df0 and selector '_setupTOC'"
    Now, everytime I quit a launch Mac Help it is the same error and blank screen.
    This seemed to me to point towards an issue within the com.apple.helpui folder because when it is trashed Help Viewer will launch one time then stop.
    So I went through each folder (I had a number of Help folders the first time) and tried moving it out of the folder, rather like testing for bad prefs in OS8.
    Eventually I tracked the offending file/s down to this:
    User > Library > Caches > com.apple.helpui > Mac Help > Contents > Resources > English.lproj > pgs > pgs.helpindex
    As soon as this file is created then it all stops. Trash this file and relaunch and the homepage appears again until it appears and once again the problem reappears. This is totally repeatable for me.
    Once I had isolated the problem file I tried various solutions to resolve it. The first was to replace it with the same file which is already in the System within the MacHelp.help documentation here (the system Library, not the User path)
    Library > Documentation > Help > MacHelp.help
    Copy MacHelp.help and then use Command + I and 'Show Package Contents' to navigate to:
    MacHelp.help > Contents > Resources > English.lproj > pgs > pgs.helpindex
    (right at the bottom of the pgs folder with hundreds of .html files)
    I then replaced the existing pgs.helpindex with this one. It is different at it has an earlier Created date of 16/03/2005 (my vary), the one in the cache folder is Created 20/10/2005 (may vary?)
    This allowed Help Viewer to launch correctly, but after a short time and re-launch it returned to the blank screen. Examining the file showed it was being overwritten by the later downloaded version, the one causing the problem. This led me to change the permissions to 'Read only' to prevent it being overwritten and after this the Help Viewer worked normally on relaunches.
    I also changed and altered the permissions on the pgs/pgs2.helpindex folder in the same directory as the pgs folder as it seemed to also cause a problem.
    So, finally I resolved the problem, with no error messages, the Help Viewer loading correctly and a working Help. However, I noticed that after a while the blank screen came back. Knowing the pgs.helpindex was OK it seemed likely that other .helpindex files in other Help folders created in the com.apple.helpui folder. This proved the case because, on trashing the new Help folder, it launched again. Swapping the downloaded .helpindex in say, Mail Help, and changing the permissions fixed it, until another Apple application Help folder was created and it re-occurred. The problem does not occur with all the Mac application Helps, but with some (notably for me, Mail Help, Safari Help and some others).
    Finally I found that rather than digging into the apps contents I could get the same fix and also quicker Help browsing by simply creating the actual Help folders as described above and ensuring the .helpindex (or other folders/ files like idx) was not created.
    From nearly two weeks trials it so far appears to completely resolve this issue.
    Just be aware of any new Help folders/ files being created.
    The are a few other observations:
    1. I tried just altering the permissions on the actual com.apple.helpui folder to 'Read only' but whilst it allowed the Help Viewer to open fine, it broke links within the application Help windows.
    2. I have not tried many Helps on other non Apple applications. I find that Toast help triggers error messages:
    "2005-11-19 02:27:02.229 Help Viewer[1340] -[IdxSearchController openIndices:] caught a VTWIN exception. Bad index file is /Applications/Toast 7 Titanium/Toast Titanium.app/Contents/Resources/English.lproj/Toast Help/Toast Help idx
    It is not possible to change the 'Toast Help idx' as it is an exec file. The errors do not seem to break Help Viewer. I had similar error messages from Quicktime Help when it loaded. I suspect that the Toast help is broken for similar reasons as mac Help b (it works for links to installed pages but not external ones). But it could be from the alterations to the Help folders. Either way at least Help works.
    3. It is possible to get most .helpindex files from the relevant application contents but just using the Help folders is a quicker solution.
    4. I can't help feel that the difference between those that have or do not have these issues is a slower connection, i.e. non-broadband. I have a 64k ISDN connection through a router which is pretty much 'always on' with solid 7KB speeds, but it seems this is insufficient for Help to work properly. I read elsewhere that connection speed appears to be an issue and Help is sensitive to this. It would be interesting to know what type of connection people with the issue have. I also have a hardware firewall in the router which may be a factor but it does not stop any other normal traffic and allows the files through anyhow. It has been in place for 6 years and with no issues. Just wanted to note it.
    5. Certainly for my situation, it appears that the files being downloaded from the Apple help servers are actually causing the problem at my end. I can't explain why or how other than the tests explained above are repeatable and that using the same file but from the System file resolves the problem. It remains unclear why a slower connection would lead to files downloading which affect some people but not others? It may be something totally different of course but the error messages in Console do seem to point towards this.
    6. I imagine the reason why the files and folders are downloaded are to ensure that they are kept up to date, as the pgs.helpindex for instance is a later creation date. However I do not seem to have any problems browsing or looking at topics, especially with the 'Include product Support Searches' option selected in the Help View menu. It means that there is extra traffic but gives a wider range of responses from Apple. Perhaps it is better to deselect this option if you have a slow dialup connection?
    Summary
    I hope that this solution can help others with this issue and perhaps other related problems. There is no way of me testing it further and I do not know how others who seemingly do not have a problem can check this. I just know it resolved it for me. I am no expert but a long time Mac user who is used to simple and elegant functionality, not the ongoing saga of the current Help, and wanted the thing just to 'work'.
    Good luck
    Simon

  • Saw: C-runtime error occured (bad allocation)

    We are running into an issue with the Prod Web Server, wherein it is suddenly stops once in a while and does not restart unless we reboot. We seem to have two issues going on
    1) What brings down the server in the first place?
    From the logs it looks like 3 of th last 4 times it failed, it was due to the Drifted Accounts report. The specific error is below. It seems that somehow this report is triggering the saw server to fail (no impact on the analytics server).
    Type: Error
    Severity: 25
    Time: Wed Oct 29 09:54:49 2008
    File: project/webcube/cubecache.cpp Line: 249
    Properties: RptPath-/shared/IRIT/45 - Service/Report #8 - Accounts Summary Report;DashPath-/shared/IR Core Service Dashboard/_portal/IR Core Service 1. Summary Reports;DashPagePath-/shared/IR Core Service Dashboard/_portal/IR Core Service 1. Summary Reports/Drifted Accounts;SID-vff5to3ductfhfrtgvc2oi8vtq;ThreadID-3428;HttpCommand-Dashboard;RSP-d:dashboard~p:u673vcdbvpa7b12p~r:anokhgbsd4jnr317;RemoteIP-10.201.0.48;User-Administrator;HttpArgs-_scid='*YuesJlTN7Y'
    Location:
    saw.cube.cache.processCube
    saw.views.pivottable.displayer
    saw.views.dashboard
    saw.subsystem.portal
    saw.httpserver.request
    saw.rpc.server.responder
    saw.rpc.server
    saw.rpc.server.handleConnection
    saw.rpc.server.dispatch
    saw.threadPool
    saw.threads
    A C-runtime error occured (bad allocation)
    2) What prevents the service from restarting unless the server is rebooted.
    If we try to restart the saw service we see the foll error message
    Type: Error
    Severity: 42
    Time: Mon Oct 20 10:02:16 2008
    File: project/webcomm/socket.cpp Line: 338
    Properties: ThreadID-5800
    Location:
    saw.rpc.server.initialize
    saw.sawserver
    saw.sawserver.initializesawserver
    saw.threads
    Port 9710 is in use on the local system. [Socket:512]
    Any experience with or insight into this error is appreciated.
    Thanks,
    TL

    Have you tried patch 7140673 - OBI PRESENTATION SERVER CRASH IN PIVOT TABLE

  • Is there any hope of apple adding a 're-link with media folder'-type function to iTunes?

    Is there any hope of apple adding a 're-link with media folder'-type function to iTunes?
    I have 1000s of broken links after installing the latest version of iTunes and updating some files in my media folder. The location of my itunes library has not changed, and all the files are there (I know because I've just waited several hours for the files to be updated by my ultra-slow computer) - by my logic, there should be some menu option that simply re-synchronises with the media folder, just like itunes would do with an ipod - it can't be that hard can it? The only way I can restore a link is by clicking every song (I have over 28,000) and locating the file in the folder that iTunes claims to use as its media folder - the new version 10 option of then using this location to restore all broken links doesn't work because it only looks in the specific album file, and after a couple of times this dialog box no longer even comes up, so I couldn't ask it to do this even if I wanted to. At the moment the only option I can see is to completely wipe iTunes and re-load all my music from scratch - using my tired and over-worked computer this will realistically take around 15 hours that I don't have, and my computer will melt in the process. I wish I'd never tried to 'tidy up' my iTunes library...
    PLEASE Apple, how hard can it be to have a function that searches for and restores broken links by itself????? I've told you where the music is - just flipping look for it yourself instead of getting me to do it!

    You don't have to re-rip, re-import or re-download all your content. You can clear the iTunes library, either by selecting all in the libary and pressing the Delete key, saying "no" when it asks if you want to remove the files themselves, and then use the Add To Library command, selecting the iTunes Media folder (or iTunes Music folder, as applicable to your situation), and that will add back all your content. It shouldn't take more than a few minutes; if it does, something may be amiss with your hard drive or the library file is corrupted (in which case just delete the library file and re-do the Add To Library command).
    Regards.

  • Any hope for recovering data fr. Micro SD Memory card?

    this isn't really a powerbook G4 question, but it does relate to data i've had on there.....
    I mistakenly pressed the yes button on my mobile phone when it asked if it could reformat the disk because it couldn't recognize or read the card.
    Is there any hope of recovering the data or is it gone forever?
    I'm hoping that there's someone out there with a solution.
    Thanks to anyone who may be able to help me and if I can't retrieve the data, then I must humbly accept that it's gone and to let it go.....
    Brande

    there's a website flashfixers.com.
    They have great products to help one recover everything and anything.
    I downloaded the demo version ImageRecall to test it out and see how it would be.
    Easy to use. It lets you know how many files were retrieved for each option (data, audio, image) within the drive you choose. It gives you 10 recovered files as a teaser. You need to buy the full version to recover all the files that are okay for recovery.
    If you haven't heard about this recovery software, check it out.

  • Any hope for syncing a "LG Dare" (Verizon)

    Well as i'm sure many of you have seen the new "3G iPhone Competitor" will be released on verizon this week. any hope for syncing with iCal and or Contacts?
    Please don't rip on me for this I just cannot afford a plan on ATT.

    This is great... I got my music on my dare even under the "My Music" Folder on the phone using the method above (Bluetooth Exchange)....
    one problem...
    theres no way to get it off after you do that.... if you try to delete songs off your phone via Bluetooth Exchange it says "Last Operation Failed Bad Request..."
    and of course theres no way to delete them from the phone... that would be too simple (thanks LG)
    and since I have a mac....
    i cant use the verizon sync program to get them off...
    so for now i only have 4 songs on my Dare... but they are on my internal memory... perhaps... eternally.
    Please reply if you have any advice...
    maybe i missed something ...
    Message was edited by: smroepe7

  • Lost All SD Card Data Via Create "Disk Image" - Any Hope To Recover?

    Hi All,
    Hope this is the right place to post - I run Snow Leopard on a June 210 2.66 i7 UMBP. Please forgive my very limited knowledge but I was following instructions on how to create a "Disk Image" of a SDHC Card to preserver exact data so as to enable easy import of Full HD 60FPS AVCHD/.MTS stuff shot on a Sony DSC-HX9V Camera. (Sony PS Video Mode)
    I am basically "Monkey See. Monkey Do" & was having a nightmare trying to figure out why I could not transfer the stuff on the SD Card to iMovie 11/ iMovie HD. I read lots of threads here & elsewhere & the advice seemed to be to make a "Disk Image" of the SD Card via Disk Utility & then import into iMovie from there. I found the following online instructions:
    http://blog.scoopz.com/2008/10/13/ba...to-disk-image/
    I followed the exact instructions to the letter but kept getting error messages a few times & the process would not complete. On the last occasion (4th), the process completed very quickly & a "Disk Image was created on my desktop. I noticed that it said that there was pretty much 16GB free out of the 16GB capacity of the card & when I opened it, all I found were folder icons & garbled descriptions with some strange files - The SAME was true of the stuff on the SD Card which I was desperately trying to back up & save. The Card was full of Data when I inserted it.
    All the photos & videos in all folders are now missing/gone & I do not know why. I am desperately hoping there might be some way I can get all the stuff back - is there any hope? What, as someone of very limited understanding of these things, do to recover the stuff on the SD Card if at all possible? I have enclosed some pics so you can see what I see. What happened here - where did all my stuff go?
    Many Kind Thanks!

    You were on the right track, but now the disk free space doesn't give me much hope you'll recover anything.   The .MTS files are in fact the video files:
    http://www.etinysoft.com/
    Total Video Converter can convert these files to MPEG-4 that iMovie, iTunes, iPhone, and iPod can use. First double check that there aren't any .MTS files left with http://apps.tempel.org/FindAnyFile/ And if it can't find any, use one of these data recovery tools:
    https://discussions.apple.com/docs/DOC-1689
    Once you have it, then you can use Total Video Converter to get it to a format you can use. I have a Sony DSC-HX-100V and it makes the same sort video files.

  • UDF error: bad class file

    Hi to all!
    i faced with following problem:
    i'm trying to use in message mapping exported Java function and get following error:
    <i>Source code has syntax error:  E:/usr/sap/DXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapb97a3fc699d611dcaf9d001b78d07a70/source/com/sap/xi/tf/_UserToRoleId_.java:3: cannot access kolpix.echo bad class file: E:\usr\sap\DXI\DVEBMGS00\j2ee\cluster\server0\.\temp\classpath_resolver\Mapb97a3fc699d611dcaf9d001b78d07a70\classpath\Echo_1(kolpix/echo.class) class file has wrong version 50.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpath. import com.sap.aii.mappingtool.tf3.;import com.sap.aii.mappingtool.tf3.rt.;import java.util.;import java.io.; import java.lang.reflect.*;import kolpix.echo; ^ 1 error</i>
    There is my Java function:
    package kolpix;
    public class echo {
        public echo() {
        public static String hello(String str) {
            return "Hello "+str+"!";
    in UDF into the <b>Imports</b> textField i just put <b>kolpix.echo;</b>
    and in body function i just put <b>return echo.hello("World");</b>
    Could any one explain what does it mean and what i must do to solve the problem?
    Thx in advance.

    <a href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183240">That info explain all</a>

  • Cannot access Graphics - bad class file

    Hey.
    When I try to compile my source I get an error saying...
    .\Man.java:146: cannot access Graphics
    bad class file: .\Graphics.java
    file does not contain class Graphics
    Please remove the files or make sure it appears in the correct subdirectory.
    It's on a different computer so that's not exactly it, but it's close enough. Compiler was working fine until the other day when i found out that all the source files were zipped up in src.zip, I had to extract Graphics.java so I could open it in emacs, and after I did that it started giving me that error message. There's nothhing wrong with my source, and I didn't move Graphics, it's still in the correct place exactly as it was, and i looked at it, all the right stuff is still inside. I'm quite confused.
    So do I have to reinstall? That would mean a massive download on my 56k and I kinda wanna carry on with my work.

    You should not need to unzip src.zip to use the Graphics class or any class that comes with j2sdk. The compiled classes are in jar files that are installed in certain directories when you install the j2sdk.
    You should only need to have a line "import java.awt.Graphics;" near the start of your source code.
    The error most likely occurred when the compiler found a Graphics.class file but inside the file is java.awt.Graphics class, not a plain Graphics class.

  • A C-runtime error occured (bad allocation) from xmlViewService

    Hi There,
    I have a .NET code which calls OBI webservice xmlViewService. I observed xmlViewService.executeXMLQuery works fine when there are records between 0 - 80000, but when records go beyond 80000-100000 it fails & returns an exception "A C-runtime error occured (bad allocation)".
    I tried gradually increasing the maxRowsPerPage from 10 to 100000 but in vain.
    Below is the code am using:
    sawSessionService = new SAWSessionService(obieeWebServiceUrl);
    sawSessionService.Timeout = obieeTimeout;
    XmlViewService xmlViewService = new XmlViewService(obieeWebServiceUrl);
    xmlViewService.Timeout = obieeTimeout;
    SAWSessionParameters sawSessionParms = CreateSawSessionParameters();
    AuthResult logonResult = sawSessionService.logonex(obieeUserId, obieePassword, sawSessionParms);
    sessionID = logonResult.sessionID;
    ReportRef reportRef = new ReportRef();
    reportRef.reportPath = request.ReportPath;
    XMLQueryExecutionOptions xmlQueryOptions = new XMLQueryExecutionOptions();
    xmlQueryOptions.async = false;
    xmlQueryOptions.refresh = false;
    xmlQueryOptions.maxRowsPerPage = 100000; //10;
    xmlQueryOptions.presentationInfo = true;
    xmlQueryOptions.type = "";
    ReportParams reportParams = new ReportParams();
    QueryResults queryResults = new QueryResults();
    queryResults = xmlViewService.executeXMLQuery(reportRef, XMLQueryOutputFormat.SAWRowsetSchemaAndData, xmlQueryOptions, reportParams, sessionID);
    Please help me solving the issue. Highly Appreciate any help.
    Thanks - harry
    Edited by: 887426 on Sep 26, 2011 12:45 AM

    Hi Harry,
    We face this issue, when the criteria returns lot of data. Is the issue resolved for you now? If yes, can you share your solution.
    Thanks,
    madhu

  • Bad Class File error - Win2k & J2SDK1.4.0_01

    Hi,
    I am trying to run a 'Hello World' program which came with the FreeTTS package from links from the java.sun.com website, and am not able to compile the program. I get the error:
    FreeTTSHelloWorld.java:4: cannot access file
    cl.com.sun.speech.freetts.audio.Voice
    bad class file: .\cl\com\sun\speech\freetts\audio\Voice.class
    class file contains wrong class: com.sun.speech.freetts.Voice
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    import cl.com.sun.speech.freetts.audio.Voice;
    _______________________________________^
    The FreeTTSHelloWorld.java File is printed below [its embarassingly simple..]
    * Copyright 2001 Sun Microsystems, Inc.
    import cl.com.sun.speech.freetts.audio.Voice;
    import cl.com.sun.speech.freetts.audio.JavaClipAudioPlayer;
    import cl.com.sun.speech.freetts.en.us.CMULexicon;
    public class FreeTTSHelloWorld {
    public static void main(String[] args) {
         try {
         String voiceClassName = (args.length > 0) ? args[0] :
              "com.sun.speech.freetts.en.us.CMUDiphoneVoice";
         Class voiceClass = Class.forName(voiceClassName);
         Voice helloVoice = (Voice) voiceClass.newInstance();
         helloVoice.setLexicon(new CMULexicon());
         helloVoice.setAudioPlayer(new JavaClipAudioPlayer());
         helloVoice.load();
         helloVoice.speak
              ("Thank you for giving me a voice. I'm so glad to say
    hello to this world.");
         System.exit(0);
    catch (Exception e) {
         e.printStackTrace();
    I've tried a billion things, including moving around the .class files [which, by the way, i extracted myself from the .jar files which came with the FreeTTS package - is that what i'm doing wrong? if so, please tell me - ] and still nothing happens - the same error results.
    I've tried reading other cases similar to mine in the forums, but most of the things i read didn't apply to my (quite simple) situation, such as the 'package' line needing to be removed or anything like that..
    I run Win2k and have j2sdk1.4.0_01 installed on my machine
    I beg for anyone's help. Thanks in advance
    -=-Miagi-=-

    Aha!
    Extracting from the jar file might be ok, as long as the directory it's extracted into reflects the class's package name. Open the jar file using WinZip and you'll see that the files it contains are in directories that exactly mirror (including case) the package names.
    The error you're getting tells you that java is looking in .\cl\com\sun\speech\freetts\audio\Voice.class (the '.\' means relative to your current working directory) and my bet would be that the file is not there!
    You shouldn't need to extract these files at all, actually: Try deleting the files you extracted from the jar then try running your program again.
    I hope this is helpful...
    Chris.

  • I was thrown in the pool with my phone in my pocket.  I was in the pool for a minute or two.  I got out dried it off and stuck it in rice.  Is there any hope for my hope?  If not, is there a way to fix it?

    I was thrown in the pool with my phone in my pocket.  I was in the pool for a minute or two.  I got out dried it off and stuck it in rice.  Is there any hope for my hope?  If not, is there a way to fix it?

    alanfromwickford wrote:
    just to add, i'd remove the back case to allow mor rapid drying, but expect the wosts - because it's less disapointing if you then lucky
    What a colossally bad idea!  To anyone reading this thread DO NOT DO THIS!!!  Once anyone other than an Apple Authorized Service Provider (and that doesn't automatically mean your carrier, just FYI) opens up the device, then ALL options from Apple are gone, permanently.

  • Magic number mismatch: bad mzip file in 3750 stack switch

    Hi All can anybody help me in this error msg
    "magic number mismatch: bad mzip file"
    I am trying to upgrade the switch  with"c3750e-ipbasek9-tar.122-55.SE5.tar" in 3750 stack switch it is  showing this error msg while booting
    thanks in advance

    Hi,
    The reason you are getting this error message on the switch is a corrupt or wrong IOS image "c3750e-ipbasek9-tar.122-55.SE5.tar".
    If the switch is in rommon mode, and you have any other image in the switch, boot it using that image. Once the switch is up, download and copy the correct IOS image once again on the switch and try to upgrade.
    If you need help in finding the correct IOS image, give me the exact switch model number, i will help you with that.
    But forsure the image is wrong or corrupt and that is why you are getting this error.
    Thanks
    Ankur
    "Please rate the post if found useful"

  • Bad class file: WSRP_v2_Registration_PortType ...

    I've been trying to deploy a portlet to a 10.1.3.2 Portlet Container on OAS 10g without much luck. The portlet deploys correctly to the standalone OC4J within JDeveloper. Here is the error:
    ... \application-deployments\Portlet\Portlet\oasis\names\tc\wsrp\v2\bind\runtime\WSRP_v2_Registration_Binding_SOAP_Tie.java:930: cannot access oracle.portlet.wsrp.v2.soap.runtime.WSRP_v2_Registration_PortType_modifyRegistration_Fault_SOAPSerializer
    bad class file: ... \application-deployments\Portlet\Portlet\oracle\portlet\wsrp\v2\soap\runtime\WSRP_v2_Registration_PortType_modifyRegistration_Fault_SOAPSerializer.java
    file does not contain class oracle.portlet.wsrp.v2.soap.runtime.WSRP_v2_Registration_PortType_modifyRegistration_Fault_SOAPSerializer
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    new oracle.portlet.wsrp.v2.soap.runtime.WSRP_v2_Registration_PortType_modifyRegistration_Fault_SOAPSerializer(ENCODE_TYPE, NOT_NULLABLE, SOAPVersion.SOAP_11), SOAPVersion.SOAP_11);
    ^
    1 error
    The class it is complaining about is in wsrp-stubs.jar. I've included the jar in my deployment from JDeveloper and placed it in OAS as a shared lib and import it into the classpath at deployment time. The sample portlets distributed with the portlet container deploy without issue. I'm out of ideas. Any thoughts you have would be appreciated. Thanks!
    -Jason

    Boing.

Maybe you are looking for

  • HP Deskjet 9650_need driver assistance under Snow Leopard

    I've been to HP_ they no longer support this (and apparently many other printers) in 10.6. One support person recommended I just go to the list of drivers supplied by Apple in 10.6.3, and use one of them, but so far, none work with my printer. Most t

  • How can I set 'Adobe PDF printer' as one of my printer choices?

    I've given it half an hour. Can't seem to figure out how I can set 'Adobe PDF printer' as one of my printer options. I'm not sure if I need to download an Adobe file, and what folder I might need to place it in, and if I also need to add a specific d

  • Creating an LOV from month

    Hi all, I have a report that uses the select extract (month xxx) function to select the month number from a date field from another table. I wish to filter these months by using an LOV. How would I go about doing that? Thanks. Shahram

  • Error launching Premier Pro after update

    I am unable to launch PP.  When it lauches I get an immediate error: Premiere Pro has encountered an error. [/sirreel64/releases/2013.02/shared/adobe/MediaCore/ASL/Foundation/Make/Mac/../../Src/Dire ctoryRegistry.cpp-283] On brand new imac-27, latest

  • Finding an ethernet connected HDD in Finder

    The subject title says it really. I've connected a Harddrive via an ethernet cable to an iMac. Under Preferences, Network, it says 'connected' and provides an IP address. When I open Finder, select Go and input the IP address, the response is 'This f