Why my Input/output size of backup increased

I have a following rman backup script
run {
backup as compressed backupset incremental level 1 cumulative device type disk tag 'Baan_bkup$LEVEL_0' data
base;
recover copy of database;
backup device type disk tag 'Baan_bkup$LEVEL_0' archivelog all not backed up;
backup archivelog until time 'sysdate-3' delete all input;
crosscheck backupset;
crosscheck archivelog all;
delete noprompt obsolete;
delete noprompt expired backup;
running once daily for almost three weeks. the first 9 days, the input/output sizes were fractional (ex 3G/88M), then it switched to ~16G/1.3G and stayed that level. Because this is test DB server, basically there is no activity on it except the mentainace activity by DB itself. So how did it happen to cause the size change? The real backup sets only maintain at 3 days level as the script. My database size is 16.88G of 10g R2 on RH EL3

That is the behavior in 9i and 10g1. In 10gR2 things change.
Unused Block Compression Of Datafile Backups to Backup Sets
When backing up datafiles into backup sets, RMAN does not back up the contents of data blocks that have never been allocated. (In previous releases, this behavior was referred to as NULL compression.)
RMAN also skips other datafile blocks that do not currently contain data, if all of the following conditions apply:
The COMPATIBLE initialization parameter is set to 10.2
There are currently no guaranteed restore points defined for the database
The datafile is locally managed
The datafile is being backed up to a backup set as part of a full backup or a level 0 incremental backup
The backup set is being created on disk.
http://download-east.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta009.htm#RCMRF98765

Similar Messages

  • Why are input-output lights flashing when not in use? Pirated signal?

    I have my airport base station set up to not make itself public (ie. you must type the name of the network and password for it to appear and let you in). However, I noticed the other morning when I got up (in the dark!) that the lights were flashing like crazy. It really looks like it is in use. Is there anyway to minitor whether or not somebody is stealing signal from me, or is there another explanation?
    Thanks!

    I also can state that it is absolutely normal behavior and nothing to worry about (there is always some network traffic).
    Regarding security, if you really think that could be an issue, you should allow only devices their MAC addresses have been registered to the AirPort to get access.
    This does not take effect to encryption, but prevents unauthorized people (e.g. your neighbor) to share your WLAN network - regardless if they know your password or not.
    Settings are done at the AirPort maintenance software: Select the station, click on "configure", on new window select the tab "Access" and then add the MAC addresses of all devices that are allowed being connected.
    (Note that I use the German version of the AirPort maintenance software, so I'm not sure if I named it correctly).
    MAC addresses are located on all network cards or their packaging, bottom of notebooks (if they have a (W)LAN adapter; remove battery in case you can't find it, sometimes it is hidden there) or somewhere at the back panel of your desktop computer with integrated (W)LAN adapter.
    Just to explain: MAC addresses are unique to each device, they should never appear twice in the World; therefore this is a very safe solution.
    And if you not care much about encryption, you can turn it off completely and profit from faster network access (but this is at your own risk).

  • I'm trying to backup a my harddrive with disk utility but I'm getting an error  Unable to create Backup.dmg" (input/output error). Is there any other way to save my data? I believe my hard drive is failing or corrupt file. I can't boot up. Grey screen

    I'm trying to backup a my hard drive with disk utility but I'm getting an error  Unable to create Backup.dmg" (input/output error). Is there any other way to save my data? I believe my hard drive is failing or corrupt file. I can't boot up. Grey screen and spinning wheel. I've tried everything https://discussions.apple.com/message/20580424#20580424
    any help will be greatly appreciated.

    Check here. Also have you done a TimeMachine back up?
    http://support.apple.com/kb/TS2570

  • Help -- backup data with disk utility, input/output error.

    My problem started when my MacBook Pro computer (with OsX) froze.  When I restarted, the startup screen stayed on for a long time.  Now, the startup screen stays on for a few seconds and then shuts off.  I do NOT have a recent backup of my data.  I have tried the following:
    Went onto the recovery partition, used Disk Utility.  When I verified the disk, it said it needed repair.  When I tried to repair the disk, it said it could not be repaired.
    I then tried to copy a disk image of the hard drive onto my external hard drive, but it says there is an "input/output error" and won't allow it.  How else can I backup files on my computer at this point?

    Had issue partitioning 2TB my passport drive, got input/output error while using disk utility.
    Here is what I did to get my external disk back
    In Disk Utility
    1) Try to use erase option first, it failed
    2) Try to partition the disk, failed as well.
    3) Then try erase option again, then ...   it worked !!

  • RMAN Level 0 Backup ORA-27072: File I/O error ... Input/output error

    Hi, All -
    I am receiving the following error messages while running a level 0 backup. Please assist!
    ====================================================================================================
    RMAN-03009: failure of backup command on d1 channel at 11/17/2008 01:08:34
    ORA-19502: write error on file "/NEW_backups/backups/admin/CCPROD/bkups/CCPROD.5313.1.670986008.DB", blockno 82945 (blocksize=8192)
    ORA-27072: File I/O error
    Linux-x86_64 Error: 5: Input/output error
    RMAN-03009: failure of backup command on d2 channel at 11/17/2008 01:08:34
    ORA-19502: write error on file "/NEW_backups/backups/admin/CCPROD/bkups/CCPROD.5314.1.670986008.DB", blockno 84609 (blocksize=8192)
    ORA-27072: File I/O error
    Linux-x86_64 Error: 5: Input/output error
    Additional information: 4
    Additional information: 84609
    Additional information: -1
    channel d2 disabled, job failed on it will be run on another channel
    released channel: d1
    released channel: d2
    released channel: d3
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on d3 channel at 11/17/2008 01:08:34
    ORA-19502: write error on file "/NEW_backups/backups/admin/CCPROD/bkups/CCPROD.5315.1.670986008.DB", blockno 98433 (blocksize=8192)
    ORA-27072: File I/O error
    Linux-x86_64 Error: 5: Input/output error
    Additional information: 4
    Additional information: 98433
    Additional information: -1

    Since it is a <b>write</b> error, I'd look at permissions on the target directory, and available disk space on the target file system.

  • Why does PDF file size increase each time I "save" tagging tasks?

    Why does PDF file size increase each time I "save" tagging tasks?
    Given:
    1) I'm running Acrobat Pro 11.0.07 (this is most current version)
    2) My file size starts at 750mb and ends up 15mb when finished tagging.
    3) Only certain documents experience this increase, i.e., no visible pattern of document characteristics
    4) PDF's are not full of images...in fact, mostly <H1> <H2> <H3> <P> <Figure> alt text, ect.
    5) Occurs with text PDF's and/or fillable forms (again, does not happen to all documents...only some)
    6) File increase occurs incrementally as tagging tasks are performed; i.e., each new save increases file size a few megabytes.
    7) Occurs whether I "save" or "save as"
    8) Difficult to optimize these files without corruption
    9) I'm running Mac OS 10.9.4 (this is most current version)

    Thank you so much for responding! I've been experimenting with the SAVE AS vs. SAVE for the past few days...and you are correct. It's funny because I've been tagging files for 2 years and never noticed this. Probably b/c I use both methods depending on the tagging tasks...some are more complicated than others and should not be overwritten. In those cases I SAVE AS new file.
    I love this forum...thank you again!

  • I get an input/output error when i try to restore a functioning backup from my external harddrive to my new internal harddrive through disk utility?

    my hardrive Had a smart status warning so i made a backup of it on my external harddrive through disk utility. i checked to make sure that the backup was working and i had no problems with it. i then bought a new internal harddrive and swaped it out but when i was in recovery mode to try to restore my new hardrive i kept getting an error message saying restore error, input/output error

    The big dilemma with a new Internal drive is separating Drive operation from 'inside the MacBook' operation. If you had an External Enclosure, you could do all the work (including booting up from the new drive) using the External enclosure.
    Then if a know-good drive develops problems only when moved inside the MacBook, it is time to try a replacement cable.

  • Help with Input/Output Parameter Size using OLE DB Provider

    I am using the OLE DB Provider for 9i in an Active Server Page to call a stored procedure in a 9i database. I pass have an input/output parameter (adVarChar with adSize=30) in which I pass a two digit number in, and expect to get a character value greater than 2 characters in return. However, when I execute the stored procedure call, it appears the value being returned in the parameter is being truncated to the size of the value I passed in (2 characters). Is there a way I can insure the parameter will return the entire length of the result regardless of the length of the input value?

    cmd.Parameters.Add("retstatus", OracleDbType.Varchar2, 200, ParameterDirection.InputOutput); It seems to me that you're trying to use an OracleParameter constructor with parameter name, parameter type, parameter SIZE, and parameter direction. But OracleParameter class does not have any such constructor. Therefore, your test tries to use another constructor incorrectly.
    OracleParameter has two constructors with four parameter ...
    public OracleParameter(string parameterName, OracleDbType type, object obj, ParameterDirection direction)
    public OracleParameter(string parameterName, OracleDbType type, int size, string srcColumn)
    ... and none of these matches your constructor. One way to solve this problem is to use appropriate constructor or OracleParameter properties.

  • WD External Hard Drive will not format, "Input/Output Error"

    Trying to reformat an old Western Digital external drive, immediate error in Disk Utility "Input/Output Error". Switched USB cords/ports, nothing. Just getting a second opinion before I trash it.
    I know I can probably take out the drive and put it in an external case, but this was just going to be an extra drive for a friend, not worth the $20 for the case.
    Thanks

    I'm getting the same errors from both my USB ports when I try to format a brand new Maxtor 1TB drive.
    I had noticed some strange errors a week ago when Time Machine was reporting an error saying it had failed (this was using a nother external firewire drive). Errors were (not verbatim) "error writing files" & "unknown error".
    I naturally thought there was a prob with the ext drive, so knowing that I had at least a good full back-up on there, bought a new ext drive (larger) to perform a full backup on so I could reformat the firewire drive and utilise it elsewhere - but got errors when I tried to set it up as a Time Machine drive seconds after I took it out of the box.
    I ran "Verify Disk" on my internal macbook HD and it reported some permission errors and mis-reported file sizes and told me to "Repair Disk". I did, and this stated it fixed a few things. Ran Verify again and it still reported some permission errors.
    Now, this leaves me in a sticky spot. I can't format the maxtor external disk in order to manually copy over my disk content, it doesn't even show up in disk Utility or in Finder. I can't perform a Time Machine backup - as it can't see the maxtor disk. I can't do a TM backup on the old Firewire disk - due to the program errors. AND it appears I have permission errors on my internal HD.
    Whatever course of action I take to correct these problems - I would like the knowledge that I have a full backup to restore from if things "head south" while I look to correct the HD permission issues.
    Anyone out there with some REAL SMART ideas that can help me out here ?
    Right now I'll even accept "Half Smart", "Clever" and "**** - Why Didn't I Think Of That" answers !
    S.

  • External Drive Disk Erase Failed with the Error Input/Output Error

    I have 2 hard drives in an external FW800 enclosure that I am unable to format. When I go to initialize the drives in Disk Utility, I get the following error message: "Disk Erase failed with the error: Input/output error."
    The drives show up in Disk Utility, but I can't repair them (that option is grayed out). Disk Utility correctly ID's the manufacturer of the drives (Maxtor), their size (200gb each), so it's obviously seeing that the drives are there. But it won't let me format them.
    The drives are new, by the way; they don't have any data/files on them. I have Disk Warrior, but the drives don't show up there to be repaired -- probably because they aren't formatted yet.
    After looking at other posts, I tried switching the jumper settings around on the drives -- from Master/Slave to cable select and back again, but it didn't help. I also tried doing a zero erase (even though the drives are new), zapping the PRAM -- again, no help.
    One question I had is whether this could be a bad FW800 cable? The cable is new -- it came with the enclosure, which is an OWC Dual FW 800 enclosure. Other than that, does anyone have any other thoughts about what's causing this? Any help would be greatly appreciated.
    Matthew

    SOLUTION!!!!
    I had the exact same problem. I have the original 20 GB hard drive that came in my Powerbook G4 550MHz and a couple of years ago I traded up for a 60 GB drive and bought a FW/USB enclosure for my original drive to use it to backup my important files. I hadn't backed up in over a year (shame on me!) and I decided maybe I should erase the drive and start from scratch. It was connected via USB.
    At that point DiskUtility gave me the exact same Input/Output error. I tried partitioning the drive into 1 or more partitions but came up with the same error. I couldn't figure out what was wrong so I decided to startup in OS 9.2.2, I did that and let it start up, then plugged in the hard drive and it gave me the standard "This disk is unrecognizable, do you want to eject or erase?" so I clicked Initalize. It worked!
    Just make sure you choose the MacOS Extended option when initializing out of OS 9 (instead of the MacOS Standard option) so it can be read and viewed in OS X.
    If your computer is too new to be able to boot from an OS 9 folder on your drive or an OS 9 CD, then see if a friend or a local library has older computers that are running OS 9 or can boot from it. If not let me know and you can send me your drive and I'll reformat it.
    Kind of crazy...I haven't used the OS 9 partition on my HD in YEARS...was even thinking about erasing it since I don't use any Classic applications anymore...good thing I didn't!
    Nick
    Powerbook G4 550Mhz   Mac OS X (10.4.6)  

  • How can I get a larger output size without dropouts?

    Using FMLE 3.2 to push HD to UStream.  Capture card is a Decklink Studio2.  Codec is h.264.  I see blocking and get dropouts on the input side when I increase the output size above 720 x 404.  I have used different bit rates, up to 2500.  Same problem.

    I figured out what the issue was.  The data going into the
    indicator on the front (the graph) was an array containing 10
    points.  I was able to change it so it updates every point by
    changing an input into the sub vi, storing the array and then
    connecting an indicator to read the 1st value from that array. 
    Thanks - Josh

  • Input/Output And Method Not Found Problem

    Ok so firstly I think I should apologise on two fronts.
    Firstly, 'cause this is probably posted in the wrong board but I'm not sure this was suitable for the Swing board just 'cause I've been using Swing? And secondly 'cause the code I'm gonna post is so shoddy I would think this constitutes as flaim-bait. >_>
    In my defense this is purely for a little class project to give something to write some documentation on so I'm really not too bothered about the efficiency or ace-mazingness of the end result. I just want it to work.
    To the problem at hand.
    I'm trying to write a program that asks the user a question and then outputs their answer to a file, from which a tally of answers can later be made for the purpose of displaying "results".
    My problem is I've been having problems with the input/output of saving the answers given to the program.
    I'm still learning and input/output is probably my weakest subject (other than, y'know, being good at Java). I've had a bash at it in the following code but all it does it overwrite what is in the file with a single answer so no list of results accumulate. I generally don't have an idea what to try for that one so any pointers would be appreciated.
    Also, my second problem is, in trying to gather results by tallying what is contained in the file, I've run across a problem with the charAt() method not being found and I'm not sure why. Isn't that method a part of java.lang?
    Here's the code thus far:
    //libraries
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.text.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.text.*;
    import java.io.*;
    class CaseStudy {
         public static void main(String args[]) {
              GUI maininterface = new GUI();
              maininterface.setupMenu();
              maininterface.display();
    class GUI {
         //for the actionlisteners
         int whatframe = 0;
         //creates mainframe and border content panel
         JFrame mainframe = new JFrame("Survey Client");
         JPanel borderpanel = new JPanel(), bottompanel = new JPanel();
         JButton quizbutton = new JButton("Take the quiz"), tallybutton = new JButton("Show Results"), submitbutton = new JButton("Submit Results"), menubutton = new JButton("Return To Menu");
         QuizQuestions toppanel = new QuizQuestions();
         QuizResults toppanel2 = new QuizResults();
         GUI() {
              //sets border in borderpanel, this spaces the main content in from the sides of the window
              borderpanel.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
              //sets up the frame and panels and adds on borders
              mainframe.setDefaultCloseOperation(mainframe.EXIT_ON_CLOSE); // exits java when clicking on close on main frame
              mainframe.getContentPane().add(borderpanel); // adds the panel as a component to the frame, the panel can hold stuffs
              borderpanel.setLayout(new BoxLayout(borderpanel, BoxLayout.PAGE_AXIS));// page_axis means it'll layout vertically
              bottompanel.setLayout(new BoxLayout(bottompanel, BoxLayout.LINE_AXIS));// line_axis means it'll layout horizontally
              //gives button an action
              quizbutton.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e1) {
                        setupQuiz();
              tallybutton.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e1) {
                        if(whatframe == 1) setupResults();
                        else {
                             int rusure = JOptionPane.showConfirmDialog(null, "Are you sure you wish to show results? Any current quiz answers won't be saved.", "Please Choose One", JOptionPane.YES_NO_OPTION);
                             if(rusure == JOptionPane.YES_OPTION) setupResults();
              menubutton.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e1) {
                        setupMenu();
              submitbutton.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e1) {
                        toppanel.doQuiz();
              borderpanel.add(bottompanel);
         public void setupMenu() {
              if(whatframe == 3) {
                   bottompanel.remove(menubutton);
                   borderpanel.remove(toppanel2);
              whatframe = 1;
              //adds components and lays them out
              bottompanel.add(quizbutton);
              bottompanel.add(Box.createRigidArea(new Dimension(0,10)));
              bottompanel.add(tallybutton);
              display();
         public void setupQuiz() {
              bottompanel.remove(quizbutton);
              bottompanel.remove(Box.createRigidArea(new Dimension(0,10)));
              bottompanel.remove(tallybutton);
              whatframe = 2;
              bottompanel.add(submitbutton);
              bottompanel.add(Box.createRigidArea(new Dimension(0,10)));
              bottompanel.add(tallybutton);
              borderpanel.add(toppanel);
              display();
         public void setupResults() {
              if(whatframe == 1) {
                   bottompanel.remove(quizbutton);
                   bottompanel.remove(Box.createRigidArea(new Dimension(0,10)));
                   bottompanel.remove(tallybutton);
              else {
                   bottompanel.remove(submitbutton);
                   bottompanel.remove(Box.createRigidArea(new Dimension(0,10)));
                   bottompanel.remove(tallybutton);
                   borderpanel.remove(toppanel);
              whatframe = 3;
              bottompanel.add(menubutton);
              borderpanel.add(toppanel2);
              display();
         public void display() {
              //sets the size of the frame around it's components and then shows it
              mainframe.pack();
              mainframe.setVisible(true);
              mainframe.validate(); //makes referenced container relayout it's components
    class QuizQuestions extends JPanel {
         LoadingSaving loadsave = new LoadingSaving();
         JPanel popm = new JPanel(), pop1 = new JPanel(), pop2 = new JPanel(), pop3 = new JPanel(), pop4 = new JPanel();
         JFormattedTextField ques = new JFormattedTextField(), op1 = new JFormattedTextField(), op2 = new JFormattedTextField(), op3 = new JFormattedTextField(), op4 = new JFormattedTextField();
         JButton bop1 = new JButton("1"), bop2 = new JButton("2"), bop3 = new JButton("3"), bop4 = new JButton("4");
         char answer;
         QuizQuestions() {
              popm.setLayout(new BoxLayout(popm, BoxLayout.PAGE_AXIS));
              pop1.setLayout(new BoxLayout(pop1, BoxLayout.LINE_AXIS));
              pop2.setLayout(new BoxLayout(pop2, BoxLayout.LINE_AXIS));
              pop3.setLayout(new BoxLayout(pop3, BoxLayout.LINE_AXIS));
              pop4.setLayout(new BoxLayout(pop4, BoxLayout.LINE_AXIS));
              this.add(popm);
              popm.add(ques);
              popm.add(pop1);
              popm.add(pop2);
              popm.add(pop3);
              popm.add(pop4);
              pop1.add(op1);
              pop1.add(bop1);
              pop2.add(op2);
              pop2.add(bop2);
              pop3.add(op3);
              pop3.add(bop3);
              pop4.add(op4);
              pop4.add(bop4);
              //sets up question text fields
              ques.setEditable(false);
              op1.setEditable(false);
              op2.setEditable(false);
              op3.setEditable(false);
              op4.setEditable(false);
              bop1.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e1) {
                        answer = 'a';
              bop2.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e1) {
                        answer = 'b';
              bop3.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e1) {
                        answer = 'c';
              bop4.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e1) {
                        answer = 'd';
              Question1();
         public void doQuiz() {
              loadsave.save(answer);
         public void Question1() {
              ques.setValue("Who's your favourite X-Men character?");
              op1.setValue("Cyclops");
              op2.setValue("Xavier");
              op3.setValue("Wolverine");
              op4.setValue("Rogue");
    class QuizResults extends JPanel {
         LoadingSaving loadsave = new LoadingSaving();
         JPanel popm = new JPanel();
         JFormattedTextField op1 = new JFormattedTextField(), op2 = new JFormattedTextField(), op3 = new JFormattedTextField(), op4 = new JFormattedTextField();
         int[] answerarray = new int[4];
         QuizResults() {
              popm.setLayout(new BoxLayout(popm, BoxLayout.PAGE_AXIS));
              this.add(popm);
              popm.add(op1);
              popm.add(op2);
              popm.add(op3);
              popm.add(op4);
              op1.setEditable(false);
              op2.setEditable(false);
              op3.setEditable(false);
              op4.setEditable(false);
              answerarray = loadsave.load();
              op1.setValue(answerarray[0]);
              op2.setValue(answerarray[1]);
              op3.setValue(answerarray[2]);
              op4.setValue(answerarray[3]);
    class LoadingSaving {
         public void save(char answer) {
              FileReader fr;
              FileWriter fw;
              BufferedReader br;
              String s;
              try {
              //ERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERROR
                   fr = new FileReader("casestudyoutput.txt");
                   fw = new FileWriter("casestudyoutput.txt");
                   br = new BufferedReader(fr);
                   if (br.readLine() == null) s = "x";
                   else s = br.readLine();
                   s = s + answer;
                   fw.write(s);
                   fr.close();
                   fw.close();
              //ERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERROR
              catch(FileNotFoundException exc) {
                   JOptionPane.showMessageDialog(null, "File not found.");
                   return;
              catch(IOException exc) {
                   JOptionPane.showMessageDialog(null, "Something bad happened.");
                   return;
         public int[] load() {
              FileReader fr;
              BufferedReader br;
              int[] answerarray = new int[3];
              String s;
              long length;
              int a = 0, b = 0, c = 0, d = 0;
              answerarray[0] = 0;
              answerarray[1] = 0;
              answerarray[2] = 0;
              answerarray[3] = 0;
              try {
                   fr = new FileReader("casestudyoutput.txt");
                   br = new BufferedReader(fr);
                   if (br.readLine() == null) return answerarray;
                   else s = br.readLine();
                   length = s.length();
                   for(int i = 0; i < length; i++) {
                        char ch = charAt(i); //ERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERROR
                        switch(ch) {
                             case 'a':
                                  a++;
                                  break;
                             case 'b':
                                  b++;
                                  break;
                             case 'c':
                                  c++;
                                  break;
                             case 'd':
                                  d++;
                                  break;
                   answerarray[0] = a;
                   answerarray[1] = b;
                   answerarray[2] = c;
                   answerarray[3] = d;
                   fr.close();
              catch(FileNotFoundException exc) {
                   JOptionPane.showMessageDialog(null, "File not found.");
                   return answerarray;
              catch(IOException exc) {
                   JOptionPane.showMessageDialog(null, "Something bad happened.");
                   return answerarray;
         return answerarray;
    }Any pointers/tips/solutions/angry posts to tell me to stop trying to learn Java would be greatly appreciated.
    Thanks in advance!
    Oh, and in trying to work with it a bit further I realised I'm having a few problems with runtime errors due to exceptions. The first was due to the array being assigned out of bounds (fixed in the above code). But the second reads the following:
    Exception in thread "main" java.lang.NullPointerException
         at Loadingsaving.load(CaseStudy.java:330)
         at QuizResults.(init)(CaseStudy.java.259)
         at GUI.(init)(CaseStudy.java:34)
         at CaseStudy.main(CaseStudy.java:15)Not quite sure what this one means or how to handle it. =\
    Edited by: ThePermster on May 19, 2008 8:08 AM

    A NullPointerException means a method has been called on a null object, or a variable that isn't pointing to any object. Your Exception points to line 330, which is:
    length = s.length();A NPE on that line means that s is null. So let's look at where s is set:
    if (br.readLine() == null) return answerarray;
    else s = br.readLine();s gets it's value from br.readLine(), so that method must be returning null. You have a logical error here. Look at your If-Else. It reads a line, makes sure it isn't null...then it reads another line. Well what if that line is null? You are performing 2 reads here instead of 1.
    Since your If condition returns a value, there's no need for an Else. The code will continue on until it reaches another return. Try this:
    s = br.readLine();
    if (s == null) return answerarray;

  • Partition failed with error input output

    Hi All,
    I installed a new hard drive (WD 500G) into my 2006 Macbook, Mac OS X 10.4.10.  I also increased the RAM to 2G.  My Macbook reconized the hard drive. However, I followed the steps below to format the HD, but got the partition failed with error input output msg.
    1. Went to  Disk Utility, selected the name of new hard drive in the sidebar.
    2. Select the Partition tab, and selected 1 partition from the drop down menu.
    3. Click Options, then choose GUID .
    4. Select Partition
    In previous posts someone suggested updating the softward to 10.4.11 or the erasing the HD, but erasing the hard drive would take 13 hours according to my Macbook.  Any suggestions?  Please Help!

    The error usually means the drive is bad. But you can try this:
    Erase and Install OS X
    1. Boot from your OS X Installer Disc. After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    7. After formatting has finished quit DU and return to the installer. Install OS X.

  • Disk Utility - Input/Output error when creating disk image

    Hello!
    A few days ago I was unable to turn on my Macbook Pro, and was stuck on the white screen. I've been searching around quite a lot on this forum, and before I try fixing anything, I REALLY need to back-up my files! I just bought a 2TB hard-drive, which I have partitioned to GUID and Mac OS Extended (Journaled), (it perfectly works on another Mac).
    I now want to attempt to create an image of my harddrive (Macintosh HD) onto my external drive (which is empty). I've tried doing this both in 'read-only' and in 'compressed', but about halfway through, I receive a message saying "Unable to create 04/2014 backup.dmg (Input/Output) error".
    I saw on another similar post that I might want to install DiskDrill or DataRescue. I'm fairly sure this is impossible for me to do, since my screen is completely white, and I'm unable to access my desktop.
    I can only access Disk Utility through pressing command+R when starting my computer. Hence, I need to successfully back up my files through Disk Utility...
    I'm aware that my HD may be corrupted since this is happening, but there must be a way for me to put an image on my external HD?? A few days ago, when I clicked on Repair Disk it said "Impossible to repair: invalid node structure". But now, it says that "Macintosh HD appears to be OK". I have no idea what's changed... And I can still not start my computer past the white screen...
    I'm very bad with IT and computers, and have extensively tried to fix this on my own, but I'm now stuck here, with this "input/output error"...!
    Any suggestions would be greatly appreciated! Thank you!
    PS: I do not have Applecare, this is an old computer from 2009.

    Thanks for your answer.
    Yes, I thought that might be the case - but I'd taken my Mac and Logic disks to a Genius bar, and the 'Genius' had said he'd fixed the issue. I just wish he'd explained what he did and why he didn't replace the faulty disk(s)!
    But is there any way around having the claim a disk, now I'm living abroad and my 'warrantee' has run out? It's going to be a pain in the fundament trying to claim a replacement set.

  • Error message "Maximum character output size limit reach Err_WIS_30272"

    Users are getting the Error message "Maximum character output size limit reach Err_WIS_30272" while creating the Universe Query in the Live Office, but when they create the same query in the Web intelligence Report then it work fine.
    To resolve this error message we can have to increase the value of "Maximum Character Stream Size" parameter in the Web intelligence Processing Server.
    But i want to know the reason why the error message is only appearing in the Live Office Query, where it work fine in Web intelligence Query.
    Are there architectural difference in Web intelligence and Live Office?

    Hi,
    maybe one of the following SAP Notes will answer your Question.
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3133373030343526
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3133373537353526
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3133383336363426
    Regards
    -Seb.

Maybe you are looking for

  • How to automatically scroll continuously to the next page in adobe muse?

    Im building a site which was orginally going to be a one page scroll site but I now what to place the different sections on individual pages to allow easier editing of content. I still want the site look as if it is a continusly scrolling one page si

  • Missing Text in Book - Clarification(s) requested

    I recently ordered a book using iPhoto. When I received it, seven of the text pages contained no text whatsoever - only the black background. Having read through enough information in Apple Discussions to learn how to check the contents before orderi

  • How do I add a cedilla to a 'c' in an e-mail?

    I can do most of the usual accents in French in T/bird but am stuck with the cedilla. Normally I can insert a symbol but I don't have this option on T/bird. Anybody know how to do this?

  • Connecting with projector

    Hello! I hope someone can help me with the problem.. I am trying to connect my IMAC G5 with a video projector. I have been doing this for years with i book G4, using video adaptor, and it has always worked. This time, however, when I connect the proj

  • Mise à jour de lookout 4.1 vers lookout 6.1

    Bonjour, J'ai actuellement un programme tournant sous Lookout 4.1 sous windows 98. Nous aimerions mettre à jour notre PC qui tournera sous Windows 2000 et par la même occasion notre programme pour passer sous Lookout 6.1. Je souhaiterai donc savoir :