Really Basic OO Class Question...

heres the complete code for my applet...As i understand it this should make a "Car" class then should be generating a "car" object with the constructors marked...then i just use the g.drawstring to output this...but i get a nasty error message. Its something really simple, but its completely vexed me...thanks in advance.
import java.applet.*;
import java.awt.*;
public class Traffclass extends Applet {
     public void init() {
     public class Car {
          public int length, width;
          public Color carColor;
          public Car() {  //constructor?
               length = 7;
               width = 5;
               carColor = new Color(200,10,60);
     private Car car = null;
     public void run() {
          car = new Car();
          repaint();
     public class Trafficlight {
          public boolean greenlight = true;
     public void paint(Graphics g) {
          g.drawString(""+car.length, 50, 60 );
     //     g.fillRect(car);
}

As stated the problem is solved now, but heres the error message in question...
Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException
        at Traffclass.paint(Traffclass.java:39)
        at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
        at sun.awt.RepaintArea.paint(RepaintArea.java:224)
        at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:254)
        at java.awt.Component.dispatchEventImpl(Component.java:4031)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
grantedIt wasn't a compiler message (what i am used to) so it threw me a bit.

Similar Messages

  • Really basic i tunes questions as I'm just learning how it all works

    Hi I'm hoping someone can help me as I'm upset that i've just lost alot of music on my i-pod when I was re charging it on my new laptop (as I have to hand in my old one every three years and silly me forgot to save a copy of my old music library as I just assumed it was safe on my ipod). Unfortunately I think i've lost it all as I also have my small shuffle connected to this new laptop (a friend set it all up for me and I guess I don't understand what happened. But now all the music from my shuffle is on my classic which is only 66 songs and different music and what was on my classic about 365 songs are gone many of which i manually uploaded from my old cd collections. I've got a good feeling it's gone but small optimistic part of me is hoping that someone might be able to help me reverse it un sync or at least help me set things up so that it doesn't happen again. thank you soooo much for taking the time to read this hopefully someone can help fingerscrossed.

    The common consensus is that database/sql code does not belong in a JSP. JSTL provides that ability, but does put a caveat that it should only really be used for prototyping / small applications.
    The more 'correct' way to do it, is to put the database code into java using JDBC. Write a data access method, and return the results in a list of beans.
    So first you need a bean to represent a news article.
    You might consider changing the date/time fields into a java.util.Date, but thats up to you.
    public class NewsArticle{
    private String pictureURL = null;
    private String title = null;
    private String news = null;
    private String author = null;
    private String email = null;
    private Date date = null;
    // plus appropriate getters/setters
    Then you write a method that returns a list of these objects from the database:
    public class NewsDataAccess{
    public List getNewsResults(){
      Context initContext = new InitialContext();
      Context envContext  = (Context)initContext.lookup("java:/comp/env");
      DataSource ds = (DataSource)envContext.lookup("jdbc/mySite");
      Connection conn = null;
      Statement stmt = null;
      ResultSet rs = null;
      List result = new ArrayList();
      try{
        String sql = "SELECT * FROM news, users WHERE news.user = users.username";
        conn = ds.getConnection();
        stmt = conn.createStatement();
        rs = stmt.executeQuery(sql);
        while (rs.next()){
          Article article = new Article();
          article.title = rs.getString("title");
          article.author = rs.getString("author");
          result.add(article);
         return result;
      finally{
        try {if (rs != null) rs.close();} catch(Exception e){}
        try {if (stmt != null) stmt.close();} catch(Exception e){}
        try {if (con != null) con.close();} catch(Exception e){}
    }I would then use JSTL to loop through the list, and pass an "Article" object to the custom tag.
    Or just do it with JSTL instead of the custom tag.
    Does that help?

  • Really basic Java Swing question

    Hi,
    I'm really stuck, cannot seem to compile anything. I'm using the newest SDK, 1.4 or whatever. Can someone please briefly explain how they'd compile and run a swing program using MSDOS Prompt. Thanks.
    Nick

    Here be an empty swing frameimport java.awt.*;
    import javax.swing.*;
    public class MyJFrame extends JFrame {
      public MyJFrame() {
          super("My first JFrame");
          Container c  = getContentPane();
          JPanel panel = new JPanel();     
          c.add(panel);
      public static void main(String[] args) {
        MyJFrame frame = new MyJFrame();
        frame.setSize(200,200);
        frame.setLocation(200, 300);
        frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
        frame.setVisible(true);
    }You compile and run it in the same way as any DOS based command line program.

  • Basic PDF/SSL Question

    Okay, I know this is a basic question, and I'm not sure if this is really where I should be posting it, but maybe someone out there has experience with this.
    I have a PDF form sitting on a secure server.  I have it set up to email the completed PDF back to our company when the user clicks the SUBMIT buttton.  Whether or not the PDF is secure coming back to us would be dependent on the email server the user uses - not that the form sits in a secure area on our server or that the PDF is security settings are set, correct?
    Any input appreciated.
    Thanks
    Q

    hi all,Hi Neerav
    I have very basic clone database question
    If i create database A and clone database B using A...
    I want to know that any operation done on A will be automatically done on Cloned database B.Oops....Now you're asking about rocket science. Sorry, I don't know.
    I know about some basics:
    Streams or Replication--> Which can give you data on B in read-write mode.
    DR--> For safeguarding your database and B will work as DR solution.
    Hope u understandNo, please make us understand.
    Regards,
    S.K.

  • Really basic Install help needed, please.

    Assistance would be greatly appreciated.
    Yes, I've searched this whole forum and probably don't know enough to ask the right "search" questions because I haven't found the answers.
    Over the past few months, I've been learning Linux as I now plan to switch from Windows to a Linux distro rather than go with a new computer and Windows 7 and the associated problems.  I have tried several Linux distros individaully side by side with  Windows XP on a partitioned drive.. Most recently I've been using Linux Mint 8 'Helena' and done lots with and to it.  Linux Mint 9 'Isadora' was just released, and since upgrading for a non-rolling distro is a nuisance, I thought I'd try a rolling one. After review and recommendations, I thought I'd give Arch Linux a try. Since most of my computer use is music via a Jukebox (14+k files), browsing, email and info seeking, I don't need all the bells and whistles whith which many distros come. I'm not a gamer.
    Basic Infor:
    PC with 1.4GHz Athlon,  512 Ram, 320 G Hard Drive partitioned equally between Windows XP and Linux (hopefully Arch). High Speed DSL.
    What I need are some really really basic instructions on a side by side install of Arch.
    SOofar, I've got the clock set, and have partitioned my hard drive into
    SDA 1 (my Windows Partition)(160 Gigs
    SDA5                                               1200mb for my swap
    SDA6                                                20 Gigs for the root
    SDA7                                               130 (the rest) Gigs for home
    What I need to know is darned near everything else.
    Bootability for SDA5-7
    How to label (the method for) SDA 5-7
    and thereafter a step by step really simple set of install instructions for a side by side installation.
    I've searched on this forum as well as via Google, but simple  instructions are nowhere to be found. I really have had no trouble installing Mepis, Madriva, Ubuntu, and Linux Mint side by side with my Windows Xp partition and done so for at least 2 of them with manual partitioning rather than the automatic side by side install offered.
    With this introduction, can someone point me to a Arch Linux side by side install for Dummies or help me with a walk through??
    Or am I in completely over my head and need to just go back to Linux Mint and plan to upgrade every 6-18 months? Or try a different rolling Distro???
    Thanks in advance to any and all who can help..
    Dick

    Willie,
    Were I certain I would be happy with Arch, there would be no problem doing as you suggest. However, looking backover at least 2 decades, our first computer was an IBM with an 8086 chip and 20 whole MB of hard drive. The choice of operating systems was DOS. As we moved onwards and upwards, Windows 95, 98, and XP were Hobson's choice for PC users (our office computer used Unix). Now with more experience and research, a new world of operating systems is available, especially for those of us with older computers which would require major (and expensive) upgrades when possible to move to Windows 7. And as with Windows ME, 2000, and Vista, there is probably potential for significant problems with 7. Utilizing my current ability to have 2 (or more) OS's on my computer affords the opportunity to learn more about them and develop my 'geekiness" as well as to evaluate and selectively choose one which will best meet my needs.
    As of now, I have at least 3 problems with abandoing Windows XP completely:
    1) I haven't found a Jukebox program for Linux equivalent to J Rivers' Media Jukebox which has seamless track switching, an equalizer, and DSP studio effects,etc. I've used WINE doors and made it run on Linux Mint, but the program will not recognize my CD-ROM drives. I have some 14+k music files and my computer jukebox runs through my home sound system.
    2) I've some 600+ movies indexed on Movie Organizer (movieorganizer.org) which flat out won't run on the Linux distro's I've tried. Re-entering those 600+ indexed movies to another program will be a bear. So far, no one of my local sources or on the other various Linux forums has a solution. WINE doors won't do it as it needs MDAC. 
    3) For all its frailties and faults, I'm reasonably literate with Windows XP. Linux OS's are still, quite obviously, relatively unfamiliar to me (3 mos experience).. So until I'm much more conversant with Linux, better the devil I know.
    I have installed and used both the Linux Mint 8 Fluxbox and KDE editions on more than one computer so it's not a question of my being shy. BTW, I'm a retired internist, and our speciality is known for being really nitpicky, detail oriented, and investigational, and I'm sure it shows.
    Again, thanks to all for the suggestions and comments. I'll keep in touch.
    Dick

  • Darwin Streaming Server (really basic help)

    Hey, I need some basic DSS help. REALLY basic help. So, Darwin is installed and everything, and I can upload movies to the /usr/local/movies directory. When I upload them there, I can see them in the 'make new playlist' screen. However, Darwin seems to be requesting a .sdp file as the 'mount point'?? What's with that?
    Thanks for any assistance.

    The mount point is supposed to be the location on the hard disk where the movie file resides; the sdp extension indicates that the file is a stream. To create a SDP file, try using the information linked to from this page.
    (14906)

  • Hi, I hope you can help. I'm sure this is something really basic that I should be able to fix myself, but................. I was working on a photo calendar on my macbook off the battery and the battery suddenly ran out. So it wasn't shut down properly. N

    Hi, I hope you can help. I'm sure this is something really basic that I should be able to fix myself, but.................
    I was working on a photo calendar on my macbook off the battery and the battery suddenly ran out. So it wasn't shut down properly. Now when I open i photo the coloured wheel just keeps spinning and I can't get into it. Everything else on the computer seems to work. I've done forced quit and restarted it a few times and also left it running.
    Jane
    Here is the error report:
    Date/Time:      2011-11-19 11:29:02 +0000
    OS Version:     10.5.8 (Build 9L31a)
    Architecture:   i386
    Report Version: 4
    Command:        iPhoto
    Path:           /Applications/iPhoto.app/Contents/MacOS/iPhoto
    Version:        8.1.2 (8.1.2)
    Build Version:  8
    Project Name:   iPhotoProject
    Source Version: 4240000
    Parent:         launchd [97]
    PID:            158
    Event:          hang
    Time:           7.46s
    Steps:          49
    Process:        iPhoto [158]
    Path:           /Applications/iPhoto.app/Contents/MacOS/iPhoto
    ADDRESS         BINARY
    00001000        /Applications/iPhoto.app/Contents/MacOS/iPhoto
    00b31000        /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
    00c65000        /System/Library/Frameworks/DiscRecordingUI.framework/Versions/A/DiscRecordingUI
    00cae000        /System/Library/Frameworks/ExceptionHandling.framework/Versions/A/ExceptionHand ling
    00cb7000        /Applications/iPhoto.app/Contents/MacOS/../Frameworks/UpgradeChecker.framework/ Versions/A/UpgradeChecker
    00ccb000        /Applications/iPhoto.app/Contents/MacOS/../Frameworks/MobileMe.framework/Versio ns/A/MobileMe
    00dc9000        /System/Library/Frameworks/Message.framework/Versions/B/Message
    01179000        /Applications/iPhoto.app/Contents/MacOS/eOkaoCom.dylib
    0117d000        /Applications/iPhoto.app/Contents/MacOS/eOkaoDt.dylib
    011b6000        /Applications/iPhoto.app/Contents/MacOS/eOkaoFr.dylib
    01320000        /Applications/iPhoto.app/Contents/MacOS/eOkaoPt.dylib
    0134b000        /Applications/iPhoto.app/Contents/MacOS/../Frameworks/ProXTCore.framework/Versi ons/A/ProXTCore
    013d6000        /System/Library/PrivateFrameworks/iLifeSlideshow.framework/Versions/A/iLifeSlid eshow
    013da000        /Applications/iPhoto.app/Contents/MacOS/../NetServices/Frameworks/NetServices.f ramework/Versions/A/NetServices
    014bc000        /System/Library/PrivateFrameworks/AppleAppSupport.framework/Versions/A/AppleApp Support
    014c0000        /System/Library/Frameworks/LatentSemanticMapping.framework/Versions/A/LatentSem anticMapping
    014f9000        /System/Library/PrivateFrameworks/iLifeSlideshow.framework/Versions/A/Framework s/iLifeSlideshowCore.framework/Versions/A/iLifeSlideshowCore
    0153b000        /System/Library/PrivateFrameworks/iLifeSlideshow.framework/Versions/A/Framework s/iLifeSlideshowProducer.framework/Versions/A/iLifeSlideshowProducer
    016be000        /System/Library/PrivateFrameworks/iLifeSlideshow.framework/Versions/A/Framework s/iLifeSlideshowRenderer.framework/Versions/A/iLifeSlideshowRenderer
    0183b000        /System/Library/PrivateFrameworks/iLifeSlideshow.framework/Versions/A/Framework s/iLifeSlideshowExporter.framework/Versions/A/iLifeSlideshowExporter
    0184f000        /System/Library/Frameworks/CoreAudioKit.framework/Versions/A/CoreAudioKit
    01880000        /Applications/iPhoto.app/Contents/MacOS/../NetServices/Frameworks/BDControl.fra mework/Versions/A/BDControl
    01894000        /Applications/iPhoto.app/Contents/MacOS/../NetServices/Frameworks/BDRuleEngine. framework/Versions/A/BDRuleEngine
    01fe1000        /Applications/iPhoto.app/Contents/PlugIns/FlickrPublisher.publisher/Contents/Ma cOS/FlickrPublisher
    1676f000        /Applications/iPhoto.app/Contents/PlugIns/FacebookPublisher.publisher/Contents/ MacOS/FacebookPublisher
    16791000        /Applications/iPhoto.app/Contents/PlugIns/MobileMePublisher.publisher/Contents/ MacOS/MobileMePublisher
    167da000        /Applications/iPhoto.app/Contents/PlugIns/RSSPublisher.publisher/Contents/MacOS /RSSPublisher
    16a19000        /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
    17161000        /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/ATSHI.dylib
    17183000        /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGXCoreImage.A.dylib
    19dd8000        /Applications/iPhoto.app/Contents/NetServices/Bundles/BookService.NetService/Co ntents/MacOS/BookService
    19df2000        /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
    19df9000        /Applications/iPhoto.app/Contents/NetServices/Bundles/CalendarsService.NetServi ce/Contents/MacOS/CalendarsService
    19e0d000        /Applications/iPhoto.app/Contents/NetServices/Bundles/CardsService.NetService/C ontents/MacOS/CardsService
    19e21000        /Applications/iPhoto.app/Contents/NetServices/Bundles/PrintsService.NetService/ Contents/MacOS/PrintsService
    19e52000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBAppDefPlugin.ilmbplugin/Contents/MacOS/i LMBAppDefPlugin
    19e59000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBFolderPlugin.ilmbplugin/Contents/MacOS/i LMBFolderPlugin
    19ea4000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBAperturePlugin.ilmbplugin/Contents/MacOS /iLMBAperturePlugin
    19ef0000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBGarageBandPlugin.ilmbplugin/Contents/Mac OS/iLMBGarageBandPlugin
    1a35e000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBiMoviePlugin.ilmbplugin/Contents/MacOS/i LMBiMoviePlugin
    1a392000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBiPhoto8Plugin.ilmbplugin/Contents/MacOS/ iLMBiPhoto8Plugin
    1a3ad000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBiPhotoPlugin.ilmbplugin/Contents/MacOS/i LMBiPhotoPlugin
    1a3bd000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBiTunesPlugin.ilmbplugin/Contents/MacOS/i LMBiTunesPlugin
    1a3cd000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBMoviesFolderPlugin.ilmbplugin/Contents/M acOS/iLMBMoviesFolderPlugin
    1a3d6000        /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBPhotoBoothPlugin.ilmbplugin/Contents/Mac OS/iLMBPhotoBoothPlugin
    1a901000        /System/Library/PrivateFrameworks/iTunesAccess.framework/iTunesAccess
    ba900000        /System/Library/CoreServices/Encodings/libJapaneseConverter.dylib
    Thread id:      753b8b8
    User stack:
       49 ??? [0x3172]
         49 ??? [0x124b80]
           49 _NSApplicationMain + 574 (in AppKit) [0x9225d1d8]
             49 -[NSApplication run] + 867 (in AppKit) [0x9228ffe7]
               49 ??? [0x229973]
                 49 -[NSApplication sendEvent:] + 2939 (in AppKit) [0x923326a5]
                   49 -[NSWindow sendEvent:] + 5381 (in AppKit) [0x92365af7]
                     49 ??? [0x3ec62]
                       49 -[NSOutlineView mouseDown:] + 611 (in AppKit) [0x923beff1]
                         49 -[NSTableView mouseDown:] + 6867 (in AppKit) [0x923aebf8]
                           49 -[NSTableView _enableSelectionPostingAndPost] + 561 (in AppKit) [0x9237575d]
                             49 -[NSNotificationCenter postNotificationName:object:] + 56 (in Foundation) [0x95427ed8]
                               49 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128 (in Foundation) [0x9541e680]
                                 49 __CFXNotificationPostNotification + 179 (in CoreFoundation) [0x93ad5753]
                                   49 ___CFXNotificationPost + 362 (in CoreFoundation) [0x93ad547a]
                                     49 __nsnote_callback + 106 (in Foundation) [0x9542142a]
                                       49 ??? [0x4e741]
                                         49 ??? [0xa8f49]
                                           49 ??? [0xa8f7d]
                                             49 -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 184 (in Foundation) [0x954758e8]
                                               49 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 1115 (in Foundation) [0x9542232b]
                                                 49 -[NSNotificationCenter postNotification:] + 124 (in Foundation) [0x9544e9bc]
                                                   49 __CFXNotificationPostNotification + 179 (in CoreFoundation) [0x93ad5753]
                                                     49 ___CFXNotificationPost + 362 (in CoreFoundation) [0x93ad547a]
                                                       49 __nsnote_callback + 106 (in Foundation) [0x9542142a]
                                                         49 ??? [0x7ce32]
                                                           49 ??? [0x6f504]
                                                             49 ??? [0x13a800]
                                                               49 ??? [0x57b4d]
                                                                 49 ??? [0x596e9]
                                                                   35 ??? [0x59905]
                                                                     14 ??? [0x5dc926]
                                                                       6 _sqlite3Step + 17 (in libsqlite3.0.dylib) [0x91e2ed31]
                                                                       3 _sqlite3Step + 221 (in libsqlite3.0.dylib) [0x91e2edfd]
                                                                       2 _sqlite3Step + 208 (in libsqlite3.0.dylib) [0x91e2edf0]
                                                                       1 _sqlite3Step + 41 (in libsqlite3.0.dylib) [0x91e2ed49]
                                                                       1 _sqlite3Step + 9 (in libsqlite3.0.dylib) [0x91e2ed29]
                                                                       1 _sqlite3Step + 25 (in libsqlite3.0.dylib) [0x91e2ed39]
                                                                     7 _sqlite3Step + 0 (in libsqlite3.0.dylib) [0x91e2ed20]
                                                                     4 _sqlite3_step + 11 (in libsqlite3.0.dylib) [0x91e2f54b]
                                                                     3 _sqlite3_step + 134 (in libsqlite3.0.dylib) [0x91e2f5c6]
                                                                     2 _sqlite3_step + 128 (in libsqlite3.0.dylib) [0x91e2f5c0]
                                                                     2 _sqlite3Step + 225 (in libsqlite3.0.dylib) [0x91e2ee01]
                                                                     1 _sqlite3_step + 20 (in libsqlite3.0.dylib) [0x91e2f554]
                                                                     1 _sqlite3_step + 22 (in libsqlite3.0.dylib) [0x91e2f556]
                                                                     1 _sqlite3_step + 4 (in libsqlite3.0.dylib) [0x91e2f544]
                                                                   5 ??? [0x5dc91b]
                                                                   3 ??? [0xae911e]
                                                                   2 ??? [0x5dc940]
                                                                   2 ??? [0x5dc94c]
                                                                   2 _sqlite3_step + 0 (in libsqlite3.0.dylib) [0x91e2f540]
    Kernel stack:
       49 _PE_incoming_interrupt + 131 [0x44e416]
         49 _lapic_interrupt + 121 [0x1b16c0]
           49 _sync_iss_to_iks + 114 [0x1aa3ae]
    Thread id:      9645208
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 ___NSThread__main__ + 308 (in Foundation) [0x954219a4]
             49 -[NSThread main] + 45 (in Foundation) [0x95421dfd]
               49 -[XTThread run:] + 387 (in ProXTCore) [0x1352363]
                 49 -[XTMsgQueue waitForMessage] + 49 (in ProXTCore) [0x1364201]
                   49 -[NSConditionLock lockWhenCondition:] + 69 (in Foundation) [0x95467b35]
                     49 -[NSConditionLock lockWhenCondition:beforeDate:] + 144 (in Foundation) [0x95467bd0]
                       49 -[NSCondition waitUntilDate:] + 236 (in Foundation) [0x95467dbc]
                         49 _semaphore_timedwait_signal_trap + 10 (in libSystem.B.dylib) [0x96a6d1c6]
    Thread id:      7b12f20
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 ___NSThread__main__ + 308 (in Foundation) [0x954219a4]
             49 -[NSThread main] + 45 (in Foundation) [0x95421dfd]
               49 -[XTThread run:] + 387 (in ProXTCore) [0x1352363]
                 49 -[XTMsgQueue waitForMessage] + 49 (in ProXTCore) [0x1364201]
                   49 -[NSConditionLock lockWhenCondition:] + 69 (in Foundation) [0x95467b35]
                     49 -[NSConditionLock lockWhenCondition:beforeDate:] + 144 (in Foundation) [0x95467bd0]
                       49 -[NSCondition waitUntilDate:] + 236 (in Foundation) [0x95467dbc]
                         49 _semaphore_timedwait_signal_trap + 10 (in libSystem.B.dylib) [0x96a6d1c6]
    Thread id:      75b2d60
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 ___NSThread__main__ + 308 (in Foundation) [0x954219a4]
             49 -[NSThread main] + 45 (in Foundation) [0x95421dfd]
               49 -[XTRunLoopThread run:] + 421 (in ProXTCore) [0x13538a5]
                 49 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 213 (in Foundation) [0x954563d5]
                   49 _CFRunLoopRunInMode + 88 (in CoreFoundation) [0x93af4aa8]
                     49 _mach_msg_trap + 10 (in libSystem.B.dylib) [0x96a6d166]
    Thread id:      9646128
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 ___NSThread__main__ + 308 (in Foundation) [0x954219a4]
             49 -[NSThread main] + 45 (in Foundation) [0x95421dfd]
               49 ??? [0x506841]
                 49 ___semwait_signal + 10 (in libSystem.B.dylib) [0x96a7434e]
    Thread id:      96468b8
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 ___NSThread__main__ + 308 (in Foundation) [0x954219a4]
             49 -[NSThread main] + 45 (in Foundation) [0x95421dfd]
               49 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 320 (in Foundation) [0x95485520]
                 49 _CFRunLoopRunInMode + 88 (in CoreFoundation) [0x93af4aa8]
                   49 _mach_msg_trap + 10 (in libSystem.B.dylib) [0x96a6d166]
    Thread id:      9645998
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 ___select + 10 (in libSystem.B.dylib) [0x96abc60a]
    Thread id:      96477d8
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __ZN3***17TCMalloc_PageHeap15scavengerThreadEv + 824 (in JavaScriptCore) [0x92c0cd58]
           49 ___semwait_signal + 10 (in libSystem.B.dylib) [0x96a7434e]
    Thread id:      96455d0
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 __Z22CFURLCacheWorkerThreadPv + 388 (in CFNetwork) [0x919a018c]
             49 _CFRunLoopRunInMode + 88 (in CoreFoundation) [0x93af4aa8]
               49 _mach_msg_trap + 10 (in libSystem.B.dylib) [0x96a6d166]
    Thread id:      9412a78
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 __ZN3***15ThreadCondition9timedWaitERNS_5MutexEd + 81 (in JavaScriptCore) [0x92a616b1]
             49 ___semwait_signal + 10 (in libSystem.B.dylib) [0x96a7434e]
    Thread id:      96464f0
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 ___NSThread__main__ + 308 (in Foundation) [0x954219a4]
             49 -[NSThread main] + 45 (in Foundation) [0x95421dfd]
               49 -[ILMediaBrowserPathWatcher(FSEvents) iLMBPathWatcherRunLoop] + 862 (in iLifeMediaBrowser) [0x956ced0e]
                 49 _CFRunLoopRun + 84 (in CoreFoundation) [0x93af4b04]
                   49 _mach_msg_trap + 10 (in libSystem.B.dylib) [0x96a6d166]
    Thread id:      94148b8
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 _fe_fragment_thread + 54 (in QuartzCore) [0x97e65a09]
             49 ___semwait_signal + 10 (in libSystem.B.dylib) [0x96a7434e]
    Thread id:      7538000
    User stack:
       49 ??? [0x0]
    Thread id:      9643b58
    User stack:
       49 ??? [0x0]
    Process:        ATSServer [113]
    Path:           /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framewo rk/Support/ATSServer
    ADDRESS         BINARY
    00001000        /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framewo rk/Support/ATSServer
    Thread id:      7d00ba0
    User stack:
       49 ??? [0x4b46]
         49 ??? [0xdd21f]
           49 _CFRunLoopRun + 84 (in CoreFoundation) [0x93af4b04]
             49 _mach_msg_trap + 10 (in libSystem.B.dylib) [0x96a6d166]
    Thread id:      7cff4f0
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 _mach_msg_trap + 10 (in libSystem.B.dylib) [0x96a6d166]
    Process:        AirPort Base Station Agent [104]
    Path:           /System/Library/CoreServices/AirPort Base Station Agent.app/Contents/MacOS/AirPort Base Station Agent
    ADDRESS         BINARY
    00001000        /System/Library/CoreServices/AirPort Base Station Agent.app/Contents/MacOS/AirPort Base Station Agent
    Thread id:      7b12790
    User stack:
       49 ??? [0x25ad]
         49 ??? [0x2680]
           49 _NSApplicationMain + 574 (in AppKit) [0x9225d1d8]
             49 -[NSApplication run] + 795 (in AppKit) [0x9228ff9f]
               49 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128 (in AppKit) [0x92296f88]
                 49 __DPSNextEvent + 657 (in AppKit) [0x922976d5]
                   49 _BlockUntilNextEventMatchingListInMode + 106 (in HIToolbox) [0x9513df39]
                     49 _ReceiveNextEventCommon + 374 (in HIToolbox) [0x9513e0c5]
                       49 _RunCurrentEventLoopInMode + 283 (in HIToolbox) [0x9513e2ac]
                         49 _CFRunLoopRunInMode + 88 (in CoreFoundation) [0x93af4aa8]
                           49 _mach_msg_trap + 10 (in libSystem.B.dylib) [0x96a6d166]
    Thread id:      7cfcb58
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 ___select + 10 (in libSystem.B.dylib) [0x96abc60a]
    Thread id:      7cfd2e8
    User stack:
       49 _thread_start + 34 (in libSystem.B.dylib) [0x96a9df12]
         49 __pthread_start + 321 (in libSystem.B.dylib) [0x96a9e055]
           49 ??? [0x1e458]
             49 ??? [0x1a1cb]
               49 ??? [0x1e759]

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Really basic query

    Hi,
    I am a novice. I can't figure out what (+) means when it appears in statements like this: (the below statement is only representative)
    select b.f_user_id, a.amount from t_accounts a, t_users b where
    a.f_user_id(+) = b.f_user_id
    and what abt
    select b.f_user_id, a.amount from t_accounts a, t_users b where
    a.f_user_id = b.f_user_id(+)
    Whats the difference between the first and second usage?
    Kindly bear with me if this is a really basic stuff.
    Thanks

    Hi,
    I can't figure out what (+) means (+) is an outer join.
    select b.f_user_id, a.amount from t_accounts a,
    t_users b where
    a.f_user_id(+) = b.f_user_idIt take all records of b table, even if join a.f_user_id = b.f_user_id is not verified. If join is not verified, a.amount value will be null.
    select b.f_user_id, a.amount from t_accounts a,
    t_users b where
    a.f_user_id = b.f_user_id(+)It take all records of a table, even if join a.f_user_id = b.f_user_id is not verified. If join is not verified, b.f_user_id value will be null.
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/queries7.htm#2054625
    Nicolas.

  • Basic Hyperion Workspace question

    Is there any way to Drill-Down to data by double-clicking on the chart item in Hyperion Workspace? I can do this in Hyperion Reporting Studio.

    hi all,Hi Neerav
    I have very basic clone database question
    If i create database A and clone database B using A...
    I want to know that any operation done on A will be automatically done on Cloned database B.Oops....Now you're asking about rocket science. Sorry, I don't know.
    I know about some basics:
    Streams or Replication--> Which can give you data on B in read-write mode.
    DR--> For safeguarding your database and B will work as DR solution.
    Hope u understandNo, please make us understand.
    Regards,
    S.K.

  • Basic Java Class with prints records out of the DEPT table

    Can some one show a basic java class which will query the DEPT table, and print them out?

    Nagarjuna,
    the Oracle DBMS JDBC Developer's Guide is full of code examples.
    http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/toc.htm
    --olaf                                                                                                                                                                                                                                                                                                                       

  • Basic recording/feedback question

    I'm recording basic vocals against accompaniment tracks using an APOGEE ONE and Audio-Technica 40 series AT8449 condenser mic. I use only headphones, no external speakers.
    If I record with "monitoring" on I constantly battle feedback/distortion, especially on songs with a wide dynamic range. When the feedback protection kicks in the message indicates that I'm getting feedback through my external speakers (which I don't have), I can minimize the problem by turning "monitoring" off but I lose the reference vocal. I know I must be overlooking something very simple. Any help is appreciated.

    hi all,Hi Neerav
    I have very basic clone database question
    If i create database A and clone database B using A...
    I want to know that any operation done on A will be automatically done on Cloned database B.Oops....Now you're asking about rocket science. Sorry, I don't know.
    I know about some basics:
    Streams or Replication--> Which can give you data on B in read-write mode.
    DR--> For safeguarding your database and B will work as DR solution.
    Hope u understandNo, please make us understand.
    Regards,
    S.K.

  • Basic wifi service question

    basic wifi service question
    A Windows-using friend of mine subscribes to a service from Verizon that is sort of like a cell phone for a computer - wifi service that you can access from theoretically anywhere, for something like $60 a month -
    as far as I can determine, one CAN get this for Mac but ONLY if you have a 15 or 17 inch laptop with PC slots - unless I am missing something. It requires a special kyocera card.
    Another company, T-Mobile, offers a similar service, but with no MAC access at all.
    So my question is: is there a similar service, wi-fi access theoretically anywhere (or even just anywhere in New York City) ? Hopefully with just the regular mac airport card and not any additional special hardware?
    Thanks!
    Will

    Hello WillFriedwald2
    The kind of service your describing is probably a 3G and GPRS service.
    Phone companies now offer mobile high speed connections using EDGE technology or GPRS2 and supply a 3G or GPRS PCMCIA card.
    However some companies are now offering a package whereby you get high speed 3g and gprs and also wifi.
    So to use this service on a laptop that has no PC card slot you need to get a 3G or GPRS2 phone that supports blue tooth then you can connect your laptop to the phone over bluetooth and therefore access high speed internet.
    But if you had a desktop mac such as a G5 you would be better just getting a regular cable or dsl connection in your home and invest in a wireless router.

  • Basic JDBC transactional question

    Hello all,
    I have (what I believe) is a basic transactional JDBC question.
    Here's what I want to do:
    begin transaction
    select a row from a table where (some condition).
    that row may or may not exist.
    if the row exists: update the row
    else if the row does not exist, insert a new row
    end transaction
    I want this entire thing to be atomic .. I don't want the select to complete, then have something else come in there before the update/insert takes place.
    I'm using MySQL .. I seem to remember hearing about some proprietary MySQL command which would do a SELECT + UPDATE atomically .. which would be fine, but I can't find it.
    Wrapping this with a row-level lock would be fine too .. I'm just not sure how to do that in JDBC.
    Thanks!
    -d

    By thte way, and not that it helps the orignal poster, who's using MySQL, but Oracle has a proprietary MERGE statement that does "insert or update" in one go. For example:
    MERGE INTO bonuses D
       USING (SELECT employee_id, salary, department_id FROM employees
       WHERE department_id = 80) S
       ON (D.employee_id = S.employee_id)
       WHEN MATCHED THEN UPDATE SET D.bonus = D.bonus + S.salary*.01
         DELETE WHERE (S.salary > 8000)
       WHEN NOT MATCHED THEN INSERT (D.employee_id, D.bonus)
         VALUES (S.employee_id, S.salary*0.1)
         WHERE (S.salary <= 8000);

  • Basic Clone database question

    hi all,
    I have very basic clone database question
    If i create database A and clone database B using A...
    I want to know that any operation done on A will be automatically done on Cloned database B.
    Hope u understand
    Thanks,
    Neerav

    hi all,Hi Neerav
    I have very basic clone database question
    If i create database A and clone database B using A...
    I want to know that any operation done on A will be automatically done on Cloned database B.Oops....Now you're asking about rocket science. Sorry, I don't know.
    I know about some basics:
    Streams or Replication--> Which can give you data on B in read-write mode.
    DR--> For safeguarding your database and B will work as DR solution.
    Hope u understandNo, please make us understand.
    Regards,
    S.K.

  • Can anyone help me change fonts and size on my page? I don't understand the class questions?

    Can anyone help me change fonts and size on my page? I don't understand the class questions? All I want to do is change the font and size of a table or div.
    http://www.allgearinc.com/AG12SSWL-Swift.htm -One problem page

    If you want to change the fonts of the entire page then this code will do the trick:
    body {
        font-size: 16pt;
        color: silver;
         font-family: whatever, goes, here;
    If you want to change the fonts of ALL tables on a page then the code is something like this:
    table {
        font-size: 20pt;
        font-family: "Courier New", Courier, monospace;
        font-style: italic;
        font-weight: bold;
    what exactly do you want to change?  Can you be a bit specific so that Ben or Ken can give you the exact code and tell you about the short-hand method to write the code in one line.
    Have you bought a book on CSS yet?  If not, it is a good idea to get one as a reference.  Eric Meyer writes good books on CSS.

Maybe you are looking for

  • Why won't some of my hp printers work with os 10.8

    I've upgraded to Mountain Lion but two of my HP printers (laserjet 2100tn and designjet 130nr) don't now oerk. I've downloaded the latest update 2.1 (I think) and retarted my Mac Pro Intel 2010. I also have a HP F4100 - this works! The printers shwo

  • IPhone 4 won't back up (among other iTunes sync problems)

    I've posted this issue in the iPhone forum (https://discussions.apple.com/message/18962855?ac_cid=op123456#18962855) but I'm having a series of overlapping problems related to my iPhone 4 and iTunes so I'll post here as well.  Here's the long diatrib

  • I can't download  Adobe Reader 9.3

    I can't download reader 9.3 i received error message run dll.32.exe i used microsoft internet explorer. I turned off pop up blockers and deleted cookies then the error message changed to "operating system error" what should i do???

  • AS2 vs ebXML

    Hi, I've been researching the differences between AS2 and ebXML and it seems they are pretty close in terms of capability. AS2 is really an EDI implementation over http/s but ebXML can also work well in http/s. I licensing is not an issue, would you

  • Error: 80070057 Apply Prestage Media

    Hi all I am using the task sequence by Frank Rojas (http://tinyurl.com/k2va766 ) to Apply prestage media. For what ever reason, it keeps failing, and sometime works, I have no idea why. The error Failed to run the action: Error in the task sequence.