Help starting with GUI

I am working on programing a program for my department, Meteorology, at school so that I can download images every five minutes. I have a version of this that works in the command line, but I want to add a gui to it now. I am not really sure how to start. I know that I need a drop down box with all of the radar sites and their call numbers, and a radio button so they can select the type of image that the user wants to download. These two parts then make up the URL of the image so I can download it. I tried makeing a gui by making each one of these components a separate class. Basically, I am wondering if I should start off by making the GUI all one class, or if each peice of it should be its own class that then gets tied together in a different part of the program. any help with GUI would be great as I am new to this step of programing having only worked in Java command line and Fortran 77. Thanks
Neil

Hi,
You can create a GUI from within one class. GUIs can be created for applications or applets. The following code is a simple GUI for an application using Swing components. You may need JDK 1.3.1_6.
To make your GUI functional you would need to add or implement Event Handlers preferably using the delegation model. Each control(buttons, textfield, etc) you need to define the event object(button clicks), the event source(button), and an event handler(understands the event and executes code that processes the event).
import javax.swing.*;
public class Customer
//Variable for frame window
static JFrame frameObj;
static JPanel panelObj;
//Variables of labels
JLabel labelCustName;
JLabel labelCustCellNo;
JLabel labelCustPackage;
JLabel labelCustAge;
//Variables for data entry controls
JTextField textCustName;
JTextField textCustCellNo;
JComboBox comboCustPackage;
JTextField textCustAge;
public static void main(String args[])
     //Creating the JFrame object
     frameObj = new JFrame("Customer Details Form");
     //Setting the close option
     frameObj.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
     //Making the frame visible
     frameObj.setVisible(true);
frameObj.setSize(300,300);
Customer customerObj = new Customer();
public Customer()
     //Add appropriate controls to the frame in the constructor
     //Create panel
     panelObj = new JPanel();
frameObj.getContentPane().add(panelObj);
//Setting close option
frameObj.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
//Create and add the appropriate controls
//Initializing labels
labelCustName = new JLabel("Customer Name: ");
labelCustCellNo = new JLabel("Cell Number: ");
labelCustPackage = new JLabel("Package: ");
labelCustAge = new JLabel("Age: ");
//Initializing data entry controls
textCustName = new JTextField(30);
textCustCellNo = new JTextField(15);
textCustAge = new JTextField(2);
String packages[] = {"Executive", "Standard"};
comboCustPackage = new JComboBox(packages);
//Adding controls for customer name
panelObj.add(labelCustName);
panelObj.add(textCustName);
//Adding controls for cell number
panelObj.add(labelCustCellNo);
panelObj.add(textCustCellNo);
//Adding controls for Package
panelObj.add(labelCustPackage);
panelObj.add(comboCustPackage);
//Adding controls for customer age
panelObj.add(labelCustAge);
panelObj.add(textCustAge);

