Psuedocode to java. help needed if poss

i need to convert the following into java, but i am not sure how to output it..
Roll a 12 sided die to choose a number between 1...12
while the user has not made an incorrect guess
ask the user if the next number will be higher or lower
choose random number
if users guess is correct
increment count of correct guesses
update the stored current number
end if
end while
tell the user how many correct guesses there are
any help would be greatful, i am a beginning so go easy!!!
thanks alot
stevie

hey, sorry if i've caused a 'cross post', i am not too sure what it is but i hope i haven't done anything wrong! so far i am just trying to put a basic program together before building on it..
import java.util.scanner;
public class dice
public static void main (String [] args)
Scanner in = new Scanner(System.in);
Random rnd = new Random();
System.out.print("input a number between one and twelve")     int r =in.nextInt;
               int r = rnd.nextInt(12) + 1;
          System.out.println(r);
i know this has errors, but i was just hoping for a hint/clue for the basic program before researching more to build on it.. hope this code will help. reply when you can, thank you very much
stevie

Similar Messages

  • Java help needed-Inventory System

    I urgently need help in finishing my java inventory project for school. Can anyone help me usin files and streams to get the program to save data and help me get the menu to work pls THANKS> Heres the source code below:
    // TextForm.java
    // A simple label/field form panel
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    public class TextForm extends JPanel {
    private JTextField[] fields;
    // Create a form with the specified labels, tooltips, and sizes.
    public TextForm(String[] labels,
    int[] widths, String[] tips) {
    super(new BorderLayout());
    JPanel labelPanel = new JPanel(new GridLayout(labels.length, 1));
    JPanel fieldPanel = new JPanel(new GridLayout(labels.length, 1));
    add(labelPanel, BorderLayout.WEST);
    add(fieldPanel, BorderLayout.CENTER);
    fields = new JTextField[labels.length];
    for (int i=0; i < labels.length; i+=1) {
    fields[i] = new JTextField();
    if (i < tips.length) fields.setToolTipText(tips[i]);
    if (i < widths.length) fields[i].setColumns(widths[i]);
    JLabel lab = new JLabel(labels[i], JLabel.RIGHT);
    lab.setLabelFor(fields[i]);
    labelPanel.add(lab);
    JPanel p = new JPanel(new FlowLayout(FlowLayout.LEFT));
    p.add(fields[i]);
    fieldPanel.add(p);
    JScrollBar JScrollBar = new JScrollBar();
    JScrollBar vbar = new JScrollBar(JScrollBar.VERTICAL, 30, 40, 0, 300);
    add(vbar, BorderLayout.EAST);
    public String getText(int i) {
    return( fields[i].getText() );
    public static void main(String[] args) {
    String[] labels = { "115ml Medicine", "236.60ml Water-clear", "236.60 Water-Amber", "250ml Irish Moss",
    "250ml Sauce", "355ml Water", "380ml Juice", "473ml Vinegar", "500ml Water", "500 ml Blue Water", "600ml Water",
    "750ml Syrup/honey", "900ml Disinfectant", "1000ml Syrup", "1500ml Water", "Total # caps:" };
    int[] widths = { 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12 ,12 };
    String[] descs = { "", "Enter Quantity" };
    final TextForm form = new TextForm(labels, widths, descs);
    JButton submit = new JButton("Save Inventory");
    JButton cancel = new JButton( "Cancel");
    submit.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    JOptionPane.showConfirmDialog(null,"Are you sure you want to save this record?");
    JOptionPane.showMessageDialog(null, " Inventory status updated");
    JOptionPane.showConfirmDialog(null, "Do you want to exit?");
    JFrame f = new JFrame("Sweet Inventory System");
    f.getContentPane().add(form, BorderLayout.NORTH);
    JPanel p = new JPanel();
    p.add(submit);
    f.getContentPane().add(p, BorderLayout.CENTER);
    f.pack();
    f.setVisible(true);
    Its error free except i cant see the menubar or get it to save items usin files and streams.
    HELP PLEASE

    TELL ME THE CODE I CAN USE TO MAKE IT SAVE ITEMS LIKE
    IN A TEXT FILE AND HOW CAN I ATTACH IT TO THE SAVE
    BUTTON USIN A LISTENER
    THANKS
    PLS POST HEREPosts like this make me ignore you forever.

  • *Basic* Java help needed...

    I feel like a complete novice for posting this kinda stuff, but i figured somebody would take 5 minutes and help me out. My final in my programming class depends on 2 programs, one of which is giving me some actual trouble.
    What I have to do is create a java applet that allows a user to input their weight, select a planet, and then have their weight converted to what their weight would be on the selected planet. However, if the ouput is higher than 60 pounds, I need a picture of the michelin man to appear and the theme from star wars to play. If it is below 60, A multicolored asterisk should be displayed with applause.
    I will post what code I have already made. Please note: ITS VERY VERY BASIC. I may have overcomplicated some things, and there is always more than one way to do something (in my experience). Also, I kinda just converted a temperature conversion applet, so there may be some extra stuff I don't need.
    Please help.
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    public class tempsapp2 extends Applet implements ActionListener
    Label prompt1;
    TextField input1;
    Label prompt2;
    TextField input2;
    int number1, number2;
    int mercury, venus, earth, mars, jupiter, saturn, neptune, uranus, pluto, result;
    public void init()
    prompt1 = new Label ("Enter your weight:");
    add (prompt1);
    input1 = new TextField (10);
    add (input1);
    prompt2 = new Label ("Enter the Number of the Planet you would like to have your weight converted to:");
    add (prompt2);
    input2 = new TextField (10);
    add (input2);
    input2.addActionListener(this);
    add (input2);
    public void paint (Graphics g)
    number1 = Integer.parseInt(input1.getText());
    number2 = Integer.parseInt(input2.getText());
    mercury = (number1*3780)/1000;
    venus = (number1*9070)/1000;
    earth = (number1*10)/1000;
    mars = (number1*3770)/1000;
    saturn = (number1*9160)/1000;
    uranus = (number1*8890)/1000;
    neptune = (number1*1125)/1000;
    jupiter =  (number1*2364)/1000;
    pluto = (number1*670)/1000;
    if(number2==1)
    g.drawString("Your weight on Mercury would be "+mercury+" lbs",100,150);
    else if(number2==2)
    g.drawString("Your weight on Venus would be "+venus+" lbs",100,150);
    else if(number2==3)
    g.drawString("Your weight on Earth would be "+earth+" lbs",100,150);
    else if(number2==4)
    g.drawString("Your weight on Mars would be "+mars+" lbs",100,150);
    else if(number2==5)
    g.drawString("Your weight on Jupiter would be "+jupiter+" lbs",100,150);
    else if(number2==6)
    g.drawString("Your weight on Saturn would be "+saturn+" lbs",100,150);
    else if(number2==7)
    g.drawString("Your weight on Uranus would be "+uranus+" lbs",100,150);
    else if(number2==8)
    g.drawString("Your weight on Neptune would be "+neptune+" lbs",100,150);
    else if(number2==9)
    g.drawString("Your weight on Pluto would be "+pluto+" lbs",100,150);
    public void actionPerformed(ActionEvent evt)
      number1 = Integer.parseInt(input1.getText());
      number2 = Integer.parseInt(input2.getText());
      repaint();
    }

    I am guessing that you are wondering where to go from here. If so http://java.sun.com/products/plugin/1.5.0/demos/applets/Animator/Animator.java may prove helpful.
    Also I would recommend using arrays of planet names and weight multipliers. It could make your code a lot less cumbersome.

  • Java help needed(PLEASE)

    I have a Question for all you gifted people:
    I am designing a sort of quiz which takes questions and three possible answers from a database(which also holds the real answer).It prints these on the dos screen and I then have a System.in statement which allows the user to enter his or her answer (eg A,B,C or 1,2,3). I need a way of adding up the score at the end!!I was thinking of storing there answers in an array and compairing there answer to my correct answer in the database and if it is the same add 1 and if it not the same add 0???
    How would i write the System.in answers into an array and add them up???
    These are my thoughts on how to do this i would love to hear yours!! And also a help with writing the code for the above system of scoreing would be GREATLY appriciated!!
    thanks everyone,
    james.

    As mathuoa pointed out, since you already display the 3 possible answers to the user, get them into an array and display them on the screen. Then, as the user enters an answer, compare them with the three answers and if it is correct, update the score variable as such. If you want the history of answers that the user has given, then u will have to use a Vector/List/some such collection object to hold the user's answers.
    java.util.Vector answers = new java.util.Vector();
    answers.add(usersAnswer1);
    answers.add(usersAnswer2);
    Then, to get the entries,
    for(Enumeration e = answers.elements(); e.hasMoreElements();)
    System.out.println(e.nextElement());
    //Do something with the answer.
    This is one possible way of getting the answers from the user!

  • Calling perl script from java ---help needed

    I haven't been doing a lot with java lately and i'm building an app with netbeans and having some difficulty with my button calling an outside perl script I'm pasting the code and error below...any help would be greatly appreciated. It's running on fedora 9 pretty much default install...
    thanks.
    code:
    Runtime r = Runtime.getRuntime();
    Process p = null;
    String s = null;
    String cmd123[] = { "perl /home/deaddev/test1.pl" };
    try {
    p = r.exec(cmd123);
    catch {
    foo bar/etc/etc
    error:
    Oct 12, 2008 4:09:37 PM photomainmgr readToPerlActionPerformed
    SEVERE: null
    java.io.IOException: Cannot run program "perl /home/deaddev/test1.pl": java.io.IOException: error=2, No such file or directory
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:474)
    at java.lang.Runtime.exec(Runtime.java:610)
    at java.lang.Runtime.exec(Runtime.java:483)
    at photomainmgr.readToPerlActionPerformed(photomainmgr.java:117)
    at photomainmgr.access$000(photomainmgr.java:21)
    at photomainmgr$1.actionPerformed(photomainmgr.java:54)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)
    at java.awt.Component.processMouseEvent(Component.java:6101)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3276)
    at java.awt.Component.processEvent(Component.java:5866)
    at java.awt.Container.processEvent(Container.java:2105)
    at java.awt.Component.dispatchEventImpl(Component.java:4462)
    at java.awt.Container.dispatchEventImpl(Container.java:2163)
    at java.awt.Component.dispatchEvent(Component.java:4288)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
    at java.awt.Container.dispatchEventImpl(Container.java:2149)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4288)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
    Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
    at java.lang.ProcessImpl.start(ProcessImpl.java:81)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:467)
    ... 30 more
    error executing perl /home/deaddev/test1.pl

    jschell wrote:
    sabre150 wrote:
    As and alternative you can useString cmd123 = "perl /home/deaddev/test1.pl";Using the single string approach YOU have to do any quoting so with this line no quoting takes place and the script /home/deaddev/test1.pl will be executed.Although that should be true apparently it isn't. I have just run  
    Process p = Runtime.getRuntime().exec("perl /home/sabre/work/dev/perl/xxx.pl");
    new Thread(new SyncPipe(p.getErrorStream(), System.err)).start();
    new SyncPipe(p.getInputStream(), System.out).run();
    int returnCode = p.waitFor();
    System.out.println("Return code = " + returnCode);which correctly executes the perl script xxx.pl.
    P.S. SyncPipe is a Runnable that copies an InputStream to an OutputStream.
    Edited by: sabre150 on Oct 14, 2008 9:19 AM
    Interesting! Even though Runtime.exec() works with a single String, ProcessBuilder fails with this approach! You have to split the argument string. This certainly looks like a bug! Some while ago I looked at the source for Runtime.exec() to look at the differences between Runtime.exec() and ProcessBuilder and found that behind the scenes Runtime.exec() uses ProcessBuilder.
    More research is required.

  • New to Java:   Help Needed

    Hi,
    I am writing a utility to monitor all the objects created by my application. I want to be able to get not only values of class variables(for which the reflection package seems pretty useful), but also instance variables.
    For example.
    public class myClass {
    //Constructor
    public myClass(int i) {
    // another class instantiates this one
    myClass mc = new myClass(10);
    myClass mc1 = new myClass(20);
    I need to keep track of the the handles mc and mc1 and the
    other initializations they do based on the value passed at runtime.
    Is there a way to to this. Or even better, is there someplace in Java which stores all the objects instantiated and their handles?
    Any suggestions would be greatly appreciated.
    Thnx
    cvsan

    How do I access private and proteced variables. By default only the public variables are accessible via the reflect class as in the example below.
    Class c = rc.getClass();
    String s = c.getName();
    System.out.println(s);
    try { abcField = c.getField("abc");
    where abc is a public instance variable. If abc is a private instance variable, the above example fails.
    Is there any way to override the data hiding feature of Java?
    Thanks
    cvsan

  • New to java,,,help needed urgently

    I am geeting a compile error..."cannot resolve symbol" in my main class. The program is supposed to prompt the user for five sets of data, and calculate the tax and total of the entered products and print it back to the screen, it is also supposed to calculate the cheapest and most expensive item and print them back. can someone pls shed some light on this error msg, as I cant seem to get my head around it.
    import java .io.*;
    import java.util.StringTokenizer;
    import java.text.NumberFormat;
    import java.util.Locale;
    //set up a class to call on the constructors from the catalogueitem class
    public class Myassg4
         private static final int MAX = 2;//sets the length to 2
         private static CatalogueItem[] prodlist ;//sets array for product list
         NumberFormat cash = NumberFormat.getCurrencyInstance(new Locale("en","AU"));
         private static void main(String[] args) throws IOException
         {//declare the variables and initialize
         double preTotal = 0.00;
         String inString;
         double maximum, lowest;
         double sum = 0.00;
         BufferedReader stdin = new BufferedReader (new
         InputStreamReader(System.in));
         prodlist = new CatalogueItem[];//sets the length (THIS IS WHERE THE PROBLEM OCCURS!!!!)
    System.out.println("Enter 5 sets of data");
         //loop through the array and read the data in
         for(int i = 0;i <prodlist.length;i++)
              inString = stdin.readLine();
              //create a String Tokenizer to read the data separately
              StringTokenizer tok = new StringTokenizer(inString, ":");
    prodlist[i] = new CatalogueItem(tok.nextToken(), tok.nextToken(),
    Double.parseDouble(tok.nextToken()));
    }//end of loop
    //create a header and print the data back to the screen
    System.out.println();
    System.out.println("LISTING OF ALL GOODS");
    System.out.println();
    System.out.println("Cat\tDescription\tExTax\tTax\tIncTax");
    System.out.println("___\t___________\t_____\t___\t______");
    System.out.println();
    for(int j = 0;j <prodlist.length;j++){
    System.out.println(prodlist[j].getCatno()+"\t"+prodlist[j].getDesc()+
    "\t"+prodlist[j].getPrice()+"\t"+prodlist[j].getTax()
    +"\t"+prodlist[j].getIncTax());
    I have errors every where the prodlist is used, I know I am not initializing it correctly but dont know what the alternatives are.

    daniel here is the entire code if you do get a chance can you pls have a look at it for me thanks.
    import java .io.*;
    import java.util.StringTokenizer;
    import java.text.NumberFormat;
    import java.util.Locale;
    //set up a class to call on the constructors from the catalogueitem class
    public class Myassg4
         private static final int MAX = 2; //sets the length to 2
         private static CatalogueItem[] prodlist; //sets array for product list
         NumberFormat cash = NumberFormat.getCurrencyInstance(new Locale("en","AU"));
         private static void main(String[] args) throws IOException
         {//declare the variables and initialize
         double preTotal = 0.00;
         String inString;
         double maximum, lowest;
         double sum = 0.00;
         BufferedReader stdin = new BufferedReader (new
         InputStreamReader(System.in));
         prodlist = new CatalogueItem[5];//sets the length
         System.out.println("Enter 5 sets of data");
         //loop through the array and read the data in
         for(int i = 0;i <prodlist.length;i++)
              inString = stdin.readLine();
              //create a String Tokenizer to read the data separately
              StringTokenizer tok = new StringTokenizer(inString, ":");
    prodlist[i] = new CatalogueItem(tok.nextToken(), tok.nextToken(),
    Double.parseDouble(tok.nextToken()));
    }//end of loop
    //create a header and print the data back to the screen
    System.out.println();
    System.out.println("LISTING OF ALL GOODS");
    System.out.println();
    System.out.println("Cat\tDescription\tExTax\tTax\tIncTax");
    System.out.println("___\t___________\t_____\t___\t______");
    System.out.println();
    for(int j = 0;j <prodlist.length;j++){
    System.out.println(prodlist[j].getCatno()+"\t"+prodlist[j].getDesc()+
    "\t"+prodlist[j].getPrice()+"\t"+prodlist[j].getTax()
    +"\t"+prodlist[j].getIncTax());
    //use this data and call the cheapest method to print
    //the cheapest goods in the catalogue
    System.out.println();
    System.out.println("CHEAPEST GOODS IN THE CATALOGUE");
    System.out.println();
    lowest = cheapest(prodlist, MAX);
    System.out.println("Cat\tDescription\tExTax\tTax\tIncTax");
    System.out.println("___\t___________\t_____\t___\t______");
    System.out.println();
    for(int k = 0;k <prodlist.length;k++){
    if(prodlist[k].getTaxInc == lowest)
    System.out.println(prodlist[k].Catno()+"\t"+prodlist[k].getDesc()+
    "\t"+prodlist[k].getPrice()+"\t"+prodlist[k].getTax()
    +"\t"+prodlist[k].getIncTax());
    //use the listing of all goods and call the most expensive method
    //to calculate and display back on screen
    System.out.println();//create two lines of space in between
    System.out.println();
    System.out.println("MOST EXPENSIVE GOODS IN THE CATALOGUE");
    System.out.println();
    maximun = expensive(prodlist, MAX);
    System.out.println("Cat\tDescription\tExTax\tTax\tIncTax");
    System.out.println("___\t___________\t_____\t___\t______");
    System.out.println();
    for(int l = 0;l < prodlist.length;l++){
    if(prodlist[l].getTaxInc == maximum)
    System.out.println(prodlist[l].Catno()+"\t"+prodlist[l].getDesc()+
    "\t"+prodlist[l].getPrice()+"\t"+prodlist[l].getTax()
    +"\t"+prodlist[l].getIncTax());
    //print the pretax worth of goods by calling the method and display
    System.out.println();//create a two lines of space in between
    System.out.println();
    System.out.println("TOTAL OF PRE-TAX WORTH OF CATALOGUE ITEMS: "+preTaxWorth
    (prodlist));
    //print the avg tax payable per item
    System.out.println();
    System.out.println("AVERAGE AMOUNT OF TAX PAYABLE PER ITEM:"+avgTax
    (prodlist));
    //declare the other methods within the scope of the main class
    public static double cheapest(CatalogueItem[] prodlist, int size)
         double lowest = prodlist[0].getIncTac();
         for(int i = 0; i < size;i++)
              if(prodlist.getIncTax() < lowest)
              lowest = prodlist[i].getIncTax();
         return lowest;
    public static double expensive(CatalogueItem[] prodlist, int size)
         double maximum = prodlist[0].getTaxInc();
         for(int i = 0; i < size; i++)
              if(prodlist[i].getIncTax() > maximum)
              maximum = prodlist[i].getIncTax();
         return maximum;
    public static double preTaxWorth(CatalogueItem[] prodlist)
    {//add all the getPrice's in together
    double preTax = 0; //prodlist[0].getPrice();
    for(int i =0; i <prodlist.length; i++)
         preTax += prodlist[i].getPrice();
    return preTax;
    public static double avgTax(CatalogueItem[] prodlist)
    {//run through the array and add all the getTax amounts up.
         double sum = 0;
         for(int i = 0; i < prodlist.length; i++)
              sum = sum + prodlist[i].getTax();
         //to get the avg we divide the sum by the MAX number of entries
         double Total = sum / MAX;
         return Total;
    }//end of main class
    //CatalogueItem class      
    //catalogue item class
    //ensure that the accesors and mutators
    //are visible and cannot be overridden
    class CatalogueItem
    //declare the data types
    private String catno;
    private String desc;
    private double price;     
    //declare the taxation rate constant
    //but make it visible
    public CatalogueItem(){
         catno = " ";
         desc = " ";
         double price;
    //declare the full constructor
    CatalogueItem (String inCatno, String inDesc, double Price)
         inCatno = catno;
         inDesc = desc;
         Price = price;
    //name accessor---not overidable
    public final String getCatno()
         return catno;
    //name product description accessor--not overidable
    public final String getDesc()
         return desc;
    //name the extax method
    public double getPrice()
         return price;
    //tax utility method
    public double Tax()
    double Tax;     
         Tax = 00.15 * getPrice();
         return Tax;
    //Including Tax method
    public double IncTax()
         double IncTax;
         IncTax = Tax() + getPrice();
         return IncTax;

  • Set Pasword in any folder through java (HELP NEEDED)

    hi i want know it is possibel in java i m set password in any folder of my windows if it is so reply me soon .
    i m waiting for reply

    In java only - no.
    If there is a command line tool that does it then you can use Runtime.exec() with an OS specific command. Presumably you are talking about windows so you might look in the appropriate resource kit. That is probably the most likely location for a command. But it could be somewhere else too.
    If you can't find a command then you would have to use JNI.

  • Some java help needed!!!!

    Exception in thread "main" java.lang.NullPointerException
         at Standings.<init>(Standings.java:15)
         at Client.main(Client.java:21)
    this is my program and I dont understand what is going wrong, I am also including the 2 classes that complement it.
    class 1
    public class Team
    // Declaring Private Variables
    private double wins;
    private double loses;
    private String Name;
    public Team()
         Name="";
         wins=0;
         loses=0;
    public Team(String t, double w, double l)
         Name=t;
         wins=w;
         loses=l;
    public void setName (String n)
         Name=n;
    public void setWins (double w)
         wins=w;
    public void setLoses (double l)
         loses=l;
    public String getName ()
         return Name;
    public double getWins ()
         return wins;
    public double getLoses ()
         return loses;
    public String toString ()
         String toString=Name + " " + wins + " " + loses;
         return toString;
    public boolean equals (Team p1, Team p2)
         if ((p1.Name.equals(p2.Name))&&(p1.wins==p2.wins) && (p1.loses==p2.loses))
              return true;
         else
              return false;
    class 2
    public class Standings
    private Team [] teams;
    private String [] steams;
    public Standings (Team [] arr)
         for(int i=0;i<arr.length;i++)
              teams[i] = new Team(arr.getName(), arr[i].getWins(), arr[i].getLoses());
    public Team [] toString2 ()
              return teams;
    client program
    import java.text.DecimalFormat;
    import java.util.Scanner;
    import java.io.File;
    import java.io.IOException;
    public class Client
    public static void main( String [] args ) throws IOException
         //first let's create an array of football teams
         Team [] array = new Team[5];
         array[0] = new Team("Alabama", 6, 6);
         array[1] = new Team("Georgia", 7, 4);
         array[2] = new Team("Tennessee", 8, 3);
         array[3] = new Team("Vanderbilt", 4, 8);
         array[4] = new Team("Mississippi", 1, 6);
         // now instantiate the team calling the overloaded constructor
         Standings temp = new Standings(array);
         // now let's print the team (call toString)
         System.out.println(temp.toString());
    //Standings another = new Standings( temp );

    private Team [] teams;You never allocated this array, as in:
    teams = new Team[size];
    so when you get to this line:
    teams[ i ] = new Team(...);teams is null, ergo the NullPointerException.

  • Java Help Needed

    In the below program i want to place some code and i need to know what code to place and where. I want the code to speed up the program by 50 times what it is know.
    Its quite a hard question since if asked alot of people and they don't seem to know.
    import SpikeLib.*;
    public class SpikeOctagon
    public static void main (String args [] )
    SpikeWindow window;
    Spike mySpike;
    mySpike = new Spike ();
    window = new SpikeWindow ();
    window.addSpike (mySpike);
    mySpike.setColour (Spike.RED, Spike.PINK);
    mySpike.moveNorth();
    mySpike.moveNorth();
    mySpike.moveNorth();
    mySpike.moveNorthWest();
    mySpike.moveNorthWest();
    mySpike.moveNorthWest();
    mySpike.moveWest();
    mySpike.moveWest();
    mySpike.moveWest();
    mySpike.moveSouthWest();
    mySpike.moveSouthWest();
    mySpike.moveSouthWest();
    mySpike.moveSouth();
    mySpike.moveSouth();
    mySpike.moveSouth();
    mySpike.moveSouthEast();
    mySpike.moveSouthEast();
    mySpike.moveSouthEast();
    mySpike.moveEast();
    mySpike.moveEast();
    mySpike.moveEast();
    mySpike.moveNorthEast();
    mySpike.moveNorthEast();
    mySpike.moveNorthEast();
    cheers

    I know how to get that 50X speedup. It's easy - get a computer that's 50X faster than the one you're running on now.
    This is one of the worst requests I've seen posted in a while. The OP is a total, utter eejit. NO ONE would be able to make a start on this preposterous question based on the code that's been posted.
    If the quality of the question is indicative of the quality of the code, no one it's a slow pig. - MOD

  • Logic pro x keeps crashing when loading different projects, help needed if poss...

    Hi guys, hope someone can help. Logic pro x keeps crashing but only when loading up certain projects. It's getting pretty annoying. I've tried to update everything that i can think of to it's newest update. I bought the macbook pro 15" retina 2.3 a couple of months ago. I run quite alot of different plugins. I have no idea about crash logs but i can put one up in another post if that helps?
    Any ideas would be apprreciated!!!
    I'm running logic pro x and pro tools 11 with mostly waves and komplete ultimate 9 but tons of other stuff too and it is a macbook pro 2013 15" retina display with 16gig of ram, 512 hard drive

    Process:         Logic Pro X [420]
    Path:            /Applications/Logic Pro X.app/Contents/MacOS/Logic Pro X
    Identifier:      com.apple.logic10
    Version:         10.0.5 (3130.19)
    Build Info:      MALogic-3130019000000000~1
    App Item ID:     634148309
    App External ID: 86112663
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [163]
    Responsible:     Logic Pro X [420]
    User ID:         501
    Date/Time:       2014-01-06 16:54:12.357 +0000
    OS Version:      Mac OS X 10.9.1 (13B3116)
    Report Version:  11
    Anonymous UUID:  884CD79A-EF10-23F5-7AFA-0406D7D6E990
    Crashed Thread:  13  ProcessThread4/1024
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000122
    VM Regions Near 0x122:
    -->
        __TEXT                 00000001072b3000-0000000108331000 [ 16.5M] r-x/rwx SM=COW  /Applications/Logic Pro X.app/Contents/MacOS/Logic Pro X
    Thread 0:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib                  0x00007fff8ae06a1a mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x00007fff8ae05d18 mach_msg + 64
    2   com.apple.CoreGraphics                  0x00007fff8cccffc8 _CGSReenableUpdateForConnection + 91
    3   com.apple.CoreGraphics                  0x00007fff8cccfcbf CGSUpdateManager::enable_update(unsigned long long) + 267
    4   com.apple.AppKit                        0x00007fff8c0d4553 NSPerformWithScreenUpdatesDisabled + 76
    5   com.apple.AppKit                        0x00007fff8c3075e0 -[NSWindow _setModalWindowLevel] + 113
    6   com.apple.AppKit                        0x00007fff8c2fe965 -[NSWindow _setModal:] + 285
    7   com.apple.AppKit                        0x00007fff8c2fdfd4 -[NSApplication _orderFrontModalWindow:relativeToWindow:] + 614
    8   com.apple.AppKit                        0x00007fff8c2fda61 -[NSApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector :contextInfo:] + 793
    9   com.apple.AppKit                        0x00007fff8c307438 -[NSApplication beginModalSessionForWindow:] + 37
    10  com.apple.logic10                       0x000000010776f099 0x1072b3000 + 4964505
    11  com.apple.logic10                       0x0000000107a0f77d 0x1072b3000 + 7718781
    12  com.apple.logic10                       0x0000000107a0ee6d 0x1072b3000 + 7716461
    13  com.apple.logic10                       0x0000000107a359ae 0x1072b3000 + 7874990
    14  com.apple.logic10                       0x00000001072b73bb 0x1072b3000 + 17339
    15  com.apple.logic10                       0x0000000107448e40 0x1072b3000 + 1662528
    16  com.apple.logic10                       0x0000000107497807 0x1072b3000 + 1984519
    17  com.apple.logic10                       0x00000001077a60d9 0x1072b3000 + 5189849
    18  com.apple.logic10                       0x0000000107770a0c 0x1072b3000 + 4971020
    19  com.apple.logic10                       0x0000000107775c48 0x1072b3000 + 4992072
    20  com.apple.logic10                       0x0000000107775da0 0x1072b3000 + 4992416
    21  com.apple.AppKit                        0x00007fff8c2804c1 -[NSDocument _initWithContentsOfURL:ofType:error:] + 178
    22  com.apple.AppKit                        0x00007fff8c280176 -[NSDocument initWithContentsOfURL:ofType:error:] + 239
    23  com.apple.AppKit                        0x00007fff8c45929b -[NSDocumentController makeDocumentWithContentsOfURL:ofType:error:] + 772
    24  com.apple.logic10                       0x0000000107883ea7 0x1072b3000 + 6098599
    25  com.apple.AppKit                        0x00007fff8c466e62 -[NSDocumentController(NSDeprecated) openDocumentWithContentsOfURL:display:error:] + 820
    26  com.apple.logic10                       0x000000010779a68c 0x1072b3000 + 5142156
    27  com.apple.AppKit                        0x00007fff8c347f65 __69-[NSApplication(NSAppleEventHandling) _handleAEOpenDocumentsForURLs:]_block_invoke + 1651
    28  com.apple.AppKit                        0x00007fff8bfae935 -[NSApplication _reopenWindowsAsNecessaryIncludingRestorableState:registeringAsReady:completion Handler:] + 125
    29  com.apple.AppKit                        0x00007fff8c347869 -[NSApplication(NSAppleEventHandling) _handleAEOpenDocumentsForURLs:] + 306
    30  com.apple.AppKit                        0x00007fff8bfae2bb -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 450
    31  com.apple.Foundation                    0x00007fff9171feaa -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 294
    32  com.apple.Foundation                    0x00007fff9171fd1d _NSAppleEventManagerGenericHandler + 106
    33  com.apple.AE                            0x00007fff8fd60e1f aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 381
    34  com.apple.AE                            0x00007fff8fd60c32 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 31
    35  com.apple.AE                            0x00007fff8fd60b36 aeProcessAppleEvent + 315
    36  com.apple.HIToolbox                     0x00007fff8e2385f1 AEProcessAppleEvent + 56
    37  com.apple.AppKit                        0x00007fff8bfaa0f6 _DPSNextEvent + 1026
    38  com.apple.AppKit                        0x00007fff8bfa98db -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
    39  com.apple.AppKit                        0x00007fff8bf9d9cc -[NSApplication run] + 553
    40  com.apple.AppKit                        0x00007fff8bf88803 NSApplicationMain + 940
    41  com.apple.logic10                       0x000000010776f655 0x1072b3000 + 4965973
    42  libdyld.dylib                           0x00007fff845595fd start + 1
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib                  0x00007fff8ae0b662 kevent64 + 10
    1   libdispatch.dylib                       0x00007fff872ab43d _dispatch_mgr_invoke + 239
    2   libdispatch.dylib                       0x00007fff872ab152 _dispatch_mgr_thread + 52
    Thread 2:: com.apple.NSURLConnectionLoader
    0   libsystem_kernel.dylib                  0x00007fff8ae06a1a mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x00007fff8ae05d18 mach_msg + 64
    2   com.apple.CoreFoundation                0x00007fff8ba61315 __CFRunLoopServiceMachPort + 181
    3   com.apple.CoreFoundation                0x00007fff8ba60939 __CFRunLoopRun + 1161
    4   com.apple.CoreFoundation                0x00007fff8ba60275 CFRunLoopRunSpecific + 309
    5   com.apple.Foundation                    0x00007fff91765907 +[NSURLConnection(Loader) _resourceLoadLoop:] + 348
    6   com.apple.Foundation                    0x00007fff9176570b __NSThread__main__ + 1318
    7   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    8   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    9   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 3:: com.apple.CFSocket.private
    0   libsystem_kernel.dylib                  0x00007fff8ae0a9aa __select + 10
    1   com.apple.CoreFoundation                0x00007fff8baacd43 __CFSocketManager + 867
    2   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    3   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    4   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 4:
    0   libsystem_kernel.dylib                  0x00007fff8ae06a1a mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x00007fff8ae05d18 mach_msg + 64
    2   com.apple.CoreFoundation                0x00007fff8ba61315 __CFRunLoopServiceMachPort + 181
    3   com.apple.CoreFoundation                0x00007fff8ba60939 __CFRunLoopRun + 1161
    4   com.apple.CoreFoundation                0x00007fff8ba60275 CFRunLoopRunSpecific + 309
    5   com.apple.Foundation                    0x00007fff91767a7c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 253
    6   com.apple.Foundation                    0x00007fff917b002b -[NSRunLoop(NSRunLoop) runUntilDate:] + 78
    7   com.apple.logic10                       0x00000001074af349 0x1072b3000 + 2081609
    8   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    9   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    10  libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 5:: SeqTimer
    0   libsystem_kernel.dylib                  0x00007fff8ae0a716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff849fcc77 _pthread_cond_wait + 787
    2   com.apple.CoreServices.CarbonCore          0x00007fff8829ec37 TSWaitOnConditionTimedRelative + 148
    3   com.apple.CoreServices.CarbonCore          0x00007fff8829e859 TSWaitOnSemaphoreCommon + 424
    4   com.apple.CoreServices.CarbonCore          0x00007fff88280e09 TimerThread + 87
    5   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    6   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    7   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 6:
    0   libsystem_kernel.dylib                  0x00007fff8ae06a1a mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x00007fff8ae05d18 mach_msg + 64
    2   com.apple.audio.midi.CoreMIDI           0x0000000108fff5a7 XServerMachPort::ReceiveMessage(int&, void*, int&) + 125
    3   com.apple.audio.midi.CoreMIDI           0x000000010901a1c1 MIDIProcess::RunMIDIInThread() + 121
    4   com.apple.audio.midi.CoreMIDI           0x000000010900063c XThread::RunHelper(void*) + 10
    5   com.apple.audio.midi.CoreMIDI           0x00000001090002a1 CAPThread::Entry(CAPThread*) + 109
    6   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    7   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    8   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 7:: ExtendedAudioFileScheduler::WorkerThreadProc
    0   libsystem_kernel.dylib                  0x00007fff8ae0a716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff849fcc3b _pthread_cond_wait + 727
    2   com.apple.music.apps.MAFiles            0x000000010acb99bb ExtendedAudioFileScheduler::WorkerThreadProc() + 123
    3   com.apple.music.apps.MAFiles            0x000000010acb9659 ExtendedAudioFileScheduler::WorkerThreadProc(void*) + 9
    4   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    5   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    6   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 8:: ExtendedAudioFileScheduler::WorkerThreadProc
    0   libsystem_kernel.dylib                  0x00007fff8ae0a716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff849fcc3b _pthread_cond_wait + 727
    2   com.apple.music.apps.MAFiles            0x000000010acb99bb ExtendedAudioFileScheduler::WorkerThreadProc() + 123
    3   com.apple.music.apps.MAFiles            0x000000010acb9659 ExtendedAudioFileScheduler::WorkerThreadProc(void*) + 9
    4   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    5   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    6   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 9:: com.apple.audio.IOThread.client
    0   libsystem_kernel.dylib                  0x00007fff8ae06a1a mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x00007fff8ae05d18 mach_msg + 64
    2   com.apple.audio.CoreAudio               0x00007fff8b27e918 HALB_MachPort::SendMessageWithReply(unsigned int, unsigned int, unsigned int, unsigned int, mach_msg_header_t*, bool, unsigned int) + 98
    3   com.apple.audio.CoreAudio               0x00007fff8b27e8a6 HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 42
    4   com.apple.audio.CoreAudio               0x00007fff8b27d02e HALC_ProxyIOContext::IOWorkLoop() + 950
    5   com.apple.audio.CoreAudio               0x00007fff8b27cbcd HALC_ProxyIOContext::IOThreadEntry(void*) + 97
    6   com.apple.audio.CoreAudio               0x00007fff8b27ca8d HALB_IOThread::Entry(void*) + 75
    7   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    8   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    9   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 10:: ProcessThread1/1024
    0   GenericMacIntel.dylib                   0x000000011113eab7 void RVerbProcess<float>(WPAPI_1::WavesSoundBuf*, WPAPI_1::WavesSoundBuf*, int, int, int, char*, char*, WPAPI_1::ExternStruct*) + 5543
    1   GenericMacIntel.dylib                   0x000000011113b903 RRVSproc + 83
    2   GenericMacIntel.dylib                   0x0000000121ba099b MultiParallelProcessType<float, 1, 2>::NoneGeneric_ProcessFunc(WPAPI_1::WavesSoundBuf*, int, int, int, WPAPI_1::WavesSoundBuf*, char*, char*, WPAPI_1::ExternStruct*, WPAPI_1::sNativeShellInfo*) + 4923
    3   GenericMacIntel.dylib                   0x0000000121b8fe07 MuiltiParallelProcessTypeFunc + 4583
    4   com.WavesAudio.WaveShell-AU.9.2.80          0x00000001205170c1 WCWaveShell_AU_Base::BaseProcessBufferLists(unsigned int&, AudioBufferList const*, AudioBufferList const*, AudioBufferList*, unsigned int) + 1285
    5   com.WavesAudio.WaveShell-AU.9.2.80          0x00000001205172bc WCWaveShell_AU_Base::BaseRender(unsigned int&, AudioTimeStamp const&, unsigned int) + 464
    6   com.WavesAudio.WaveShell-AU.9.2.80          0x0000000120504978 AUBase::DoRenderBus(unsigned int&, AudioTimeStamp const&, unsigned int, AUOutputElement*, unsigned int, AudioBufferList&) + 128
    7   com.WavesAudio.WaveShell-AU.9.2.80          0x0000000120502031 AUBase::DoRender(unsigned int&, AudioTimeStamp const&, unsigned int, unsigned int, AudioBufferList&) + 377
    8   com.WavesAudio.WaveShell-AU.9.2.80          0x00000001205053cf AUBase::ComponentEntryDispatch(ComponentParameters*, AUBase*) + 819
    9   com.WavesAudio.WaveShell-AU.9.2.80          0x000000012050ad5c ComponentEntryPoint<WCWaveShell_AU_Plugin>::Dispatch(ComponentParameters*, WCWaveShell_AU_Plugin*) + 110
    10  com.apple.audio.toolbox.AudioToolbox          0x00007fff898c8c47 _AT_AudioUnitRender + 204
    11  com.apple.music.apps.MAAudioEngine          0x000000010ae3fd7f CMDAudioUnit::Process(MDPlugInputBusList const*, MDPlugOutputBusList const*, long, long, long, float const*, eProcessLevel) + 3519
    12  com.apple.music.apps.MAAudioEngine          0x000000010adcf37a MDPlug::_Process(MDPlugInputBusList const*, MDPlugOutputBusList const*, long, long, long, float const*, eProcessLevel) + 1370
    13  com.apple.music.apps.MAAudioEngine          0x000000010ada3801 MD::PluginProcess(MDProcInfo*, MDPlug*, float const*, long, long, long, eProcessLevel) + 3921
    14  com.apple.music.apps.MAAudioEngine          0x000000010ada6f23 MD::StreamProcessing(eProcessLevel, long, long, long) + 10163
    15  com.apple.music.apps.MAAudioEngine          0x000000010ada86b1 MD::Process(eProcessLevel) + 2289
    16  com.apple.music.apps.MAAudioEngine          0x000000010adaea58 MD::CallProcessThread1(void*) + 248
    17  libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    18  libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    19  libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 11:: ProcessThread2/1024
    0   libsystem_kernel.dylib                  0x00007fff8ae06a56 semaphore_wait_trap + 10
    1   com.apple.music.apps.MAAudioEngine          0x000000010adaed40 MD::CallProcessThread2(void*) + 448
    2   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    3   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    4   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 12:: ProcessThread3/1024
    0   com.xlnaudio.addictivedrumsvstau          0x000000013f1b406b cAESamplePlayer::RenderMono(float, float const*, float*, float, float, float) + 587
    1   com.xlnaudio.addictivedrumsvstau          0x000000013f1b4333 cAEDirectChain::RenderMix(float, float const*, float, float, bool, bool, float const*, float, float, float*) + 259
    2   com.xlnaudio.addictivedrumsvstau          0x000000013f1b5983 cAEVoice::RenderForMixer(bool*, float* restrict*, float*, float*, float*, float*) + 211
    3   com.xlnaudio.addictivedrumsvstau          0x000000013f1b6e89 cAEVoiceManager::RenderForMixer(bool*, float* restrict*, float*, float*, float*, float*) + 1033
    4   com.xlnaudio.addictivedrumsvstau          0x000000013f1b976d cXDAudioEngine::RenderOneBatch() + 1229
    5   com.xlnaudio.addictivedrumsvstau          0x000000013f1ba3bd cXDAudioEngine::RenderAudio(int, float**, bool*) + 221
    6   com.xlnaudio.addictivedrumsvstau          0x000000013f16094d cXDVST::processReplacing(float**, float**, int) + 93
    7   com.xlnaudio.addictivedrumsvstau          0x000000013f2942bc SymbiosisComponent::renderOutput(int, float const* const*, float**, bool) + 188
    8   com.xlnaudio.addictivedrumsvstau          0x000000013f29452b SymbiosisComponent::render(unsigned int*, AudioTimeStamp const*, unsigned int, unsigned int, AudioBufferList*) + 491
    9   com.xlnaudio.addictivedrumsvstau          0x000000013f296b74 SymbiosisComponent::dispatch(ComponentParameters*) + 1124
    10  com.xlnaudio.addictivedrumsvstau          0x000000013f2970ce SymbiosisEntry + 430
    11  com.apple.audio.toolbox.AudioToolbox          0x00007fff898c8c47 _AT_AudioUnitRender + 204
    12  com.apple.music.apps.MAAudioEngine          0x000000010ae3fd7f CMDAudioUnit::Process(MDPlugInputBusList const*, MDPlugOutputBusList const*, long, long, long, float const*, eProcessLevel) + 3519
    13  com.apple.music.apps.MAAudioEngine          0x000000010adcf37a MDPlug::_Process(MDPlugInputBusList const*, MDPlugOutputBusList const*, long, long, long, float const*, eProcessLevel) + 1370
    14  com.apple.music.apps.MAAudioEngine          0x000000010ada3801 MD::PluginProcess(MDProcInfo*, MDPlug*, float const*, long, long, long, eProcessLevel) + 3921
    15  com.apple.music.apps.MAAudioEngine          0x000000010ada6f23 MD::StreamProcessing(eProcessLevel, long, long, long) + 10163
    16  com.apple.music.apps.MAAudioEngine          0x000000010ada86b1 MD::Process(eProcessLevel) + 2289
    17  com.apple.music.apps.MAAudioEngine          0x000000010adaee8e MD::CallProcessThread3(void*) + 254
    18  libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    19  libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    20  libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 13 Crashed:: ProcessThread4/1024
    0   com.apple.music.apps.MAAudioEngine          0x000000010ada2ac3 MD::PluginProcess(MDProcInfo*, MDPlug*, float const*, long, long, long, eProcessLevel) + 531
    1   com.apple.music.apps.MAAudioEngine          0x000000010ada6f23 MD::StreamProcessing(eProcessLevel, long, long, long) + 10163
    2   com.apple.music.apps.MAAudioEngine          0x000000010ada86b1 MD::Process(eProcessLevel) + 2289
    3   com.apple.music.apps.MAAudioEngine          0x000000010adaf09e MD::CallProcessThread4(void*) + 254
    4   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    5   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    6   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 14:: ProcessThread5/1024
    0   libsystem_kernel.dylib                  0x00007fff8ae06a56 semaphore_wait_trap + 10
    1   com.apple.music.apps.MAAudioEngine          0x000000010adaf370 MD::CallProcessThread5(void*) + 448
    2   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    3   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    4   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 15:: ProcessThread6/1024
    0   libsystem_kernel.dylib                  0x00007fff8ae06a56 semaphore_wait_trap + 10
    1   com.apple.music.apps.MAAudioEngine          0x000000010adaf580 MD::CallProcessThread6(void*) + 448
    2   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    3   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    4   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 16:: ProcessThread7/1024
    0   libsystem_kernel.dylib                  0x00007fff8ae06a56 semaphore_wait_trap + 10
    1   com.apple.music.apps.MAAudioEngine          0x000000010adaf790 MD::CallProcessThread7(void*) + 448
    2   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    3   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    4   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 17:: ProcessThread15/1024
    0   libsystem_kernel.dylib                  0x00007fff8ae06a56 semaphore_wait_trap + 10
    1   com.apple.music.apps.MAAudioEngine          0x000000010adb0810 MD::CallProcessThread15(void*) + 448
    2   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    3   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    4   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 18:: FileIOThread
    0   libsystem_kernel.dylib                  0x00007fff8ae06a56 semaphore_wait_trap + 10
    1   com.apple.music.apps.MAAudioEngine          0x000000010adcb42c 0x10ad9d000 + 189484
    2   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    3   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    4   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 19:
    0   libsystem_kernel.dylib                  0x00007fff8ae0a9aa __select + 10
    1   com.apple.logic10                       0x0000000107b40b7e 0x1072b3000 + 8969086
    2   com.apple.logic10                       0x000000010774faed 0x1072b3000 + 4836077
    3   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    4   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    5   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 20:
    0   libsystem_kernel.dylib                  0x00007fff8ae06a1a mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x00007fff8ae05d18 mach_msg + 64
    2   com.apple.CoreFoundation                0x00007fff8ba61315 __CFRunLoopServiceMachPort + 181
    3   com.apple.CoreFoundation                0x00007fff8ba60939 __CFRunLoopRun + 1161
    4   com.apple.CoreFoundation                0x00007fff8ba60275 CFRunLoopRunSpecific + 309
    5   com.apple.AppKit                        0x00007fff8c14a1ce _NSEventThread + 144
    6   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    7   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    8   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 21:: Dispatch queue: com.apple.root.default-priority
    0   libsystem_kernel.dylib                  0x00007fff8ae06a1a mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x00007fff8ae05d18 mach_msg + 64
    2   com.apple.CoreFoundation                0x00007fff8ba61315 __CFRunLoopServiceMachPort + 181
    3   com.apple.CoreFoundation                0x00007fff8ba60939 __CFRunLoopRun + 1161
    4   com.apple.CoreFoundation                0x00007fff8ba60275 CFRunLoopRunSpecific + 309
    5   com.apple.Foundation                    0x00007fff91767a7c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 253
    6   com.apple.AppKit                        0x00007fff8c259f06 -[NSAnimation(NSInternal) _runBlocking] + 366
    7   com.apple.AppKit                        0x00007fff8c259d76 -[NSAnimation(NSInternal) _animationThread] + 73
    8   libdispatch.dylib                       0x00007fff872ac1d7 _dispatch_call_block_and_release + 12
    9   libdispatch.dylib                       0x00007fff872a92ad _dispatch_client_callout + 8
    10  libdispatch.dylib                       0x00007fff872ab09e _dispatch_root_queue_drain + 326
    11  libdispatch.dylib                       0x00007fff872ac193 _dispatch_worker_thread2 + 40
    12  libsystem_pthread.dylib                 0x00007fff849fbef8 _pthread_wqthread + 314
    13  libsystem_pthread.dylib                 0x00007fff849fefb9 start_wqthread + 13
    Thread 22:
    0   libsystem_kernel.dylib                  0x00007fff8ae06a1a mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x00007fff8ae05d18 mach_msg + 64
    2   com.apple.CoreFoundation                0x00007fff8ba61315 __CFRunLoopServiceMachPort + 181
    3   com.apple.CoreFoundation                0x00007fff8ba60939 __CFRunLoopRun + 1161
    4   com.apple.CoreFoundation                0x00007fff8ba60275 CFRunLoopRunSpecific + 309
    5   com.apple.CoreFoundation                0x00007fff8bb159d1 CFRunLoopRun + 97
    6   com.spectrasonics.Ruby                  0x0000000128daaa8d std::vector<char*, std::allocator<char*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<char**, std::vector<char*, std::allocator<char*> > >, char* const&) + 4267
    7   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    8   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    9   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 23:
    0   libsystem_kernel.dylib                  0x00007fff8ae0a716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff849fcc3b _pthread_cond_wait + 727
    2   com.spectrasonics.Ruby                  0x0000000128e7f1d4 non-virtual thunk to GOTextList::~GOTextList() + 146602
    3   com.spectrasonics.Ruby                  0x0000000128e7e3eb non-virtual thunk to GOTextList::~GOTextList() + 143041
    4   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    5   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    6   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 24:
    0   libsystem_kernel.dylib                  0x00007fff8ae0a716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff849fcc3b _pthread_cond_wait + 727
    2   com.spectrasonics.Ruby                  0x0000000128e7f1d4 non-virtual thunk to GOTextList::~GOTextList() + 146602
    3   com.spectrasonics.Ruby                  0x0000000128e7e3eb non-virtual thunk to GOTextList::~GOTextList() + 143041
    4   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    5   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    6   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 25:
    0   libsystem_kernel.dylib                  0x00007fff8ae0a716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff849fcc3b _pthread_cond_wait + 727
    2   com.spectrasonics.Ruby                  0x0000000128e7f1d4 non-virtual thunk to GOTextList::~GOTextList() + 146602
    3   com.spectrasonics.Ruby                  0x0000000128e7e3eb non-virtual thunk to GOTextList::~GOTextList() + 143041
    4   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    5   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    6   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 26:
    0   libsystem_kernel.dylib                  0x00007fff8ae0a716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff849fcc3b _pthread_cond_wait + 727
    2   com.spectrasonics.Ruby                  0x0000000128e7f1d4 non-virtual thunk to GOTextList::~GOTextList() + 146602
    3   com.spectrasonics.Ruby                  0x0000000128e7e3eb non-virtual thunk to GOTextList::~GOTextList() + 143041
    4   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    5   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    6   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 27:
    0   libsystem_kernel.dylib                  0x00007fff8ae0a716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff849fcc3b _pthread_cond_wait + 727
    2   com.spectrasonics.Ruby                  0x0000000128e7f1d4 non-virtual thunk to GOTextList::~GOTextList() + 146602
    3   com.spectrasonics.Ruby                  0x0000000128e7e3eb non-virtual thunk to GOTextList::~GOTextList() + 143041
    4   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    5   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    6   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 28:
    0   libsystem_kernel.dylib                  0x00007fff8ae0a716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff849fcc3b _pthread_cond_wait + 727
    2   com.spectrasonics.Ruby                  0x0000000128e7f1d4 non-virtual thunk to GOTextList::~GOTextList() + 146602
    3   com.spectrasonics.Ruby                  0x0000000128e7e3eb non-virtual thunk to GOTextList::~GOTextList() + 143041
    4   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    5   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    6   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 29:
    0   libsystem_kernel.dylib                  0x00007fff8ae0a716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff849fcc3b _pthread_cond_wait + 727
    2   com.spectrasonics.Ruby                  0x0000000128e7f1d4 non-virtual thunk to GOTextList::~GOTextList() + 146602
    3   com.spectrasonics.Ruby                  0x0000000128e7e3eb non-virtual thunk to GOTextList::~GOTextList() + 143041
    4   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    5   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    6   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 30:
    0   libsystem_kernel.dylib                  0x00007fff8ae0a716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff849fcc3b _pthread_cond_wait + 727
    2   com.spectrasonics.Ruby                  0x0000000128e7f1d4 non-virtual thunk to GOTextList::~GOTextList() + 146602
    3   com.spectrasonics.Ruby                  0x0000000128e7e3eb non-virtual thunk to GOTextList::~GOTextList() + 143041
    4   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    5   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    6   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 31:
    0   libsystem_kernel.dylib                  0x00007fff8ae0a716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff849fcc3b _pthread_cond_wait + 727
    2   com.spectrasonics.Ruby                  0x0000000128e7f1d4 non-virtual thunk to GOTextList::~GOTextList() + 146602
    3   com.spectrasonics.Ruby                  0x0000000128e7e3eb non-virtual thunk to GOTextList::~GOTextList() + 143041
    4   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    5   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    6   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 32:
    0   libsystem_kernel.dylib                  0x00007fff8ae0a716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff849fcc3b _pthread_cond_wait + 727
    2   com.spectrasonics.Ruby                  0x0000000128e7f1d4 non-virtual thunk to GOTextList::~GOTextList() + 146602
    3   com.spectrasonics.Ruby                  0x0000000128e7e3eb non-virtual thunk to GOTextList::~GOTextList() + 143041
    4   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    5   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    6   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 33:
    0   libsystem_kernel.dylib                  0x00007fff8ae0a716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff849fcc3b _pthread_cond_wait + 727
    2   com.spectrasonics.Ruby                  0x0000000128e7f1d4 non-virtual thunk to GOTextList::~GOTextList() + 146602
    3   com.spectrasonics.Ruby                  0x0000000128e7f5e1 non-virtual thunk to GOTextList::~GOTextList() + 147639
    4   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    5   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    6   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 34:
    0   libsystem_kernel.dylib                  0x00007fff8ae0a716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff849fcc3b _pthread_cond_wait + 727
    2   com.spectrasonics.Ruby                  0x0000000128e7f1d4 non-virtual thunk to GOTextList::~GOTextList() + 146602
    3   com.spectrasonics.Ruby                  0x0000000128e7f5e1 non-virtual thunk to GOTextList::~GOTextList() + 147639
    4   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    5   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    6   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 35:
    0   libsystem_kernel.dylib                  0x00007fff8ae0a716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff849fcc3b _pthread_cond_wait + 727
    2   com.spectrasonics.Ruby                  0x0000000128e7f1d4 non-virtual thunk to GOTextList::~GOTextList() + 146602
    3   com.spectrasonics.Ruby                  0x0000000128e7f5e1 non-virtual thunk to GOTextList::~GOTextList() + 147639
    4   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    5   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    6   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 36:
    0   libsystem_kernel.dylib                  0x00007fff8ae0a716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff849fcc3b _pthread_cond_wait + 727
    2   com.spectrasonics.Ruby                  0x0000000128e7f1d4 non-virtual thunk to GOTextList::~GOTextList() + 146602
    3   com.spectrasonics.Ruby                  0x0000000128e7f5e1 non-virtual thunk to GOTextList::~GOTextList() + 147639
    4   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    5   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    6   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 37:
    0   libsystem_kernel.dylib                  0x00007fff8ae0a716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff849fcc3b _pthread_cond_wait + 727
    2   com.spectrasonics.Ruby                  0x0000000128e7f1d4 non-virtual thunk to GOTextList::~GOTextList() + 146602
    3   com.spectrasonics.Ruby                  0x0000000128e7f5e1 non-virtual thunk to GOTextList::~GOTextList() + 147639
    4   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    5   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    6   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 38:
    0   libsystem_kernel.dylib                  0x00007fff8ae06a1a mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x00007fff8ae05d18 mach_msg + 64
    2   com.apple.CoreFoundation                0x00007fff8ba61315 __CFRunLoopServiceMachPort + 181
    3   com.apple.CoreFoundation                0x00007fff8ba60939 __CFRunLoopRun + 1161
    4   com.apple.CoreFoundation                0x00007fff8ba60275 CFRunLoopRunSpecific + 309
    5   com.apple.CoreFoundation                0x00007fff8bb159d1 CFRunLoopRun + 97
    6   com.apple.DiscRecording                 0x00007fff8582a15e DRWorkLoop::WorkLoop() + 228
    7   com.apple.DiscRecording                 0x00007fff8582a067 DRWorkLoop::WorkLoopEntry(DRWorkLoop*) + 9
    8   com.apple.DiscRecording                 0x00007fff85829d77 DRThreadObject::StartRoutine(DRThreadObject*) + 125
    9   com.apple.DiscRecording                 0x00007fff85829c11 DRThreadObject::SymbolRoutine(DRThreadObject*) + 9
    10  libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    11  libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    12  libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 39:
    0   libsystem_kernel.dylib                  0x00007fff8ae0ae6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff849fbf08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff849fefb9 start_wqthread + 13
    Thread 40:
    0   libsystem_kernel.dylib                  0x00007fff8ae0aa3a __semwait_signal + 10
    1   libsystem_c.dylib                       0x00007fff8b8a9e60 nanosleep + 200
    2   libsystem_c.dylib                       0x00007fff8b8a9d52 usleep + 54
    3   com.WavesAudio.WaveShell-AU.9.2.80          0x0000000120567754 wvWavesV9_2::wvThread::WCIdleCommandDispatcher::threadMain(void*) + 36
    4   com.WavesAudio.WaveShell-AU.9.2.80          0x000000012051a52d wvWavesV9_2::wvThread::ThreadWrapper(void*) + 24
    5   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    6   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    7   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 41:: PCMVintagePlateHelperThread
    0   libsystem_kernel.dylib                  0x00007fff8ae0aa3a __semwait_signal + 10
    1   libsystem_c.dylib                       0x00007fff8b8a9e60 nanosleep + 200
    2   com.Lexicon.Native.LexVintagePlateAU          0x0000000123bd7920 juce::Thread::sleep(int) + 66
    3   com.Lexicon.Native.LexVintagePlateAU          0x0000000123d8640b cNewHelperThread::KillTime() + 35
    4   com.Lexicon.Native.LexVintagePlateAU          0x0000000123db78b8 cNewHelperThread::run() + 590
    5   com.Lexicon.Native.LexVintagePlateAU          0x0000000123bfad37 juce::Thread::threadEntryPoint() + 77
    6   com.Lexicon.Native.LexVintagePlateAU          0x0000000123c13597 juce::threadEntryProc(void*) + 29
    7   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    8   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    9   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 42:
    0   libsystem_kernel.dylib                  0x00007fff8ae0a716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff849fcc77 _pthread_cond_wait + 787
    2   com.apple.CoreServices.CarbonCore          0x00007fff8829ec37 TSWaitOnConditionTimedRelative + 148
    3   com.apple.CoreServices.CarbonCore          0x00007fff8826ea1f MPWaitForEvent + 187
    4   com.xlnaudio.addictivedrumsvstau          0x000000013f17ba9d NuXThreads::Event::timedWait(int) + 29
    5   com.xlnaudio.addictivedrumsvstau          0x000000013f24160a scAESampleManager::run() + 1194
    6   com.xlnaudio.addictivedrumsvstau          0x000000013f17bdb3 NuXThreads::Thread::Impl::carbonTaskEntryPoint(void*) + 35
    7   com.apple.CoreServices.CarbonCore          0x00007fff8826f90b PrivateMPEntryPoint + 58
    8   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    9   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    10  libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 43:
    0   libsystem_kernel.dylib                  0x00007fff8ae0ae6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff849fbf08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff849fefb9 start_wqthread + 13
    Thread 44:: PCMPlateHelperThread
    0   libsystem_kernel.dylib                  0x00007fff8ae0aa3a __semwait_signal + 10
    1   libsystem_c.dylib                       0x00007fff8b8a9e60 nanosleep + 200
    2   com.Lexicon.Native.LexPlateAU           0x000000015a013870 juce::Thread::sleep(int) + 66
    3   com.Lexicon.Native.LexPlateAU           0x000000015a1c463f cNewHelperThread::KillTime() + 35
    4   com.Lexicon.Native.LexPlateAU           0x000000015a1f477f cNewHelperThread::run() + 539
    5   com.Lexicon.Native.LexPlateAU           0x000000015a036c87 juce::Thread::threadEntryPoint() + 77
    6   com.Lexicon.Native.LexPlateAU           0x000000015a04f4e7 juce::threadEntryProc(void*) + 29
    7   libsystem_pthread.dylib                 0x00007fff849fa899 _pthread_body + 138
    8   libsystem_pthread.dylib                 0x00007fff849fa72a _pthread_start + 137
    9   libsystem_pthread.dylib                 0x00007fff849fefc9 thread_start + 13
    Thread 45:
    0   libsystem_kernel.dylib                  0x00007fff8ae0ae6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff849fbf08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff849fefb9 start_wqthread + 13
    Thread 46:
    Thread 47:
    Thread 13 crashed with X86 Thread State (64-bit):
      rax: 0x00007fcfebbe5600  rbx: 0x00007fff91711267  rcx: 0x0000000000048400  rdx: 0x00007fcfeda3b000
      rdi: 0x000000010afa1144  rsi: 0x0000000000000006  rbp: 0x0000000116fb8950  rsp: 0x0000000116fb83f0
       r8: 0x0000000000048400   r9: 0x0000000000000400  r10: 0x0000000000000400  r11: 0xffff9f8116de8a80
      r12: 0x0000000000000003  r13: 0x0000000000000092  r14: 0x0000000000048800  r15: 0x0000000000000092
      rip: 0x000000010ada2ac3  rfl: 0x0000000000010202  cr2: 0x0000000000000122
    Logical CPU:     6
    Error Code:      0x00000006
    Trap Number:     14
    Binary Images:
           0x1072b3000 -        0x108330fef  com.apple.logic10 (10.0.5 - 3130.19) <3D84A581-5530-34B9-A182-D632CC25EE5E> /Applications/Logic Pro X.app/Contents/MacOS/Logic Pro X
           0x1088cd000 -        0x1088cffff  com.apple.music.apps.MAResourcesPlugInsShared (10.0.5 - 3130.19) <88B035BC-E0F1-3619-8161-484E8CE286E4> /Applications/Logic Pro X.app/Contents/Frameworks/MAResourcesPlugInsShared.framework/Versions/A/MAResou rcesPlugInsShared
           0x1088db000 -        0x108cc5fff  com.apple.music.apps.MALogicLegacySong (10.0.5 - 3130.19) <E9A2F4E1-D6E4-3B77-B787-BCF96D87F697> /Applications/Logic Pro X.app/Contents/Frameworks/MALogicLegacySong.framework/Versions/A/MALogicLegacyS ong
           0x108dce000 -        0x108e06fff  com.apple.music.apps.MAAudioUnitSupport (10.0.5 - 3130.19) <8B538D38-ABA6-376F-ABC5-28B6A2FC483B> /Applications/Logic Pro X.app/Contents/Frameworks/MAAudioUnitSupport.framework/Versions/A/MAAudioUnitSu pport
           0x108e2b000 -        0x108e4fff7  com.apple.music.apps.MALoopManagement (10.0.5 - 3130.19) <BD112662-AACE-3968-8062-3582CA19DD40> /Applications/Logic Pro X.app/Contents/Frameworks/MALoopManagement.framework/Versions/A/MALoopManagemen t
           0x108e61000 -        0x108f7dff7  com.apple.music.apps.MACore (10.0.5 - 3130.19) <7480F81D-E56C-3F17-8B1F-D47CF688EAB4> /Applications/Logic Pro X.app/Contents/Frameworks/MACore.framework/Versions/A/MACore
           0x108ff2000 -        0x10902dff2  com.apple.audio.midi.CoreMIDI (1.10 - 88) <EE90880D-A800-334A-9433-ABEA9A7416C5> /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
           0x10905a000 -        0x1090d4ff7  com.apple.music.apps.MAHarmony (10.0.5 - 3130.19) <6C041127-733C-3165-A4DE-C59F8C625946> /Applications/Logic Pro X.app/Contents/Frameworks/MAHarmony.framework/Versions/A/MAHarmony
           0x1090f7000 -        0x1096faff7  com.apple.music.apps.MAPlugInGUI (10.0.5 - 3130.19) <A3F2676E-5BFB-3546-A6BD-F2843F0A64C7> /Applications/Logic Pro X.app/Contents/Frameworks/MAPlugInGUI.framework/Versions/A/MAPlugInGUI
           0x109a1c000 -        0x109ae7ff7  com.apple.music.apps.OMF (10.0.5 - 3130.2) <2DCB7199-D4A7-3659-AA67-3C433D8DE636> /Applications/Logic Pro X.app/Contents/Frameworks/OMF.framework/Versions/A/OMF
           0x109b0b000 -        0x10a2b5ff7  com.apple.music.apps.MADSP (10.0.5 - 3130.19) <A7D893AC-45B3-36E5-968D-2F32B1425199> /Applications/Logic Pro X.app/Contents/Frameworks/MADSP.framework/Versions/A/MADSP
           0x10ab7f000 -        0x10aba4fff  com.apple.music.apps.LogicFileBrowser (10.0.5 - 3130.2) <3290ED48-FE1B-3EF5-8CCC-DEDFA9AD3B0F> /Applications/Logic Pro X.app/Contents/Frameworks/LogicFileBrowser.framework/Versions/A/LogicFileBrowse r
           0x10abba000 -        0x10ac08fff  com.apple.music.apps.LogicLoopBrowser (10.0.5 - 3130.2) <24494F5B-ED63-3E23-9475-3900D94C4E0A> /Applications/Logic Pro X.app/Contents/Frameworks/LogicLoopBrowser.framework/Versions/A/LogicLoopBrowse r
           0x10ac26000 -        0x10ac2afff  com.apple.music.apps.MAResources (10.0.5 - 3130.19) <B08DDDD8-722F-34DB-A93A-2235181CE829> /Applications/Logic Pro X.app/Contents/Frameworks/MAResources.framework/Versions/A/MAResources
           0x10ac35000 -        0x10ac5cff7  com.apple.audio.CoreAudioKit (1.6.6 - 1.6.6) <9447D604-EE72-3BA7-90D8-4AFA0FC19EBB> /System/Library/Frameworks/CoreAudioKit.framework/Versions/A/CoreAudioKit
           0x10ac7d000 -        0x10ac88fff  com.apple.music.apps.MAUnitTest (10.0.5 - 3130.19) <A01F5AAB-4752-3296-B5FB-161930798599> /Applications/Logic Pro X.app/Contents/Frameworks/MAUnitTest.framework/Versions/A/MAUnitTest
           0x10ac94000 -        0x10ad53ff7  com.apple.music.apps.MAFiles (10.0.5 - 3130.19) <2EA5DD98-5320-399E-A49F-712B29F1E81B> /Applications/Logic Pro X.app/Contents/Frameworks/MAFiles.framework/Versions/A/MAFiles
           0x10ad9d000 -        0x10ae84ff7  com.apple.music.apps.MAAudioEngine (10.0.5 - 3130.19) <65489A06-1870-3A85-825A-2ADC0DDE34BA> /Applications/Logic Pro X.app/Contents/Frameworks/MAAudioEngine.framework/Versions/A/MAAudioEngine
           0x10b019000 -        0x10b029fff  com.apple.StoreKit (1.0 - 232.2) <4A239D2B-4D42-399B-B4F5-EA24297F0E0A> /System/Library/Frameworks/StoreKit.framework/Versions/A/StoreKit
           0x10b041000 -        0x10b069ff7  com.apple.music.apps.MAVideo (10.0.5 - 3130.19) <6C041DF8-CAA9-3B87-B5EB-0AF959CEE37D> /Applications/Logic Pro X.app/Contents/Frameworks/MAVideo.framework/Versions/A/MAVideo
           0x10b086000 -        0x10b3b7ff7  com.apple.LogicUIKit (10.0.5 - 3130.19) <3CF4BE61-8FCF-3B36-84FC-6B84A4747E26> /Applications/Logic Pro X.app/Contents/Frameworks/MAToolKitLg.framework/Versions/A/MAToolKitLg
           0x10b4f2000 -        0x10b881ff7  com.apple.music.apps.Animal (10.0.5 - 3130.19) <5C981C59-6DF1-3AAF-8207-73043EFB6344> /Applications/Logic Pro X.app/Contents/Frameworks/Animal.framework/Versions/A/Animal
           0x10bb75000 -        0x10bb8fff7  com.apple.music.apps.MALoopBrowser (10.0.5 - 3130.2) <24D48BC4-0B75-33DE-A6F7-8482B13A8D90> /Applications/Logic Pro X.app/Contents/Frameworks/MALoopBrowser.framework/Versions/A/MALoopBrowser
           0x10bb9f000 -        0x10bc43fff  com.apple.music.apps.MAWorkspace (10.0.5 - 3130.19) <7C218239-4B56-31BC-AD06-A87EB9EEB33D> /Applications/Logic Pro X.app/Contents/Frameworks/MAWorkspace.framework/Versions/A/MAWorkspace
           0x10bc93000 -        0x10bccbfff  com.apple.LogicUIKitHighLevel (10.0.5 - 3130.19) <240A8046-D793-3C23-AF49-82C6F3DC2775> /Applications/Logic Pro X.app/Contents/Frameworks/MAToolKitHighLevel.framework/Versions/A/MAToolKitHigh Level
           0x10bcee000 -        0x10bcf0fff  com.apple.music.apps.MAResourcesLg (10.0.5 - 3130.19) <59D8A9DB-A6E7-3EF7-811A-1B

  • Beginning Java help needed.

    I'm trying to write a program that would display the elapsed time after double clicking in seconds. For instance, first click will start the timer, but it will not display the elapse time after the second click. Here is my code.
    public class ClickTimer extends WindowController {
    private double startingTime;
    private Text message;
    public ClickTimer () {startController (700,500);
    public void begin() {
    message = new Text( "Double click twice to display time elapse." ,50, 50
    ,canvas );
    public void onMousePress(Location point) {
    startingTime = System.currentTimeMillis();
    if (point.getclickCount() == 2) {float elapsedTimeSec = elapsedTimeMillis/1000F;
    }}

    For instance, first click will start the timer, but it will not display the elapse time after the second click.Since there's no code there that would display elapsed time, that isn't surprising.
    Your onMousePress method always sets the startTime value (no matter what click it is), which is probably not what you want.
    Text? Location? WindowController? What library are you using? You should say up front.

  • Help needed  while exporting crystal reports to HTML file format using java

    Help needed  while exporting crystal reports to HTML file format using java api(not using crystalviewer).i want to download the
    html file of the report
    thanks

    the ReportExportFormat class does not have HTML format, it has got to be XML. Export to HTML is available from CR Designer only.
    Edited by: Aasavari Bhave on Jan 24, 2012 11:37 AM

  • Help Needed in Creating Java Class and Java Stored Procedures

    Hi,
    Can anyone tell how can i create Java Class, Java Source and Java Resource in Oracle Database.
    I have seen the Documents. But i couldn't able to understand it correctly.
    I will be helpful when i get some Examples for creating a Java Class, Java Source and Stored Procedures with Java with details.
    Is that possible to Create a Java class in the oracle Database itself ?.
    Where are the files located for the existing Java Class ?..
    Help Needed Please.
    Thanks,
    Murali.v

    Hi Murali,
    Heres a thread which discussed uploading java source file instead of runnable code on to the database, which might be helpful :
    Configure deployment to a database to upload the java file instead of class
    The files for the java class you created in JDev project is located in the myworks folder in jdev, eg, <jdev_home>\jdev\mywork\Application1\Project1\src\project1
    Hope this helps,
    Sunil..

  • Image size and mime type.. non-java guy needs help

    Image size, mime type.. non-java guy needs help
    Im not at all familiar with java so this is really weird for me to work out. I?ve been doing it all day (and half of yesterday).
    Im trying to write a custom clodFusion tag in java that gets the width, height, size and MIME types of a given file. I?ve been trying to get it to work on the command line first. I can get the width and height but cant get the size and the MIME type.
    Here is what I got
    /*import com.allaire.cfx.*;*/
    import java.awt.image.renderable.*;
    import javax.media.jai.*;
    import com.sun.media.jai.codec.*;
    import java.io.*;
    import java.util.*;
    public class ImageInfo {
    private RenderedOp image = null;
    private RenderedOp result = null;
    private int height = 0;
    private int width = 0;
    private String type = "";
    private String size = "";
    public void loadf(String file) throws IOException
    file = "80by80.jpg";
    FileSeekableStream fss = new FileSeekableStream(file);
    image = JAI.create("stream", fss);
    height = image.getHeight();
    width = image.getWidth();
    System.out.println(height + "\n");
    System.out.println(width);
    System.out.println(type);
    public static void main(String[] args) throws IOException {
    ImageInfo test = new ImageInfo();
    test.loadf(args[0]);
    can anyone please help me out to modify the above so I can also print the mime type and the file size to screen.
    thanks for any help

    any suggestions?

Maybe you are looking for

  • Installer problem - Oracle 11g on Redhat ES 5.1 (x86)

    Hi, I'm trying to run the "runInstaller" script to install Oracle 11g onto my Redhat ES 5.1 (x86) machine and the following error is being reported: Starting Oracle Universal Installer... Checking Temp space: must be greater than 80 MB. Actual 1409 M

  • How can I install windows XP on my Satellite A300-129

    Hello, Since a few days I have bought a Toshiba Satellite A300-129. I'm very satisfied with the laptop, though I don't like to work with Vista so i would prefer to reformate the laptop and install Windows XP Professional(32 or 64 bits, dunno yet). Ho

  • Issues embedding swf in pdf document?

    I have created a small application to illustrate Snell's law as a flash file. The idea is to integrate it in a online educational book and I have already done so with several simple animations. This was to be my first application with user input othe

  • Too many brushes

    I have CS5.1 and just installed a lot of brushes I found on the net. Now when I try to load up a brush set it displays all the brush sets on the screen and I cannot get to the ones off the screen(since it doesn't give a scroll bar to move them over).

  • Changing Text on a web page not using textbox

    Hi I am new to programming in Javascript and am just needing a bit of a hand using an onChange event to change some normal text in the middle of a web page. The exmaple is if you have a text box that you can enter in a dollar amount and then once you