IOException Throw/Catch error. Makes no sense.

This is the error I'm getting:
unreported exception java.io.IOException; must be caught or declared to be thrown
The problem is, it IS being caught AND declared to be thrown by the class using it.
Here's my Main class:
package Main;
import java.net.*;
import java.io.*;
public class Main {
    static String GameName = "[gamename]";
    static Integer Port = 1234;
    public static void main(String[] args) {
        // Non-Static Vars
        String PrintMsg;      
        PrintMsg = "Welcome to the "+GameName+" server application.\n";
        System.out.println(PrintMsg);
        Server serv = new Server(Port);
        serv.Init();
}The line displaying the error is the "serv.Init();" line.
Here's my Server class:
package Main;
import java.net.*;
import java.io.*;
public class Server {
    private String PrintMsg;
    private Integer Port;
    Server(int Port) {
        System.out.println("Server class created.\n");
        this.Port = Port;
    public void Init() throws IOException {
        ServerSocket serverSocket = null;
        // Create new socket on port 1234
        try {
            serverSocket = new ServerSocket(Port);
        } catch (IOException e) {
            System.err.println("Could not create socket.");
            System.exit(1);
        PrintMsg = "Socket created on port "+Port+".\nListening...";
        System.out.println(PrintMsg);
        Socket clientSocket = null;
        try {
            clientSocket = serverSocket.accept();
        } catch (IOException e) {
            System.err.println("Accept failed.");
            System.exit(1);
        PrintMsg = "Client accepted.";
        System.out.println(PrintMsg);
        PrintWriter out = new PrintWriter(clientSocket.getOutputStream(), true);
        BufferedReader in = new BufferedReader(
                    new InputStreamReader(
                    clientSocket.getInputStream()));
        String inputLine, outputLine;
        Protocols.Login kkp = new Protocols.Login();
        outputLine = kkp.processInput(null);
        out.println(outputLine);
        while ((inputLine = in.readLine()) != null) {
             outputLine = kkp.processInput(inputLine);
             out.println(outputLine);
             if (outputLine.equals("Bye."))
                break;
        out.close();
        in.close();
        clientSocket.close();
        serverSocket.close();
}It is indeed strange because it's based on a tutorial from Sun. This is my first time programming in Java, but I have a strong C++ background.
Any idea what's going on? This error is not displayed when I try and build, only in the code editor. When I try and run the application, it freezes.

For your Server class Init() method, it declares to throw IOException.
So in your Main class, you should have a try catch block to wrap serv.Init();
i.e.
Server serv = new Server(Port);
        try {
            serv.Init()
        } catch (IOException e) {
            // do some exception handling here
        }

Similar Messages

  • Error makes no sense

    I don't get it...the word is in the list of "Expected" terms
    Syntax error at line 165, column 45, file cas_loader.pc:
    Error at line 165, column 45 in file cas_loader.pc
    EXEC SQL LOB DESCRIBE :my_crse_detail GET LENGTH INTO :my_length;
    .......................................................................................1
    PCC-S-02201, Encountered the symbol "LENGTH" when expecting one of the following
    chunksize, directory, fileexists, filename, isopen,
    istemporary, length,

    Check the syntax in ' GET LENGTH '
    your INTO has only one value .
    rgds

  • ERROR ask_checklist makes only sense if you specify at least 1 thing..

    I am trying to install ArchLinux on my Sun VirtualBox but when I hit the packages installation I get the following error when I hit enter:
    ERROR ask_checklist makes only sense if you specify at least 1 thing (tag, item and ON/OFF switch)
    I am sure I got the "base" selected.
    [*] base ^
    Why am I receiving this error?
    Kind of setup: using net images.
    Thanks in advance.

    yvonney wrote:
    I just had this. It is almost certainly that you didn't actually poll the network for a DHCP server. Hope you got running. hopefully this will be of use to someone.
    So: during the initial stages you get a choice to setup network. You have to choose the eth0 or wireless AND do the DHCP server thing. Or it will fail at the package stage.
    I have the same problem trying a net install... and like you say I DO choose eth0 and then I DO DHCP and it says network is configured and eth0 is up... but after that it gives me the problem anyway... so no1 has fixed this? : (

  • HT201210 My Ipad battery ran out whilst someone was using it - having recharged it it goes d=straight to Restore mode and when connected to IT Tunes, it says unknown error 28  which makes no sense - ideas please?

    My daugter was using our Ipad when the battery ran out.  Having recharged it adn trying to swotch back on is immediately dosplays teh sysmbol for pluging into ITunes.  When doing so the computer says it must restore the Ipad and update it.  When doing so it fails, displaying unknown error 28 - looking at more info, it makes little sense other than a possible hgardware fault.  This is on an orignal IPad with 3G and the operating system hasn't been updated for a while.  Any ideas please.  Mike

    My daugter was using our Ipad when the battery ran out.  Having recharged it adn trying to swotch back on is immediately dosplays teh sysmbol for pluging into ITunes.  When doing so the computer says it must restore the Ipad and update it.  When doing so it fails, displaying unknown error 28 - looking at more info, it makes little sense other than a possible hgardware fault.  This is on an orignal IPad with 3G and the operating system hasn't been updated for a while.  Any ideas please.  Mike

  • Shared Services URL throws 404 Error

    Hi,
    I've newly installed and configured EPM on a test server. I seem to be able to start the Hyperion Foundation Services (port 28080 is listening), but when accessing the Shared Services URL, I get a 404 error.
    One note: I installed the product at G:\Oracle\Middleware\..., but when starting the Foundation Services, a "product" folder is created under G:\ root folder. It contains the same folder structure as G:\Oracle\Middleware\EPMSystem11R1\products\ but there is no content in the folders. I did not make any conscious update to any config file, so I have no clue why Foundation Services is behaving this way. The diagnostic log seems to point to this as the cause of deployment failure, because it's looking for ear files which don't exist in G:\products.
    I've restarted the machine, re-ran the configurator many times, re-installed the EPM product suite, double checked environment variables and registry keys, yet this issue still persists. Can someone give me some help on this? Many thanks!!!
    The EPM version is 11.1.2.2 and we are using SQL Server 2008R2.
    ===========ERROR LOG==================
    <May 29, 2013 10:05:49 AM EDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'SHAREDSERVICES [Version=11.1.2.0]' due to error weblogic.management.DeploymentException: File not found with : G:\products\Foundation\AppServer\InstallableApps\common\interop.ear.
    weblogic.management.DeploymentException: File not found with : G:\products\Foundation\AppServer\InstallableApps\common\interop.ear
         at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)
         at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
         at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
         at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
         at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:91)
         Truncated. see log file for complete stacktrace
    Caused By: java.io.IOException: File not found with : G:\products\Foundation\AppServer\InstallableApps\common\interop.ear
         at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:117)
         at java.util.jar.JarFile.<init>(JarFile.java:135)
         at java.util.jar.JarFile.<init>(JarFile.java:99)
         at weblogic.utils.jars.JarFileDelegate.<init>(JarFileDelegate.java:32)
         Truncated. see log file for complete stacktrace
    >
    <May 29, 2013 10:05:57 AM EDT> <Emergency> <Deployer> <BEA-149259> <Server 'FoundationServices0' in cluster 'FoundationServices' is being brought up in administration state due to failed deployments.>

    I am able to start the Weblogic Administration Console.
    In Deployment, I can find the SharedServices listed. When clicking on it, it throws an error about no ear found in path.
    In Lock & Edit mode, when Updating the SharedServices deployment, I can see that the Path is indeed pointing to the wrong G:\Products\... folder.
    I thought I could update it to point to the right one, but I get an error upon saving: [Deployer:149082]You cannot distribute application <SHAREDSERVICES> without version...
    So frustrated :(

  • Catching errors such as divide by zero and typing non-numeric characters

    Fellows: How do I extend following script to catch errors such as divide by zero and typing non-numeric characters.      Thanks
    This program takes two integers (whole numbers), then displays the sum, average, division,
    Modula of those numbers and finally the first number raised to the power of the second number.
    import java.io.*;
    public class HWOne
         public static void main(String[] args) throws IOException  // error handling
              // variable declaration
              String firstdigit, seconddigit;
              int first, second, sum, total, modus, power;
              float division;
              double average;
              BufferedReader myIn = new BufferedReader(new InputStreamReader(System.in));
              //Invoke user response
              System.out.print("Please enter first digit ");
                   firstdigit = myIn.readLine();
                   first = Integer.parseInt(firstdigit);
              System.out.print("Please enter second digit ");
                   seconddigit = myIn.readLine();
                   second = Integer.parseInt(seconddigit);
              //computations
              sum = first + second;
              average = (double)sum / (double)2;
              division = (float)first / (float)second;
              modus = first % second;
              power = (int)Math.pow(first, second);
              //Screen message
              System.out.println("Sum: " + sum);
              System.out.println("Average: " + average);
              System.out.println("Division: " + division);
              System.out.println("Modula: " + modus);
              System.out.println("Power: " + power);

    Have you learnt about try/catch statements yet?
    The parseInt method throws a NumberFormatException. So you place the call to that method inside a try statement and catch the exception.
    For divide by zero, you can use an if statement. If the divisor != 0 perform division.

  • 10.6.8 wikiserver & QTKitServer: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.

    Hi Fellows,
    Since a couple of days I can't upload images and pdf's to my wiki anymore. What happens is that the image or pdf gets uploaded once and processed 3 or 4 times (I can find them in the corresponding /Library/Collaboration/ folder). But the image or pdf does not show up in the wikipage and throws up a server error message instead: There was an error uploading the file. Please try again.
    Stop/Start the wikid proces solves the problem shortly until after a couple of hours the problems start occuring again.
    On the server side I see this:
    Oct 10 08:08:37 myserver com.apple.wikid[41152]: Wed Oct 10 08:08:37 myserver.x.net QTKitServer[45631] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Oct 10 08:08:37 myserver /System/Library/Frameworks/QTKit.framework/Resources/QTKitServer[45631]: _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
    Oct 10 08:08:37 myserver com.apple.wikid[41152]: _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
    My questions:
    1. How can I catch errors / set breakpoint
    2. How can I make sure the QTKitserver can 'talk' to the windowserver
    Colocated productionserver with DNS, Firewall, iCal, Mail, MySQL, OD, Push Notification & Web + wikis
    Thanks in advance!
    the cat-tamer

    Ok, here is the culprit, not a solution sofar
    Safari 6 is breaking the upload mechanism of the Snow Leopard wiki server. They all end up in loops and gracefully fail and die after around 5 attempts.
    Gecko, Trident and Presto as well as Webkit based Chrome have no problem at all with uploading, just Apple's own Safari.
    Bug will be filed and will investigate more server side.

  • Time machine osx 10.6.8 problem slow backupd CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary. mdworker32 kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.

    Hello Guys I have a problem that I can not get to the bottom.
    Time Machine has suddenly stopped working it really slow to make up. Copy a few kb at a time and long hours it takes to close the back. (up to a few tens of megs, 10, 20 Mb).
    I made ​​the following list of tests that will follow along with the log file.
    First of all I made ​​a copy as root with Carbon Copy Cloner disk of the iMac. (So that they can go back in case of disaster)
    Following the guides Pondini (pondini.org) I did the following steps:
    1) Changed the internfaccia FW800 to USB hard drive (does not change anything, still slow)
    2) Changed to another external HD for time machine with FW800 and USB (nothing changes still slow)
    3) Recreated the full backup with Time Machine on either drive (still slow)
    4) Reinstalled the 10.6.8 Combo Pack (still slow)
    5) Re spootlight indexed with the disk (still slow)
    6) At this point, in desperation I reinstalled on the internal drive of my iMac 10.6.8 creating a new user, User Migration Assistant from my hd clone with Carbon Copy Cloner. Recreated the full backup with Time Machine.
    The first full backup is fast, but slow incremental backups are back (as to 'start a few kb at a time).
    I compared the log files with those of my other machine with same configuration and I found these errors:
    backupdir [19376]: CFPropertyListCreateFromXMLData (): Old-style plist parser: missing semicolon in dictionary.
    mdworker32 [20950]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint () to catch errors logged as They Are.
    You know help me? I saw that this error is from 10.5 to 10.7, but no one has found a real solution to the issue.
    I never installed antivirus software and tried with different external drives COPN capacity equal to or greater than the external drive. Only at the end I tried to divide the external drive to back up into two parts by a 1.5 TB and 500 GB but with the same mistakes that I have described.
    thanks
    Stefano
    Ciao  Ragazzi ho un problema a cui non riesco a venire a capo.
    improvvisamente time machine ha smesso di funzionare va veramente lento a fare backup. Copia pochi kb alla volta e impiega tanto tempo ore per chiudere il backup. (backup di poche decine di mega, 10, 20 Mb).
    Ho effettuato le seguenti prove che vi elenco di seguito insieme al file log.
    Prima di tutto ho fatto una copia  come utente root con Carbon Copy cloner del disco del imac.(in maniera tale di poter tornare indietro in caso di disastro)
    Seguendo le guide di Pondini (pondini.org) ho effettuato i seguenti passaggi:
    1) Cambiato internfaccia del disco rigido da FW800 a USB (non cambia nulla, sempre lento)
    2) Cambiato hd esterno con un altro per time machine con FW800 e USB (non cambia nulla sempre lento)
    3) Ricreato il full Backup con time machine su entrambe i dischi (sempre lento)
    4) Reinstallato il Combo pack 10.6.8 (sempre lento)
    5) Re indicizzato con spootlight il disco (sempre lento)
    6) A questo punto preso dalla disperazione ho reinstallato sul disco interno del mio imac il 10.6.8 creando un nuovo utente, Assistente migrazione utente dal mio hd clonato con Carbon copy cloner. Ricreato il backup completo con time machine.
    Il primo full backup è veloce, ma i backup incrementali sono tornati lentissimi (come all' inizio pochi kb alla volta).
    Ho confrontato il file log con quelli di un mio altro mac con la stessa configurazione ed ho trovato questi errori:
    backupd[19376]: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
    mdworker32[20950]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Sapete darmi aiuto? Ho visto che questo errore è presente dal 10.5 al 10.7 ma nessuno ha trovato una vera soluzione alla questione.
    Non ho mai installato software antivirus ed ho provato con diversi dischi esterni copn capacità uguale o superiore al disco esterno. Solo alla fine ho provato a dividere il disco esterno del backup in due parti una da 1,5TB e una da 500 Gb ma con i medesimi errori che vi ho descritto.
    grazie
    Stefano
    File LOG:
    Jan  9 00:31:37 ihomez newsyslog[19803]: logfile turned over
    Jan  9 00:33:26 ihomez com.apple.backupd[19376]: Copied 534.0 GB of 1020.2 GB, 649387 of 1786353 items
    Jan  9 01:33:27 ihomez com.apple.backupd[19376]: Copied 728.3 GB of 1020.2 GB, 805293 of 1786353 items
    Jan  9 02:33:27 ihomez com.apple.backupd[19376]: Copied 938.5 GB of 1020.2 GB, 807979 of 1786353 items
    Jan  9 02:55:58 ihomez com.apple.backupd[19376]: Copied 808871 files (1012.7 GB) from volume i5 2TB.
    Jan  9 03:08:03 ihomez com.apple.backupd[19376]: No pre-backup thinning needed: 100.0 MB requested (including padding), 383.44 GB available
    Jan  9 03:10:13 ihomez backupd[19376]: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
    Jan  9 03:27:54 ihomez [0x0-0x12012].com.getdropbox.dropbox[0]: Sampling process 12446 for 5 seconds with 10 milliseconds of run time between samples
    Jan  9 03:27:59 ihomez [0x0-0x12012].com.getdropbox.dropbox[0]: Sampling completed, processing symbols...
    Jan  9 03:28:00 ihomez mds[19366]: (Warning) Server: No stores registered for metascope "kMDQueryScopeComputer"
    Jan  9 03:28:00 ihomez [0x0-0x12012].com.getdropbox.dropbox[0]: Sample analysis of process 12446 written to file /Users/home/.dropbox/s4f0a50aa
    Jan  9 03:33:30 ihomez com.apple.backupd[19376]: Copied 717781 files (13.0 MB) from volume i5 2TB.
    Jan  9 04:06:38 ihomez com.apple.backupd[19376]: Starting post-backup thinning
    Jan  9 04:06:38 ihomez com.apple.backupd[19376]: No post-back up thinning needed: no expired backups exist
    Jan  9 04:06:39 ihomez com.apple.backupd[19376]: Backup completed successfully.
    Jan  9 04:33:45 ihomez com.apple.backupd[20287]: Starting standard backup
    Jan  9 04:33:46 ihomez com.apple.backupd[20287]: Backing up to: /Volumes/Time Machime LA/Backups.backupdb
    Jan  9 04:33:46 ihomez mds[19366]: (Warning) Server: No stores registered for metascope "kMDQueryScopeComputer"
    Jan  9 04:40:18 ihomez com.apple.backupd[20287]: No pre-backup thinning needed: 100.0 MB requested (including padding), 382.47 GB available
    Jan  9 04:59:25 ihomez backupd[20287]: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
    Jan  9 05:31:48 ihomez com.apple.backupd[20287]: Copied 720482 files (13.0 MB) from volume i5 2TB.
    Jan  9 05:45:22 ihomez com.apple.backupd[20287]: No pre-backup thinning needed: 100.0 MB requested (including padding), 381.98 GB available
    Jan  9 06:05:14 ihomez backupd[20287]: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
    Jan  9 06:32:57 ihomez com.apple.backupd[20287]: Copied 12.7 MB of 12.7 MB, 538084 of 538084 items
    Jan  9 06:36:52 ihomez com.apple.backupd[20287]: Copied 717781 files (12.7 MB) from volume i5 2TB.
    Jan  9 08:12:05 ihomez mds[19366]: (Normal) DiskStore: Creating index for /
    Jan  9 08:12:30 ihomez System Preferences[20910]: Preference bundle "/Users/home/Library/PreferencePanes/Archives.prefPane" is misplaced, ignoring...
    Jan  9 08:12:32 ihomez System Preferences[20910]: Error loading /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio:  dlopen(/Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHD Audio, 262): no suitable image found.  Did find:\n    /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio: no matching architecture in universal wrapper
    Jan  9 08:12:32 ihomez System Preferences[20910]: Cannot find function pointer NewPlugIn for factory C5A4CE5B-0BB8-11D8-9D75-0003939615B6 in CFBundle/CFPlugIn 0x20056cb80 </Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin> (bundle, not loaded)
    Jan  9 08:23:40 ihomez mdworker[20945]: Error, could not create MachMessagePort for com.apple.AddressBook.abd
    Jan  9 08:23:46 ihomez mdworker32[20948]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Jan  9 08:23:52 ihomez mdworker32[20950]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Jan  9 08:30:47 ihomez com.apple.Finder[225]: Failed to send message to backup server: error = -2
    Jan  9 08:30:41 ihomez com.apple.backupd[20287]: Starting post-backup thinning
    Jan  9 08:30:49 ihomez com.apple.backupd[20287]: No post-back up thinning needed: no expired backups exist
    Jan  9 08:30:51 ihomez com.apple.launchd[1] (0x1001017c0.mach_init.mdworker[20949]): Exited: Killed
    Jan  9 08:35:39 ihomez mdworker[20959]: (Normal) Import: Spotlight giving up on importing file /Users/home/Desktop/testdisk-6.11.3/recupero/recup_dir.34/f2515784.abcdp after 240.256 seconds, 239.841 seconds of which was spent in the Spotlight importer plugin.
    Jan  9 08:35:39 ihomez com.apple.launchd[1] (0x1001017c0.mach_init.mdworker[20959]): Exited with exit code: 75
    Jan  9 08:36:55 ihomez com.apple.backupd[20287]: Backup completed successfully.
    Jan  9 08:37:17 ihomez mdworker32[20974]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Jan  9 08:39:36 ihomez mdworker[20969]: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
    Jan  9 08:41:09 ihomez mdworker[20969]: Corrupt JPEG data: 10053 extraneous bytes before marker 0xed
    Jan  9 08:41:37 ihomez /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework /Versions/A/Support/mdworker[20969]: zip importer encountered an error (3) scanning "/Users/home/Downloads/Griffin Seconda serie.zip".
    Jan  9 08:45:44 ihomez /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework /Versions/A/Support/mdworker[20969]: FontImporter: Validation failed - "/Users/home/Library/Fonts Disabled/MT Extra".
    Jan  9 08:45:44 ihomez /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework /Versions/A/Support/mdworker[20969]: FontImporter: Validation Result - "<CFArray 0x10204f310 [0x7fff70eaeee0]>{type = mutable-small, count = 5, values = (\n    0 : <CFString 0x102762af8 [0x7fff70eaeee0]>{contents = "kATSFontTestSeverityInformation"}\n    1 : <CFString 0x102762b18 [0x7fff70eaeee0]>{contents = "kATSFontTestSeverityTechnicalError"}\n    2 : <CFString 0x102762b58 [0x7fff70eaeee0]>{contents = "kATSFontTestSeverityMajorError"}\n    3 : <CFString 0x102762b78 [0x7fff70eaeee0]>{contents = "kATSFontTestSeverityFatalError"}\n    4 : <CFString 0x102762b38 [0x7fff70eaeee0]>{contents = "kATSFontTestSeverityMinorError"}\n)}".
    Jan  9 08:45:55 ihomez mdworker[20969]: Error, could not create MachMessagePort for com.apple.AddressBook.abd
    Jan  9 08:46:09 ihomez mdworker[20969]: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
    Jan  9 09:03:32 ihomez mdworker[21011]: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
    Jan  9 09:04:02: --- last message repeated 5 times ---
    Jan  9 09:05:15 ihomez mdworker[20969]: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
    Jan  9 09:05:43 ihomez mdworker32[21036]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Jan  9 09:05:44 ihomez mdworker[20969]: iCal.mdimporter: could not parse ICS file: /Applications/Microsoft Office 2008/Office/EntourageCore.framework/Versions/12/Resources/it.lproj/Timezones.ic s
    Jan  9 09:13:28 ihomez mdworker32[21053]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Jan  9 09:16:17 ihomez mdworker32[21074]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Jan  9 09:33:45 ihomez com.apple.backupd[21102]: Starting standard backup
    Jan  9 09:33:46 ihomez com.apple.backupd[21102]: Backing up to: /Volumes/Time Machime LA/Backups.backupdb
    Jan  9 09:40:46 ihomez com.apple.backupd[21102]: No pre-backup thinning needed: 100.0 MB requested (including padding), 381.68 GB available
    Jan  9 09:57:57 ihomez backupd[21102]: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
    Jan  9 10:29:58 ihomez com.apple.backupd[21102]: Copied 718890 files (12.9 MB) from volume i5 2TB.
    Jan  9 10:43:35 ihomez com.apple.backupd[21102]: No pre-backup thinning needed: 100.0 MB requested (including padding), 381.48 GB available
    Jan  9 11:02:16 ihomez backupd[21102]: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
    Jan  9 11:31:08 ihomez com.apple.backupd[21102]: Copied 12.7 MB of 12.7 MB, 642967 of 642967 items
    Jan  9 11:33:07 ihomez com.apple.backupd[21102]: Copied 716189 files (12.7 MB) from volume i5 2TB.
    Jan  9 13:26:26 ihomez com.apple.backupd[21102]: Backup deletion was canceled by user
    Jan  9 13:26:26 ihomez com.apple.backupd[21102]: Starting post-backup thinning
    Jan  9 13:26:27 ihomez com.apple.backupd[21102]: Backup completed successfully.

    Thanks for the quick response.
    I followed the steps you listed and also remove the files that were creating problems spootlight, including the audio plugin and the panel preferences file.
    Then I stopped by the timemachine reindexed spootlight 'option in the preferences panel spootight privacy. After I restarted my iMac and formatted the external drive again, Time Machine and restarting a full backup. This morning after a quick full backup and disk indexing completed incremental backups are always slow. Proceeds with a few kb at a time. I resend you the log files and screen capture. My iMac is constantly backed up.
    Thank you for your time.
    Stefano
    File log:
    Jan 10 00:30:05 ihomez newsyslog[757]: logfile turned over
    Jan 10 00:43:30 ihomez [0x0-0xe00e].com.getdropbox.dropbox[278]: Sampling process 278 for 5 seconds with 10 milliseconds of run time between samples
    Jan 10 00:43:35 ihomez [0x0-0xe00e].com.getdropbox.dropbox[278]: Sampling completed, processing symbols...
    Jan 10 00:43:35 ihomez [0x0-0xe00e].com.getdropbox.dropbox[278]: Sample analysis of process 278 written to file /Users/home/.dropbox/s4f0b7ba2
    Jan 10 00:44:08 ihomez mdworker32[805]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Jan 10 01:00:51 ihomez mdworker[579]: -[ABAddressBook sharedAddressBook] Can't ABACQUIRE_FILE_LOCK /SourceCache/AddressBook/AddressBook-883/Framework/AddressBook/ABAddressBook.m: 3314
    Jan 10 01:04:41 ihomez osascript[897]: Initializer-based scripting additions have been deprecated. Please update this addition: "/Library/ScriptingAdditions/QXPScriptingAdditions.osax"
    Jan 10 01:07:56 ihomez mdworker32[930]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Jan 10 01:08:01 ihomez mdworker32[931]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Jan 10 01:09:44 ihomez com.apple.backupd[479]: Copied 94.7 GB of 990.4 GB, 506176 of 1771170 items
    Jan 10 01:13:34 ihomez [0x0-0xe00e].com.getdropbox.dropbox[278]: Sampling process 278 for 5 seconds with 10 milliseconds of run time between samples
    Jan 10 01:13:39 ihomez [0x0-0xe00e].com.getdropbox.dropbox[278]: Sampling completed, processing symbols...
    Jan 10 01:13:39 ihomez [0x0-0xe00e].com.getdropbox.dropbox[278]: Sample analysis of process 278 written to file /Users/home/.dropbox/s4f0b82ad
    Jan 10 01:14:19 ihomez mdworker32[946]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Jan 10 01:20:02 ihomez mdworker32[969]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Jan 10 02:00:16 ihomez mdworker32[1025]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Jan 10 02:09:44 ihomez com.apple.backupd[479]: Copied 316.2 GB of 990.4 GB, 530801 of 1771170 items
    Jan 10 02:10:51 ihomez mdworker32[1052]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Jan 10 02:11:00 ihomez mdworker[937]: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
    Jan 10 02:15:01 ihomez mdworker[937]: Corrupt JPEG data: 10053 extraneous bytes before marker 0xed
    Jan 10 02:15:37 ihomez mdworker32[1063]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Jan 10 02:30:55 ihomez mdworker32[1098]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Jan 10 02:38:32 ihomez /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework /Versions/A/Support/mdworker[937]: FontImporter: Validation failed - "/Users/home/Library/Fonts Disabled/MT Extra".
    Jan 10 02:38:32 ihomez /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework /Versions/A/Support/mdworker[937]: FontImporter: Validation Result - "<CFArray 0x10256a570 [0x7fff70e20ee0]>{type = mutable-small, count = 5, values = (\n    0 : <CFString 0x104eb5af8 [0x7fff70e20ee0]>{contents = "kATSFontTestSeverityInformation"}\n    1 : <CFString 0x104eb5b18 [0x7fff70e20ee0]>{contents = "kATSFontTestSeverityTechnicalError"}\n    2 : <CFString 0x104eb5b58 [0x7fff70e20ee0]>{contents = "kATSFontTestSeverityMajorError"}\n    3 : <CFString 0x104eb5b78 [0x7fff70e20ee0]>{contents = "kATSFontTestSeverityFatalError"}\n    4 : <CFString 0x104eb5b38 [0x7fff70e20ee0]>{contents = "kATSFontTestSeverityMinorError"}\n)}".
    Jan 10 02:38:55 ihomez mdworker[937]: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
    Jan 10 02:38:56 ihomez mdworker32[1115]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Jan 10 03:09:44 ihomez com.apple.backupd[479]: Copied 517.9 GB of 990.4 GB, 651137 of 1771170 items
    Jan 10 04:09:45 ihomez com.apple.backupd[479]: Copied 723.7 GB of 990.4 GB, 787449 of 1771170 items
    Jan 10 05:09:46 ihomez com.apple.backupd[479]: Copied 947.2 GB of 990.4 GB, 789860 of 1771170 items
    Jan 10 05:20:55 ihomez com.apple.backupd[479]: Copied 790597 files (982.2 GB) from volume i5 2TB.
    Jan 10 05:32:32 ihomez com.apple.backupd[479]: No pre-backup thinning needed: 1.60 GB requested (including padding), 873.52 GB available
    Jan 10 05:33:14 ihomez mdworker[1452]: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
    Jan 10 05:35:07: --- last message repeated 5 times ---
    Jan 10 05:35:36 ihomez backupd[479]: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
    Jan 10 05:35:45 ihomez mdworker[1475]: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
    Jan 10 05:59:42 ihomez com.apple.backupd[479]: Copied 699486 files (1.9 MB) from volume i5 2TB.
    Jan 10 06:34:52 ihomez com.apple.backupd[479]: Starting post-backup thinning
    Jan 10 06:34:52 ihomez com.apple.backupd[479]: No post-back up thinning needed: no expired backups exist
    Jan 10 06:34:52 ihomez com.apple.backupd[479]: Backup completed successfully.
    Jan 10 07:10:09 ihomez com.apple.backupd[1752]: Starting standard backup
    Jan 10 07:10:09 ihomez com.apple.backupd[1752]: Backing up to: /Volumes/TimeMachine LA/Backups.backupdb

  • HT202213 I am told that I have authorized 5 computers already (this is my first time) and I have to deauthorize this computer inorder to get home sharing. Help! this makes no sense. What a pain Apple tv is.

    I have almost never used my appe tv--passwords and id get so confusing--it makes me tierd and I give up and walk away. But now I need to use my Home Sharing feature and am told by iTunes that I can only authorize 5 computers to do this and according to their count, I have already done 5. I have only two computers so I know this is not correct. But what can I do about it? I am told by a pop up that I should deauthorize this computer--the only one I want to use for this project--it makes no sense to me. This has already eaten up my day with reseting passwords, ids etc. I'm almost ready to throw Apple TV out. This $100.00 object has already eaten up more than $100.00 of my time! Help.

    Simply deauthorize all, then authorize your computer.

  • Cffunction, onSessionEnd throwing an error, please help

    Hello;
    I am using an application.cfc file to run my web site. I
    added an argument for onmissingtemplate and when I did that, it
    made my onSessionEnd statement throw an error:
    this is my statement:
    <cffunction name="onSessionEnd" returnType="void">
    <cfargument name="theSession" type="struct"
    required="true">
    <cfset var duration =
    dateDiff("s",arguments.theSession.created,now())>
    <cflog file="#THIS.name#" text="Session lasted for
    #duration# seconds.">
    </cffunction>
    and this is the error:
    Invalid CFML construct found on line 85 at column 1.
    ColdFusion was looking at the following text:
    <
    The CFML compiler was processing:
    < marks the beginning of a ColdFusion tag.Did you mean LT
    or LTE?
    The error occurred in C:\Websites\4npp8b\Application.cfc:
    line 85
    83 : </cfcomponent>
    84 :
    85 : <cffunction name="onSessionEnd" returnType="void">
    86 : <cfargument name="theSession" type="struct"
    required="true">
    87 : <cfset var duration =
    dateDiff("s",arguments.theSession.created,now())>
    I don't know if this will make a difference, but here is my
    onsessionstart function:
    <cffunction name="onSessionStart" returntype="any"
    output="true">
    <cfset SESSION.created = now()>
    </cffunction>
    I can't figure out what I did wrong to make it throw that
    error. Any ideas?
    CFmonger

    never mind, I figured it out. sorry to bother.

  • How to Throw/Catch Exceptions in BPM

    Hi All,
    I've seen a couple articles that talk about how to Throw/Catch an execption in a BPM. My question has two parts:
    1) RFC Call: I was able to catch an Fault Message in an exception step when calling an RFC (Synchronous Interface). What I wanted to do is use the fault message (exception) and store it in a DB for later review.
    2) IDOC: I'm sending an IDOC to R3 from a BPM. The send step is enclosed in a block w/ an exception. The send step is throwing an error (IDOC adpater system error), but the exception is never thrown. My question is: when the error occurrs at the adapter level does it still throw an exception in a BPM?
    Thanks for any tip/advice/anything!
    Fernando.

    Hi Fernando,
    1) Define a send step in the exception branch.
    2) If u send a IDoc from R/3 to XI and the IDoc adapter is running to an error of course there cant be an exception in ur business process. Usually the IDoc adapter sends back status back up via ALEAUD. In case of success IDoc should have then '03', if the adapter cannot send anything the IDoc should remain at '39'. U should send a ALEAUD in case of exception of BPM switching to status '40', in case of success to '41'.
    Regards, Udo

  • Passing values to subreport in SSRS throwing an error - Data Retrieval failed for the report, please check the log for more details.

    Hi,
    I have the subreport calling from the main report. The subreport is based on MDX query agianst the SSAS cube. some dimensions in cube has values 0 and 1.
    when I try to pass '0' to the sub report as the parameter value, it gives an error "Data Retrieval failed for the report, please check the log for more details".
    Actually I am using table for storing these parameter values. In the main report I am calling this table (dataset) and passing these values to subreport.
    so I have given like [0],[1] and this works fine. when I give only either [0] or [1] then it is throwing an error.
    Could you please advise on this.
    Appreciate all and any help.
    Thanks,
    Divya

    Hi Divya,
    Based on the current description, I understand that there is no issue if you pass two values from main report to subreport, while the issue occurs when passing one value to subreport.
    To narrow down the issue, I want to confirm whether the subreport can run if there is only [0] or [1] in the subreport. If so, it indicates the query statements exist error in the subreport. If it’s not the case, this shows the issue occurs during passing
    values from main report to subreport. To make further analysis, please post the details of query statements of the subreport to the forum.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • Variable Substituition throwing an error for empty payload

    Hi All,
    I am using variable substituition in the receiver file adapter...
    Everything is working fine and the variable substituion is working and creating a file whenever the payload in the mapping has the filenode field for variable substituition.
    Now  based on some condition the payload will be empty in the mapping then no file to be created...
    For this i used IGNORE in the receiver adapter BUT still an empty file is being created, this is because the payload will have the filenode field ...
    Now my question is how can we stop in creating an empty file...
    Even i tried using Dynamic Variable in the mapping but that to throws an error...
    Please suggest me on how to solve this...
    Regards,
    sridhar

    >
    sridhar reddy kondam wrote:
    > Now  based on some condition the payload will be empty in the mapping then no file to be created...
    > For this i used IGNORE in the receiver adapter BUT still an empty file is being created, this is because the payload will have the filenode field ...
    Make sure that the node is not created itself in the mapping so that you will not have the issue.
    IS that what you are looking for?
    Else give more details so that we can help

  • Webservice being called multiple times throws strange error

    This is something that just started occurring and doesn't make much sense to me.
    Using JDK 1.7 and doing the following:
    FlashlineRegistryTr registry = new FlashlineRegistryTrServiceLocator().getFlashlineRegistryTr(lUrl);
    ((Stub)registry).setMaintainSession(true);
    I can call registry.authTokenCreate(USERNAME, CREDENTIAL);  ONCE and it works fine.  When I immediately call it again, same command, it fails with the exception below.
    The issue has to do with setting the Maintain Session to true.  If I remove that line it works fine, however I need that in there.
    Any thoughts on where to even begin to look? 
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
    faultSubcode:
    faultString: Tried to invoke method public com.flashline.cmee.openapi.databeans.AuthTokenBean com.flashline.cmee.openapi.service.FlashlineRegistry.authTokenCreate(java.lang.String,java.lang.String) throws com.flashline.framework.exception.OpenAPIException with arguments java.lang.String,java.lang.String.  The arguments do not match the signature.; nested exception is:
      java.lang.IllegalArgumentException: object is not an instance of declaring class
    faultActor:
    faultNode:
    faultDetail:
      {http://xml.apache.org/axis/}hostname:slc03rii.us.oracle.com
    Tried to invoke method public com.flashline.cmee.openapi.databeans.AuthTokenBean com.flashline.cmee.openapi.service.FlashlineRegistry.authTokenCreate(java.lang.String,java.lang.String) throws com.flashline.framework.exception.OpenAPIException with arguments java.lang.String,java.lang.String.  The arguments do not match the signature.; nested exception is:
      java.lang.IllegalArgumentException: object is not an instance of declaring class
      at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
      at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
      at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
      at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at javax.xml.parsers.SAXParser.parse(SAXParser.java:392)
      at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
      at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
      at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
      at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
      at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
      at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
      at org.apache.axis.client.Call.invoke(Call.java:2748)
      at org.apache.axis.client.Call.invoke(Call.java:2424)
      at org.apache.axis.client.Call.invoke(Call.java:2347)
      at org.apache.axis.client.Call.invoke(Call.java:1804)
      at com.flashline.registry.openapi.service.v300.FlashlineRegistryTrSoapBindingStub.authTokenCreate(FlashlineRegistryTrSoapBindingStub.java:7676)
      at com.flashline.registry.openapi.MikeTest.setUp(MikeTest.java:131)
      at junit.framework.TestCase.runBare(TestCase.java:125)
      at junit.framework.TestResult$1.protect(TestResult.java:106)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.framework.TestResult.run(TestResult.java:109)
      at junit.framework.TestCase.run(TestCase.java:118)
      at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:131)
      at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

    One possible solution is store the LOV values in some scope while retrieving it first time from the web service.
    Next time whenever LOV is called then return the LOV values from the scope instead of calling the web service.
    psedo code:
            if (ADFContext.getCurrent() != null &&
                ADFContext.getCurrent().getSessionScope().containsKey("LOV_LIST")) {
                LOVList =
                        (List<SelectItem>)ADFContext.getCurrent().getSessionScope().get("LOV_LIST");
            } else {
                LOVList = this.populateVendorListFromWS();
                ADFContext.getCurrent().getSessionScope().put("LOV_LIST",
                                                              LOVList );
            }Hope it helps.

  • Can we throw an error in java ,if yes plz give an example?

    Hi,
    How can we throw an error in java like an exception(using try catch).If an error can be thrown then what is the diffrence between error and exception because both can be thrown using throwble.
    Thanks
    Sumit

    Error and Exception both are subclasses of Throwable class, so both can be thrown(I don't want to explain by an example). Now Error class defines exceptions that are not expected to be caught under normal circumstances. Exceptions of type Error are used by Java run-time system to indicate errors having to do with the run-time environment, itself.
    "Stack Overflow" is an example of Error.
    Errors are generally caused in response to catastrophic failures which can't be handeled by your program.

Maybe you are looking for

  • My iPhone is recognized only by iTunes and not by iPhoto

    So I had this problem a few weeks back where this was true for both iPhoto AND Tunes, but never resolved the Photo part of it all. I tried restarting my iphone, restarting the computer, itunes, reloading itunes. I have itunes 9.0.2 (or whatever the l

  • How to get External HD to show up in Windows 7?

    So I have a 3tb WD harddrive, and also currently have bootcamp setup and running Windows 7 in addition to Mountain Lion. I have the WD harddrive partioned, one part (2.75tb) is Mac OS journaled, and 250gb is FAT32. However, when i go into windows, I

  • Can someone explain the difference between photos app and iphoto for iphone?

    I recently downloaded the iphoto app to my iPhone 4s. I am hoping to clear up some space on my iphone and I deleted some pics from what I thought was the camera roll within iphoto. I noticed later that while attempting to change my wallpaper, I notic

  • Payments from Third Pary

    Hi Experts, I would like to know different ways to process third party payments. Here our third party sends notification file (frequency half hour) containing list of contract accounts who made payments and respective payment amount. At the end of da

  • Want to Pick a Random...Errors!

    Hey, I wanted to take a user inputed number and pick a random number bewteen than and 1, so I put together the code...but I have errors galore! Isn't this the correct way? import cs1.Keyboard; public class pickRandom      public static void main (Str