Similar Messages

  • More help needed with GUI

    When running the code below,
    I get this error;
    Exception in thread "main" java.lang.IllegalArgumentException: adding a window to a container
         at java.awt.Container.addImpl(Container.java:1022)
         at java.awt.Container.add(Container.java:352)
         at ExamScore.main(ExamScore.java:253)
    ----jGRASP wedge2: exit code for process is 1.
    ----jGRASP: operation complete.:
    If I compile it I get no erros.
    Can someone please help me, will be much appreciated.
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.text.*;
    import com.jgoodies.forms.layout.*;
    class ExamScore extends JFrame {
    //public static void main(String[] args) {                    
    // ExamScore window = new ExamScore();
    // window.setVisible(true);
         public ExamScore()
              // JFormDesigner - Component initialization - DO NOT MODIFY //GEN-BEGIN:initComponents
              // Generated using JFormDesigner Evaluation license - James Petidis
              ExamScores = new JPanel();
              lblHeading = new JLabel();
              btnEnterGrades = new JButton();
              btnReset = new JButton();
              btnAbout = new JButton();
              lblGradeA = new JLabel();
              txtTotalNumberA = new JTextField();
              txtPercentageA = new JTextField();
              lblGradeB = new JLabel();
              txtTotalNumberB = new JTextField();
              txtPercentageB = new JTextField();
              lblGradeC = new JLabel();
              txtTotalNumberC = new JTextField();
              txtPercentageC = new JTextField();
              lblGradeD = new JLabel();
              txtTotalNumberD = new JTextField();
              txtPercentageD = new JTextField();
              lblGradeF = new JLabel();
              txtTotalNumberF = new JTextField();
              txtPercentageF = new JTextField();
              lblTotalScores = new JLabel();
              txtTotalScores = new JTextField();
              lblMaxScore = new JLabel();
              txtMaxScore = new JTextField();
              lblMinScore = new JLabel();
              txtMinScore = new JTextField();
              lblAvgScore = new JLabel();
              txtAverageScore = new JTextField();
              CellConstraints cc = new CellConstraints();
              //======== ExamScores ========
                   ExamScores.setBackground(new Color(255, 255, 204));
                   // JFormDesigner evaluation mark
                   ExamScores.setBorder(new javax.swing.border.CompoundBorder(
                        new javax.swing.border.TitledBorder(new javax.swing.border.EmptyBorder(0, 0, 0, 0),
                             "JFormDesigner Evaluation", javax.swing.border.TitledBorder.CENTER,
                             javax.swing.border.TitledBorder.BOTTOM, new java.awt.Font("Dialog", java.awt.Font.BOLD, 12),
                             java.awt.Color.red), ExamScores.getBorder())); ExamScores.addPropertyChangeListener(new java.beans.PropertyChangeListener(){public void propertyChange(java.beans.PropertyChangeEvent e){if("border".equals(e.getPropertyName()))throw new RuntimeException();}});
                   ExamScores.setLayout(new FormLayout(
                        "3*(default, $lcgap), 43dlu, 2*($lcgap, default), 2*($lcgap, 57dlu), 2*(default, $lcgap), 2*($lcgap, default)",
                        "13*(default, $lgap), 16dlu, $lgap, default"));
                   //---- lblHeading ----
                   lblHeading.setText(" Exam Score Reader");
                   lblHeading.setFont(new Font("Tahoma", Font.PLAIN, 24));
                   ExamScores.add(lblHeading, cc.xywh(9, 1, 5, 1));
                   //---- btnEnterGrades ----
                   btnEnterGrades.setText("Enter Grades");
                   ExamScores.add(btnEnterGrades, cc.xy(9, 5));
                   //---- btnReset ----
                   btnReset.setText("Reset");
                   ExamScores.add(btnReset, cc.xy(11, 5));
                   //---- btnAbout ----
                   btnAbout.setText("About");
                   ExamScores.add(btnAbout, cc.xy(13, 5));
                   //---- lblGradeA ----
                   lblGradeA.setText("Total Number / Percentage Of A's = ");
                   ExamScores.add(lblGradeA, cc.xy(9, 11));
                   //---- txtTotalNumberA ----
                   txtTotalNumberA.setEditable(false);
                   txtTotalNumberA.setEnabled(false);
                   ExamScores.add(txtTotalNumberA, cc.xy(11, 11));
                   //---- txtPercentageA ----
                   txtPercentageA.setEnabled(false);
                   txtPercentageA.setEditable(false);
                   ExamScores.add(txtPercentageA, cc.xy(13, 11));
                   //---- lblGradeB ----
                   lblGradeB.setText("Total Number / Percentage Of B's = ");
                   ExamScores.add(lblGradeB, cc.xy(9, 13));
                   //---- txtTotalNumberB ----
                   txtTotalNumberB.setEnabled(false);
                   txtTotalNumberB.setEditable(false);
                   ExamScores.add(txtTotalNumberB, cc.xy(11, 13));
                   //---- txtPercentageB ----
                   txtPercentageB.setEnabled(false);
                   txtPercentageB.setEditable(false);
                   ExamScores.add(txtPercentageB, cc.xy(13, 13));
                   //---- lblGradeC ----
                   lblGradeC.setText("Total Number / Percentage Of C's = ");
                   ExamScores.add(lblGradeC, cc.xy(9, 15));
                   //---- txtTotalNumberC ----
                   txtTotalNumberC.setEnabled(false);
                   ExamScores.add(txtTotalNumberC, cc.xy(11, 15));
                   //---- txtPercentageC ----
                   txtPercentageC.setEnabled(false);
                   txtPercentageC.setEditable(false);
                   ExamScores.add(txtPercentageC, cc.xy(13, 15));
                   //---- lblGradeD ----
                   lblGradeD.setText("Total Number / Percentage Of D's = ");
                   ExamScores.add(lblGradeD, cc.xy(9, 17));
                   //---- txtTotalNumberD ----
                   txtTotalNumberD.setEnabled(false);
                   txtTotalNumberD.setEditable(false);
                   ExamScores.add(txtTotalNumberD, cc.xy(11, 17));
                   //---- txtPercentageD ----
                   txtPercentageD.setEnabled(false);
                   txtPercentageD.setEditable(false);
                   ExamScores.add(txtPercentageD, cc.xy(13, 17));
                   //---- lblGradeF ----
                   lblGradeF.setText("Total Number / Percentage Of F's = ");
                   ExamScores.add(lblGradeF, cc.xy(9, 19));
                   //---- txtTotalNumberF ----
                   txtTotalNumberF.setEnabled(false);
                   txtTotalNumberF.setEditable(false);
                   ExamScores.add(txtTotalNumberF, cc.xy(11, 19));
                   //---- txtPercentageF ----
                   txtPercentageF.setEnabled(false);
                   txtPercentageF.setEditable(false);
                   ExamScores.add(txtPercentageF, cc.xy(13, 19));
                   //---- lblTotalScores ----
                   lblTotalScores.setText("Total Number Of Scores =");
                   ExamScores.add(lblTotalScores, cc.xy(9, 21));
                   //---- txtTotalScores ----
                   txtTotalScores.setEditable(false);
                   txtTotalScores.setEnabled(false);
                   ExamScores.add(txtTotalScores, cc.xy(11, 21));
                   //---- lblMaxScore ----
                   lblMaxScore.setText("Highest Score:");
                   ExamScores.add(lblMaxScore, cc.xy(9, 23));
                   //---- txtMaxScore ----
                   txtMaxScore.setEditable(false);
                   txtMaxScore.setEnabled(false);
                   ExamScores.add(txtMaxScore, cc.xy(11, 23));
                   //---- lblMinScore ----
                   lblMinScore.setText("Lowest Score:");
                   ExamScores.add(lblMinScore, cc.xy(9, 25));
                   //---- txtMinScore ----
                   txtMinScore.setEditable(false);
                   txtMinScore.setEnabled(false);
                   ExamScores.add(txtMinScore, cc.xy(11, 25));
                   //---- lblAvgScore ----
                   lblAvgScore.setText("Average Score:");
                   ExamScores.add(lblAvgScore, cc.xy(9, 27));
                   //---- txtAverageScore ----
                   txtAverageScore.setEditable(false);
                   txtAverageScore.setEnabled(false);
                   ExamScores.add(txtAverageScore, cc.xy(11, 27));
              // JFormDesigner - End of component initialization //GEN-END:initComponents
         private JPanel ExamScores;
         private JLabel lblHeading;
         private JButton btnEnterGrades;
         private JButton btnReset;
         private JButton btnAbout;
         private JLabel lblGradeA;
         private JTextField txtTotalNumberA;
         private JTextField txtPercentageA;
         private JLabel lblGradeB;
         private JTextField txtTotalNumberB;
         private JTextField txtPercentageB;
         private JLabel lblGradeC;
         private JTextField txtTotalNumberC;
         private JTextField txtPercentageC;
         private JLabel lblGradeD;
         private JTextField txtTotalNumberD;
         private JTextField txtPercentageD;
         private JLabel lblGradeF;
         private JTextField txtTotalNumberF;
         private JTextField txtPercentageF;
         private JLabel lblTotalScores;
         private JTextField txtTotalScores;
         private JLabel lblMaxScore;
         private JTextField txtMaxScore;
         private JLabel lblMinScore;
         private JTextField txtMinScore;
         private JLabel lblAvgScore;
         private JTextField txtAverageScore;
         // JFormDesigner - End of variables declaration //GEN-END:variables
    public static void main(String[] args)
    ExamScore window = new ExamScore();
    // window.setVisible(true); // you can't make a JPanel visible on its own
    JFrame frame = new JFrame("My Designer"); // JFrames can be made visible on their own
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); //so the program will end when the JFrame is closed
    frame.getContentPane().add(window); // *** add our JPanel into the JFrame here
    frame.pack(); // size the panel and frame correctly
    frame.setLocationRelativeTo(null); // place frame in the center
    frame.setVisible(true); // show it all
    Note: I have imported the jgoodies.from.layout by adding the com.jgoodies.forms.layout folder into the directory where the .java file is kept. That seems to be working ok!
    Edited by: Petidiz on Sep 10, 2008 8:00 PM

    I made this change to the end of the coding
    ExamScore window = new ExamScore();
    // window.setVisible(true); // you can't make a JPanel visible on its own
    JPanel panel = new JPanel(new FlowLayout(FlowLayout.LEFT));//("My Designer"); // JFrames can be made visible on their own
    //panel.setDefaultCloseOperation(JPanel.EXIT_ON_CLOSE); //so the program will end when the JFrame is closed
    //panel.getContentPane().add(window); // *** add our JPanel into the JFrame here
    //panel.pack(); // size the panel and frame correctly
    // panel.setLocationRelativeTo(null); // place frame in the center
    panel.setVisible(true); // show it all
    But still no display, if you could help me with the coding to get it correct I would be very apprecitive..i am a complete noob in java.

  • Configuring JDI help, started with WEBAS 630 sp3 now with WEBAS 640 sp 9

    hi guys ,
       i was configuring  a JDI  with a recently installed server with WEBAS640 kit  i had not applied any patches to it .... after getting half way thru the configuration process when i was about to configure my name server in SLD  i say that there wasn't an option to create a new SLD inside the new technical system dropdown menu ..so after killing myself a couple of time to find out  what the hell the problem could be ..i saw it right in front of my eyes .... patches ..that's the ticket so i downloaded sp 9 and installed it ..
    my question is since i deployed the JDI files with the old version   can i continue the configuration process or should i redeploy everything and start over again ?
    thanks in advance to all you ubergeeks out there may your code be just and your pings be true
    - Guy

    thank you for all your help ,
    i was applying the patches today but the deploy of the compontent tc.CBS.Appl failed i got the following error :
    Nov 25, 2004 10:11:15... Error: Aborted: development component 'tc.CBS.Appl'/'sap.com'/'SAP AG'/'6.4009.00.0000.20041021205319.0000':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/tc.CBS.Appl..
    Reason: Exception during generation of components of application sap.com/tc.CBS.Appl in container EJBContainer.; nested exception is:
    com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/tc.CBS.Appl in container EJBContainer.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    i was wondering if you could point me in the rigth direction to solve this .
    thank you very much

  • Help needed with gui

    Hi,
    I am not too good with java gui.
    In a method called createGUI I create a panel with a few text fields etc.
    Then in the same class but another method I set a textArea to "blabla".
    Then from a subclass I try to set that same text to something else but the result is I get a copy of the whole thing (panels with textareas etc.) with the text set to what I wanted, but underneath that I still have the old GUI with the old text "blabla".
    1) I don't get why this happens, why doesn't it set the text in my old gui to the new text?
    2) I set a checkpoint in the createGUI method and it's never invoked after the first time so I don't get how is the GUI repainting itself. Must be soemthing I don't know about GUI programming.
    Can anybody help?
    Thx,
    A.

    Hello,
    Have you tried the repaint() method of component?
    Thanks,
    Jeff.

  • Please help problem with GUI

    Hi
    I have two problems firstly when i try to assign a method to a button to a GUI
         JButton SetPrice = new JButton ("Set Price");
            contentPane.add( SetPrice);
             SetPrice.addActionListener(new ActionListener() {
                                   public void actionPerformed(ActionEvent e) {  SetPrice ();    }This is teh code i am using to set up teh button on teh display.Belwo is the method it should run.
    public double SetPrice( int price)
             if (price <= 199.9){
           Cost= price;
             return Cost;
            else {
              System.out.println ( "Set a price which is less than 199.9");
              return Cost; }
            }When i try to compile it comes up with when i comipile
    SetPrice (int) in Shop cannot be applied to ()The variable has type double.So pelase my someone show me how to make the action listener button run this method.
    Thanks

    JButton SetPrice = new JButton ("Set Price");
            contentPane.add( SetPrice);
             SetPrice.addActionListener(this);
    SetPrice.setActionCommand("setprice");
    public void actionPerformed(ActionEvent e) {
    String action=e.getActionCommand();
    if(action.equals("setprice") {
    //do something
        }

  • Get Started with GUI Programming

    I've programmed simple GUIs myself, but I hear there are good packages out there that produce decent interfaces. Where can I find more info about them? Are there any texts you recommend to go with them?
    Thanks

    Hmmmm. Good packages.
    I think you mean an IDE. That stands for Integrated Development Environment. IDE is the keyword you want to plug into the search box above.
    Here is what searching IDE produced:
    http://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=%2Bforum%3A54&qt=IDE&x=10&y=6
    Lots of good reading there.
    Cheers!

  • Need help starting with regular expressions

    Hi,
    looked through the tutorials, and some stuff online and still having trouble.
    I've done a fair amount of modifying xml files with perl, and want to do the same thing with java.
    I'm writing this at work, and we don't have the 1.5 jdk installed, so I can't use the Pattern and Match objects.
    Here's some code I wrote:
    package pack1;
    import java.io.BufferedReader;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    public class PlantTest {
          * @param args
          * @throws Exception
         public static void main(String[] args) throws Exception {
              // get file to read from
              java.io.File infile = new java.io.File("plant.xml");
              FileReader infileReader = new FileReader(infile);
              BufferedReader bInfile = new BufferedReader(infileReader);
              //get basic file info
              System.out.println("does the file exist? " + infile.exists());
              System.out.println("file is located at: " + infile.getAbsolutePath());
              System.out.println("file was last modified: " + new java.util.Date(infile.lastModified()));
              // create a pattern
              String match = "<COMMON>";
              String line = bInfile.readLine();
              while (line != null){
                   //System.out.println(bInfile.readLine());
                   if (line.matches(match)){
                        System.out.println("match made: " + line);
              bInfile.close();
              infileReader.close();
    }I want the "match" object to be the equivalent of this in perl:
    (I realize I don't have the output set up in the code above, I was going to add it later, for now I just want to make the match and print something on the console)
         m/<COMMON>([^<]+)</COMMON>/i;
         $common = $1;
         print HTML "<p>Common Name: $common\n";here's a snippet of xml:
         <PLANT>
              <COMMON>Bloodroot</COMMON>
              <BOTANICAL>Sanguinaria canadensis</BOTANICAL>
              <ZONE>4</ZONE>
              <LIGHT>Mostly Shady</LIGHT>
              <PRICE>$2.44</PRICE>
              <AVAILABILITY>031599</AVAILABILITY>
         </PLANT>(I cribbed that xml from the w3c site)
    thanks in advance,
    bp
    Message was edited by:
    badperson

    ouch. 1.3.1...
    That's here at work, I'm kind of nervous about
    downloading another jdk, will there be a conflict?Google for Jakarta ORO regex. It is about the same speed as Java regex and works well with JDK1.3.1 .

  • Please help start with creating venn diagram

    I was wondering if anyone can give me suggestions on what type of java functionalities, resources, etc. to look up for creating a venn diagram application. I want to be able to click on regions and have it highlight and unhighlight. I also want to be able to drag and move circles around the canvas or window. Previously, I had just drawn on a canvas set circles at set locations; then, I had to go through many calculations just to get the area of the two circle overlap. There has to be an easier way... especially when getting to 3 or more circles, calculations would be more complicated. Does anyone have any helpful suggestions? Thanks in advance for your help.

    Yes, the AWT-package contains much useful stuff regarding this topic!
    If you can manipulate these classes, you are almost there!
    RM

  • Help problems with gui

    import java.awt.*;
    import java.awt.event.*;
    import java.text.*;
    import javax.swing.*;
    public class TheBEST extends Frame implements ItemListener
    TextField AmmountLabel;
    Label lb1,lb2,lb3,lb4,lb5;
    Label tb6,tb7;
    Label td8,td9,td10,td11,td12;
    Label ct1;
    Label ct2;
    Label ct3;
    Panel p1,p2,p3,p4,p5,p6,p7,p8,p9;
    private Checkbox  StirJcheck,AbcJcheck,OysterJcheck,OldJcheck,ThaiJcheck;
    private double PackagePric = 58.00;
    private final double StirFriedCheck=2.00;
    private final double AbcMango=3.00;
    private final double OystersMombasa=5.50;
    private final double Oldfashioned=2.50;
    private final double Thaihot=4.50;
    public static void main(String[]args){
    TheBEST f=new TheBEST();
    f.setSize(400,200);
    f.setTitle("Restaurant");
    f.setVisible(true);
    public TheBEST()
    Font fV = new Font("Verdana", Font.BOLD,25);
    Font fA = new Font("Ariel",Font.BOLD+Font.ITALIC,13);
    setBackground(Color.pink);
    lb1=new Label("SHAZALEE BISTRO");
    lb1.setFont(fV);
    lb1.setForeground(new Color(255,0,230));
    lb1.setBackground(Color.pink);
    lb2=new Label("Special Package For Today !!");
    lb2.setFont(fA);
    lb3=new Label("Tomyam : (Chicken+Meat+Crab+Fish)");
    lb3.setBackground(Color.orange);
    lb3.setForeground(Color.red);
    lb3.setFont(fA);
    lb4=new Label("Salad Relish with Thousand Island");
    lb4.setBackground(Color.orange);
    lb4.setForeground(Color.red);
    lb4.setFont(fA);
    lb5=new Label("Thai Spicy Tamarind Prawn");
    lb5.setBackground(Color.orange);
    lb5.setForeground(Color.red);
    lb5.setFont(fA);
    tb6 =new Label(" << Additional Order:  >>");
    tb6.setFont(fA);
    tb7 =new Label("Number of person : ");
       tb7.setFont(fA);
       ct1 =new Label("$0.00       ");
       ct2 =new Label("$0.00       ");
       ct3=new Label("58.00");
       AmmountLabel = new TextField(4);
    p1.setLayout(new BorderLayout());
    p1.add("NORTH",lb1);
    p1.add("CENTER",p2);
    p1.add("SOUTH",p8);
    /*p1.add(lb2);
    p1.add(lb3);
    p1.add(lb4);
    p1.add(lb5);
    p1.add(tb6);
    /*setLayout(new BorderLayout());
    add("NORTH",p1);
    add("CENTER",p2);
    add("SOUTH",p3);
    p2.setLayout(new BorderLayout());
    p2.add("NORTH",p3);
    p2.add("CENTER",p5);
    p2.add(tb7);
    p2.add(AmmountLabel);
       p2.setBackground(Color.pink);
    setLayout(new FlowLayout());
    add(p2);
    StirJcheck = new Checkbox("Stir Fried Wide Rice : RM 2.00 per person",false);
    AbcJcheck = new Checkbox("ABC plus Mango Ice Cream with Pistachios : RM 3.00 per person",false);
    OysterJcheck = new Checkbox("Oysters Mombasa : Baked with Garlic Butter:RM 5.00 per person" ,false);
    OldJcheck= new Checkbox("Old Fashioned Banana Pudding : RM 2.50 per person",false);
       ThaiJcheck= new Checkbox("Thai Hot and Sour Shrimp Soup : RM 4.50 per person",false);
    p3.setLayout(new BorderLayout());
    p3.add("NORTH",lb2);
    p3.add("CENTER",p4);
    p3.add("NORTH",tb6);
    p3.setForeground(Color.red);
    p3.setFont(fA);
    p3.add(StirJcheck);
    p3.add(AbcJcheck );
    p3.add(OysterJcheck);
    p3.add(OldJcheck);
    p3.add(ThaiJcheck);
    /*setLayout(new BorderLayout(20,10));
    add(p3);
    td8 = new Label(" ** PRICE ** ");
    td8.setBackground(Color.gray);
    td9 = new Label("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
    td10 = new Label("PACKAGE : ");
    td11 = new Label("ADDITIONAL ORDER :");
    td12 = new Label(" TOTAL PRICE : ");
    p4.setLayout(new GridLayout(3,0,0,10));
    p4.add(lb3);
    p4.add(lb4);
    p4.add(lb5);
    p4.setBackground(Color.yellow);
    p4.setFont(fA);
    p4.add(td8);
    p4.add(td9);
    p4.add(td10);
    p4.add(ct3);
    p4.add(td11);
       p4.add(ct1);
    p4.add(td12);
    p4.add(ct2);
    p4.setBackground(Color.GRAY);
    /*setLayout(new FlowLayout(FlowLayout.LEFT,0,20));
    add(p4);
    p5.setLayout(new BorderLayout());
    p5.add("NORTH",p6);
    p5.add("CENTER",p7);
    p6.setLayout(new FlowLayout());
    p6.add(tb7);
    p6.add(AmmountLabel);
    p7.setLayout(new GridLayout(5,0,0,0));
    p7.add(StirJcheck);
    p7.add(AbcJcheck);
    p7.add(OysterJcheck);
    p7.add(OldJcheck);
    p7.add(ThaiJcheck);
    p8.setLayout(new BorderLayout());
    p8.add("NORTH",td8);
    p8.add("CENTER",p9);
    p9.setLayout(new GridLayout());
    p9.add(td9);
    p9.add(td10);
    p9.add(td11);
    p9.add(td12);
    StirJcheck.addItemListener(this);
    AbcJcheck.addItemListener(this);
    OysterJcheck.addItemListener(this);
    OldJcheck.addItemListener(this);
    ThaiJcheck.addItemListener(this);
    public void itemStateChanged(ItemEvent event) {
      double price =0.00;
    double total=PackagePric + price;
    NumberFormat nf = NumberFormat.getCurrencyInstance();
    int addAmount = Integer.parseInt(AmmountLabel.getText());
      if (StirJcheck.getState()) {
      price+= StirFriedCheck * addAmount;
      if (AbcJcheck.getState()) {
      price+= AbcMango* addAmount;
       if (OysterJcheck.getState()) {
      price+= OystersMombasa * addAmount;
      if (OldJcheck.getState()) {
      price+= Oldfashioned * addAmount;
      if (ThaiJcheck.getState()) {
      price+= Thaihot * addAmount;
       ct1.setText(nf.format(price));
       ct2.setText(nf.format(total));
       ct3.setText(nf.format(PackagePric));
    }I get a runtime error what should i do ?

    [url http://forum.java.sun.com/thread.jspa?threadID=770922&tstart=0]Crosspost.

  • How to start with a gui

    Hi,
    i have a program that works fine, at the moment it just outputs results to the screen.
    I'm required to create a gui for this but really don't know where to start.
    i have a Test class which has a main method in it which calls all the other classes.
    my main class is below:
    public class Test
         public static void main(String[] args)
              Data d = new Data();
              Vector data = d.readFile("File9.txt");
              /*normalise the data and store in vector (outerVetor)*/
              Normalise rf = new Normalise();
              Vector dataNormalised = rf.normalise(data);
              datasize = dataNormalised.size();
              Affinity af = new Affinity();
              Vector affinity = af.calcAffinity(dataNormalised);
              Initialise i = new Initialise();
              i.setSeed(1);
              seed = i.getSeed();
              i.setHypermutationRate(2.0);
              hypermutationRate = i.getHypermutationRate();
              i.setClonalRate(10.0);
              clonalRate = i.getClonalRate();
              i.setTotalResources(15.0);
              totalResources = i.getTotalResources();
              i.setStimulationValue(0.99);
              stimulationValue = i.getStimulationValue();
              i.setAffinityThresholdScalar(0.2);
              affinityThresholdScalar = i.getAffinityThresholdScalar();
              i.setKNN(4.0);
              KNN = i.getKNN();
              Vector MemoryPool = i.seedMemoryPool(dataNormalised, seed);
              Float affinityThreshold = i.affinityThreshold(affinity);
              Stimulation s = new Stimulation();
              Training t = new Training();
              CompetitionForLtdRes c = new CompetitionForLtdRes();
              MemoryCellSelection MS = new MemoryCellSelection();
              Classification C = new Classification();
              for(int k=0;k<dataNormalised.size();k++)
                   Antigen = (Vector)dataNormalised.elementAt(k);
                   if(memPoolStimulation.floatValue() == zero.floatValue())
                        MemoryPool.add(Antigen);
                   else
                   stimIndex = s.getStimIndex();
                   Vector ARB =t.ARBGeneration(BestMatch,hypermutationRate,clonalRate);
               Vector Candidate = c.runARBRefinement(ARB, Antigen, maxDist,stimulationValue,clonalRate, totalResources);
              MemPoolsize = MemoryPool.size();
              reduction = 100 - ((double)MemPoolsize/datasize*100);
              Antigen1 = (Vector)dataNormalised.elementAt(1);
              Float classify = C.KNN(MemoryPool,Antigen1, KNN, maxDist);
    }I really don't know where to start with this. i know i need a fileDialog to select whic file to use at the start and a scrollable pane to display trhe results but really don't know where to begin.
    can anybody offer some help or point me in the right dircection?
    Cheers

    Hi,
    I've managed to open a file using the file dialog.
    I'm trying to noe perform an action with this file. I have a class called Data which reads in a file and reads each line of the file into a vector. so i have a vector of vectors at the end where the inner vectors are the lines of the file.
    I'm unsure of how to call this class using the selected file.
    ultimately this is the kind of thing i'm going to need to do through out.
    i have created an instance of the class Data and trie to call the method using the file but getting the following error:
    RunPanel.java:59: readFile(java.lang.String) in Data cannot be applied to (java.io.File)
    Vector data = d.readFile(file);
    my code is:
    public class RunPanel extends JPanel implements ActionListener
         JButton openButton;
         JTextArea log;
             JFileChooser fc;
         //cretaed an instance of Data class to use later on
         Data d = new Data();
    public void actionPerformed(ActionEvent e) {
            //Handle open button action.
            if (e.getSource() == openButton) {
                int returnVal = fc.showOpenDialog(RunPanel.this);
                if (returnVal == JFileChooser.APPROVE_OPTION) {
                    File file = fc.getSelectedFile();
                    //This is where a real application would open the file.
                    log.append("Opening: " + file.getName() + "." + newline);
              //trying to call the readfile method in Data class here
              Vector data = d.readFile(file);
                } else {
                    log.append("Open command cancelled by user." + newline);
                log.setCaretPosition(log.getDocument().getLength());
        }can anybody explain what's going on here?
    Cheers

  • Getting started with 3850 as WLC - Wireless GUI fails

    I have started to look into configuring our 3850 as a WLC
    I enabled the command wireless mobility controller
    Then I tried to connect to <switch ip>/wireless
    I just get a dead page.
    I configured the wireless management vlan but still no joy
    What basic steps am I missing?
    Thanks
    Roger

    1. Make sure this are aenabled on this:
    ip http secure-server
    ip http server
    2. Also Enable WIreless Management
                3850(config)#wireless management interface vlan <1-4095>
    3. Normally You can access wireless controller GUI using https:///wireless URL.
    Please check these docs, it may helps.
    https://supportforums.cisco.com/docs/DOC-34430
    http://mrncciew.com/2013/09/29/getting-started-with-3850/
    Please go through these, u will resolve ur problem.
    Regards
    Dont forget to rate helpful posts

  • I need to reinstall my operating system for 10.5 after seeing a file folder and question mark flashing on my start up screen. Can anyone help me with this?

    I need to reinstall my operating system for 10.5 after seeing a file folder and question mark flashing on my start up screen. Can anyone help me with this?

    Hello,
    That means it can find the Hard Drive, or can't find the things needed for booting.
    See if DU even sees it.
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)

  • HT204302 i get a message when I plug in my ipod to my laptop saying "cannot use this ipod because apple mobile device is not started" can any one help me with this...I have never had this happen before

    Hello anyone
    I get a message when i plug in my ipod touch saying "cannot use this ipod because apple mobile service is not started" can anyone please help me with this problem...I had this message once before but I forgot how to correct it

    From the More Like This section on the right:
    I get error message when I plug in iPhone 4s saying "This iPhone cannot be used because the Apple Mobile Device service is not started"
    can't get my ipod to connect to tunes error message "cannot be used because the apple mobile device service is not started"  fixes? Using Win XP
    im trying to connect my ipod to itunes and its saying it cannot connect because the "Apple Mobile Device is not started" help
    Or see: iPhone, iPad, iPod touch: How to restart the Apple Mobile Device Service (AMDS) on Windows

  • My App store doesn´t work under my user. Everything is ok if I start with a guest user. I have a Yosemite MacBook Pro. How can I solve this? Because I'm unable to open the App Store, Mail, Contacts and so on. Please can you help me.

    My App store doesn´t work under my user. Everything is ok if I start with a guest user. I have a Yosemite MacBook Pro. How can I solve this? Because I'm unable to open the App Store, Mail, Contacts and so on. Please can you help me.

    Here it is. Hope that helps. Thank You.
    28/01/15 21:57:12,043 com.apple.xpc.launchd[1]: (com.apple.imfoundation.IMRemoteURLConnectionAgent) The _DirtyJetsamMemoryLimit key is not available on this platform.
    28/01/15 21:57:12,043 secinitd[257]: unable to get AddressBook lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718d251b0 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.AddressBookLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    28/01/15 21:57:12,044 secinitd[257]: unable to get Calendars lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718d25ec0 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.CalendarLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    28/01/15 21:57:12,046 App Store[1494]: libcoreservices: _dirhelper: 523: mkdir: path=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/com.apple.appstore/ modes[1]=0700: Permission denied
    28/01/15 21:57:12,051 secinitd[257]: unable to get AddressBook lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718c407a0 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.AddressBookLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    28/01/15 21:57:12,051 secinitd[257]: unable to get Calendars lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718c41440 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.CalendarLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    28/01/15 21:57:12,053 CalendarAgent[1495]: libcoreservices: _dirhelper: 523: mkdir: path=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/com.apple.CalendarAgent/ modes[1]=0700: Permission denied
    28/01/15 21:57:12,056 com.apple.xpc.launchd[1]: (com.apple.ReportCrash[1497]) Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
    28/01/15 21:57:12,427 com.apple.xpc.launchd[1]: (com.apple.appstore.18776[1494]) Service exited due to signal: Illegal instruction: 4
    28/01/15 21:57:12,472 ReportCrash[1497]: Saved crash report for App Store[1494] version 2.0 (376.6.2) to /Users/HV/Library/Logs/DiagnosticReports/App Store_2015-01-28-215712_MacBook-Pro-de-HV.crash
    28/01/15 21:57:12,485 ReportCrash[1497]: Removing excessive log: file:///Users/HV/Library/Logs/DiagnosticReports/App%20Store_2015-01-27-212748_M acBook-Pro-de-HV.crash
    28/01/15 21:57:12,505 AddressBookSourceSync[1498]: Could not get real path for Address Book lock folder: open() for F_GETPATH failed.
    28/01/15 21:57:12,506 AddressBookSourceSync[1498]: *** Assertion failure in -[ABProcessSharedLock initWithLockFilePath:localLock:fileServices:], /SourceCache/AddressBook/AddressBook-1563/Framework/AddressBookUI/ABProcessShar edLock.m:57
    28/01/15 21:57:12,507 AddressBookSourceSync[1498]: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: lockFilePath != nil'
    *** First throw call stack:
      0   CoreFoundation                      0x00007fff8951a66c __exceptionPreprocess + 172
      1   libobjc.A.dylib                     0x00007fff8a6fb76e objc_exception_throw + 43
      2   CoreFoundation                      0x00007fff8951a44a +[NSException raise:format:arguments:] + 106
      3   Foundation                          0x00007fff8decc3a9 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
      4   AddressBook                         0x00007fff8b9a1c0d -[ABProcessSharedLock initWithLockFilePath:localLock:fileServices:] + 144
      5   AddressBook                         0x00007fff8ba97f79 +[ABProcessSharedLock recursiveSharedLockWithLockFilePath:] + 97
      6   AddressBook                         0x00007fff8b9a15a2 +[ABAddressBook initializeFileLock] + 84
      7   AddressBook                         0x00007fff8b99e443 -[ABAddressBook nts_InitDefaultContactManager] + 153
      8   AddressBook                         0x00007fff8b99e35b +[ABAddressBook nts_SharedAddressBook] + 72
      9   AddressBook                         0x00007fff8b99e273 +[ABAddressBook nts_CreateSharedAddressBook] + 48
      10  AddressBook                         0x00007fff8b99e0df +[ABAddressBook sharedAddressBook] + 67
      11  AddressBook                         0x00007fff8b99d3a1 +[ABAddressBook addressBookWithDatabaseDirectory:options:] + 54
      12  AddressBook                         0x00007fff8ba87370 -[PHXSource addressBook] + 146
      13  CardDAVPlugin                       0x00000001096cbfd0 -[PHXCardDAVSource addressBook] + 47
      14  AddressBookSourceSync               0x00000001075ca28e AddressBookSourceSync + 8846
      15  AddressBook                         0x00007fff8b9a4d2e __55-[NSArray(ABArrayAdditions) abArrayWithResultsOfBlock:]_block_invoke + 16
      16  CoreFoundation                      0x00007fff8943b385 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke + 133
      17  CoreFoundation                      0x00007fff8943aa89 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 313
      18  AddressBook                         0x00007fff8b9a4d04 -[NSArray(ABArrayAdditions) abArrayWithResultsOfBlock:] + 168
      19  AddressBook                         0x00007fff8b9a4c46 -[NSArray(ABArrayAdditions) _abMap:] + 91
      20  AddressBookSourceSync               0x00000001075ca05e AddressBookSourceSync + 8286
      21  AddressBookSourceSync               0x00000001075ca4fb AddressBookSourceSync + 9467
      22  libdyld.dylib                       0x00007fff933045c9 start + 1
      23  ???                                 0x0000000000000001 0x0 + 1
    28/01/15 21:57:12,606 secinitd[257]: unable to get AddressBook lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718f369d0 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.AddressBookLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    28/01/15 21:57:12,607 secinitd[257]: unable to get Calendars lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718f375a0 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.CalendarLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    28/01/15 21:57:12,609 LaterAgent[1500]: libcoreservices: _dirhelper: 523: mkdir: path=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/com.apple.lateragent/ modes[1]=0700: Permission denied
    28/01/15 21:57:12,619 Problem Reporter[1499]: Failed to connect (_imageWell) outlet from (ProblemReportWindowController) to (NSImageView): missing setter or instance variable
    28/01/15 21:57:12,682 com.apple.xpc.launchd[1]: (com.apple.CalendarAgent[1495]) Service exited due to signal: Illegal instruction: 4
    28/01/15 21:57:12,682 com.apple.xpc.launchd[1]: (com.apple.CalendarAgent) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
    28/01/15 21:57:12,713 ReportCrash[1497]: Saved crash report for CalendarAgent[1495] version 8.0 (316) to /Users/HV/Library/Logs/DiagnosticReports/CalendarAgent_2015-01-28-215712_MacBoo k-Pro-de-HV.crash
    28/01/15 21:57:12,746 ReportCrash[1497]: Removing excessive log: file:///Users/HV/Library/Logs/DiagnosticReports/CalendarAgent_2015-01-28-215343 _MacBook-Pro-de-HV.crash
    28/01/15 21:57:12,043 com.apple.xpc.launchd[1]: (com.apple.imfoundation.IMRemoteURLConnectionAgent) The _DirtyJetsamMemoryLimit key is not available on this platform.
    28/01/15 21:57:12,043 secinitd[257]: unable to get AddressBook lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718d251b0 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.AddressBookLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    28/01/15 21:57:12,044 secinitd[257]: unable to get Calendars lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718d25ec0 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.CalendarLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    28/01/15 21:57:12,046 App Store[1494]: libcoreservices: _dirhelper: 523: mkdir: path=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/com.apple.appstore/ modes[1]=0700: Permission denied
    28/01/15 21:57:12,051 secinitd[257]: unable to get AddressBook lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718c407a0 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.AddressBookLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    28/01/15 21:57:12,051 secinitd[257]: unable to get Calendars lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718c41440 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.CalendarLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    28/01/15 21:57:12,053 CalendarAgent[1495]: libcoreservices: _dirhelper: 523: mkdir: path=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/com.apple.CalendarAgent/ modes[1]=0700: Permission denied
    28/01/15 21:57:12,056 com.apple.xpc.launchd[1]: (com.apple.ReportCrash[1497]) Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
    28/01/15 21:57:12,427 com.apple.xpc.launchd[1]: (com.apple.appstore.18776[1494]) Service exited due to signal: Illegal instruction: 4
    28/01/15 21:57:12,472 ReportCrash[1497]: Saved crash report for App Store[1494] version 2.0 (376.6.2) to /Users/HV/Library/Logs/DiagnosticReports/App Store_2015-01-28-215712_MacBook-Pro-de-HV.crash
    28/01/15 21:57:12,485 ReportCrash[1497]: Removing excessive log: file:///Users/HV/Library/Logs/DiagnosticReports/App%20Store_2015-01-27-212748_M acBook-Pro-de-HV.crash
    28/01/15 21:57:12,505 AddressBookSourceSync[1498]: Could not get real path for Address Book lock folder: open() for F_GETPATH failed.
    28/01/15 21:57:12,506 AddressBookSourceSync[1498]: *** Assertion failure in -[ABProcessSharedLock initWithLockFilePath:localLock:fileServices:], /SourceCache/AddressBook/AddressBook-1563/Framework/AddressBookUI/ABProcessShar edLock.m:57
    28/01/15 21:57:12,507 AddressBookSourceSync[1498]: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: lockFilePath != nil'
    *** First throw call stack:
      0   CoreFoundation                      0x00007fff8951a66c __exceptionPreprocess + 172
      1   libobjc.A.dylib                     0x00007fff8a6fb76e objc_exception_throw + 43
      2   CoreFoundation                      0x00007fff8951a44a +[NSException raise:format:arguments:] + 106
      3   Foundation                          0x00007fff8decc3a9 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
      4   AddressBook                         0x00007fff8b9a1c0d -[ABProcessSharedLock initWithLockFilePath:localLock:fileServices:] + 144
      5   AddressBook                         0x00007fff8ba97f79 +[ABProcessSharedLock recursiveSharedLockWithLockFilePath:] + 97
      6   AddressBook                         0x00007fff8b9a15a2 +[ABAddressBook initializeFileLock] + 84
      7   AddressBook                         0x00007fff8b99e443 -[ABAddressBook nts_InitDefaultContactManager] + 153
      8   AddressBook                         0x00007fff8b99e35b +[ABAddressBook nts_SharedAddressBook] + 72
      9   AddressBook                         0x00007fff8b99e273 +[ABAddressBook nts_CreateSharedAddressBook] + 48
      10  AddressBook                         0x00007fff8b99e0df +[ABAddressBook sharedAddressBook] + 67
      11  AddressBook                         0x00007fff8b99d3a1 +[ABAddressBook addressBookWithDatabaseDirectory:options:] + 54
      12  AddressBook                         0x00007fff8ba87370 -[PHXSource addressBook] + 146
      13  CardDAVPlugin                       0x00000001096cbfd0 -[PHXCardDAVSource addressBook] + 47
      14  AddressBookSourceSync               0x00000001075ca28e AddressBookSourceSync + 8846
      15  AddressBook                         0x00007fff8b9a4d2e __55-[NSArray(ABArrayAdditions) abArrayWithResultsOfBlock:]_block_invoke + 16
      16  CoreFoundation                      0x00007fff8943b385 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke + 133
      17  CoreFoundation                      0x00007fff8943aa89 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 313
      18  AddressBook                         0x00007fff8b9a4d04 -[NSArray(ABArrayAdditions) abArrayWithResultsOfBlock:] + 168
      19  AddressBook                         0x00007fff8b9a4c46 -[NSArray(ABArrayAdditions) _abMap:] + 91
      20  AddressBookSourceSync               0x00000001075ca05e AddressBookSourceSync + 8286
      21  AddressBookSourceSync               0x00000001075ca4fb AddressBookSourceSync + 9467
      22  libdyld.dylib                       0x00007fff933045c9 start + 1
      23  ???                                 0x0000000000000001 0x0 + 1
    28/01/15 21:57:12,606 secinitd[257]: unable to get AddressBook lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718f369d0 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.AddressBookLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    28/01/15 21:57:12,607 secinitd[257]: unable to get Calendars lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718f375a0 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.CalendarLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    28/01/15 21:57:12,609 LaterAgent[1500]: libcoreservices: _dirhelper: 523: mkdir: path=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/com.apple.lateragent/ modes[1]=0700: Permission denied
    28/01/15 21:57:12,619 Problem Reporter[1499]: Failed to connect (_imageWell) outlet from (ProblemReportWindowController) to (NSImageView): missing setter or instance variable
    28/01/15 21:57:12,682 com.apple.xpc.launchd[1]: (com.apple.CalendarAgent[1495]) Service exited due to signal: Illegal instruction: 4
    28/01/15 21:57:12,682 com.apple.xpc.launchd[1]: (com.apple.CalendarAgent) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
    28/01/15 21:57:12,713 ReportCrash[1497]: Saved crash report for CalendarAgent[1495] version 8.0 (316) to /Users/HV/Library/Logs/DiagnosticReports/CalendarAgent_2015-01-28-215712_MacBoo k-Pro-de-HV.crash
    28/01/15 21:57:12,746 ReportCrash[1497]: Removing excessive log: file:///Users/HV/Library/Logs/DiagnosticReports/CalendarAgent_2015-01-28-215343 _MacBook-Pro-de-HV.crash
    28/01/15 21:57:12,043 com.apple.xpc.launchd[1]: (com.apple.imfoundation.IMRemoteURLConnectionAgent) The _DirtyJetsamMemoryLimit key is not available on this platform.
    28/01/15 21:57:12,043 secinitd[257]: unable to get AddressBook lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718d251b0 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.AddressBookLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    28/01/15 21:57:12,044 secinitd[257]: unable to get Calendars lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718d25ec0 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.CalendarLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    28/01/15 21:57:12,046 App Store[1494]: libcoreservices: _dirhelper: 523: mkdir: path=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/com.apple.appstore/ modes[1]=0700: Permission denied
    28/01/15 21:57:12,051 secinitd[257]: unable to get AddressBook lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718c407a0 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.AddressBookLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    28/01/15 21:57:12,051 secinitd[257]: unable to get Calendars lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718c41440 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.CalendarLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    28/01/15 21:57:12,053 CalendarAgent[1495]: libcoreservices: _dirhelper: 523: mkdir: path=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/com.apple.CalendarAgent/ modes[1]=0700: Permission denied
    28/01/15 21:57:12,056 com.apple.xpc.launchd[1]: (com.apple.ReportCrash[1497]) Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
    28/01/15 21:57:12,427 com.apple.xpc.launchd[1]: (com.apple.appstore.18776[1494]) Service exited due to signal: Illegal instruction: 4
    28/01/15 21:57:12,472 ReportCrash[1497]: Saved crash report for App Store[1494] version 2.0 (376.6.2) to /Users/HV/Library/Logs/DiagnosticReports/App Store_2015-01-28-215712_MacBook-Pro-de-HV.crash
    28/01/15 21:57:12,485 ReportCrash[1497]: Removing excessive log: file:///Users/HV/Library/Logs/DiagnosticReports/App%20Store_2015-01-27-212748_M acBook-Pro-de-HV.crash
    28/01/15 21:57:12,505 AddressBookSourceSync[1498]: Could not get real path for Address Book lock folder: open() for F_GETPATH failed.
    28/01/15 21:57:12,506 AddressBookSourceSync[1498]: *** Assertion failure in -[ABProcessSharedLock initWithLockFilePath:localLock:fileServices:], /SourceCache/AddressBook/AddressBook-1563/Framework/AddressBookUI/ABProcessShar edLock.m:57
    28/01/15 21:57:12,507 AddressBookSourceSync[1498]: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: lockFilePath != nil'
    *** First throw call stack:
      0   CoreFoundation                      0x00007fff8951a66c __exceptionPreprocess + 172
      1   libobjc.A.dylib                     0x00007fff8a6fb76e objc_exception_throw + 43
      2   CoreFoundation                      0x00007fff8951a44a +[NSException raise:format:arguments:] + 106
      3   Foundation                          0x00007fff8decc3a9 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
      4   AddressBook                         0x00007fff8b9a1c0d -[ABProcessSharedLock initWithLockFilePath:localLock:fileServices:] + 144
      5   AddressBook                         0x00007fff8ba97f79 +[ABProcessSharedLock recursiveSharedLockWithLockFilePath:] + 97
      6   AddressBook                         0x00007fff8b9a15a2 +[ABAddressBook initializeFileLock] + 84
      7   AddressBook                         0x00007fff8b99e443 -[ABAddressBook nts_InitDefaultContactManager] + 153
      8   AddressBook                         0x00007fff8b99e35b +[ABAddressBook nts_SharedAddressBook] + 72
      9   AddressBook                         0x00007fff8b99e273 +[ABAddressBook nts_CreateSharedAddressBook] + 48
      10  AddressBook                         0x00007fff8b99e0df +[ABAddressBook sharedAddressBook] + 67
      11  AddressBook                         0x00007fff8b99d3a1 +[ABAddressBook addressBookWithDatabaseDirectory:options:] + 54
      12  AddressBook                         0x00007fff8ba87370 -[PHXSource addressBook] + 146
      13  CardDAVPlugin                       0x00000001096cbfd0 -[PHXCardDAVSource addressBook] + 47
      14  AddressBookSourceSync               0x00000001075ca28e AddressBookSourceSync + 8846
      15  AddressBook                         0x00007fff8b9a4d2e __55-[NSArray(ABArrayAdditions) abArrayWithResultsOfBlock:]_block_invoke + 16
      16  CoreFoundation                      0x00007fff8943b385 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke + 133
      17  CoreFoundation                      0x00007fff8943aa89 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 313
      18  AddressBook                         0x00007fff8b9a4d04 -[NSArray(ABArrayAdditions) abArrayWithResultsOfBlock:] + 168
      19  AddressBook                         0x00007fff8b9a4c46 -[NSArray(ABArrayAdditions) _abMap:] + 91
      20  AddressBookSourceSync               0x00000001075ca05e AddressBookSourceSync + 8286
      21  AddressBookSourceSync               0x00000001075ca4fb AddressBookSourceSync + 9467
      22  libdyld.dylib                       0x00007fff933045c9 start + 1
      23  ???                                 0x0000000000000001 0x0 + 1
    28/01/15 21:57:12,606 secinitd[257]: unable to get AddressBook lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718f369d0 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.AddressBookLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    28/01/15 21:57:12,607 secinitd[257]: unable to get Calendars lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718f375a0 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.CalendarLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    28/01/15 21:57:12,609 LaterAgent[1500]: libcoreservices: _dirhelper: 523: mkdir: path=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/com.apple.lateragent/ modes[1]=0700: Permission denied
    28/01/15 21:57:12,619 Problem Reporter[1499]: Failed to connect (_imageWell) outlet from (ProblemReportWindowController) to (NSImageView): missing setter or instance variable
    28/01/15 21:57:12,682 com.apple.xpc.launchd[1]: (com.apple.CalendarAgent[1495]) Service exited due to signal: Illegal instruction: 4
    28/01/15 21:57:12,682 com.apple.xpc.launchd[1]: (com.apple.CalendarAgent) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
    28/01/15 21:57:12,713 ReportCrash[1497]: Saved crash report for CalendarAgent[1495] version 8.0 (316) to /Users/HV/Library/Logs/DiagnosticReports/CalendarAgent_2015-01-28-215712_MacBoo k-Pro-de-HV.crash
    28/01/15 21:57:12,746 ReportCrash[1497]: Removing excessive log: file:///Users/HV/Library/Logs/DiagnosticReports/CalendarAgent_2015-01-28-215343 _MacBook-Pro-de-HV.crash
    Jan 28 21:57:12 MBP-de-HV com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): The _DirtyJetsamMemoryLimit key is not available on this platform.
    Jan 28 21:57:12 MBP-de-HV.lan secinitd[257]: unable to get AddressBook lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718d251b0 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.AddressBookLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    Jan 28 21:57:12 MBP-de-HV.lan secinitd[257]: unable to get Calendars lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718d25ec0 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.CalendarLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    Jan 28 21:57:12 MBP-de-HV App Store[1494]: libcoreservices: _dirhelper: 523: mkdir: path=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/com.apple.appstore/ modes[1]=0700: Permission denied
    Jan 28 21:57:12 MBP-de-HV.lan secinitd[257]: unable to get AddressBook lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718c407a0 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.AddressBookLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    Jan 28 21:57:12 MBP-de-HV.lan secinitd[257]: unable to get Calendars lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718c41440 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.CalendarLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    Jan 28 21:57:12 MBP-de-HV CalendarAgent[1495]: libcoreservices: _dirhelper: 523: mkdir: path=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/com.apple.CalendarAgent/ modes[1]=0700: Permission denied
    Jan 28 21:57:12 MBP-de-HV com.apple.xpc.launchd[1] (com.apple.ReportCrash[1497]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
    Jan 28 21:57:12 MBP-de-HV com.apple.xpc.launchd[1] (com.apple.appstore.18776[1494]): Service exited due to signal: Illegal instruction: 4
    Jan 28 21:57:12 MBP-de-HV.lan ReportCrash[1497]: Saved crash report for App Store[1494] version 2.0 (376.6.2) to /Users/HV/Library/Logs/DiagnosticReports/App Store_2015-01-28-215712_MacBook-Pro-de-HV.crash
    Jan 28 21:57:12 MBP-de-HV.lan ReportCrash[1497]: Removing excessive log: file:///Users/HV/Library/Logs/DiagnosticReports/App%20Store_2015-01-27-212748_M acBook-Pro-de-HV.crash
    Jan 28 21:57:12 MBP-de-HV.lan AddressBookSourceSync[1498]: Could not get real path for Address Book lock folder: open() for F_GETPATH failed.
    Jan 28 21:57:12 MBP-de-HV.lan AddressBookSourceSync[1498]: *** Assertion failure in -[ABProcessSharedLock initWithLockFilePath:localLock:fileServices:], /SourceCache/AddressBook/AddressBook-1563/Framework/AddressBookUI/ABProcessShar edLock.m:57
    Jan 28 21:57:12 MBP-de-HV.lan AddressBookSourceSync[1498]: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: lockFilePath != nil'
      *** First throw call stack:
      0   CoreFoundation                      0x00007fff8951a66c __exceptionPreprocess + 172
      1   libobjc.A.dylib                     0x00007fff8a6fb76e objc_exception_throw + 43
      2   CoreFoundation                      0x00007fff8951a44a +[NSException raise:format:arguments:] + 106
      3   Foundation                          0x00007fff8decc3a9 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
      4   AddressBook                         0x00007fff8b9a1c0d -[ABProcessSharedLock initWithLockFilePath:localLock:fileServices:] + 144
      5   AddressBook                         0x00007fff8ba97f79 +[ABProcessSharedLock recursiveSharedLockWithLockFilePath:] + 97
      6   AddressBook                         0x00007fff8b9a15a2 +[ABAddressBook initializeFileLock] + 84
      7   AddressBook                         0x00007fff8b99e443 -[ABAddressBook nts_InitDefaultContactManager] + 153
      8   AddressBook                         0x00007fff8b99e35b +[ABAddressBook nts_SharedAddressBook] + 72
      9   AddressBook                         0x00007fff8b99e273 +[ABAddressBook nts_CreateSharedAddressBook] + 48
      10  AddressBook                         0x00007fff8b99e0df +[ABAddressBook sharedAddressBook] + 67
      11  AddressBook                         0x00007fff8b99d3a1 +[ABAddressBook addressBookWithDatabaseDirectory:options:] + 54
      12  AddressBook                         0x00007fff8ba87370 -[PHXSource addressBook] + 146
      13  CardDAVPlugin                       0x00000001096cbfd0 -[PHXCardDAVSource addressBook] + 47
      14  AddressBookSourceSync               0x00000001075ca28e AddressBookSourceSync + 8846
      15  AddressBook                         0x00007fff8b9a4d2e __55-[NSArray(ABArrayAdditions) abArrayWithResultsOfBlock:]_block_invoke + 16
      16  CoreFoundation                      0x00007fff8943b385 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke + 133
      17  CoreFoundation                      0x00007fff8943aa89 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 313
      18  AddressBook                         0x00007fff8b9a4d04 -[NSArray(ABArrayAdditions) abArrayWithResultsOfBlock:] + 168
      19  AddressBook                         0x00007fff8b9a4c46 -[NSArray(ABArrayAdditions) _abMap:] + 91
      20  AddressBookSourceSync               0x00000001075ca05e AddressBookSourceSync + 8286
      21  AddressBookSourceSync               0x00000001075ca4fb AddressBookSourceSync + 9467
      22  libdyld.dylib                       0x00007fff933045c9 start + 1
      23  ???                                 0x0000000000000001 0x0 + 1
    Jan 28 21:57:12 MBP-de-HV.lan secinitd[257]: unable to get AddressBook lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718f369d0 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.AddressBookLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    Jan 28 21:57:12 MBP-de-HV.lan secinitd[257]: unable to get Calendars lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718f375a0 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.CalendarLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    Jan 28 21:57:12 MBP-de-HV LaterAgent[1500]: libcoreservices: _dirhelper: 523: mkdir: path=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/com.apple.lateragent/ modes[1]=0700: Permission denied
    Jan 28 21:57:12 MBP-de-HV.lan Problem Reporter[1499]: Failed to connect (_imageWell) outlet from (ProblemReportWindowController) to (NSImageView): missing setter or instance variable
    Jan 28 21:57:12 MBP-de-HV com.apple.xpc.launchd[1] (com.apple.CalendarAgent[1495]): Service exited due to signal: Illegal instruction: 4
    Jan 28 21:57:12 MBP-de-HV com.apple.xpc.launchd[1] (com.apple.CalendarAgent): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
    Jan 28 21:57:12 MBP-de-HV.lan ReportCrash[1497]: Saved crash report for CalendarAgent[1495] version 8.0 (316) to /Users/HV/Library/Logs/DiagnosticReports/CalendarAgent_2015-01-28-215712_MacBoo k-Pro-de-HV.crash
    Jan 28 21:57:12 MBP-de-HV.lan ReportCrash[1497]: Removing excessive log: file:///Users/HV/Library/Logs/DiagnosticReports/CalendarAgent_2015-01-28-215343 _MacBook-Pro-de-HV.crash
    Jan 28 21:57:13 MBP-de-HV com.apple.xpc.launchd[1] (com.apple.lateragent[1500]): Service exited due to signal: Illegal instruction: 4
    Jan 28 21:57:13 MBP-de-HV com.apple.xpc.launchd[1] (com.apple.lateragent): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
    Jan 28 21:57:13 MBP-de-HV.lan ReportCrash[1497]: Saved crash report for LaterAgent[1500] version ??? to /Users/HV/Library/Logs/DiagnosticReports/LaterAgent_2015-01-28-215713_MacBook-P ro-de-HV.crash
    Jan 28 21:57:13 MBP-de-HV.lan ReportCrash[1497]: Removing excessive log: file:///Users/HV/Library/Logs/DiagnosticReports/LaterAgent_2015-01-28-215345_Ma cBook-Pro-de-HV.crash
    Jan 28 21:57:13 MBP-de-HV com.apple.xpc.launchd[1] (com.apple.AddressBook.SourceSync[1498]): Service exited due to signal: Abort trap: 6
    Jan 28 21:57:13 MBP-de-HV com.apple.xpc.launchd[1] (com.apple.AddressBook.SourceSync): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
    Jan 28 21:57:13 MBP-de-HV.lan ReportCrash[1497]: Saved crash report for AddressBookSourceSync[1498] version 9.0 (1563) to /Users/HV/Library/Logs/DiagnosticReports/AddressBookSourceSync_2015-01-28-21571 3_MacBook-Pro-de-HV.crash
    Jan 28 21:57:13 MBP-de-HV.lan ReportCrash[1497]: Removing excessive log: file:///Users/HV/Library/Logs/DiagnosticReports/AddressBookSourceSync_2015-01-2 8-215344_MacBook-Pro-de-HV.crash
    Jan 28 21:57:14 MBP-de-HV com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): The _DirtyJetsamMemoryLimit key is not available on this platform.
    Jan 28 21:57:14 MBP-de-HV.lan secinitd[257]: unable to get AddressBook lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718c34510 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.AddressBookLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    Jan 28 21:57:14 MBP-de-HV.lan secinitd[257]: unable to get Calendars lock folder path: Error Domain=NSPOSIXErrorDomain Code=13 "open() for F_GETPATH failed." UserInfo=0x7fd718c350c0 {NSFilePath=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/.CalendarLocks, NSLocalizedDescription=open() for F_GETPATH failed.}
    Jan 28 21:57:14 MBP-de-HV soagent[1507]: libcoreservices: _dirhelper: 523: mkdir: path=/var/folders/c8/njtxl9js6ns7351s5m_n6sn80000gn/T/com.apple.soagent/ modes[1]=0700: Permission denied
    Jan 28 21:57:14 --- last message repeated 1 time ---
    Jan 28 21:57:14 MBP-de-HV.lan soagent[1507]: Could not get real path for Address Book lock folder: open() for F_GETPATH failed.
    Jan 28 21:57:14 MBP-de-HV.lan soagent[1507]: *** Assertion failure in -[ABProcessSharedLock initWithLockFilePath:localLock:fileServices:], /SourceCache/AddressBook/AddressBook-1563/Framework/AddressBookUI/ABProcessShar edLock.m:57
    Jan 28 21:57:14 MBP-de-HV.lan soagent[1507]: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: lockFilePath != nil'
      *** First throw call stack:
      0   CoreFoundation                      0x00007fff8951a66c __exceptionPreprocess + 172
      1   libobjc.A.dylib                     0x00007fff8a6fb76e objc_exception_throw + 43
      2   CoreFoundation                      0x00007fff8951a44a +[NSException raise:format:arguments:] + 106
      3   Foundation                          0x00007fff8decc3a9 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
      4   AddressBook                         0x00007fff8b9a1c0d -[ABProcessSharedLock initWithLockFilePath:localLock:fileServices:] + 144
      5   AddressBook                         0x00007fff8ba97f79 +[ABProcessSharedLock recursiveSharedLockWithLockFilePath:] + 97
      6   AddressBook                         0x00007fff8b9a15a2 +[ABAddressBook initializeFileLock] + 84
      7   AddressBook                         0x00007fff8b99e443 -[ABAddressBook nts_InitDefaultContactManager] + 153
      8   AddressBook                         0x00007fff8b99e35b +[ABAddressBook nts_SharedAddressBook] + 72
      9   AddressBook                         0x00007fff8b99e273 +[ABAddressBook nts_CreateSharedAddressBook] + 48
      10  AddressBook                         0x00007fff8b99e0df +[ABAddressBook sharedAddressBook] + 67
      11  IMCore                              0x00007fff9509b80b IMTranscriptChatItemEqual + 176400
      12  libdispatch.dylib                   0x00007fff93103c13 _dispatch_client_callout + 8
      13  libdispatch.dylib                   0x00007fff93103b26 dispatch_once_f + 117
      14  IMCore                              0x00007fff950524eb OBJC_METACLASS_$_IMSPIMessage + 455538043
      15  IMCore                              0x00007fff95087650 IMTranscriptChatItemEqual + 94037
      16  libdispatch.dylib                   0x00007fff93103c13 _dispatch_client_callout + 8
      17  libdispatch.dylib                   0x00007fff93103b26 dispatch_once_f + 117
      18  IMCore                              0x00007fff95086964 IMTranscriptChatItemEqual + 90729
      19  IMCore                              0x00007fff9508827b IMTranscriptChatItemEqual + 97152
      20  IMCore                              0x00007fff95052f76 OBJC_METACLASS_$_IMSPIMessage + 455540742
      21  IMCore                              0x00007fff9508a88f IMTranscriptChatItemEqual + 106900
      22  CoreFoundation                      0x00007fff894648a6 ___forwarding___ + 518
      23  CoreFoundation                      0x00007fff89464618 _CF_forwarding_prep_0 + 120
      24  IMCore                              0x00007fff95088146 IMTranscriptChatItemEqual + 96843
      25  IMCore                              0x00007fff9508843e IMTranscriptChatItemEqual + 97603
      26  IMCore                              0x00007fff950885fc IMTranscriptChatItemEqual + 98049
      27  IMCore                              0x00007fff9508887d IMTranscriptChatItemEqual + 98690
      28  MessagesHelperKit                   0x0000000101661dae MessagesHelperKit + 7598
      29  libdispatch.dylib                   0x00007fff93103c13 _dispatch_client_callout + 8
      30  libdispatch.dylib                   0x00007fff93103b26 dispatch_once_f + 117
      31  libobjc.A.dylib                     0x00007fff8a6f41b5 _class_initialize + 649
      32  libobjc.A.dylib                     0x00007fff8a6f3f7f _class_initialize + 83
      33  libobjc.A.dylib                     0x00007fff8a704777 lookUpImpOrForward + 322
      34  libobjc.A.dylib                     0x00007fff8a6ee1ac objc_msgSend + 236
      35  Foundation                          0x00007fff8de18669 -[NSBundle loadAndReturnError:] + 693
      36  MessagesHelperKit                   0x0000000101664045 MessagesHelperKit + 16453
      37  libdispatch.dylib                   0x00007fff93108323 _dispatch_call_block_and_release + 12
      38  libdispatch.dylib                   0x00007fff93103c13 _dispatch_client_callout + 8
      39  libdispatch.dylib                   0x00007fff9310fcbf _dispatch_main_queue_callback_4CF + 861
      40  CoreFoundation                      0x00007fff8946dc79 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
      41  CoreFoundation                      0x00007fff8942a30f __CFRunLoopRun + 2159
      42  CoreFoundation                      0x00007fff89429858 CFRunLoopRunSpecific + 296
      43  Foundation                          0x00007fff8de43849 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278
      44  Foundation                          0x00007fff8df3f24f -[NSRunLoop(NSRunLoop) run] + 74
      45  soagent                             0x0000000101656be5 soagent + 3045
      46  libdyld.dylib                       0x00007fff933045c9 start + 1
    Jan 28 21:57:14 MBP-de-HV com.apple.xpc.launchd[1] (com.amazon.music[1506]): Service exited with abnormal code: 1
    Jan 28 21:57:14 MBP-de-HV com.apple.xpc.launchd[1] (com.amazon.music): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
    Jan 28 21:57:14 MBP-de-HV.lan com.apple.dock.extra[288]: SOHelperCenter main connection interrupted
    Jan 28 21:57:14 MBP-de-HV com.apple.xpc.launchd[1] (com.apple.soagent[1507]): Service exited due to signal: Abort trap: 6
    Jan 28 21:57:14 MBP-de-HV.lan ReportCrash[1497]: Saved crash report for soagent[1507] version ??? to /Users/HV/Library/Logs/DiagnosticReports/soagent_2015-01-28-215714_MacBook-Pro- de-HV.crash
    Jan 28 21:57:14 MBP-de-HV.lan ReportCrash[1497]: Removing excessive log: file:///Users/HV/Library/Logs/DiagnosticReports/soagent_2015-01-28-215346_MacBo ok-Pro-de-HV.crash

  • I want to backup my phone before upgrading to ios5 but I get an error message itunes could not back up the iphone because a session could not be started with the iphone. Please help me..

    I want to backup my phone before upgrading to ios5 but I get an error message: itunes could not back up the iphone because a session could not be started with the iphone. I want to go to ios5, but I do not want to lose everything. I've gone to my device under preferences and I have no backup currently.
    I have a Verizon Iphone 4 and a PC.
    Please help me..

    Hi Judy,
    Im using windows 7 and im not a computer wizard, i've tried the method by using the instruction for Win7 but it does not work, same problem still exist.
    Could uninstall itunes and reinstall it back on my pc fix my problem, please advise...... Many Thanks!
    VBR,
    ray

Maybe you are looking for