AWT Thread and Exceptions
I have a gui application in which I need to get a reference to the thread group that runs the gui.
I what this because I need to catch any runtime exceptions that are caused by the gui, or the program. Once I have caught the exception I want to let the user know that a fatal error has occured and to report it.
I know how my error reporting mechanism is going to work, but I dont know how to get a hold of the underlying threads of a gui, or there tread group. Any help would be appreciated.
is this not sufficient/simple enough?
public static void main(String[] args)
JFrame app = null;
try
// initialisation code here
catch(Throwable e)
if(app != null)
// report to app
else
e.printStackTrace();
System.exit(1);
}
Similar Messages
-
I'm developping a library in Java that deals with network.
I've got a multithreaded class that use a socket.
In the run() function i keep reading the socket, that implies i have to try, catch IOException.
The matter is that as i'm developping a library, i'd like to let the user choose what to do with this exception. I'd like to throw the exception.
But the prototype of the run function don't allow to throw anything.
Can anyone can give me a trick to manage a fake throw ?
thank you
Fabrice>
- Runtime exceptions may be uncaught, without any
compiler warning.This is unrelated to multithreading. By definition,
RuntimeException, Error, and their descendants are
unchecked exceptions, meaning they're usually preventable
with good coding practices and/or you can't recover from
them anyway, so there's no reason to explicitly declare them.
A completely separate issue is that any exceptions--checked or
unchecked--thrown in thread that you spawn will not be visible to the
spawning thread.
- hashtable may not be read by the user.Not sure what you mean here. If there's some hashtable in the new thread
that you want to read, you can do so. You just need to provide a reference
to it before starting the thread.
- listener, in event style method, may not be
register.Again, not sure what you mean here, but you CAN register listeners so that the original thread
is notified of events in the new thread.
>
What's the worse solution !!
Anyone knows why it's impossible to declare run() as a
throwing exception function ?Your run method can't throw an exception because the declaration of the method it's implementing doesn't allow it. The reason Run.runnable doesn't allow it is beacause it doesn't make any sense for an independent thread to throw an exception back to the thread that spawned it. -
How do you monitor a background thread and update the GUI
Hello,
I have a thread which makes its output available on PipedInputStreams. I should like to have other threads monitor the input streams and update a JTextArea embedded in a JScrollPane using the append() method.
According to the Swing tutorial, the JTextArea must be updated on the Event Dispatch Thread. When I use SwingUtilities.invokeLater () to run my monitor threads, the component is not redrawn until the thread exits, so you don't see the progression. If I add a paint () method, the output is choppy and the scrollbar doesn't appear until the thread exits.
Ironically, if I create and start new threads instead of using invokeLater(), I get the desired result.
What is the correct architecture to accomplish my goal without violating Swing rules?
Thanks,
Brad
Code follows:
import java.lang.*;
import java.io.*;
import javax.swing.*;
import javax.swing.text.*;
import java.awt.*;
import java.awt.event.*;
public class SystemCommand implements Runnable
private String[] command;
private PipedOutputStream pipeout;
private PipedOutputStream pipeerr;
public SystemCommand ( String[] cmd )
command = cmd;
pipeout = null;
pipeerr = null;
public void run ()
exec ();
public void exec ()
// --- Local class to redirect the process input stream to a piped output stream
class OutputMonitor implements Runnable
InputStream is;
PipedOutputStream pout;
public OutputMonitor ( InputStream i, PipedOutputStream p )
is = i;
pout = p;
public void run ()
try
int inputChar;
for ( ;; )
inputChar = is.read();
if ( inputChar == -1 ) { break; }
if ( pout == null )
System.out.write ( inputChar );
else
pout.write ( inputChar );
if ( pout != null )
pout.flush ();
pout.close ();
else
System.out.flush();
catch ( Exception e ) { e.printStackTrace (); }
try
Runtime r = Runtime.getRuntime ();
Process p = r.exec ( command );
OutputMonitor out = new OutputMonitor ( p.getInputStream (), pipeout );
OutputMonitor err = new OutputMonitor ( p.getErrorStream (), pipeerr );
Thread t1 = new Thread ( out );
Thread t2 = new Thread ( err );
t1.start ();
t2.start ();
//p.waitFor ();
catch ( Exception e ) { e.printStackTrace (); }
public PipedInputStream getInputStream () throws IOException
pipeout = new PipedOutputStream ();
return new PipedInputStream ( pipeout );
public PipedInputStream getErrorStream () throws IOException
pipeerr = new PipedOutputStream ();
return new PipedInputStream ( pipeerr );
public void execInThread ()
Thread t = new Thread ( this );
t.start ();
public static JPanel getContentPane ( JTextArea ta )
JPanel p = new JPanel ( new BorderLayout () );
JPanel bottom = new JPanel ( new FlowLayout () );
JButton button = new JButton ( "Exit" );
button.addActionListener ( new ActionListener ( )
public void actionPerformed ( ActionEvent e )
System.exit ( 0 );
bottom.add ( button );
p.add ( new JScrollPane ( ta ), BorderLayout.CENTER );
p.add ( bottom, BorderLayout.SOUTH );
p.setPreferredSize ( new Dimension ( 640,480 ) );
return p;
public static void main ( String[] argv )
// --- Local class to run on the event dispatch thread to update the Swing GUI
class GuiUpdate implements Runnable
private PipedInputStream pin;
private PipedInputStream perr;
private JTextArea outputArea;
GuiUpdate ( JTextArea textArea, PipedInputStream in )
pin = in;
outputArea = textArea;
public void run ()
try
// --- Reads whole file before displaying...takes too long
//outputArea.read ( new InputStreamReader ( pin ), null );
BufferedReader r = new BufferedReader ( new InputStreamReader ( pin ) );
String line;
for ( ;; )
line = r.readLine ();
if ( line == null ) { break; }
outputArea.append ( line + "\n" );
// outputArea.paint ( outputArea.getGraphics());
catch ( Exception e ) { e.printStackTrace (); }
// --- Create and realize the GUI
JFrame f = new JFrame ( "Output Capture" );
f.setDefaultCloseOperation ( JFrame.EXIT_ON_CLOSE );
JTextArea textOutput = new JTextArea ();
f.getContentPane().add ( getContentPane ( textOutput ) );
f.pack();
f.show ();
// --- Start the command and capture the output in the scrollable text area
try
// --- Create the command and setup the pipes
SystemCommand s = new SystemCommand ( argv );
PipedInputStream stdout_pipe = s.getInputStream ();
PipedInputStream stderr_pipe = s.getErrorStream ();
// --- Launch
s.execInThread ( );
//s.exec ();
// --- Watch the results
SwingUtilities.invokeLater ( new GuiUpdate ( textOutput, stdout_pipe ) );
SwingUtilities.invokeLater ( new GuiUpdate ( textOutput, stderr_pipe ) );
//Thread t1 = new Thread ( new GuiUpdate ( textOutput, stdout_pipe ) );
//Thread t2 = new Thread ( new GuiUpdate ( textOutput, stderr_pipe ) );
//t1.start ();
//t2.start ();
catch ( Exception e ) { e.printStackTrace (); }
Thanks for pointing out the SwingWorker class. I didn't use it directly, but the documentation gave me some ideas that helped.
Instead of using invokeLater on the long-running pipe-reader object, I run it on a normal thread and let it consume the output from the background thread that is running the system command. Inside the reader thread I create a tiny Runnable object for each line that is read from the pipe, and queue that object with invokeLater (), then yield() the reader thread.
Seems like a lot of runnable objects, but it works ok. -
Had to un-install JRE, again. "AWT-EventQueue-13" exception.
Hello every body readers,
and a Happy Christmas from me in Sweden.
I installed latest JRE "jre1.5.0_01".
Had to uninstall and use Microsoft java instead, AGAIN.
Those who said to me in past: "Use IE Java. Works better" was probably right.
As now Sun Java only occupies a considerable amont of space in my PC.
You will probably ask me to re-write my HTMLs to fit JRE.
Suppose IExplorer6 wasn't backwards compitable with HTML-pages.
Most .html pages in world would have to be re-written!!!!!!!!!
JRE makes error when trying to update MyClass.class.
"at DJClock.update(E:\Msdev\projects\DJClock\DJClock.java:552)"
A leftover from development stage of this software.
Well!
And this you offer millions of poor users around the world to download?????
Maybe you will not recognize this fault,
and try some political jargong 'we never do anything bad" non-excuse.
I would simple say: "we are very sorry!" to all potential users reading this thread.
We humans are NOT perfect. When try to appear perfect, we deny the truth.
And we would not be credible in fellow men's eyes.
Isn't it pathetic hear someone say:
"I did not have seex with that woman"
when it is obviously a big lie. :D :D
I hope you're human at this developers site.
I have a slight hope some few around here
are not only "living effective programming robot machines".
Regards and thanks for your FREE, although not working software
/halojoy - Sweden 2004-12-29
FACTS follows:
In my htdocs:
APP1-folder
MyClass.class
index.html(<applet codebase="." code="MyClass.class"</applet>)
APP2-folder
MyClass.class
index.html(<applet codebase="." code="MyClass.class"</applet>)
Uses same class, but I have copy at 2 places.
First applet will run correctly.
Second applet will generate following message:
Exception in thread "AWT-EventQueue-13" java.lang.NullPointerException
at sun.font.FontDesignMetrics.stringWidth(Unknown Source)
at DJClock.update(E:\Msdev\projects\DJClock\DJClock.java:552)
at sun.awt.RepaintArea.updateComponent(Unknown Source)
at sun.awt.RepaintArea.paint(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)Thanks, alvareze.
But I think you haven't read my post correctly.
I think I provided enough information for eanyone to repeat my situation in their own computer.
Anf find out there is a bug.
I wish I was wrong, on behalf of users suffering from this,
but I am sure I am right!
So here is what you do.
1) Take an applet, xxxxxx.class, intended for showing in a html-page.
2) Create 2 folders at your server. Lets call them: APPL1 and APPL2
3) Write 2 different index.html containing applet xxxxxx.class
4) You make a copy of this Class: xxxxxx.class in EACH of two folders APPL1, APPL2
5) Each index.html in separate folders Calls their own copy of xxxxxx.class
in respective folder.
6) The structure you have now is, what I ALREADY told you. (am I talking to children. No!):
In my htdocs:
APP1-folder
MyClass.class
index.html(<applet codebase="." code="MyClass.class"</applet>)
APP2-folder
MyClass.class
index.html(<applet codebase="." code="MyClass.class"</applet>)
6) Now you can visit your both websites:
- http://root/APPL1/index.html
running applet.
Then visit
- http://root/APPL2/index.html
running same applet.
And I am sure you will end up with same error message.
AWT-EventQueue-13" exception.
(see Above. And below. LISTEN CAREFULLY, I will only say this TWICE):
Uses same class, but I have copy at 2 places.
##) My EXPLANATION:
possibly causing this error, and making JRE useless for me:
When JRE runs into a Class with same name again,
it will update that class in its library.
But when it does it searches, STILL, in the developers Drive E:\
A leftover code, from developing stage.
Instead JRE should look for MyClass.class in drive where,
I put JRE files. In this case Drive C:\
##) In other words:
- at MyClass.update(E:\Msdev\projects\MyClass\MyClass.java:552)
should be, to avoid error
- at MyClass.update(C:\my path to JRE\MyClass\MyClass.java:552)
##) First applet will run correctly.
##)Second applet will generate following message:
Exception in thread "AWT-EventQueue-13" java.lang.NullPointerException
at sun.font.FontDesignMetrics.stringWidth(Unknown Source)
at MyClass.update(E:\Msdev\projects\MyClass\MyClass.java:552)
at sun.awt.RepaintArea.updateComponent(Unknown Source)
at sun.awt.RepaintArea.paint(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I wont bother with this again,
as I do not like to explain myself over and over
to people that are not REALLY interested in getting my information.
And it will not effect me in any way, as I no longer use this free JRE from great Sun Java Laboratories.
I stick to Microsoft Java, until you find your bugs, yourselves, fixes this software version.
Then you tell me to download it again, please!
Thanks again for you wish to provide us users with a super software.
nothing wrong with your aim or goal, but ...
maybe can strike back, when releasing not properly debugged sotware
to millions and millions of potential users.
Better no reputation, than bad reputation= badwill.
So sometimes better late release than too early.
Have seen this happen with other software version around www.
By the time bugs are corected, customers are happily using another similiar software.
No hard feelings.
Happy Ne Year everybody!
computer and internet freaks, like me
/halojoy - in snowy northern part of Sweden (had a white christmas, as always)
Sorry, will not be here again, talking to deaf? people :)
in same subject
GoodBye -
Example of WAIT and CONTINUE using checkBox and thread and getTreeLock()
I had so much trouble with this that I descided to
post if incase it helps someone else
// Swing Applet example of WAIT and CONTINUE using checkBox and thread and getTreeLock()
// Runs form dos window
// When START button is pressed program increments x and displys it as a JLabel
// When checkBox WAIT is ticked program waits.
// When checkBox WAIT is unticked program continues.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.*;
import java.io.*;
public class Wc extends JApplet {
Display canvas;//drawing surface is displayed.
Box buttonPanel;
Box msgArea;
public static JButton button[] = new JButton [2];
public static JCheckBox checkBox[] = new JCheckBox[2];
public static JLabel msg[] = new JLabel [2];
String[] buttonDesc ={"Start","Quit"};
public static final int buttonStart = 0;
public static final int buttonQuit = 1;
String[] checkBoxDesc ={"Wait"};
public static final int checkBoxWait = 0;
public boolean wait;
public Graphics g;
//================================================================
public static void main(String[] args){
Frame f = new Frame();
JApplet a = new Wc();
f.add(a, "Center"); // Add applet to window
a.init(); // Initialize the applet
f.setSize(300,100); // Set the size of the window
f.show(); // Make the window visible
f.addWindowListener(
new WindowAdapter(){
public void windowClosing(WindowEvent e){System.exit(0);}
}// end main
//===================================================
public void init() {
canvas = new Display();
setBackground(Color.black);
getContentPane().setLayout(new BorderLayout(3,3));
getContentPane().add(canvas, BorderLayout.CENTER);
buttonPanel = Box.createHorizontalBox();
getContentPane().add(buttonPanel, BorderLayout.NORTH);
int sbZ;
// add button
button[0] = new JButton(buttonDesc[0]);
button[0].addActionListener(canvas);
buttonPanel.add(button[0]);
button[1] = new JButton(buttonDesc[1]);
button[1].addActionListener(canvas);
buttonPanel.add(button[1]);
// add checkBox
sbZ=0;
checkBox[sbZ]=new JCheckBox(checkBoxDesc[sbZ]);
checkBox[sbZ].setBackground(Color.white);
checkBox[sbZ].setOpaque(true);
checkBox[sbZ].addActionListener(canvas);
buttonPanel.add(checkBox[sbZ]);
msgArea = Box.createVerticalBox(); // add message
sbZ=0;
msg[sbZ]=new JLabel("1",JLabel.LEFT);
msg[sbZ].setOpaque(true);
msg[sbZ].setBackground(Color.black);
msg[sbZ].setForeground(Color.red);
msgArea.add(msg[sbZ]);
getContentPane().add(msgArea, BorderLayout.SOUTH);
} // end init();
//===================================================
public void stop(){canvas.stopRunning();}
//===================================================
// The following nested class represents the drawing surface
// of the applet and also does all the work.
class Display extends JPanel implements ActionListener, Runnable {
Image OSI;
Graphics OSG; // A graphics context for drawing on OSI.
Thread runner; // A thread to do the computation.
boolean running; // Set to true when the thread is running.
public void paintComponent(Graphics g) {
if (OSI == null) {
g.setColor(Color.black);
g.fillRect(0,0,getWidth(),getHeight());
else {g.drawImage(OSI,0,0,null);}
}//paintComponent
public void actionPerformed(ActionEvent evt) {
String command = evt.getActionCommand();
if (command.equals(buttonDesc[buttonStart])) {
startRunning();
if (command.equals(buttonDesc[buttonQuit])) {
stopRunning();
if (command.equals(checkBoxDesc[checkBoxWait])){
System.out.println("cb");
if (checkBox[checkBoxWait].isSelected() ) {
wait = true;
System.out.println("cb selected twait "+wait);
return;
wait = false;
synchronized(getTreeLock()) {getTreeLock().notifyAll();}
System.out.println("cb selected fwait "+wait);
} // end command.equal cb wait
} //end action performed
// A method that starts the thread unless it is already running.
void startRunning() {
if (running)return;
// Create a thread that will execute run() in this Display class.
runner = new Thread(this);
running = true;
runner.start();
} //end startRunning
void stopRunning() {running = false;System.exit(0);}
public void run() {
button[buttonStart].setEnabled(false);
int x;
x=1;
while(x>0 && running){
x = x + 1;
msg[0].setText(""+x);
try{SwingUtilities.invokeAndWait(painter);}catch(Exception e){}
//importand dont put this in actionPerformed
if (wait) {
System.out.println("run "+wait);
synchronized(getTreeLock()) {
while(wait) {
System.out.println("while "+wait);
try {getTreeLock().wait();} catch(Exception e){break;}
} //end while(wait)
} // end sync
} // end if(wait)
} // endwhile(x>0)
stopRunning();
} // end run()
Runnable painter = new Runnable() {
public void run() {
Dimension dim = msg[0].getSize();
msg[0].paintImmediately(0,0,dim.width,dim.height);
Thread.yield();
}//end run in painter
} ; //end painter
} //end nested class Display
} //end class WcI just encountered a similar issue. I bought a new iPhone5s and sent my iPhone4s for recycling as it was in great shape, no scratches, no breaks, perfect condition. I expected $200 and received an email that I would only receive $24.12. The explanation was as follows: Phone does not power on - Power Supply Error. Attempts to discuss don't seem to get past a customer service rep that can only "escalate" my concern. They said I would receive a response, but by email. After 4 days no response. There is something seriously wrong with the technical ability of those in the recycling center.
-
A problem with Threads and MMapi
I am tring to execute a class based on Game canvas.
The problem begin when I try to Play both a MIDI tone and to run an infinit Thread loop.
The MIDI tone "Stammers".
How to over come the problem?
Thanks in advance
Kobi
See Code example below:
import java.io.IOException;
import java.io.InputStream;
import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Image;
import javax.microedition.lcdui.game.GameCanvas;
import javax.microedition.media.Manager;
import javax.microedition.media.MediaException;
import javax.microedition.media.Player;
public class MainScreenCanvas extends GameCanvas implements Runnable {
private MainMIDlet parent;
private boolean mTrucking = false;
Image imgBackgound = null;
int imgBackgoundX = 0, imgBackgoundY = 0;
Player player;
public MainScreenCanvas(MainMIDlet parent)
super(true);
this.parent = parent;
try
imgBackgound = Image.createImage("/images/area03_bkg0.png");
imgBackgoundX = this.getWidth() - imgBackgound.getWidth();
imgBackgoundY = this.getHeight() - imgBackgound.getHeight();
catch(Exception e)
System.out.println(e.getMessage());
* starts thread
public void start()
mTrucking = true;
Thread t = new Thread(this);
t.start();
* stops thread
public void stop()
mTrucking = false;
public void play()
try
InputStream is = getClass().getResourceAsStream("/sounds/scale.mid");
player = Manager.createPlayer(is, "audio/midi");
player.setLoopCount(-1);
player.prefetch();
player.start();
catch(Exception e)
System.out.println(e.getMessage());
public void run()
Graphics g = getGraphics();
play();
while (true)
tick();
input();
render(g);
* responsible for object movements
private void tick()
* response to key input
private void input()
int keyStates = getKeyStates();
if ((keyStates & LEFT_PRESSED) != 0)
imgBackgoundX++;
if (imgBackgoundX > 0)
imgBackgoundX = 0;
if ((keyStates & RIGHT_PRESSED) != 0)
imgBackgoundX--;
if (imgBackgoundX < this.getWidth() - imgBackgound.getWidth())
imgBackgoundX = this.getWidth() - imgBackgound.getWidth();
* Responsible for the drawing
* @param g
private void render(Graphics g)
g.drawImage(imgBackgound, imgBackgoundX, imgBackgoundY, Graphics.TOP | Graphics.LEFT);
this.flushGraphics();
}You can also try to provide a greater Priority to your player thread so that it gains the CPU time when ever it needs it and don't harm the playback.
However a loop in a Thread and that to an infinite loop is one kind of very bad programming, 'cuz the loop eats up most of your CPU time which in turn adds up more delays of the execution of other tasks (just as in your case it is the playback). By witting codes bit efficiently and planning out the architectural execution flow of the app before start writing the code helps solve these kind of issues.
You can go through [this simple tutorial|http://oreilly.com/catalog/expjava/excerpt/index.html] about Basics of Java and Threads to know more about threads.
Regds,
SD
N.B. And yes there are more articles and tutorials available but much of them targets the Java SE / EE, but if you want to read them here is [another great one straight from SUN|http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html] .
Edited by: find_suvro@SDN on 7 Nov, 2008 12:00 PM -
Having a problem with threads and using locks
I was hoping someone could give me some hits on getting my code to run properly. The problem I am having is I think my locks and unlocks are not working properly. Plus, for some reason I always get the same output, which is:
Withdrawal Threads Deposit Threads Balance
Thread 2 attempts $29 Withdrawal - Blocked - Insufficient Funds
Thread 4 attempts $45 Withdrawal - Blocked - Insufficient Funds
Thread 6 attempts $34 Withdrawal - Blocked - Insufficient Funds
Thread 7 attempts $40 Withdrawal - Blocked - Insufficient Funds
Thread 1 deposits $187 $187
Thread 3 deposits $169 $356
Thread 5 deposits $61 $417
Press any key to continue...If someone can see the error I made and doesn't mind explaining it to me, so I can learn from it, I would appreciate that very much.
/************Assign2_Main.java************/
import java.util.concurrent.*;
public class Assign2_Main
{//start Assign2_Main
public static void main(String[] args)
{//start main
// create ExecutorService to manage threads
ExecutorService threadExecutor = Executors.newCachedThreadPool();
Account account = new SynchronizedThreads();
Deposit deposit1 = new Deposit(account, "Thread 1");
Deposit deposit2 = new Deposit(account, "Thread 3");
Deposit deposit3 = new Deposit(account, "Thread 5");
Withdrawal withdrawal1 = new Withdrawal(account, "Thread 2");
Withdrawal withdrawal2 = new Withdrawal(account, "Thread 4");
Withdrawal withdrawal3 = new Withdrawal(account, "Thread 6");
Withdrawal withdrawal4 = new Withdrawal(account, "Thread 7");
System.out.println("Withdrawal Threads\t\tDeposit Threads\t\t\tBalance");
System.out.println("------------------\t\t---------------\t\t\t-------\n");
try
threadExecutor.execute(withdrawal1);
threadExecutor.execute(deposit1);
threadExecutor.execute(withdrawal2);
threadExecutor.execute(deposit2);
threadExecutor.execute(withdrawal3);
threadExecutor.execute(deposit3);
threadExecutor.execute(withdrawal4);
catch ( Exception e )
e.printStackTrace();
//shutdown worker threads
threadExecutor.shutdown();
}//end main
}//end Assign2_Main/******************Withdrawal.java****************************/
public class Withdrawal implements Runnable
{//start class Withdrawal
*constructor
public Withdrawal(Account money, String n)
account = money;
name = n;
public void run()
{//start ruin
int newNum = 0;
newNum = account.getBalance(name);
Thread.yield();
}//end run
private Account account;
private String name;
}//end class Withdrawal/*******************Deposit.java***************/
import java.util.Random;
public class Deposit implements Runnable
{//start class Deposit
*constructor
public Deposit(Account money, String n)
account = money;
name = n;
public void run()
{//start run
try
Thread.sleep(100);
account.setBalance(random.nextInt(200), name);
}// end try
catch (InterruptedException e)
e.printStackTrace();
}//end run
private Account account;
private Random random = new Random();
private String name;
}//end class Deposit/********************Account.java*****************/
*Account interface specifies methods called by Producer and Consumer.
public interface Account
//place sum into Account
public void setBalance(int sum, String name);
//return value of Account
public int getBalance(String name);
} /**************SynchronizedThreads.java****************/
import java.util.concurrent.locks.*;
import java.util.Random;
public class SynchronizedThreads implements Account
{//start SynchronizedThreads
*place money into buffer
public void setBalance(int amount, String name)
{//start setBalance
// lock object
myLock.lock();
sum += amount;
System.out.println("\t\t\t\t" + name + " deposits $" + amount +"\t\t$"+ sum+"\n");
//threads are singnaled to wakeup
MakeWD.signalAll();
// unlock object
myLock.unlock();
}//end setBalance
*gets the balance from buffer
public int getBalance(String name)
{//start getBalance
int NewSum = random.nextInt(50);
//lock object
myLock.lock();
try
if(sum > NewSum)
//takes NewSum away from the account
sum -= NewSum;
System.out.println(name + " withdraws $" + NewSum +"\t\t\t\t\t\t$"+ sum+"\n");
else
System.out.println(name + " attempts $" + NewSum + " Withdrawal - Blocked - Insufficient Funds\n");
//not enough funds so thread waits
MakeWD.await();
//threads are singnaled to wakeup
MakeD.signalAll();
}//end try
catch (InterruptedException e)
e.printStackTrace();
finally
//unlock object
myLock.unlock();
return NewSum;
}//end getBalance
private Random random = new Random();
private Lock myLock = new ReentrantLock();
private Condition MakeD = myLock.newCondition();
private Condition MakeWD = myLock.newCondition();
private int sum = 0;
}//end SynchronizedThreadsYou can also try to provide a greater Priority to your player thread so that it gains the CPU time when ever it needs it and don't harm the playback.
However a loop in a Thread and that to an infinite loop is one kind of very bad programming, 'cuz the loop eats up most of your CPU time which in turn adds up more delays of the execution of other tasks (just as in your case it is the playback). By witting codes bit efficiently and planning out the architectural execution flow of the app before start writing the code helps solve these kind of issues.
You can go through [this simple tutorial|http://oreilly.com/catalog/expjava/excerpt/index.html] about Basics of Java and Threads to know more about threads.
Regds,
SD
N.B. And yes there are more articles and tutorials available but much of them targets the Java SE / EE, but if you want to read them here is [another great one straight from SUN|http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html] .
Edited by: find_suvro@SDN on 7 Nov, 2008 12:00 PM -
Problem with Thread and InputStream
Hi,
I am having a problem with threads and InputStreams. I have a class which
extends Thread. I have created and started four instances of this class. But
only one instance finishes its' work. When I check the state of other three
threads their state remains Runnable.
What I want to do is to open four InputStreams which are running in four
threads, which reads from the same url.
This is what I have written in my thread class's run method,
public void run()
URL url = new URL("http://localhost/test/myFile.exe");
URLConnection conn = url.openConnection();
InputStream istream = conn.getInputStream();
System.out.println("input stream taken");
If I close the input stream at the end of the run method, then other threads
also works fine. But I do not want to close it becuase I have to read data
from it later.
The file(myFile.exe) I am trying to read is about 35 MB in size.
When I try to read a file which is about 10 KB all the threads work well.
Plz teach me how to solve this problem.
I am using JDK 1.5 and Win XP home edition.
Thanks in advance,
Chamal.I dunno if we should be doing such things as this code does, but it works fine for me. All threads get completed.
public class ThreadURL implements Runnable
/* (non-Javadoc)
* @see java.lang.Runnable#run()
public void run()
try
URL url = new URL("http://localhost:7777/java/install/");
URLConnection conn = url.openConnection();
InputStream istream = conn.getInputStream();
System.out.println("input stream taken by "+Thread.currentThread().getName());
istream.close();
System.out.println("input stream closed by "+Thread.currentThread().getName());
catch (MalformedURLException e)
System.out.println(e);
//TODO Handle exception.
catch (IOException e)
System.out.println(e);
//TODO Handle exception.
public static void main(String[] args)
ThreadURL u = new ThreadURL();
Thread t = new Thread(u,"1");
Thread t1 = new Thread(u,"2");
Thread t2 = new Thread(u,"3");
Thread t3 = new Thread(u,"4");
t.start();
t1.start();
t2.start();
t3.start();
}And this is the o/p i got
input stream taken by 2
input stream closed by 2
input stream taken by 4
input stream closed by 4
input stream taken by 3
input stream closed by 3
input stream taken by 1
input stream closed by 1
can u paste your whole code ?
ram. -
Hi,
I'm using LDAP with Active Directory.
When I run a query, the very first time, results are correctly
populated. Every successive query then fails, with a thread aborted
exception:
Message: Thread was being aborted.
Stack Trace:
at System.Net.UnsafeNclNativeMethods.OSSOCK.recv(IntP tr
socketHandle, Byte* pinnedBuffer, Int32 len, SocketFlags socketFlags)
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset,
Int32 size, SocketFlags socketFlags, SocketError& errorCode)
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset,
Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32
offset, Int32 size)
at System.IO.Stream.ReadByte()
at Novell.Directory.Ldap.Asn1.Asn1Identifier..ctor(St ream
in_Renamed)
at Novell.Directory.Ldap.Connection.ReaderThread.Run( )
Could anyone help with why this is happening?
Thanks,
Nedar
nedar
nedar's Profile: http://forums.novell.com/member.php?userid=78416
View this thread: http://forums.novell.com/showthread.php?t=401581nedar;1936674 Wrote:
> I did try simply replacing the dll, but that did not help.
Can you encapsulate the failure into a test harness and post the code
some place? If you are running latest libraries... and you do get a
correct run the first time through... perhaps the issue is in the way
you are using them.
Also, have you seen 'similar'
(http://developer.cisco.com/web/cuae/.../105446316CEF7)
error? Seems to involve the FQN / BaseDN being used... same stack
traces, essentially. Specifically:
> DC=cisco,DC=com is reproducing the same error on my side. "o=cisco.com"
> is working fine.
>
> Basically, the correct format of BaseDN for your specific ldap server
> is needed to make the Query work. You may be able to look at your ldap
> server to figure correct format.
>
-- Bob
Bob Mahar -- Novell Knowledge Partner
Do you do what you do at a .EDU? http://novell.com/ttp
"Programming is like teaching a jellyfish to build a house."
http://twitter.com/BobMahar http://vimeo.com/boborama
Bob-O-Rama's Profile: http://forums.novell.com/member.php?userid=5269
View this thread: http://forums.novell.com/showthread.php?t=401581 -
Client/server RMI app using Command pattern: return values and exceptions
I'm developing a client/server java app via RMI. Actually I'm using the cajo framework overtop RMI (any cajo devs/users here?). Anyways, there is a lot of functionality the server needs to expose, all of which is split and encapsulated in manager-type classes that the server has access to. I get the feeling though that bad things will happen to me in my sleep if I just expose instances of the managers, and I really don't like the idea of writing 24682763845 methods that the server needs to individually expose, so instead I'm using the Command pattern (writing 24682763845 individual MyCommand classes is only slightly better). I haven't used the command pattern since school, so maybe I'm missing something, but I'm finding it to be messy. Here's the setup: I've got a public abstract Command which holds information about which user is attempting to execute the command, and when, and lots of public MyCommands extending Command, each with a mandatory execute() method which does the actual dirty work of talking to the model-functionality managers. The server has a command invoker executeCommand(Command cmd) which checks the authenticity of the user prior to executing the command.
What I'm interested in is return values and exceptions. I'm not sure if these things really fit in with a true command pattern in general, but it sure would be nice to have return values and exceptions, even if only for the sake of error detection.
First, return values. I'd like each Command to return a result, even if it's just boolean true if nothing went wrong, so in my Command class I have a private Object result with a protected setter, public getter. The idea is, in the execute() method, after doing what needs to be done, setResult(someResult) is called. The invoker on the server, after running acommand.execute() eventually returns acommand.getResult(), which of course is casted by the client into whatever it should be. I don't see a way to do this using generics though, because I don't see a way to have the invoker's return value as anything other than Object. Suggestions? All this means is, if the client were sending a GetUserCommand cmd I'd have to cast like User user = (User)server.executeCommand(cmd), or sending an AssignWidgetToGroup cmd I'd have to cast like Boolean result = (Boolean)server.executeCommand(cmd). I guess that's not too bad, but can this be done better?
Second, exceptions. I can have the Command's execute() method throw Exception, and the server's invoker method can in turn throw that Exception. Problem is, with a try/catch on the client side, using RMI (or is this just a product of cajo?) ensures that any exception thrown by a remote method will come back as a java.lang.reflect.InvocationTargetException. So for example, if in MyCommand.execute() I throw new MySpecialException, the server's command invoker method will in turn throw the same exception, however the try/catch on the client side will catch InvocationTargetException e. If I do e.getCause().printStackTrace(), THERE be my precious MySpecialException. But how do I catch it? Can it be caught? Nested try/catch won't work, because I can't re-throw the cause of the original exception. For now, instead of throwing exceptions the server is simply returning null if things don't go as planned, meaning on the client side I would do something like if ((result = server.executeCommand(cmd)) == null) { /* deal with it */ } else { /* process result, continue normally */ }.
So using the command pattern, although doing neat things for me like centralizing access to the server via one command-invoking method which avoids exposing a billion others, and making it easy to log who's running what and when, causes me null-checks, casting, and no obvious way of error-catching. I'd be grateful if anyone can share their thoughts/experiences on what I'm trying to do. I'll post some of my code tomorrow to give things more tangible perspective.First of all, thanks for taking the time to read, I know it's long.
Secondly, pardon me, but I don't see how you've understood that I wasn't going to or didn't want to use exceptions, considering half my post is regarding how I can use exceptions in my situation. My love for exception handling transcends time and space, I assure you, that's why I made this thread.
Also, you've essentially told me "use exceptions", "use exceptions", and "you can't really use exceptions". Having a nested try/catch anytime I want to catch the real exception does indeed sound terribly weak. Just so I'm on the same page though, how can I catch an exception, and throw the cause?
try {
catch (Exception e) {
Throwable t = e.getCause();
// now what?
}Actually, nested try/catches everywhere is not happening, which means I'm probably going to ditch cajo unless there's some way to really throw the proper exception. I must say however that cajo has done everything I've needed up until now.
Anyways, what I'd like to know is...what's really The Right Way (tm) of putting together this kind of client/server app? I've been thinking that perhaps RMI is not the way to go, and I'm wondering if I should be looking into more of a cross-language RPC solution. I definitely do want to neatly decouple the client from server, and the command pattern did seem to do that, but maybe it's not the best solution.
Thanks again for your response, ejp, and as always any comments and/or suggestions would be greatly appreciated. -
URGENT- PLEASE HELP: java.lang.threads and BC4J
Hi,
according to my issue "no def found for view" in the same titled thread I'm wondering how you would implement asynchronous calls of methods that use BC4J to update a couple of data.
To be more precise:
A requirement of our software is to start an update database job, which can take a couple of minutes/hours, from the web browser. Before it will be executed the logged-in user receives a notification that this batch job has been started.
I dont't want to use JMS overhead and MD Beans for this simple requirement, therefore I implemented a class that extends java.lang.Thread and put all the update codings within the run method. After having called the start-method of the thread I get a JBO-25022(No XML file found) error when I try to set a new value for an attribute of the row. The row consists of attributes which belong to four entity objects that mus be updated.
When calling the run method directly, everything works fine.
My questions:
* do you know any workaround how to make the xml files
reachable?
* how would you implement anschronous calls of long time-
consuming jobs?
* is this a bug of BC4J?
Any help, tip, hint is really appreciated.
StefanArno,
many thanks for your reply:
Here is an excerpt of the source code of my thread "Aenderungsdienst":
public class Aenderungsdienst extends java.lang.Thread
private SviAdministrationModuleImpl mSviModul;
// Application module that contains view object
// IKViewImpl
public Aenderungsdienst(SviAdministrationModuleImpl aSviModul)
mSviModul = aSviModul;
public void run()
ausfuehrenAenderungsdienst(mAenderungsdienstNr); <--error within this methode
private int ausfuehrenAenderungsdienst(String aAenderungsdienstNr)
int rAnzahlSaetze = 0;
try
IkViewImpl aenderungen = mSviModul.getIkView();
aenderungen.suchenAenderungssaetze(aAenderungsdienstNr); <-- method within View Object Impl that executes a query with customized where-clauses
if ((rAnzahlSaetze = aenderungen.getRowCount()) > 0)
IkViewRowImpl ik = null;
while (aenderungen.hasNext())
ik = (IkViewRowImpl) aenderungen.next();
ik.setBestandsstatus("B"); <-- error occurs here when setting the status of a current row in my rowset to "B"
mSviModul.getTransaction().postChanges();
mSviModul.getTransaction().commit();
catch (Exception e)
e.printStackTrace();
mSviModul.getTransaction().rollback();
//todo: Verarbeitungsprotokoll erstellen
return rAnzahlSaetze;
This thread will be called by the application module "sviAdministrationModuleImpl":
public void ausfuehrenAenderungsdienst(String
aAenderungsdienstNr)
Aenderungsdienst aenderungsdienst = new
Aenderungsdienst(this);
aenderungsdienst.setAenderungsdienstNr
(aAenderungsdienstNr);
aenderungsdienst.start();
Using the start() method of the thread causes this exception:
[653] No xml file: /hvbg/svi/model/businessobjects/businessobjects.xml, metaobj = hvbg.svi.model.businessobjects.businessobjects
[654] Cannot Load parent Package : hvbg.svi.model.businessobjects.businessobjects
[655] Business Object Browsing may be unavailable
[656] No xml file: /hvbg/svi/model/businessobjects/IK_Inlandsbankverb.xml, metaobj = hvbg.svi.model.businessobjects.IK_Inlandsbankverb
09.03.2004 10:27:41 hvbg.common.businessobjects.HvbgEntityImpl setAttributeInternal
SCHWERWIEGEND: Fehler beim Setzen des Attributs 1 im Entity Objekt: JBO-25002: Definition hvbg.svi.model.businessobjects.IK_Inlandsbankverb vom Typ Entitätszuordnung nicht gefunden.
09.03.2004 10:27:42 hvbg.svi.model.dienste.Aenderungsdienst ausfuehrenAenderungsdienst
SCHWERWIEGEND: Beim Ausführen des Aenderungsdienstes 618 trat während der DB-Aktualisierung ein schwerer Fehler auf:
JBO-25002: Definition hvbg.svi.model.businessobjects.IK_Inlandsbankverb vom Typ Entitätszuordnung nicht gefunden.
oracle.jbo.NoDefException: JBO-25002: Definition hvbg.svi.model.businessobjects.IK_Inlandsbankverb vom Typ Entitätszuordnung nicht gefunden.
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:328)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:268)
at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:649)
at oracle.jbo.server.EntityAssociation.findEntityAssociation(EntityAssociation.java:98)
at oracle.jbo.server.AssociationDefImpl.resolveEntityAssociation(AssociationDefImpl.java:725)
at oracle.jbo.server.AssociationDefImpl.getEntityAssociation(AssociationDefImpl.java:135)
at oracle.jbo.server.AssociationDefImpl.hasContainer(AssociationDefImpl.java:546)
at oracle.jbo.server.AssociationDefImpl.getContainer(AssociationDefImpl.java:468)
at oracle.jbo.server.EntityImpl.getContainer(EntityImpl.java:1573)
at oracle.jbo.server.EntityImpl.setValidated(EntityImpl.java:1649)
at oracle.jbo.server.EntityImpl.setAttributeValueInternal(EntityImpl.java:2081)
at oracle.jbo.server.EntityImpl.setAttributeValue(EntityImpl.java:1985)
at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:1700)
at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:946)
at hvbg.common.businessobjects.HvbgEntityImpl.setAttributeInternal(HvbgEntityImpl.java:56)
at hvbg.svi.model.businessobjects.IKImpl.setBestandsstatus(IKImpl.java:174)
at hvbg.svi.model.businessobjects.IKImpl.setAttrInvokeAccessor(IKImpl.java:770)
at oracle.jbo.server.EntityImpl.setAttribute(EntityImpl.java:859)
at oracle.jbo.server.ViewRowStorage.setAttributeValue(ViewRowStorage.java:1108)
at oracle.jbo.server.ViewRowStorage.setAttributeInternal(ViewRowStorage.java:1019)
at oracle.jbo.server.ViewRowImpl.setAttributeInternal(ViewRowImpl.java:1047)
at hvbg.svi.model.dataviews.IkViewRowImpl.setBestandsstatus(IkViewRowImpl.java:264)
at hvbg.svi.model.dienste.Aenderungsdienst.ausfuehrenAenderungsdienst(Aenderungsdienst.java:337)
at hvbg.svi.model.dienste.Aenderungsdienst.run(Aenderungsdienst.java:290)
Using run(), everything works perfectly.
The view object IKView consists of four entity objects which are linked by associations. There exists an association between the entity objects ik and inlandbankverb. The xml-file for the association object is named "ik_inlandsbankverb.xml". It seems so that this definition could not be found when calling my thread in asynchronous (via start()-method call) mode.
Is this a bug of JDeveloper?
Thanks in advance,
Stefan -
I have various programmes that crash across the board with a similar error code like the following. I remember I've had this before, also on my previous MacBook Pro. I already tested memory using two second party programmes, and the (new Apple diagnostics..., which doesn't provide an overview over what's been found/not found??). I would tend to exclude the possibility that my memory fails always after half a year into a new computer. A (non-clean) reinstall (which preserved settings now (since Yosemite??), did not offer any relief. I am very disinclined to do a complete, clean reinstall, as it would take me at least a week or two to get the computer back into my work flow. Cleaning caches etc. did likewise not offer relief... Any suggestions? what is this apple main-thread and how to debug it? Again, this happens to at least 12 different programmes.
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000018
Many thanks.Dear Linc,
@1: I may have emptied since most of the crashes, I copy here what appears after entering search string: 'crash':
07/01/2015 10:38:28.279 com.apple.xpc.launchd[1]: (com.apple.ReportCrash) The DrainMessagesOnCrash key is not yet implemented. If you rely on this key, please file a bug.
07/01/2015 10:38:28.279 com.apple.xpc.launchd[1]: (com.apple.ReportCrash.Self) The DrainMessagesOnCrash key is not yet implemented. If you rely on this key, please file a bug.
07/01/2015 10:38:32.433 Cinch[331]: 6 CMCrashReporter 0x00060be5 +[CMCrashReporterGlobal isRunningLeopard] + 25
07/01/2015 10:38:38.586 Dropbox[339]: ICARegisterForEventNotification-Has been deprecated since 10.5. Calls to this function in the future may crash this application. Please move to ImageCaptureCore
07/01/2015 10:38:58.000 kernel[0]: Sandbox: assistantd(443) deny mach-lookup com.apple.CrashReporterSupportHelper
07/01/2015 10:38:58.438 assistantd[443]: Connection error while checking Apple Internalness. Error: Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper application." (The connection to service named com.apple.CrashReporterSupportHelper was invalidated.) UserInfo=0x7f7f6a7402c0 {NSDebugDescription=The connection to service named com.apple.CrashReporterSupportHelper was invalidated.}
07/01/2015 10:38:58.000 kernel[0]: Sandbox: com.apple.geod(445) deny mach-lookup com.apple.CrashReporterSupportHelper
07/01/2015 10:38:58.504 com.apple.geod[445]: Connection error while checking Apple Internalness. Error: Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper application." (The connection to service named com.apple.CrashReporterSupportHelper was invalidated.) UserInfo=0x7fb8b280da20 {NSDebugDescription=The connection to service named com.apple.CrashReporterSupportHelper was invalidated.}
07/01/2015 10:49:54.365 com.apple.xpc.launchd[1]: (com.apple.ReportCrash.Root[495]) Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash.DirectoryService
07/01/2015 13:22:12.042 assistantd[7077]: Connection error while checking Apple Internalness. Error: Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper application." (The connection to service named com.apple.CrashReporterSupportHelper was invalidated.) UserInfo=0x7fdaf4201bb0 {NSDebugDescription=The connection to service named com.apple.CrashReporterSupportHelper was invalidated.}
07/01/2015 13:22:12.219 sandboxd[280]: ([7077]) assistantd(7077) deny mach-lookup com.apple.CrashReporterSupportHelper
07/01/2015 13:44:45.487 assistantd[8006]: Connection error while checking Apple Internalness. Error: Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper application." (The connection to service named com.apple.CrashReporterSupportHelper was invalidated.) UserInfo=0x7f9c0a41e160 {NSDebugDescription=The connection to service named com.apple.CrashReporterSupportHelper was invalidated.}
07/01/2015 13:44:45.741 sandboxd[280]: ([8006]) assistantd(8006) deny mach-lookup com.apple.CrashReporterSupportHelper
07/01/2015 13:56:02.724 Things[8125]: Call stack:
0 AppKit 0x00007fff93a4ba9c -[NSThemeFrame addSubview:] + 107
1 Things 0x00000001079b95c1 Things + 710081
2 Things 0x0000000107926d50 Things + 109904
3 AppKit 0x00007fff933a4745 -[NSWindowTemplate nibInstantiate] + 567
4 AppKit 0x00007fff9337973b -[NSIBObjectData instantiateObject:] + 309
5 AppKit 0x00007fff9385bd01 -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 452
6 AppKit 0x00007fff9336df05 loadNib + 384
7 AppKit 0x00007fff938dbf80 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 313
8 AppKit 0x00007fff938dc67d +[NSBundle(NSNibLoadingInternal) _loadNibFile:externalNameTable:options:withZone:] + 150
9 AppKit 0x00007fff935adfed -[NSWindowController loadWindow] + 313
10 AppKit 0x00007fff935b3684 -[NSWindowController window] + 80
11 AppKit 0x00007fff935b4821 -[NSWindowController showWindow:] + 36
12 Things 0x000000010799ef13 Things + 601875
13 Things 0x00000001079a7864 Things + 637028
14 HockeySDK 0x0000000107bb00f0 -[BITCrashReportManager startManager] + 371
15 CoreFoundation 0x00007fff89bf3cbc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
16 CoreFoundation 0x00007fff89ae51b4 _CFXNotificationPost + 3140
17 Foundation 0x00007fff92453ea1 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
18 AppKit 0x00007fff9339210b -[NSApplication _postDidFinishNotification] + 291
19 AppKit 0x00007fff93391e76 -[NSApplication _sendFinishLaunchingNotification] + 191
20 AppKit 0x00007fff9338ec76 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 574
21 AppKit 0x00007fff9338e6b5 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 244
22 Foundation 0x00007fff92473458 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 290
23 Foundation 0x00007fff924732c9 _NSAppleEventManagerGenericHandler + 102
24 AE 0x00007fff8c69e99c _Z20aeDispatchAppleEventPK6AEDescPS_jPh + 531
25 AE 0x00007fff8c69e719 _ZL25dispatchEventAndSendReplyPK6AEDescPS_ + 31
26 AE 0x00007fff8c69e623 aeProcessAppleEvent + 295
27 HIToolbox 0x00007fff973b837e AEProcessAppleEvent + 56
28 AppKit 0x00007fff9338ad76 _DPSNextEvent + 2665
29 AppKit 0x00007fff93389e80 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
30 AppKit 0x00007fff9337de23 -[NSApplication run] + 594
31 AppKit 0x00007fff933692d4 NSApplicationMain + 1832
32 Things 0x000000010790e2b4 Things + 8884
33 ??? 0x0000000000000001 0x0 + 1
@2:
the last one noted there seems to be Aperture, even though there have been crashes certainly after I used that:
Process: Aperture [1268]
Path: /Volumes/*/Aperture.app/Contents/MacOS/Aperture
Identifier: com.apple.Aperture
Version: 3.6 (3.6)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Aperture [1268]
User ID: 501
Date/Time: 2014-12-25 17:11:57.551 +0000
OS Version: Mac OS X 10.10.1 (14B25)
Report Version: 11
Anonymous UUID: anonymised
Sleep/Wake UUID: E4 anonymised
Time Awake Since Boot: 22000 seconds
Time Since Wake: 4000 seconds
Crashed Thread: 19 Dispatch queue: com.apple.photoapps.volumeMgr
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: 0x000000000000000a, 0x000000010d3dd5ab
VM Regions Near 0x10d3dd5ab:
VM_ALLOCATE 000000010d28a000-000000010d28b000 [ 4K] r--/rw- SM=SHM
--> mapped file 000000010d28b000-000000010d80e000 [ 5644K] r-x/rwx SM=COW Object_id=c83507bb
mapped file 000000010d80e000-000000010d957000 [ 1316K] rw-/rwx SM=COW Object_id=c6e6ec6b
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff951bd52e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff951bc69f mach_msg + 55
2 com.apple.CoreServices.CarbonCore 0x00007fff8f4b07e1 FileIDTree_VolumeMessageProcessed_rpc + 105
3 com.apple.CoreFoundation 0x00007fff8fbc5a0d __CFMachPortPerform + 285
4 com.apple.CoreFoundation 0x00007fff8fbc58d9 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
5 com.apple.CoreFoundation 0x00007fff8fbc584b __CFRunLoopDoSource1 + 475
6 com.apple.CoreFoundation 0x00007fff8fbb73c7 __CFRunLoopRun + 2375
7 com.apple.CoreFoundation 0x00007fff8fbb6838 CFRunLoopRunSpecific + 296
8 com.apple.HIToolbox 0x00007fff9627443f RunCurrentEventLoopInMode + 235
9 com.apple.HIToolbox 0x00007fff962741ba ReceiveNextEventCommon + 431
10 com.apple.HIToolbox 0x00007fff96273ffb _BlockUntilNextEventMatchingListInModeWithFilter + 71
11 com.apple.AppKit 0x00007fff8df496d1 _DPSNextEvent + 964
12 com.apple.AppKit 0x00007fff8df48e80 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
13 ??? 0x000000010cccea81 0 + 4509723265
14 com.apple.AppKit 0x00007fff8df3ce23 -[NSApplication run] + 594
15 ??? 0x000000010e0b439a 0 + 4530586522
16 ??? 0x000000010c8720b4 0 + 4505149620
17 ??? 0x000000010c871a44 0 + 4505147972
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff951c322e kevent64 + 10
1 libdispatch.dylib 0x00007fff8eacba6a _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff951c2132 __psynch_cvwait + 10
1 com.apple.Foundation 0x00007fff9160a400 -[NSCondition waitUntilDate:] + 343
2 com.apple.Foundation 0x00007fff916002b8 -[NSConditionLock lockWhenCondition:beforeDate:] + 232
3 ??? 0x000000010ed5e7c7 0 + 4543866823
4 ??? 0x000000010ed5e320 0 + 4543865632
5 com.apple.Foundation 0x00007fff91638b7a __NSThread__main__ + 1345
6 libsystem_pthread.dylib 0x00007fff8c2512fc _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff8c251279 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff8c24f4b1 thread_start + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff951c2132 __psynch_cvwait + 10
1 com.apple.Foundation 0x00007fff9160a400 -[NSCondition waitUntilDate:] + 343
2 com.apple.Foundation 0x00007fff916002b8 -[NSConditionLock lockWhenCondition:beforeDate:] + 232
3 ??? 0x000000010ed5e7c7 0 + 4543866823
4 ??? 0x000000010ed5e320 0 + 4543865632
5 com.apple.Foundation 0x00007fff91638b7a __NSThread__main__ + 1345
6 libsystem_pthread.dylib 0x00007fff8c2512fc _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff8c251279 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff8c24f4b1 thread_start + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff951c2132 __psynch_cvwait + 10
1 com.apple.Foundation 0x00007fff9160a400 -[NSCondition waitUntilDate:] + 343
2 com.apple.Foundation 0x00007fff916002b8 -[NSConditionLock lockWhenCondition:beforeDate:] + 232
3 ??? 0x000000010ed5e7c7 0 + 4543866823
4 ??? 0x000000010ed5e320 0 + 4543865632
5 com.apple.Foundation 0x00007fff91638b7a __NSThread__main__ + 1345
6 libsystem_pthread.dylib 0x00007fff8c2512fc _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff8c251279 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff8c24f4b1 thread_start + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff951c2132 __psynch_cvwait + 10
1 com.apple.Foundation 0x00007fff9160a400 -[NSCondition waitUntilDate:] + 343
2 com.apple.Foundation 0x00007fff916002b8 -[NSConditionLock lockWhenCondition:beforeDate:] + 232
3 ??? 0x000000010ed5e7c7 0 + 4543866823
4 ??? 0x000000010ed5e320 0 + 4543865632
5 com.apple.Foundation 0x00007fff91638b7a __NSThread__main__ + 1345
6 libsystem_pthread.dylib 0x00007fff8c2512fc _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff8c251279 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff8c24f4b1 thread_start + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff951c2132 __psynch_cvwait + 10
1 com.apple.Foundation 0x00007fff9160a400 -[NSCondition waitUntilDate:] + 343
2 com.apple.Foundation 0x00007fff916002b8 -[NSConditionLock lockWhenCondition:beforeDate:] + 232
3 ??? 0x000000010ed5e7c7 0 + 4543866823
4 ??? 0x000000010ed5e320 0 + 4543865632
5 com.apple.Foundation 0x00007fff91638b7a __NSThread__main__ + 1345
6 libsystem_pthread.dylib 0x00007fff8c2512fc _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff8c251279 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff8c24f4b1 thread_start + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff951c2132 __psynch_cvwait + 10
1 com.apple.Foundation 0x00007fff9160a400 -[NSCondition waitUntilDate:] + 343
2 com.apple.Foundation 0x00007fff916002b8 -[NSConditionLock lockWhenCondition:beforeDate:] + 232
3 ??? 0x000000010ed5e7c7 0 + 4543866823
4 ??? 0x000000010ed5e320 0 + 4543865632
5 com.apple.Foundation 0x00007fff91638b7a __NSThread__main__ + 1345
6 libsystem_pthread.dylib 0x00007fff8c2512fc _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff8c251279 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff8c24f4b1 thread_start + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff951c2132 __psynch_cvwait + 10
1 com.apple.Foundation 0x00007fff9160a400 -[NSCondition waitUntilDate:] + 343
2 com.apple.Foundation 0x00007fff916002b8 -[NSConditionLock lockWhenCondition:beforeDate:] + 232
3 ??? 0x000000010ed5e7c7 0 + 4543866823
4 ??? 0x000000010ed5e320 0 + 4543865632
5 com.apple.Foundation 0x00007fff91638b7a __NSThread__main__ + 1345
6 libsystem_pthread.dylib 0x00007fff8c2512fc _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff8c251279 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff8c24f4b1 thread_start + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff951bd52e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff951bc69f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8fbb7b14 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8fbb6fdb __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8fbb6838 CFRunLoopRunSpecific + 296
5 com.apple.AppKit 0x00007fff8e0ac7a7 _NSEventThread + 137
6 libsystem_pthread.dylib 0x00007fff8c2512fc _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff8c251279 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff8c24f4b1 thread_start + 13
Thread 10:
0 libsystem_kernel.dylib 0x00007fff951bd52e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff951bc69f mach_msg + 55
2 libclh.dylib 0x00007fff96099318 cuosEventWait + 184
3 libclh.dylib 0x00007fff95a9f593 intHandlerMain + 323
4 libclh.dylib 0x00007fff9609a119 cuosPosixThreadStartFunc(void*) + 41
5 libsystem_pthread.dylib 0x00007fff8c2512fc _pthread_body + 131
6 libsystem_pthread.dylib 0x00007fff8c251279 _pthread_start + 176
7 libsystem_pthread.dylib 0x00007fff8c24f4b1 thread_start + 13
Thread 11:: QTKit: listenOnDelegatePort
0 libsystem_kernel.dylib 0x00007fff951bd52e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff951bc69f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8fbb7b14 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8fbb6fdb __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8fbb6838 CFRunLoopRunSpecific + 296
5 com.apple.CoreFoundation 0x00007fff8fc6ced1 CFRunLoopRun + 97
6 com.apple.QTKit 0x00007fff99dcb948 listenOnDelegatePort + 372
7 libsystem_pthread.dylib 0x00007fff8c2512fc _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff8c251279 _pthread_start + 176
9 libsystem_pthread.dylib 0x00007fff8c24f4b1 thread_start + 13
Thread 12:: QTKit: listenOnNotificationPort
0 libsystem_kernel.dylib 0x00007fff951bd52e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff951bc69f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8fbb7b14 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8fbb6fdb __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8fbb6838 CFRunLoopRunSpecific + 296
5 com.apple.CoreFoundation 0x00007fff8fc6ced1 CFRunLoopRun + 97
6 com.apple.QTKit 0x00007fff99dcbdf3 listenOnNotificationPort + 340
7 libsystem_pthread.dylib 0x00007fff8c2512fc _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff8c251279 _pthread_start + 176
9 libsystem_pthread.dylib 0x00007fff8c24f4b1 thread_start + 13
Thread 13:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff951bd52e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff951bc69f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8fbb7b14 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8fbb6fdb __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8fbb6838 CFRunLoopRunSpecific + 296
5 com.apple.CFNetwork 0x00007fff8c032d20 +[NSURLConnection(Loader) _resourceLoadLoop:] + 434
6 com.apple.Foundation 0x00007fff91638b7a __NSThread__main__ + 1345
7 libsystem_pthread.dylib 0x00007fff8c2512fc _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff8c251279 _pthread_start + 176
9 libsystem_pthread.dylib 0x00007fff8c24f4b1 thread_start + 13
Thread 14:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff951c23f6 __select + 10
1 libsystem_pthread.dylib 0x00007fff8c2512fc _pthread_body + 131
2 libsystem_pthread.dylib 0x00007fff8c251279 _pthread_start + 176
3 libsystem_pthread.dylib 0x00007fff8c24f4b1 thread_start + 13
Thread 15:
0 libsystem_kernel.dylib 0x00007fff951bd52e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff951bc69f mach_msg + 55
2 libclh.dylib 0x00007fff96099318 cuosEventWait + 184
3 libclh.dylib 0x00007fff95a9f593 intHandlerMain + 323
4 libclh.dylib 0x00007fff9609a119 cuosPosixThreadStartFunc(void*) + 41
5 libsystem_pthread.dylib 0x00007fff8c2512fc _pthread_body + 131
6 libsystem_pthread.dylib 0x00007fff8c251279 _pthread_start + 176
7 libsystem_pthread.dylib 0x00007fff8c24f4b1 thread_start + 13
Thread 16:
0 libsystem_kernel.dylib 0x00007fff951c2946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8c24f4a1 start_wqthread + 13
Thread 17:
0 libsystem_kernel.dylib 0x00007fff951c2946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8c24f4a1 start_wqthread + 13
Thread 18:: Dispatch queue: NSWorkspace Volume Observer Queue
0 libsystem_kernel.dylib 0x00007fff951bd52e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff951bc69f mach_msg + 55
2 com.apple.CoreServices.CarbonCore 0x00007fff8f4b07e1 FileIDTree_VolumeMessageProcessed_rpc + 105
3 com.apple.CoreServices.CarbonCore 0x00007fff8f4aea33 ___FSAddVolumeObserverOnQueue_block_invoke_2 + 205
4 libdispatch.dylib 0x00007fff8eac8c13 _dispatch_client_callout + 8
5 libdispatch.dylib 0x00007fff8ead387e _dispatch_source_latch_and_call + 721
6 libdispatch.dylib 0x00007fff8eacc62b _dispatch_source_invoke + 412
7 libdispatch.dylib 0x00007fff8eacc154 _dispatch_queue_drain + 571
8 libdispatch.dylib 0x00007fff8eacdecc _dispatch_queue_invoke + 202
9 libdispatch.dylib 0x00007fff8eacb6b7 _dispatch_root_queue_drain + 463
10 libdispatch.dylib 0x00007fff8ead9fe4 _dispatch_worker_thread3 + 91
11 libsystem_pthread.dylib 0x00007fff8c2516cb _pthread_wqthread + 729
12 libsystem_pthread.dylib 0x00007fff8c24f4a1 start_wqthread + 13
Thread 19 Crashed:: Dispatch queue: com.apple.photoapps.volumeMgr
0 ??? 0x000000010d3dd5ab 0 + 4517123499
1 com.apple.DiskArbitration 0x00007fff90ab5648 _DASessionCallback + 265
2 com.apple.DiskArbitration 0x00007fff90ab5538 __DASessionSetDispatchQueue_block_invoke_2 + 56
3 libdispatch.dylib 0x00007fff8eac8c13 _dispatch_client_callout + 8
4 libdispatch.dylib 0x00007fff8ead387e _dispatch_source_latch_and_call + 721
5 libdispatch.dylib 0x00007fff8eacc62b _dispatch_source_invoke + 412
6 libdispatch.dylib 0x00007fff8eacc154 _dispatch_queue_drain + 571
7 libdispatch.dylib 0x00007fff8eacdecc _dispatch_queue_invoke + 202
8 libdispatch.dylib 0x00007fff8eacb6b7 _dispatch_root_queue_drain + 463
9 libdispatch.dylib 0x00007fff8ead9fe4 _dispatch_worker_thread3 + 91
10 libsystem_pthread.dylib 0x00007fff8c2516cb _pthread_wqthread + 729
11 libsystem_pthread.dylib 0x00007fff8c24f4a1 start_wqthread + 13
Thread 20:
Thread 19 crashed with X86 Thread State (64-bit):
rax: 0x00007fff90ab5898 rbx: 0x00007fa228126400 rcx: 0x00007fff90ab59f4 rdx: 0x0000600000090900
rdi: 0x00006080004494e0 rsi: 0x0000600000a70100 rbp: 0x00000001180a5cb0 rsp: 0x00000001180a5c48
r8: 0x0000000000000080 r9: 0xbaddc0dedeadbead r10: 0x00007fa224466e40 r11: 0x0000000000000002
r12: 0x0000000000000003 r13: 0x000061800008dbb0 r14: 0x0000600000a70100 r15: 0x00006080004494e0
rip: 0x000000010d3dd5ab rfl: 0x0000000000010203 cr2: 0x000000010d3dd5ab
Logical CPU: 3
Error Code: 0x00000014
Trap Number: 14
Binary Images:
0 - 0xffffffffffffffff +Aperture (???) /Volumes/*/Aperture.app/Contents/MacOS/Aperture
0 - 0xffffffffffffffff +PhotoFoundation (???) /Volumes/*/Aperture.app/Contents/Frameworks/PhotoFoundation.framework/Versions/ A/PhotoFoundation
0 - 0xffffffffffffffff +RedRock (???) /Volumes/*/Aperture.app/Contents/Frameworks/RedRock.framework/Versions/A/RedRoc k
0 - 0xffffffffffffffff +iLifePageLayoutCore (???) /Volumes/*/Aperture.app/Contents/Frameworks/iLifePageLayoutCore.framework/Versi ons/A/iLifePageLayoutCore
0 - 0xffffffffffffffff +iLifePhotoStreamConfiguration (???) /Volumes/*/Aperture.app/Contents/Frameworks/iLifePhotoStreamConfiguration.frame work/Versions/A/iLifePhotoStreamConfiguration
0 - 0xffffffffffffffff +iLifeAssetManagement (???) /Volumes/*/Aperture.app/Contents/Frameworks/iLifeAssetManagement.framework/Vers ions/A/iLifeAssetManagement
0 - 0xffffffffffffffff +AccountConfigurationPlugin (???) /Volumes/*/Aperture.app/Contents/Frameworks/AccountConfigurationPlugin.framewor k/Versions/A/AccountConfigurationPlugin
0 - 0xffffffffffffffff +MobileMe (???) /Volumes/*/Aperture.app/Contents/Frameworks/MobileMe.framework/Versions/A/Mobil eMe
0 - 0xffffffffffffffff +ProKit (???) /Volumes/*/Aperture.app/Contents/Frameworks/ProKit.framework/Versions/A/ProKit
0 - 0xffffffffffffffff +iLifeSlideshow (???) /Volumes/*/Aperture.app/Contents/Frameworks/iLifeSlideshow.framework/Versions/A /iLifeSlideshow
0 - 0xffffffffffffffff +iLifeFaceRecognition (???) /Volumes/*/Aperture.app/Contents/Frameworks/iLifeFaceRecognition.framework/Vers ions/A/iLifeFaceRecognition
0 - 0xffffffffffffffff +PrintServices (???) /Volumes/*/Aperture.app/Contents/Frameworks/PrintServices.framework/Versions/A/ PrintServices
0 - 0xffffffffffffffff +ProUtils (???) /Volumes/*/Aperture.app/Contents/Frameworks/ProUtils.framework/Versions/A/ProUt ils
0 - 0xffffffffffffffff +Geode (???) /Volumes/*/Aperture.app/Contents/Frameworks/Geode.framework/Versions/A/Geode
0 - 0xffffffffffffffff +ProXTCore (???) /Volumes/*/Aperture.app/Contents/Frameworks/ProXTCore.framework/Versions/A/ProX TCore
0 - 0xffffffffffffffff +iLifeSQLAccess (???) /Volumes/*/Aperture.app/Contents/Frameworks/iLifeSQLAccess.framework/Versions/A /iLifeSQLAccess
0 - 0xffffffffffffffff +Tellus (???) /Volumes/*/Aperture.app/Contents/Frameworks/Tellus.framework/Versions/A/Tellus
0 - 0xffffffffffffffff +Tessera (???) /Volumes/*/Aperture.app/Contents/Frameworks/Tessera.framework/Versions/A/Tesser a
0 - 0xffffffffffffffff +eOkaoCom.dylib (???) /Volumes/*/Aperture.app/Contents/Frameworks/iLifeFaceRecognition.framework/Vers ions/A/Resources/eOkaoCom.dylib
0 - 0xffffffffffffffff +eOkaoPt.dylib (???) /Volumes/*/Aperture.app/Contents/Frameworks/iLifeFaceRecognition.framework/Vers ions/A/Resources/eOkaoPt.dylib
0 - 0xffffffffffffffff +eOkaoDt.dylib (???) /Volumes/*/Aperture.app/Contents/Frameworks/iLifeFaceRecognition.framework/Vers ions/A/Resources/eOkaoDt.dylib
0 - 0xffffffffffffffff +eOkaoFr.dylib (???) /Volumes/*/Aperture.app/Contents/Frameworks/iLifeFaceRecognition.framework/Vers ions/A/Resources/eOkaoFr.dylib
0 - 0xffffffffffffffff +TaskView (???) /Volumes/*/Aperture.app/Contents/PlugIns/TaskView.bundle/Contents/MacOS/TaskVie w
0 - 0xffffffffffffffff +FacebookPublisher (???) /Volumes/*/Aperture.app/Contents/PlugIns/FacebookPublisher.publisher/Contents/M acOS/FacebookPublisher
0 - 0xffffffffffffffff +FlickrPublisher (???) /Volumes/*/Aperture.app/Contents/PlugIns/FlickrPublisher.publisher/Contents/Mac OS/FlickrPublisher
0 - 0xffffffffffffffff +MobileMePublisher (???) /Volumes/*/Aperture.app/Contents/PlugIns/MobileMePublisher.publisher/Contents/M acOS/MobileMePublisher
0 - 0xffffffffffffffff +SharedPhotoStreamPublisher (???) /Volumes/*/Aperture.app/Contents/PlugIns/SharedPhotoStreamPublisher.publisher/C ontents/MacOS/SharedPhotoStreamPublisher
0 - 0xffffffffffffffff +SmugMugPublisher (???) /Volumes/*/Aperture.app/Contents/PlugIns/SmugMugPublisher.publisher/Contents/Ma cOS/SmugMugPublisher
0 - 0xffffffffffffffff +Facebook (???) /Volumes/*/Aperture.app/Contents/PlugIns/Facebook.accountconfigplugin/Contents/ MacOS/Facebook
0 - 0xffffffffffffffff +Flickr (???) /Volumes/*/Aperture.app/Contents/PlugIns/Flickr.accountconfigplugin/Contents/Ma cOS/Flickr
0 - 0xffffffffffffffff +SmugMug (???) /Volumes/*/Aperture.app/Contents/PlugIns/SmugMug.accountconfigplugin/Contents/M acOS/SmugMug
0x10d1b5000 - 0x10d1e2fff com.apple.iTunesLibrary (12.0.1 - 12.0.1.26) <8EEB7003-E3B0-3149-81B6-F5D70F97466C> /Library/Frameworks/iTunesLibrary.framework/Versions/A/iTunesLibrary
0x10e080000 - 0x10e08bff7 com.apple.PluginManager (1.7.6 - 55) <0E0F6415-A474-3FC8-8C8E-33867E31F391> /Library/Frameworks/PluginManager.framework/Versions/B/PluginManager
0x10f0e3000 - 0x10f1fbfff com.apple.mobiledevice (757.1.5.0.2 - 757.1.5.0.2) <364C6894-934B-3844-A77F-7DFEC21F8AEE> /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevic e
0x10f279000 - 0x10f2aeff7 libssl.0.9.8.dylib (52) <70680606-475F-3C89-BB5F-E274253DC7C6> /usr/lib/libssl.0.9.8.dylib
0x10f2c6000 - 0x10f2c8ff7 com.apple.LibraryRepair (1.0 - 1) <7D0695B1-BCC9-3ED2-9688-14806C8ED284> /System/Library/PrivateFrameworks/LibraryRepair.framework/Versions/A/LibraryRep air
0x10f4c7000 - 0x10f51aff7 com.apple.NyxAudioAnalysis (12.5 - 12.5) <D1DAF825-1680-3D27-9F20-B1316C0A7C03> /Library/Frameworks/NyxAudioAnalysis.framework/Versions/A/NyxAudioAnalysis
0x118003000 - 0x118004fe5 +cl_kernels (???) <0A48AF2D-C3D6-4260-9FD2-9BB66B01CA20> cl_kernels
0x11843a000 - 0x11843fff7 libgermantok.dylib (17) <47EF3D93-B111-3218-AF60-E33F506D57E8> /usr/lib/libgermantok.dylib
0x11d722000 - 0x11d726ff3 libFontRegistryUI.dylib (134) <9C55337C-4D65-34C8-9BB9-90399B420A6F> /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framewo rk/Resources/libFontRegistryUI.dylib
0x11da6f000 - 0x11da6ffe7 +cl_kernels (???) <7E713AF1-D6EB-4975-86EB-6F84BE214B39> cl_kernels
0x11e6ec000 - 0x11e7d2fef unorm8_bgra.dylib (2.4.5) <90797750-141F-3114-ACD0-A71363968678> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/ImageFormats/u norm8_bgra.dylib
0x11e814000 - 0x11e8f4ff7 unorm8_rgba.dylib (2.4.5) <A8805102-8A21-3A5E-AE22-63C0DEC8CB6F> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/ImageFormats/u norm8_rgba.dylib
0x123400000000 - 0x1234004f7ff7 com.apple.driver.AppleIntelHD5000GraphicsGLDriver (10.0.86 - 10.0.0) <03454F0A-EEE2-3B25-8DB2-A32FA24CE699> /System/Library/Extensions/AppleIntelHD5000GraphicsGLDriver.bundle/Contents/Mac OS/AppleIntelHD5000GraphicsGLDriver
0x123440000000 - 0x123440864fff com.apple.GeForceGLDriver (10.0.43 - 10.0.0) <4E749711-614F-32F8-8373-1F0307082D7B> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDrive r
0x7fff61749000 - 0x7fff6177f837 dyld (353.2.1) <4696A982-1500-34EC-9777-1EF7A03E2659> /usr/lib/dyld
0x7fff8a906000 - 0x7fff8a992fff libsystem_c.dylib (1044.1.2) <C185E862-7424-3210-B528-6B822577A4B8> /usr/lib/system/libsystem_c.dylib
0x7fff8a993000 - 0x7fff8a99eff7 com.apple.AppSandbox (4.0 - 238) <BC5EE1CA-764A-303D-9989-4041C1291026> /System/Library/PrivateFrameworks/AppSandbox.framework/Versions/A/AppSandbox
0x7fff8a9c6000 - 0x7fff8a9cafff libcache.dylib (69) <45E9A2E7-99C4-36B2-BEE3-0C4E11614AD1> /usr/lib/system/libcache.dylib
0x7fff8a9cb000 - 0x7fff8aa86ff7 com.apple.DiscRecording (9.0 - 9000.4.1) <F70E600E-9668-3DF2-A3A8-61813DF9E2EE> /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
0x7fff8aa87000 - 0x7fff8aa93ff7 com.apple.OpenDirectory (10.10 - 187) <1D0066FC-1DEB-381B-B15C-4C009E0DF850> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x7fff8ab41000 - 0x7fff8ab48ff7 com.apple.phonenumbers (1.1.1 - 105) <AE39B6FE-05AB-3181-BB2A-4D50A8B392F2> /System/Library/PrivateFrameworks/PhoneNumbers.framework/Versions/A/PhoneNumber s
0x7fff8ab5b000 - 0x7fff8ab5dfff libRadiance.dylib (1231) <BDD94A52-DE53-300C-9180-5D434272989F> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.d ylib
0x7fff8ab73000 - 0x7fff8ab97ff7 com.apple.quartzfilters (1.10.0 - 1.10.0) <1AE50F4A-0098-34E7-B24D-DF7CB94073CE> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzFilters .framework/Versions/A/QuartzFilters
0x7fff8ab98000 - 0x7fff8abb3ff7 libCRFSuite.dylib (34) <D64842BE-7BD4-3D0C-9842-1D202F7C2A51> /usr/lib/libCRFSuite.dylib
0x7fff8abc0000 - 0x7fff8acb4ff7 libFontParser.dylib (134) <506126F8-FDCE-3DE1-9DCA-E07FE658B597> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontParser.dylib
0x7fff8ad57000 - 0x7fff8b026ff3 com.apple.CoreImage (10.0.33) <6E3DDA29-718B-3BDB-BFAF-F8C201BF93A4> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage .framework/Versions/A/CoreImage
0x7fff8b027000 - 0x7fff8b0a4ff7 com.apple.iLifeMediaBrowser (2.9.0 - 675) <2E008E85-B3EA-391C-9D79-6275AC70EDDB> /System/Library/PrivateFrameworks/iLifeMediaBrowser.framework/Versions/A/iLifeM ediaBrowser
0x7fff8b0a5000 - 0x7fff8b0c2ffb libresolv.9.dylib (57) <26B38E61-298A-3C3A-82C1-3B5E98AD5E29> /usr/lib/libresolv.9.dylib
0x7fff8b0c3000 - 0x7fff8b0c8ff7 com.apple.MediaAccessibility (1.0 - 61) <00A3E0B6-79AC-387E-B282-AADFBD5722F6> /System/Library/Frameworks/MediaAccessibility.framework/Versions/A/MediaAccessi bility
0x7fff8b0c9000 - 0x7fff8b0cdfff com.apple.LoginUICore (3.0 - 3.0) <D76AB05B-B627-33EE-BA8A-515D85275DCD> /System/Library/PrivateFrameworks/LoginUIKit.framework/Versions/A/Frameworks/Lo ginUICore.framework/Versions/A/LoginUICore
0x7fff8b0ce000 - 0x7fff8b0cffff libDiagnosticMessagesClient.dylib (100) <2EE8E436-5CDC-34C5-9959-5BA218D507FB> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff8b18e000 - 0x7fff8b22ddf7 com.apple.AppleJPEG (1.0 - 1) <9BB3D7DF-630A-3E1C-A124-12D6C4D0DE70> /System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG
0x7fff8b247000 - 0x7fff8b249fff com.apple.ExceptionHandling (1.5 - 10) <C3A6EB3D-C0B3-371F-99D8-AF5495498091> /System/Library/Frameworks/ExceptionHandling.framework/Versions/A/ExceptionHand ling
0x7fff8b3bc000 - 0x7fff8b462fff com.apple.PDFKit (3.0 - 3.0) <C55D8F39-561D-32C7-A701-46F76D6CC151> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framew ork/Versions/A/PDFKit
0x7fff8b463000 - 0x7fff8b555ff7 libiconv.2.dylib (42) <2A06D02F-8B76-3864-8D96-64EF5B40BC6C> /usr/lib/libiconv.2.dylib
0x7fff8b556000 - 0x7fff8b5caff3 com.apple.securityfoundation (6.0 - 55126) <E7FB7A4E-CB0B-37BA-ADD5-373B2A20A783> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
0x7fff8b5cb000 - 0x7fff8b5dafff com.apple.LangAnalysis (1.7.0 - 1.7.0) <D1E527E4-C561-352F-9457-E8C50232793C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x7fff8b5f7000 - 0x7fff8b5fbfff libpam.2.dylib (20) <E805398D-9A92-31F8-8005-8DC188BD8B6E> /usr/lib/libpam.2.dylib
0x7fff8b5fc000 - 0x7fff8b603fff libCGCMS.A.dylib (772) <E64DC779-A6CF-3B1F-8E57-C09C0B10670F> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGCMS .A.dylib
0x7fff8b619000 - 0x7fff8b6a2fff com.apple.CoreSymbolication (3.1 - 56072) <8CE81C95-49E8-389F-B989-67CC452C08D0> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSy mbolication
0x7fff8b6a3000 - 0x7fff8b724ff3 com.apple.CoreUtils (1.0 - 101.1) <45E5E51B-947E-3F2D-BD9C-480E72555C23> /System/Library/PrivateFrameworks/CoreUtils.framework/Versions/A/CoreUtils
0x7fff8b725000 - 0x7fff8b730ff7 libkxld.dylib (2782.1.97) <CB1A1B57-54BE-3573-AE0C-B90ED6BAEEE2> /usr/lib/system/libkxld.dylib
0x7fff8b731000 - 0x7fff8b742ff7 libsystem_coretls.dylib (35.1.2) <EBBF7EF6-80D8-3F8F-825C-B412BD6D22C0> /usr/lib/system/libsystem_coretls.dylib
0x7fff8b743000 - 0x7fff8b750ff7 libxar.1.dylib (254) <CE10EFED-3066-3749-838A-6A15AC0DBCB6> /usr/lib/libxar.1.dylib
0x7fff8b751000 - 0x7fff8b76ffff com.apple.frameworks.preferencepanes (16.0 - 16.0) <C763B730-D6BC-31D3-951A-898BB49C5A3E> /System/Library/Frameworks/PreferencePanes.framework/Versions/A/PreferencePanes
0x7fff8b770000 - 0x7fff8b775ff7 libmacho.dylib (862) <126CA2ED-DE91-308F-8881-B9DAEC3C63B6> /usr/lib/system/libmacho.dylib
0x7fff8b776000 - 0x7fff8b77bff7 libunwind.dylib (35.3) <BE7E51A0-B6EA-3A54-9CCA-9D88F683A6D6> /usr/lib/system/libunwind.dylib
0x7fff8b77c000 - 0x7fff8b7cdff7 com.apple.audio.CoreAudio (4.3.0 - 4.3.0) <AF72B06E-C6C1-3FAE-8B47-AF461CAE0E22> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x7fff8b7f6000 - 0x7fff8b802ff7 libGPUSupportMercury.dylib (11.0.7) <C04F6E18-3043-3096-A6E6-F6431ADC41D3> /System/Library/PrivateFrameworks/GPUSupport.framework/Versions/A/Libraries/lib GPUSupportMercury.dylib
0x7fff8b803000 - 0x7fff8b80eff7 com.apple.DirectoryService.Framework (10.10 - 187) <813211CD-725D-31B9-ABEF-7B28DE2CB224> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
0x7fff8b80f000 - 0x7fff8b811fff libCVMSPluginSupport.dylib (11.0.7) <29D775BB-A11D-3140-A478-2A0DA1A87420> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginS upport.dylib
0x7fff8b829000 - 0x7fff8b843ff7 libextension.dylib (55.1) <ECBDCC15-FA19-3578-961C-B45FCC994BAF> /usr/lib/libextension.dylib
0x7fff8b844000 - 0x7fff8b895ff7 com.apple.AppleVAFramework (5.0.31 - 5.0.31) <762E9358-A69A-3D63-8282-3B77FBE0147E> /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA
0x7fff8b896000 - 0x7fff8b92cffb com.apple.CoreMedia (1.0 - 1562.19) <F79E0E9D-4ED1-3ED1-827A-C3C5377DB1D7> /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
0x7fff8b92d000 - 0x7fff8bd04fe7 com.apple.CoreAUC (211.0.0 - 211.0.0) <C8B2470F-3994-37B8-BE10-6F78667604AC> /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC
0x7fff8bd09000 - 0x7fff8bd0dfff libsystem_stats.dylib (163.1.4) <1DB04436-5974-3F16-86CC-5FF5F390339C> /usr/lib/system/libsystem_stats.dylib
0x7fff8bd0e000 - 0x7fff8bd39fff libc++abi.dylib (125) <88A22A0F-87C6-3002-BFBA-AC0F2808B8B9> /usr/lib/libc++abi.dylib
0x7fff8bd4f000 - 0x7fff8bf34267 libobjc.A.dylib (646) <3B60CD90-74A2-3A5D-9686-B0772159792A> /usr/lib/libobjc.A.dylib
0x7fff8bf35000 - 0x7fff8bf37ff7 com.apple.diagnosticlogcollection (10.0 - 1000) <D7516965-DB40-3235-9D00-C724F7D2BC02> /System/Library/PrivateFrameworks/DiagnosticLogCollection.framework/Versions/A/ DiagnosticLogCollection
0x7fff8bf38000 - 0x7fff8bf6aff3 com.apple.frameworks.CoreDaemon (1.3 - 1.3) <C6DB0A07-F8E4-3837-BCA9-225F460EDA81> /System/Library/PrivateFrameworks/CoreDaemon.framework/Versions/B/CoreDaemon
0x7fff8bf6b000 - 0x7fff8bf74ff3 com.apple.CommonAuth (4.0 - 2.0) <F4C266BE-2E0E-36B4-9DE7-C6B4BF410FD7> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
0x7fff8bf75000 - 0x7fff8bf86fff libcmph.dylib (1) <46EC3997-DB5E-38AE-BBBB-A035A54AD3C0> /usr/lib/libcmph.dylib
0x7fff8bf87000 - 0x7fff8bf91ff7 com.apple.CrashReporterSupport (10.10 - 629) <EC97EA5E-3190-3717-A4A9-2F35A447E7A6> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/Cra shReporterSupport
0x7fff8bf92000 - 0x7fff8c195ff3 com.apple.CFNetwork (720.1.1 - 720.1.1) <A82E71B3-2CDB-3840-A476-F2304D896E03> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x7fff8c1f2000 - 0x7fff8c24dfef libTIFF.dylib (1231) <115791FB-8C49-3410-AC23-56F4B1CFF124> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x7fff8c24e000 - 0x7fff8c257fff libsystem_pthread.dylib (105.1.4) <26B1897F-0CD3-30F3-B55A-37CB45062D73> /usr/lib/system/libsystem_pthread.dylib
0x7fff8c258000 - 0x7fff8c2d0ff7 com.apple.SystemConfiguration (1.14 - 1.14) <C269BCFD-ACAB-3331-BC7C-0430F0E84817> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x7fff8c2d1000 - 0x7fff8c2d8ff7 libcompiler_rt.dylib (35) <BF8FC133-EE10-3DA6-9B90-92039E28678F> /usr/lib/system/libcompiler_rt.dylib
0x7fff8c2d9000 - 0x7fff8c2fafff com.apple.framework.Apple80211 (10.0.1 - 1001.57.4) <E449B57F-1AC3-3DF1-8A13-4390FB3A05A4> /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
0x7fff8c2fb000 - 0x7fff8c32bfff libsystem_m.dylib (3086.1) <1E12AB45-6D96-36D0-A226-F24D9FB0D9D6> /usr/lib/system/libsystem_m.dylib
0x7fff8c32c000 - 0x7fff8c32cff7 libkeymgr.dylib (28) <77845842-DE70-3CC5-BD01-C3D14227CED5> /usr/lib/system/libkeymgr.dylib
0x7fff8c32d000 - 0x7fff8c338fdb com.apple.AppleFSCompression (68.1.1 - 1.0) <F30E8CA3-50B3-3B44-90A0-803C5C308BFE> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/Apple FSCompression
0x7fff8c35e000 - 0x7fff8c5d8fff com.apple.CoreData (110 - 526) <AEEDAF00-D38F-3A15-B3C9-73732940CC55> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x7fff8c5d9000 - 0x7fff8c601fff libxpc.dylib (559.1.22) <9437C02E-A07B-38C8-91CB-299FAA63083D> /usr/lib/system/libxpc.dylib
0x7fff8c75e000 - 0x7fff8c890ff7 com.apple.MediaControlSender (2.0 - 215.10) <8ECF208C-587A-325F-9866-09890D58F1B1> /System/Library/PrivateFrameworks/MediaControlSender.framework/Versions/A/Media ControlSender
0x7fff8c891000 - 0x7fff8c8cafff com.apple.AirPlaySupport (2.0 - 215.10) <E4159036-4C38-3F28-8AF3-4F074DAF01AC> /System/Library/PrivateFrameworks/AirPlaySupport.framework/Versions/A/AirPlaySu pport
0x7fff8c8ee000 - 0x7fff8c8f0fff libsystem_configuration.dylib (699.1.5) <9FBA1CE4-97D0-347E-A443-93ED94512E92> /usr/lib/system/libsystem_configuration.dylib
0x7fff8c92f000 - 0x7fff8c946ff7 libLinearAlgebra.dylib (1128) <E78CCBAA-A999-3B65-8EC9-06DB15E67C37> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLinearAlgebra.dylib
0x7fff8c947000 - 0x7fff8c94ffff libsystem_platform.dylib (63) <64E34079-D712-3D66-9CE2-418624A5C040> /usr/lib/system/libsystem_platform.dylib
0x7fff8c950000 - 0x7fff8c951ff7 MetadataLib.dylib (6.2) <BE9131AC-7D9C-3678-A053-2873442A3DF3> /System/Library/CoreServices/RawCamera.bundle/Contents/Resources/MetadataLib.dy lib
0x7fff8c952000 - 0x7fff8c95afff libMatch.1.dylib (24) <C917279D-33C2-38A8-9BDD-18F3B24E6FBD> /usr/lib/libMatch.1.dylib
0x7fff8c95b000 - 0x7fff8c9c2ff7 com.apple.datadetectorscore (6.0 - 396.1) <5D348063-1528-3E2F-B587-9E82970506F9> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDe tectorsCore
0x7fff8c9c3000 - 0x7fff8ca64ff7 com.apple.Bluetooth (4.3.1 - 4.3.1f2) <EDC78AEE-28E7-324C-9947-41A0814A8154> /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth
0x7fff8cbb4000 - 0x7fff8cfe4fff com.apple.vision.FaceCore (3.1.6 - 3.1.6) <C3B823AA-C261-37D3-B4AC-C59CE91C8241> /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
0x7fff8cfe5000 - 0x7fff8cfe9fff com.apple.CommonPanels (1.2.6 - 96) <F9ECC8AF-D9CA-3350-AFB4-5113A9B789A5> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x7fff8cfea000 - 0x7fff8d10cff7 com.apple.LaunchServices (644.12 - 644.12) <D7710B20-0561-33BB-A3C8-463691D36E02> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
0x7fff8d10d000 - 0x7fff8d19eff7 libCoreStorage.dylib (471) <5CA37ED3-320C-3469-B4D2-6F045AFE03A1> /usr/lib/libCoreStorage.dylib
0x7fff8d19f000 - 0x7fff8d34efff GLEngine (11.0.7) <3CB7447A-1A1D-3D55-A6A4-4814B49F6678> /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLEngine.bundl e/GLEngine
0x7fff8d34f000 - 0x7fff8d350ffb libremovefile.dylib (35) <3485B5F4-6CE8-3C62-8DFD-8736ED6E8531> /usr/lib/system/libremovefile.dylib
0x7fff8dcc5000 - 0x7fff8dcc7ff7 libquarantine.dylib (76) <DC041627-2D92-361C-BABF-A869A5C72293> /usr/lib/system/libquarantine.dylib
0x7fff8dcc8000 - 0x7fff8dcc8ff7 libunc.dylib (29) <5676F7EA-C1DF-329F-B006-D2C3022B7D70> /usr/lib/system/libunc.dylib
0x7fff8dcc9000 - 0x7fff8df09ff7 com.apple.AddressBook.framework (9.0 - 1499) <8D5C9530-4D90-32C7-BB5E-3A686FE36BE9> /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
0x7fff8df0a000 - 0x7fff8df24ff7 com.apple.Kerberos (3.0 - 1) <7760E0C2-A222-3709-B2A6-B692D900CEB1> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x7fff8df25000 - 0x7fff8ea66fff com.apple.AppKit (6.9 - 1343.16) <C98DB43F-4245-3E6E-A4EE-37DAEE33E174> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7fff8ea67000 - 0x7fff8ea78ff7 libz.1.dylib (55) <88C7C7DE-04B8-316F-8B74-ACD9F3DE1AA1> /usr/lib/libz.1.dylib
0x7fff8ea79000 - 0x7fff8eac6ff3 com.apple.CoreMediaIO (601.0 - 4749) <DDB756B3-A281-3791-9744-1F52CF8E5EDB> /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/CoreMediaIO
0x7fff8eac7000 - 0x7fff8eaf1ff7 libdispatch.dylib (442.1.4) <502CF32B-669B-3709-8862-08188225E4F0> /usr/lib/system/libdispatch.dylib
0x7fff8eaf2000 - 0x7fff8ec50ff3 com.apple.avfoundation (2.0 - 889.10) <4D1735C4-D055-31E9-8051-FED29F41F4F6> /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation
0x7fff8ec51000 - 0x7fff8ec8cfff com.apple.AOSAccounts (1.3.1 - 1.8.19) <1EF4B780-3474-331E-9104-6CE796D8C930> /System/Library/PrivateFrameworks/AOSAccounts.framework/Versions/A/AOSAccounts
0x7fff8ecce000 - 0x7fff8eccffff libsystem_secinit.dylib (18) <581DAD0F-6B63-3A48-B63B-917AF799ABAA> /usr/lib/system/libsystem_secinit.dylib
0x7fff8ecd0000 - 0x7fff8ecd1fff com.apple.TrustEvaluationAgent (2.0 - 25) <2D61A2C3-C83E-3A3F-8EC1-736DBEC250AB> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/Tru stEvaluationAgent
0x7fff8edb2000 - 0x7fff8edb4ffb libCGXType.A.dylib (772) <7CB71BC6-D8EC-37BC-8243-41BAB086FAAA> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXTy pe.A.dylib
0x7fff8edb5000 - 0x7fff8edbdffb com.apple.CloudServices (1.0 - 1) <D278BECB-AEC3-3D32-BEC8-E949EB89D66B> /System/Library/PrivateFrameworks/CloudServices.framework/Versions/A/CloudServi ces
0x7fff8edbe000 - 0x7fff8edd4ff7 com.apple.CoreMediaAuthoring (2.2 - 951) <B5E5ADF2-BBE8-30D9-83BC-74D0D450CF42> /System/Library/PrivateFrameworks/CoreMediaAuthoring.framework/Versions/A/CoreM ediaAuthoring
0x7fff8ede4000 - 0x7fff8edfeff7 com.apple.AppleVPAFramework (1.0.30 - 1.0.30) <D47A2125-C72D-3298-B27D-D89EA0D55584> /System/Library/PrivateFrameworks/AppleVPA.framework/Versions/A/AppleVPA
0x7fff8edff000 - 0x7fff8ee05ff7 libsystem_networkextension.dylib (167.1.10) <29AB225B-D7FB-30ED-9600-65D44B9A9442> /usr/lib/system/libsystem_networkextension.dylib
0x7fff8ee06000 - 0x7fff8ee77ff7 com.apple.framework.IOKit (2.0.2 - 1050.1.21) <ED3B0B22-AACC-303B-BFC8-20ECD1AF6BA2> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff8ee78000 - 0x7fff8f028ff7 com.apple.QuartzCore (1.10 - 361.11) <7382E4A9-10B0-3877-B9D7-FA84DC71BA55> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x7fff8f057000 - 0x7fff8f091ffb com.apple.DebugSymbols (115 - 115) <6F03761D-7C3A-3C80-8031-AA1C1AD7C706> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbol s
0x7fff8f329000 - 0x7fff8f376fff com.apple.ImageCaptureCore (6.0 - 6.0) <93B4D878-A86B-3615-8426-92E4C79F8482> /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCo re
0x7fff8f377000 - 0x7fff8f385ff7 com.apple.ToneLibrary (1.0 - 1) <3E6D130D-77B0-31E1-98E3-A6052AB09824> /System/Library/PrivateFrameworks/ToneLibrary.framework/Versions/A/ToneLibrary
0x7fff8f386000 - 0x7fff8f3b9ff7 com.apple.MediaKit (16 - 757) <345EDAFE-3E39-3B0F-8D84-54657EC4396D> /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
0x7fff8f44c000 - 0x7fff8f477fff com.apple.DictionaryServices (1.2 - 229) <6789EC43-CADA-394D-8FE8-FC3A2DD136B9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
0x7fff8f478000 - 0x7fff8f75fffb com.apple.CoreServices.CarbonCore (1108.1 - 1108.1) <55A16172-ACC0-38B7-8409-3CB92AF33973> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x7fff8f760000 - 0x7fff8f878ffb com.apple.CoreText (352.0 - 454.1) <AB07DF12-BB1F-3275-A8A3-45F14BF872BF> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
0x7fff8f879000 - 0x7fff8f8deff7 com.apple.ids (10.0 - 1000) <12E5717E-8D63-3B70-BB46-A60AFB02CCAE> /System/Library/PrivateFrameworks/IDS.framework/Versions/A/IDS
0x7fff8f8df000 - 0x7fff8f8e2ff7 com.apple.AppleSystemInfo (3.0 - 3.0) <E54DA0B2-3515-3B1C-A4BD-54A0B02B5612> /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/AppleSys temInfo
0x7fff8f8e3000 - 0x7fff8f911fff com.apple.CoreServicesInternal (221.1 - 221.1) <51BAE6D2-84F3-392A-BFEC-A3B47B80A3D2> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/Cor eServicesInternal
0x7fff8f912000 - 0x7fff8f92eff7 libsystem_malloc.dylib (53.1.1) <19BCC257-5717-3502-A71F-95D65AFA861B> /usr/lib/system/libsystem_malloc.dylib
0x7fff8fa02000 - 0x7fff8fa16ff7 com.apple.ProtectedCloudStorage (1.0 - 1) <52CFE68A-0663-3756-AB5B-B42195026052> /System/Library/PrivateFrameworks/ProtectedCloudStorage.framework/Versions/A/Pr otectedCloudStorage
0x7fff8fb45000 - 0x7fff8fedbfff com.apple.CoreFoundation (6.9 - 1151.16) <F2B088AF-A5C6-3FAE-9EB4-7931AF6359E4> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff8fedc000 - 0x7fff8fedcfff com.apple.ApplicationServices (48 - 48) <5BF7910B-C328-3BF8-BA4F-CE52B574CE01> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x7fff90815000 - 0x7fff90861ff7 libcups.2.dylib (408) <9CECCDE3-51D7-3028-830C-F58BD36E3317> /usr/lib/libcups.2.dylib
0x7fff90862000 - 0x7fff90863fff liblangid.dylib (117) <B54A4AA0-2E53-3671-90F5-AFF711C0EB9E> /usr/lib/liblangid.dylib
0x7fff90864000 - 0x7fff908c9fff com.apple.framework.internetaccounts (2.1 - 210) <DC8D9230-B7C8-3100-8B2F-399B51A4483A> /System/Library/PrivateFrameworks/InternetAccounts.framework/Versions/A/Interne tAccounts
0x7fff90925000 - 0x7fff90950ff3 libarchive.2.dylib (30) <8CBB4416-EBE9-3574-8ADC-44655D245F39> /usr/lib/libarchive.2.dylib
0x7fff90951000 - 0x7fff90963ff7 com.apple.ImageCapture (9.0 - 9.0) <7FB65DD4-56B5-35C4-862C-7A2DED991D1F> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x7fff90964000 - 0x7fff9097dff7 com.apple.CalendarAgentLink (8.0 - 250) <0F3CCA9C-645D-3A1A-A959-F4F8D31F9B1A> /System/Library/PrivateFrameworks/CalendarAgentLink.framework/Versions/A/Calend arAgentLink
0x7fff9098d000 - 0x7fff9098ffff com.apple.CoreDuetDebugLogging (1.0 - 1) <9A6E5710-EA99-366E-BF40-9A65EC1B46A1> /System/Library/PrivateFrameworks/CoreDuetDebugLogging.framework/Versions/A/Cor eDuetDebugLogging
0x7fff909b9000 - 0x7fff909c2fff com.apple.DisplayServicesFW (2.9 - 372.1) <30E61754-D83C-330A-AE60-533F27BEBFF5> /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayS ervices
0x7fff909c3000 - 0x7fff90a99ff3 com.apple.DiskImagesFramework (10.10 - 389.1) <7DE2208C-BD55-390A-8167-4F9F11750C4B> /System/Library/PrivateFrameworks/DiskImages.framework/Versions/A/DiskImages
0x7fff90a9a000 - 0x7fff90ab2fff com.apple.CalendarStore (8.0 - 1479) <42CC3B45-7916-3C2C-8F07-E40D96C9FEDB> /System/Library/Frameworks/CalendarStore.framework/Versions/A/CalendarStore
0x7fff90ab3000 - 0x7fff90ab8fff com.apple.DiskArbitration (2.6 - 2.6) <0DFF4D9B-2AC3-3B82-B5C5-30F4EFBD2DB9> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x7fff90ac4000 - 0x7fff90ac6ff7 libsystem_coreservices.dylib (9) <41B7C578-5A53-31C8-A96F-C73E030B0938> /usr/lib/system/libsystem_coreservices.dylib
0x7fff90add000 - 0x7fff90ae1fff libspindump.dylib (182) <7BD8C0AC-1CDA-3864-AE03-470B50160148> /usr/lib/libspindump.dylib
0x7fff90aef000 - 0x7fff90b1fffb com.apple.GSS (4.0 - 2.0) <D033E7F1-2D34-339F-A814-C67E009DE5A9> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x7fff90b45000 - 0x7fff90b48fff com.apple.help (1.3.3 - 46) <CA4541F4-CEF5-355C-8F1F-EA65DC1B400F> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x7fff90b49000 - 0x7fff90cd8fff libGLProgrammability.dylib (11.0.7) <AF37E7F3-16C8-3747-9CC6-A442C0153DC6> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
0x7fff90cd9000 - 0x7fff90cdcfff com.apple.xpc.ServiceManagement (1.0 - 1) <7E9E6BB7-AEE7-3F59-BAC0-59EAF105D0C8> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManage ment
0x7fff90cdd000 - 0x7fff90d30ffb libAVFAudio.dylib (118.3) <CC124063-34DF-39E3-921A-2B -
Most all my applications are crashing.
The Exception Type on all that crash: EXC_BAD_ACCESS (SIGBUS) and Exception Codes: KERN_PROTECTION_FAILURE at ...
All browsers but Safari crash
I can't view any video media but quicktime works.
Example: iPhoto
Process: iPhoto [2167]
Path: /Applications/iPhoto.app/Contents/MacOS/iPhoto
Identifier: com.apple.iPhoto
Version: 9.1.5 (9.1.5)
Build Info: iPhotoProject-6150000~1
Code Type: X86 (Native)
Parent Process: launchd [254]
Date/Time: 2011-09-05 16:25:22.327 -0500
OS Version: Mac OS X 10.7.1 (11B26)
Report Version: 9
Interval Since Last Report: 734286 sec
Crashes Since Last Report: 427
Per-App Interval Since Last Report: 154207 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: 9AD5F8B1-380F-4563-A57D-A589708BA3D2
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x000000009802d0cb
Just about everything crashes.
Help...please?How old is this machine? If it's less than 90 days old you have 90 days of Free AppleCare coverage, call them! You will find the phone number in your manual. If it's out of AppleCare or you bought it used take it your local Apple Store or AASP to have it looked at. We don't have enough information to know what the problem might be. You can run some tests such as Apple Hardware Test in Extended Mode 2-3x to see if it has any hardware errors. Beyond that it's really tough to say.
-
JEditorPane PageLoader thread causing exceptions, not on EDT
Hello,
I have a swing GUI that creates a JEditorPane component and loads up an HTML file using the setPage() method to finally display it. I'm occaisionally getting NullPointerExceptions and ArrayIndexOutOfBoundsExceptions when running the GUI. It is apparent that the JEditor pane spawns a page loading process to load up the HTML. When the loading completes, this page loading thread signals the swing JEditorPane component to update its display. Because the signalling is being done from the pageloader thread and not from the EDT it seems to be creating race conditions and therefore the exceptions.
An example of the typical stacktrace thrown is:
Exception in thread "Thread-6" java.lang.NullPointerException
at javax.swing.text.CompositeView.replace(CompositeView.java:200)
at javax.swing.text.CompositeView.loadChildren(CompositeView.java:97)
at javax.swing.text.FlowView$LogicalView.loadChildren(FlowView.java:684)
at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
at javax.swing.text.FlowView.loadChildren(FlowView.java:122)
at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
at javax.swing.text.FlowView.setParent(FlowView.java:272)
at javax.swing.text.html.ParagraphView.setParent(ParagraphView.java:58)
at javax.swing.text.CompositeView.replace(CompositeView.java:200)
at javax.swing.text.BoxView.replace(BoxView.java:164)
at javax.swing.text.CompositeView.loadChildren(CompositeView.java:97)
at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
at javax.swing.text.html.BlockView.setParent(BlockView.java:55)
at javax.swing.text.CompositeView.replace(CompositeView.java:200)
at javax.swing.text.BoxView.replace(BoxView.java:164)
at javax.swing.text.html.TableView$RowView.replace(TableView.java:1457)
at javax.swing.text.CompositeView.loadChildren(CompositeView.java:97)
at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
at javax.swing.text.CompositeView.replace(CompositeView.java:200)
at javax.swing.text.BoxView.replace(BoxView.java:164)
at javax.swing.text.html.TableView.replace(TableView.java:896)
at javax.swing.text.CompositeView.loadChildren(CompositeView.java:97)
at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
at javax.swing.text.html.TableView.setParent(TableView.java:800)
at javax.swing.text.CompositeView.replace(CompositeView.java:200)
at javax.swing.text.BoxView.replace(BoxView.java:164)
at javax.swing.text.CompositeView.loadChildren(CompositeView.java:97)
at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
at javax.swing.text.html.BlockView.setParent(BlockView.java:55)
at javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.setParent(HTMLEditorKit.java:1277)
at javax.swing.text.CompositeView.replace(CompositeView.java:200)
at javax.swing.text.BoxView.replace(BoxView.java:164)
at javax.swing.text.View.updateChildren(View.java:1095)
at javax.swing.text.View.insertUpdate(View.java:679)
at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(BasicTextUI.java:1590)
at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(BasicTextUI.java:1849)
at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:185)
at javax.swing.text.DefaultStyledDocument.create(DefaultStyledDocument.java:145)
at javax.swing.text.html.HTMLDocument.create(HTMLDocument.java:281)
at javax.swing.text.html.HTMLDocument$HTMLReader.flushBuffer(HTMLDocument.java:3323)
at javax.swing.text.html.HTMLDocument$HTMLReader.flush(HTMLDocument.java:2127)
at javax.swing.text.html.HTMLEditorKit.read(HTMLEditorKit.java:231)
at javax.swing.JEditorPane.read(JEditorPane.java:557)
at javax.swing.JEditorPane.read(JEditorPane.java:585)
at javax.swing.JEditorPane$PageLoader.run(JEditorPane.java:648) As can be seen from the stack trace, the javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:185) line is called from the PageLoader.run thread which attempts to manipulate the swing component.
I haven't prepared a small compact test case for this yet as it is a race condition and only occurs under certain timings. The GUI on my machine throws these exceptions on almost every second run but far less frequently on another test machine.
I'm using Java 6 u 13 b 3 in linux ubuntu Jaunty.
Is there a way to load the page synchronously or to correctly load the page without causing these exceptions?
Thanks,
Mark
Edited by: Mark_Silberbauer on Jun 9, 2009 11:30 AMI would try to create a HTMLDocument instance and read content there by the kit you use. When the document's filling is finished just call editorPane.setDocument() in EDT.
Regards,
Stas -
Pls help..Constructor,setter, getter and Exception Handling Problem
halo, im new in java who learning basic thing and java.awt basic...i face some problem about constructor, setter, and getter.
1. I created a constructor, setter and getter in a file, and create another test file which would like to get the value from the constructor file.
The problem is: when i compile the test file, it come out error msg:cannot find symbol.As i know that is because i miss declare something but i dont know what i miss.I post my code here and help me to solve this problem...thanks
my constructor file...i dont know whether is correct, pls tell me if i miss something...
public class Employee{
private int empNum;
private String empName;
private double empSalary;
Employee(){
empNum=0;
empName="";
empSalary=0;
public int getEmpNum(){
return empNum;
public String getName(){
return empName;
public double getSalary(){
return empSalary;
public void setEmpNum(int e){
empNum = e;
public void setName(String n){
empName = n;
public void setSalary(double sal){
empSalary = sal;
my test file....
public class TestEmployeeClass{
public static void main(String args[]){
Employee e = new Employee();
e.setEmpNum(100);
e.setName("abc");
e.setSalary(1000.00);
System.out.println(e.getEmpNum());
System.out.println(e.getName());
System.out.println(e.getSalary());
}**the program is work if i combine this 2 files coding inside one file(something like the last part of my coding of problem 2)...but i would like to separate them....*
2. Another problem is i am writing one simple program which is using java.awt interface....i would like to add a validation for user input (something like show error msg when user input character and negative number) inside public void actionPerformed(ActionEvent e) ...but i dont have any idea to solve this problem.here is my code and pls help me for some suggestion or coding about exception. thank a lots...
import java.awt.*;
import java.awt.event.*;
public class SnailTravel extends Frame implements ActionListener, WindowListener{
private Frame frame;
private Label lblDistance, lblSpeed, lblSpeed2, lblTime, lblTime2, lblComment, lblComment2 ;
private TextField tfDistance;
private Button btnCalculate, btnClear;
public void viewInterface(){
frame = new Frame("Snail Travel");
lblDistance = new Label("Distance");
lblSpeed = new Label("Speed");
lblSpeed2 = new Label("0.0099km/h");
lblTime = new Label("Time");
lblTime2 = new Label("");
lblComment = new Label("Comment");
lblComment2 = new Label("");
tfDistance = new TextField(20);
btnCalculate = new Button("Calculate");
btnClear = new Button("Clear");
frame.setLayout(new GridLayout(5,2));
frame.add(lblDistance);
frame.add(tfDistance);
frame.add(lblSpeed);
frame.add(lblSpeed2);
frame.add(lblTime);
frame.add(lblTime2);
frame.add(lblComment);
frame.add(lblComment2);
frame.add(btnCalculate);
frame.add(btnClear);
btnCalculate.addActionListener(this);
btnClear.addActionListener(this);
frame.addWindowListener(this);
frame.setSize(100,100);
frame.setVisible(true);
frame.pack();
public static void main(String [] args) {
SnailTravel st = new SnailTravel();
st.viewInterface();
public void actionPerformed(ActionEvent e) {
if (e.getSource() == btnCalculate){
SnailData sd = new SnailData();
double distance = Double.parseDouble(tfDistance.getText());
sd.setDistance(distance);
sd.setSpeed(0.0099);
sd.setTime(distance/sd.getSpeed());
String answer = Double.toString(sd.getTime());
lblTime2.setText(answer);
lblComment2.setText("But No Exception!!!");
else
if(e.getSource() == btnClear){
tfDistance.setText("");
lblTime2.setText("");
public void windowClosing(WindowEvent e){
System.exit(1);
public void windowClosed (WindowEvent e) { };
public void windowDeiconified (WindowEvent e) { };
public void windowIconified (WindowEvent e) { };
public void windowActivated (WindowEvent e) { };
public void windowDeactivated (WindowEvent e) { };
public void windowOpened(WindowEvent e) { };
class SnailData{
private double distance;
private double speed;
private double time;
public SnailData(){
distance = 0;
speed = 0;
time = 0;
public double getDistance(){
return distance;
public double getSpeed(){
return speed;
public double getTime(){
return time;
public void setDistance(double d){
distance = d;
public void setSpeed(double s){
speed = s;
public void setTime(double t){
time = t;
}Pls and thanks again for helps....What i actually want to do is SnailTravel, but i facing some problems, which is the
- Constructor,setter, getter, and
- Exception Handling.
So i create another simple contructor files which name Employee and TestEmployeeClass, to try find out the problem but i failed, it come out error msg "cannot find symbol".
What i want to say that is if i cut below code (SnailTravel) to its own file(SnailData), SnailTravel come out error msg "cannot find symbol".So i force to put them in a same file(SnailTravel) to run properly.
I need help to separate them. (I think i miss some syntax but i dont know what)
And can somebody help me about Exception handling too pls.
class SnailData{
private double distance;
private double speed;
private double time;
public SnailData(){
distance = 0;
speed = 0;
time = 0;
public double getDistance(){
return distance;
public double getSpeed(){
return speed;
public double getTime(){
return time;
public void setDistance(double d){
distance = d;
public void setSpeed(double s){
speed = s;
public void setTime(double t){
time = t;
}
Maybe you are looking for
-
How to adjust Horizontal/Vertical display of Touch Smart screen
Hi Group, I recently purchased the IQ505 and have fallen in love with it. However, (a small thing) the monitor displays my PowerPoint slides slightly "taller" than they should be (stretched vertically) . Most monitors I have used in the past have, ei
-
Has Anyone Gotten Oracle ORION on Sparc 10 Working?
Hi, I was interested in running Oracle ORION on Solaris 10 (Sparc 64 bit). I downloaded the necessary tar.gz from the Oracle web site (http://www.oracle.com/technology/software/tech/orion/index.html) and extracted it and made it executable (and renam
-
Copy of Message Mapping between SW-Components: Function Module undefined
Hi Gurus, we want to copy a Message Mapping from one Software Component to an other. We right click on it and say "copy to" and choose the Target Softwarecomponent and Namespace. When we say ok.. we got an error "Function Module Undefined (FUNCMODL_U
-
Video(s) on wb page show up as a blck rectangle
Whenever (85% of the time) a video is supposed to show on the web page, all I get is a blank rectangle. I have to copy the URL and go to the IE browser where the video plays as intended.
-
Je n'arrive pas à imprimer les e-billets de spectacle
J'ai commandé par internet (Carrefour) deux billets de musée que je n'arrive pas à imprimer. Pourtant mon imprimante est en bon état de marche. Avec mes remerciements pour vos conseils.