PLEASE HELP - how to read a crash report

Please help!
I recently wiped my mid 2010 MacBook Pro clean and rebooted from scratch. I used Time Machine to get my material back up and running and it works fine except it crashed on occasion (1-4x p/week) - I am a professional DJ and I fear it will crash during a gig (fortunately it hasn't yet). I am clueless as to what is happening, however I have copied the crash report and am posting it below. Any and all help would be GREATLY appreciated.
As for specs, I am running OS X 10.9.1 with an i7 2.66 processor, 8 GB of memory, and a 750 GB hard drive.
Thanks in advance!
Anonymous UUID:       49E3B62D-9B24-8BC5-09FB-33DAA0CA5C29
Mon Mar  3 21:17:23 2014
panic(cpu 0 caller 0xffffff7f9b77cfac): "GPU Panic: [<None>] 3 3 7f 0 0 0 0 3 : NVRM[0/1:0:0]: Read Error 0x00000100: CFG 0x0a2910de 0x00100000 0x00000000, BAR0 0xd2000000 0xffffff812d4ac000 0x0a5480a2, D0, P2/4\n"@/SourceCache/AppleGraphicsControl/AppleGraphicsControl-3.4.12/src/Apple MuxControl/kext/GPUPanic.cpp:127
Backtrace (CPU 0), Frame : Return Address
0xffffff810a413140 : 0xffffff8019422f69
0xffffff810a4131c0 : 0xffffff7f9b77cfac
0xffffff810a413290 : 0xffffff7f99ef853d
0xffffff810a413350 : 0xffffff7f99fc4d9e
0xffffff810a413390 : 0xffffff7f99fc4dfc
0xffffff810a413400 : 0xffffff7f9a2495be
0xffffff810a413530 : 0xffffff7f99fe8d41
0xffffff810a413550 : 0xffffff7f99eff08d
0xffffff810a413600 : 0xffffff7f99efcbae
0xffffff810a413800 : 0xffffff7f99efdaf6
0xffffff810a4138e0 : 0xffffff7f9adfaba2
0xffffff810a413920 : 0xffffff7f9ae0a55f
0xffffff810a413940 : 0xffffff7f9ae3851b
0xffffff810a413980 : 0xffffff7f9ae3857b
0xffffff810a4139c0 : 0xffffff7f9ae0fff5
0xffffff810a413a10 : 0xffffff7f9addbd3e
0xffffff810a413aa0 : 0xffffff7f9add7cc7
0xffffff810a413ad0 : 0xffffff7f9add5816
0xffffff810a413b00 : 0xffffff80198cb873
0xffffff810a413b90 : 0xffffff80198cd76f
0xffffff810a413bf0 : 0xffffff80198cb28f
0xffffff810a413d40 : 0xffffff80194b6008
0xffffff810a413e50 : 0xffffff8019426bb1
0xffffff810a413e80 : 0xffffff80194139b5
0xffffff810a413ef0 : 0xffffff801941e003
0xffffff810a413f70 : 0xffffff80194c921d
0xffffff810a413fb0 : 0xffffff80194f3e26
      Kernel Extensions in backtrace:
         com.apple.driver.AppleMuxControl(3.4.12)[A4934A66-0E30-36E9-984A-650481102449]@ 0xffffff7f9b76f000->0xffffff7f9b781fff
            dependency: com.apple.driver.AppleGraphicsControl(3.4.12)[661E3C87-5B97-3272-88FF-B9BA9B6E2 4ED]@0xffffff7f9b767000
            dependency: com.apple.iokit.IOACPIFamily(1.4)[045D5D6F-AD1E-36DB-A249-A346E2B48E54]@0xfffff f7f99d24000
            dependency: com.apple.iokit.IOPCIFamily(2.8)[447B4896-16FF-3616-95A2-1C516B2A1498]@0xffffff 7f99aba000
            dependency: com.apple.iokit.IOGraphicsFamily(2.3.6)[38E388A5-92D6-3388-B799-F2498E582287]@0 xffffff7f99e54000
            dependency: com.apple.driver.AppleBacklightExpert(1.0.4)[E04639C5-D734-3AB3-A682-FE66694C66 53]@0xffffff7f9b76a000
         com.apple.nvidia.classic.NVDAResmanTesla(8.1.8)[0A1B6F41-168D-307A-BABD-162F3B3 C2786]@0xffffff7f99ea7000->0xffffff7f9a116fff
            dependency: com.apple.iokit.IOPCIFamily(2.8)[447B4896-16FF-3616-95A2-1C516B2A1498]@0xffffff 7f99aba000
            dependency: com.apple.iokit.IONDRVSupport(2.3.6)[86BA68C6-18DD-30A1-ABF6-54597AD6C277]@0xff ffff7f99e97000
            dependency: com.apple.iokit.IOGraphicsFamily(2.3.6)[38E388A5-92D6-3388-B799-F2498E582287]@0 xffffff7f99e54000
         com.apple.nvidia.classic.NVDANV50HalTesla(8.1.8)[3666E0FC-87C7-3329-BD8C-2F1ADE D100A4]@0xffffff7f9a121000->0xffffff7f9a3cdfff
            dependency: com.apple.nvidia.classic.NVDAResmanTesla(8.1.8)[0A1B6F41-168D-307A-BABD-162F3B3 C2786]@0xffffff7f99ea7000
            dependency: com.apple.iokit.IOPCIFamily(2.8)[447B4896-16FF-3616-95A2-1C516B2A1498]@0xffffff 7f99aba000
         com.apple.GeForceTesla(8.1.8)[7DAF283F-6FD3-3783-B3CC-D23964F1B9B8]@0xffffff7f9 adba000->0xffffff7f9ae84fff
            dependency: com.apple.iokit.IOPCIFamily(2.8)[447B4896-16FF-3616-95A2-1C516B2A1498]@0xffffff 7f99aba000
            dependency: com.apple.iokit.IONDRVSupport(2.3.6)[86BA68C6-18DD-30A1-ABF6-54597AD6C277]@0xff ffff7f99e97000
            dependency: com.apple.iokit.IOGraphicsFamily(2.3.6)[38E388A5-92D6-3388-B799-F2498E582287]@0 xffffff7f99e54000
            dependency: com.apple.nvidia.classic.NVDAResmanTesla(8.1.8)[0A1B6F41-168D-307A-BABD-162F3B3 C2786]@0xffffff7f99ea7000
BSD process name corresponding to current thread: WindowServer
Mac OS version:
13B42
Kernel version:
Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64
Kernel UUID: 1D9369E3-D0A5-31B6-8D16-BFFBBB390393
Kernel slide:     0x0000000019200000
Kernel text base: 0xffffff8019400000
System model name: MacBookPro6,2 (Mac-F22586C8)
System uptime in nanoseconds: 1827669571313
last loaded kext at 253114324646: com.apple.filesystems.msdosfs          1.9 (addr 0xffffff7f9b87f000, size 65536)
last unloaded kext at 313525964965: com.apple.filesystems.msdosfs          1.9 (addr 0xffffff7f9b87f000, size 57344)
loaded kexts:
com.serato.usb.kext          2.3.0
com.apple.driver.AppleHWSensor          1.9.5d0
com.apple.iokit.IOBluetoothSerialManager          4.2.0f6
com.apple.filesystems.autofs          3.0
com.apple.driver.AudioAUUC          1.60
com.apple.driver.AGPM          100.14.11
com.apple.driver.AppleMikeyHIDDriver          124
com.apple.driver.AppleHDA          2.5.3fc1
com.apple.GeForceTesla          8.1.8
com.apple.driver.AppleMikeyDriver          2.5.3fc1
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport          4.2.0f6
com.apple.driver.AppleUpstreamUserClient          3.5.13
com.apple.driver.AppleMuxControl          3.4.12
com.apple.driver.AppleMCCSControl          1.1.12
com.apple.driver.AppleSMCLMU          2.0.4d1
com.apple.driver.ACPI_SMC_PlatformPlugin          1.0.0
com.apple.driver.AppleIntelHDGraphics          8.1.8
com.apple.driver.AppleIntelHDGraphicsFB          8.1.8
com.apple.driver.AppleSMCPDRC          1.0.0
com.apple.iokit.IOUserEthernet          1.0.0d1
com.apple.Dont_Steal_Mac_OS_X          7.0.0
com.apple.driver.AppleHWAccess          1
com.apple.driver.AppleLPC          1.7.0
com.apple.driver.SMCMotionSensor          3.0.4d1
com.apple.driver.AppleUSBTCButtons          240.2
com.apple.driver.AppleUSBTCKeyboard          240.2
com.apple.driver.AppleIRController          325.7
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
com.apple.BootCache          35
com.apple.driver.AppleUSBCardReader          3.3.5
com.apple.iokit.SCSITaskUserClient          3.6.0
com.apple.driver.XsanFilter          404
com.apple.iokit.IOAHCIBlockStorage          2.4.0
com.apple.driver.AppleUSBHub          650.4.4
com.apple.iokit.AppleBCM5701Ethernet          3.6.9b9
com.apple.driver.AppleAHCIPort          2.9.5
com.apple.driver.AirPort.Brcm4331          700.20.22
com.apple.driver.AppleFWOHCI          4.9.9
com.apple.driver.AppleUSBEHCI          650.4.1
com.apple.driver.AppleSmartBatteryManager          161.0.0
com.apple.driver.AppleACPIButtons          2.0
com.apple.driver.AppleRTC          2.0
com.apple.driver.AppleHPET          1.8
com.apple.driver.AppleSMBIOS          2.0
com.apple.driver.AppleACPIEC          2.0
com.apple.driver.AppleAPIC          1.7
com.apple.driver.AppleIntelCPUPowerManagementClient          216.0.0
com.apple.nke.applicationfirewall          153
com.apple.security.quarantine          3
com.apple.driver.AppleIntelCPUPowerManagement          216.0.0
com.apple.iokit.IOSerialFamily          10.0.7
com.apple.kext.triggers          1.0
com.apple.AppleGraphicsDeviceControl          3.4.12
com.apple.driver.DspFuncLib          2.5.3fc1
com.apple.vecLib.kext          1.0.0
com.apple.iokit.IOAudioFamily          1.9.4fc11
com.apple.kext.OSvKernDSPLib          1.14
com.apple.nvidia.classic.NVDANV50HalTesla          8.1.8
com.apple.nvidia.classic.NVDAResmanTesla          8.1.8
com.apple.iokit.IOBluetoothHostControllerUSBTransport          4.2.0f6
com.apple.driver.AppleGraphicsControl          3.4.12
com.apple.driver.AppleSMBusPCI          1.0.12d1
com.apple.driver.AppleBacklightExpert          1.0.4
com.apple.driver.AppleSMBusController          1.0.11d1
com.apple.iokit.IOFireWireIP          2.2.5
com.apple.driver.IOPlatformPluginLegacy          1.0.0
com.apple.iokit.IONDRVSupport          2.3.6
com.apple.driver.AppleHDAController          2.5.3fc1
com.apple.iokit.IOHDAFamily          2.5.3fc1
com.apple.iokit.IOSurface          91
com.apple.iokit.IOGraphicsFamily          2.3.6
com.apple.iokit.IOBluetoothFamily          4.2.0f6
com.apple.driver.IOPlatformPluginFamily          5.5.1d27
com.apple.driver.AppleSMC          3.1.6d1
com.apple.driver.AppleUSBMultitouch          240.6
com.apple.iokit.IOUSBHIDDriver          650.4.4
com.apple.iokit.IOSCSIBlockCommandsDevice          3.6.0
com.apple.iokit.IOUSBMassStorageClass          3.6.0
com.apple.driver.AppleUSBMergeNub          650.4.0
com.apple.driver.AppleUSBComposite          650.4.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.6.0
com.apple.iokit.IOBDStorageFamily          1.7
com.apple.iokit.IODVDStorageFamily          1.7.1
com.apple.iokit.IOCDStorageFamily          1.7.1
com.apple.iokit.IOAHCISerialATAPI          2.6.0
com.apple.iokit.IOSCSIArchitectureModelFamily          3.6.0
com.apple.iokit.IOUSBUserClient          650.4.4
com.apple.iokit.IOEthernetAVBController          1.0.3b3
com.apple.driver.mDNSOffloadUserClient          1.0.1b4
com.apple.iokit.IOAHCIFamily          2.6.0
com.apple.iokit.IO80211Family          600.34
com.apple.iokit.IONetworkingFamily          3.2
com.apple.iokit.IOFireWireFamily          4.5.5
com.apple.iokit.IOUSBFamily          650.4.4
com.apple.driver.AppleEFINVRAM          2.0
com.apple.driver.AppleEFIRuntime          2.0
com.apple.iokit.IOHIDFamily          2.0.0
com.apple.iokit.IOSMBusFamily          1.1
com.apple.security.sandbox          278.10
com.apple.kext.AppleMatch          1.0.0d1
com.apple.security.TMSafetyNet          7
com.apple.driver.AppleKeyStore          2
com.apple.driver.DiskImages          371.1
com.apple.iokit.IOStorageFamily          1.9
com.apple.iokit.IOReportFamily          21
com.apple.driver.AppleFDEKeyStore          28.30
com.apple.driver.AppleACPIPlatform          2.0
com.apple.iokit.IOPCIFamily          2.8
com.apple.iokit.IOACPIFamily          1.4
com.apple.kec.corecrypto          1.0
com.apple.kec.pthread          1
Model: MacBookPro6,2, BootROM MBP61.0057.B0F, 2 processors, Intel Core i7, 2.66 GHz, 8 GB, SMC 1.58f17
Graphics: Intel HD Graphics, Intel HD Graphics, Built-In, 288 MB
Graphics: NVIDIA GeForce GT 330M, NVIDIA GeForce GT 330M, PCIe, 512 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x857F, 0x483634353155363446373036364700000000
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1067 MHz, 0x857F, 0x483634353155363446373036364700000000
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x93), Broadcom BCM43xx 1.0 (5.106.98.100.22)
Bluetooth: Version 4.2.0f6 12982, 3 services, 15 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: ST750LX003-1AC154, 750.16 GB
Serial ATA Device: MATSHITADVD-R   UJ-898
USB Device: Hub
USB Device: BRCM2070 Hub
USB Device: Bluetooth USB Host Controller
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Internal Memory Card Reader
USB Device: Hub
USB Device: Built-in iSight
USB Device: IR Receiver
Thunderbolt Bus:

Quadi_414,
some 15-inch Mid 2010 MacBook Pros are known to have a defective NVIDIA GPU. Your GPU panic suggests that yours could be one of them. Apple had a gratis servicing program for this defect for three years from the date of purchase; they still offer the servicing program, but it is no longer guaranteed to be gratis.

Similar Messages

  • Can anyone tell me how to read a crash report?

    I can not find anywhere on how to read a crash report. Can anyone tell me? The only tutorial I have found is located here, but it pay-for subscription only.
    For some reason I a lot of my applications are crashing. A lot of the applications are 3rd party, but today two Apple applications crashed...Preview and iPhoto.
    The only thing I can attribute to these crashes is my uninstallation of Garage Band using Deinstaller. I uninstalled all GarageBand*.pkg files in my /Library/Receipts/ folder.
    Here are my two recent crash reports: iPhoto Preview
    Any help would be much appreciated!

    I used Pacifist to replace what the Product
    Specialist was the corrupt file and I am still
    crashing applications...specifically BLT. Click here to view crash report. I have
    never had a problem with BLT, so I don't know why its
    just now starting to crash.
    I redownloaded the
    application and have notified the Developer
    requesting assistance. I think it's a system issue
    because it happens in multiple user
    accounts.
    The crash report refers
    consistently to 0x9294d120 which is at the top of the
    crashed thread. This thread refers to a
    com.apple.Foundation file causing the
    problem. I can not locate this file anywhere
    within my system or the 10.4.6 Combo
    update.....anyone have any suggestions after
    reviewing the crash report?
    Here is a technical guide concerning the Crash Report:
    http://developer.apple.com/technotes/tn2004/tn2123.html
    and here is a guide for Crash reporting:
    http://developer.apple.com/bugreporter/bugreportingguide.html
    Apple, of course doesn't have to support third-party products, so it's best to contact the third party with regards the issue. There are simple things you can check like the installation, hardware incompatibilities... etc, but I assume you have done this from reading the earlier verbiage in the thread.

  • FCP Keeps Crashing  -- How to read a crash report??

    FCP is crashing and I can't figure out why - I'm unable to repeat it but it's happening A LOT. I'm also getting a lot of "Out of Memory" warnings. Also Motion just crash in a similar fashion.
    Every time it gives me a crash report but I don't know how to read these. Does anyone know what to look for in these reports?
    I don't know how to attach a photos - So here is a link to a sample of the many crash reports I have. http://gallery.me.com/chrisrupert#100135/crashreport-02
    I'm editing on a New Intel with 24gb of Ram - OS 10.6.7 -- Media is on a Hard Drive Raid accessed via eSata

    Just Crashed Again - Here is the report Pasted In:
    Process: Final Cut Pro [35200]
    Path: /Applications/Final Cut Pro.app/Contents/MacOS/Final Cut Pro
    Identifier: com.apple.FinalCutPro
    Version: 7.0.3 (7.0.3)
    Build Info: FCPApp-1008261348~8
    Code Type: X86 (Native)
    Parent Process: launchd [140]
    PlugIn Path: /Library/Frameworks/LS3RendererCPU.framework/Versions/A/LS3RendererCPU
    PlugIn Identifier: com.redgiantsoftware.MBLooksRenderLibCPU
    PlugIn Version: 1.4.3 (1.4.3)
    Date/Time: 2011-03-25 10:49:16.077 -0700
    OS Version: Mac OS X 10.6.7 (10J869)
    Report Version: 6
    Interval Since Last Report: 261469 sec
    Crashes Since Last Report: 18
    Per-App Interval Since Last Report: 108195 sec
    Per-App Crashes Since Last Report: 16
    Anonymous UUID: 70423C28-4C02-4FD9-8D2A-9E1F45772CD1
    Exception Type: EXCBADACCESS (SIGBUS)
    Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000000
    Crashed Thread: 0 Dispatch queue: com.apple.main-thread

  • How can I reactivate crash reports for iPad?

    Hi, I am not 100% whether to post this question under iTunes or iPad. I will try here first!
    I am testing a new app (through test flight) and I used to send crash reports to the developer after syncing the iPad with my computer.  However, I don't get any crash reports anymore since a couple of weeks! And I am very sure I still get crashes (also from other apps). I read I could reactivate crash reports in iTunes by right clicking on the device and reset warnings for the device. I also tried this in <Preferences> in iTunes. It doesn't help, I can't find any crash report back on my computer and am not asked neither whether I would like to start resending crash reports. I really hope somebody can tell me how I can reactivate the crash reports.
    Thanks a lot in advance!

    Same problem here and I can't seem to find anything online on how to auto sync crash reports using iTunes.

  • Please Help::How to display a Map with LIsts as Keys and Values using JSTL

    Hi,
    I need some assistance on how to display a Map in JSP using struts or core JSTL. I have a HashMap which has a List of keys and each key maps to a value of an ArrayList.i.e I have an ArrayList of taxCodes and each taxCode maps to a value of taxDetails which is an ArrayList of details for for that particular taxCode. I have some trouble to display each taxCode then display taxDetails for each taxCode. Here is my code below:
    OrderDetails.java
    package orderitems;
    import java.sql.*;
    import java.util.*;
    public class OrderDetails {
        private LineOder lineOrder;
        private Map lineItems;
        //returns an item number, key_item, from its unique keys
        public int getItemNumber(int key_item, String key_year,
                String key_office,String key_client,String key_company){
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            int itmNum = 0;
             * key_item a unique number for an item.
             * key_year,key_office,key_client,key_company unique keys
             * for each order where this key_item is taken
             * from.
            String select = "SELECT key_item FROM "+
                    Constants.WEB_TABLE +" WHERE key_item = " + key_item +
                    " AND key_year = '" + key_year + "'" +
                    " AND key_office = '" + key_office + "'" +
                    " AND key_client = '" + key_client + "'" +
                    " AND key_company = '" + key_company +"'";
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                rst = stat.executeQuery(select);
                if(rst.next()){
                    itmNum = Integer.parseInt(rst.getString("key_item"));
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return itmNum;
        //get a list of item number(item codes)
        public List getAllItemNumbers(String key_year,
                String key_office,String key_client,String key_company){
            List itemNumbers = new ArrayList();
            LineItem itemNumber = null;
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            String select = "SELECT key_item FROM "+ Constants.WEB_TABLE +
                    " WHERE key_year = '" + key_year + "'" +
                    " AND key_office = '" + key_office + "'" +
                    " AND key_client = '" + key_client + "'" +
                    " AND key_company = '" + key_company + "'";
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                rst = stat.executeQuery(select);
                while(rst.next()){
                    itemNumber = new LineItem();
                    itemNumber.setKey_item(Integer.parseInt(rst.getString("key_item")));
                    itemNumbers.add(itemNumber);
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return itemNumbers;
        //get a list of tax codes
        public List getAllTaxCodes(int key_item, String key_year,
                String key_office,String key_client,String key_company){
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            ItemTax taxCode;
            List taxCodes = new ArrayList();
            int itemNum = getItemNumber(key_item, key_year,
                    key_office,key_client,key_company);
            String select = "SELECT key_tax_code FROM "+
                    Constants.WEB_TABLE +" WHERE key_item = " + itemNum +
                    " AND key_year = '" + key_year + "'" +
                    " AND key_office = '" + key_office + "'" +
                    " AND key_client = '" + key_client + "'" +
                    " AND key_company = '" + key_company +"'";
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                rst = stat.executeQuery(select);
                while(rst.next()){
                    taxCode = new ItemTax();
                    taxCode.setKey_tax_code(rst.getString("key_tax_code"));
                    taxCodes.add(taxCode);
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return taxCodes;
        /////This methode returns a Map which am trying to display in JSP
        //use tax code to get tax details
        public Map getItemTaxDetails(String key_year,String key_office,
                String key_client,String key_company,int key_item){
            ItemTax taxDetail = null;
            List taxDetails = new ArrayList();
            List itemTaxCodes = new ArrayList();
            Map itemTaxDetails = new HashMap();
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            //get a list of all tax codes of an item with a
            //given item number
            itemTaxCodes = getAllTaxCodes(key_item,key_year,
                    key_office,key_client,key_company);
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                for(Iterator taxCodeIter= itemTaxCodes.iterator(); taxCodeIter.hasNext();){
                    ItemTax itemTaxCode = (ItemTax)taxCodeIter.next();
                    String taxCode = itemTaxCode.getKey_tax_code();
                    String select = "SELECT tax_type,tax_value," +
                            "tax_limit_val FROM "+ Constants.WEB_TABLE +
                            " WHERE key_item = "+ key_item +
                            " AND key_year = '" + key_year + "'" +
                            " AND key_office = '" + key_office + "'" +
                            " AND key_client = '" + key_client + "'" +
                            " AND key_company = '" + key_company +"'" +
                            " AND key_tax_code = '" + taxCode + "'";
                    rst = stat.executeQuery(select);
                    while(rst.next()){
                        taxDetail = new ItemTax();
                        //records to be displayed only
                        taxDetail.setKey_item(Integer.parseInt(rst.getString("key_item")));
                        taxDetail.setTax_value(rst.getString("tax_value"));
                        taxDetail.setTax_limit_val(Float.parseFloat(rst.getString("tax_limit_val")));
                        //////other details records ommited//////////////////////////
                        taxDetails.add(taxDetail);////An ArrayList of taxDetails for each taxCode
                     * A HashMap which has all taxCodes of an item as its keys
                     * and an ArrayList of taxdetails as its values.
                     * I return this for display in a JSP.
                    itemTaxDetails.put(taxCode,taxDetails);
                System.out.println();
                System.out.println("*********CONSOLE OUTPUT*************");//display on console
                Set set = itemTaxDetails.keySet();
                Iterator iter = set.iterator();
                System.out.println("Key\t\tValue\r\n");
                while (iter.hasNext()) {
                    Object taxCode=iter.next();
                    Object details=itemTaxDetails.get(taxCode);
                    System.out.println(taxCode +"\t" + details);
                System.out.println("************************************");
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return itemTaxDetails;
        //details of an item with all its taxes
        public List getAllItemDetails(String key_year,
                String key_office,String key_client,String key_company){
            List lineItems = new ArrayList();
            List itemNumbers = new ArrayList();
            Map taxDetails = new HashMap();
            LineItem item = null;
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            //A list of all item numbers in the declaration
            itemNumbers = getAllItemNumbers(key_year,
                    key_office,key_client,key_company);
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                for(Iterator itemIter= itemNumbers.iterator(); itemIter.hasNext();){
                    LineItem itemNum = (LineItem)itemIter.next();
                    int itemNumber = itemNum.getKey_item();
                    String select = "SELECT item_description,item_mass," +
                            "item_cost" +
                            " FROM " + Constants.WEB_TABLE +
                            " WHERE key_year = '"+key_year+"'" +
                            " AND key_office = '"+key_office+ "'"+
                            " AND key_client = '"+key_client+ "'"+
                            " AND key_company = '"+key_company+ "'"+
                            " AND key_item = " + itemNumber;
                    rst = stat.executeQuery(select);
                    while(rst.next()){
                        item = new LineItem();
                        item.setItem_description(rst.getString("item_description"));
                        item.setItem_mass(Float.parseFloat(rst.getString("item_mass")));
                        item.setKey_item(Integer.parseInt(rst.getString("item_cost")));
                        //////other details records ommited//////////////////////////
                        /* A HashMap of all itemTaxeCodes as its keys and an
                         * ArrayList of itemTaxedetails as its values
                        taxDetails = getItemTaxDetails(item.getKey_year(),item.getKey_office(),
                                item.getKey_client(),item.getKey_company(),item.getKey_item());
                        //item tax details
                        item.setItmTaxes(taxDetails);
                        //list of items with tax details
                        lineItems.add(item);
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return lineItems;
        public Set getOrders(String key_year,String key_office,
                String key_client,String key_company){
            List lineItems = new ArrayList();
            Set lineOrders = new HashSet();
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            LineOder lineOrder = null;
            String select = "SELECT * FROM " + Constants.WEB_TABLE +
                    " WHERE key_year = '" + key_year + "'" +
                    " AND key_office = '" + key_office + "'" +
                    " AND key_client = '" + key_client + "'" +
                    " AND key_company = '" + key_company + "'";
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                rst = stat.executeQuery(select);
                while(rst.next()){
                    lineOrder = new LineOder();
                    lineOrder.setKey_year(rst.getString("key_year"));
                    lineOrder.setKey_office(rst.getString("key_office"));
                    lineOrder.setKey_client(rst.getString("key_client"));
                    lineOrder.setKey_company(rst.getString("key_company"));
                    ////list of items with all their details
                    lineItems = getAllItemDetails(lineOrder.getKey_year(),lineOrder.getKey_office(),
                            lineOrder.getKey_client(),lineOrder.getKey_company());
                    //setting item details
                    lineOrder.setItems(lineItems);
                    //a list of order with all details
                    lineOrders.add(lineOrder);
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return lineOrders;
    Controller.java
    package orderitems;
    import java.io.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Controller extends HttpServlet {
        private Map taxDetails = new HashMap();
        private OrderDetails orderDetails = null;
        protected void processRequest(HttpServletRequest request,
                HttpServletResponse response)throws
                ServletException, IOException {
            response.setContentType("text/html;charset=UTF-8");
            String key_year = "2007";
            String key_office = "VZX00";
            String key_company = "DG20";
            String key_client =  "ZI001";
            int key_item = 1;
            String nextView = "/taxdetails_list.jsp";
            orderDetails = new OrderDetails();
            taxDetails = orderDetails.getItemTaxDetails(key_year,key_office,
                    key_company,key_client,key_item);
            //Store the collection objects into HTTP Request
            request.setAttribute("taxDetails", taxDetails);
            RequestDispatcher reqstDisp =
                    getServletContext().getRequestDispatcher(nextView);
            reqstDisp.forward(request,response);
        protected void doGet(HttpServletRequest request,
                HttpServletResponse response)throws
                ServletException, IOException {
            processRequest(request, response);
        protected void doPost(HttpServletRequest request,
                HttpServletResponse response)throws
                ServletException, IOException {
            processRequest(request, response);
    taxdetails_list.jsp
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <title>Simple Tax Detail Diaplay ::</title>
            <link rel="stylesheet" type="text/css" href="imgs/orders.css"/>
        </head>
        <body>
            <jsp:useBean id="taxDetails" class="java.util.HashMap" scope="request"/>
            <table>
                <c:forEach items="${taxDetails}" var="hMap">
                    <tr>
                        <td><c:out value="${hMap.key}" /></td>
                        <!--td><%--c:out value="${hMap.value}" /--%></td-->
                    </tr>
                </c:forEach>
            </table>
        </body>
    </html>am displaying taxCodes(in this case i have VAT and ICD) fine but cant figure out how to display a list of value for each taxCode.Here is the output am getting
    both in my JSP and on the console:
    *******************************CONSOLE OUTPUT****************************
    Key          Value
    ICD     [orderItems.ItemTax@13e6226, orderItems.ItemTax@9dca26]
    VAT [orderItems.ItemTax@13e6226, orderItems.ItemTax@9dca26]
    Edited by: aiEx on Oct 8, 2007 6:54 AM

    hi evnafets,
    yes i need a nested for loop.I have tried your advice but my bean properties are not found.Am getting this error:
    javax.servlet.ServletException: Unable to find a value for "key_item" in object of class "java.lang.String" using operator "."
    I have tried this as stated earlier in the post:I have tried to make the method getItemTaxDetails return a List and get the returned list value as taxDetails. I then tested to display this list on JSP and its displaying fine.
    public List getItemTaxDetails(String key_year,String key_office,
                String key_client,String key_company,int key_item){
            ItemTax taxDetail = null;
            List taxDetails = new ArrayList();
            List itemTaxCodes = new ArrayList();
            Map itemTaxDetails = new HashMap();
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            //get a list of all tax codes of an item with a
            //given item number
            itemTaxCodes = getAllTaxCodes(key_item,key_year,
                    key_office,key_client,key_company);
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                for(Iterator taxCodeIter= itemTaxCodes.iterator(); taxCodeIter.hasNext();){
                    ItemTax itemTaxCode = (ItemTax)taxCodeIter.next();
                    String taxCode = itemTaxCode.getKey_tax_code();
                    String select = "SELECT tax_type,tax_value," +
                            "tax_limit_val FROM "+ Constants.WEB_TABLE +
                            " WHERE key_item = "+ key_item +
                            " AND key_year = '" + key_year + "'" +
                            " AND key_office = '" + key_office + "'" +
                            " AND key_client = '" + key_client + "'" +
                            " AND key_company = '" + key_company +"'" +
                            " AND key_tax_code = '" + taxCode + "'";
                    rst = stat.executeQuery(select);
                    while(rst.next()){
                        taxDetail = new ItemTax();
                        //records to be displayed only
                        taxDetail.setKey_item(Integer.parseInt(rst.getString("key_item")));
                        taxDetail.setTax_value(rst.getString("tax_value"));
                        taxDetail.setTax_limit_val(Float.parseFloat(rst.getString("tax_limit_val")));
                        //////other details records ommited//////////////////////////
                        taxDetails.add(taxDetail);////An ArrayList of taxDetails for each taxCode
                     * A HashMap which has all taxCodes of an item as its keys
                     * and an ArrayList of taxdetails as its values.
                     * I return this for display in a JSP.
                    itemTaxDetails.put(taxCode,taxDetails);
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            //return itemTaxDetails;
            return taxDetails;
        }And my JSP
    taxdetails_list.jsp
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <link rel="stylesheet" type="text/css" href="imgs/orders.css"/>
        </head>
        <body>
            <table>
                <c:forEach var="curRecord" items="${taxDetails}" varStatus="rowCounter">
                        <c:choose>
                            <c:when test="${rowCounter.count % 2 == 0}">
                                <c:set var="rowStyle" scope="page" value="odd" />
                            </c:when>
                            <c:otherwise>
                                <c:set var="rowStyle" scope="page" value="even" />
                            </c:otherwise>
                        </c:choose>
                        <tr class="${rowStyle}">
                            <td>${curRecord.key_item}</td>
                            <td>${curRecord.tax_value}</td>
                            <td>${curRecord.tax_limit_val}</td>
                        </tr>
                    </c:forEach>
            </table>
        </body>
    </html>I can't see where am going wrong even with your advice.Please help.
    Thnx.

  • Hi, when ever I'm using 3G, on my Iphone4 sim stops working and Network is lost, this started after I updated my phone with  6.0.1(10A523)version. Please help how to solve this problem.

    Hi, when ever I'm using 3G, on my Iphone4 sim stops working and network is lost, this started after I updated my phone with  6.0.1(10A523)version. Please help how to solve this problem. Thanks.

    Photos/videos in the Camera Roll are not synced. Photos/videos in the Camera Roll are not touched with the iTunes sync process. Photos/videos in the Camera Roll can be imported by your computer which is not handled by iTunes. Most importing software includes an option to delete the photos/videos from the Camera Roll after the import process is complete. If is my understanding that some Windows import software supports importing photos from the Camera Roll, but not videos. Regardless, the import software should not delete the photos/videos from the Camera Roll unless you set the app to do so.
    Photos/videos in the Camera Roll are included with your iPhone's backup. If you synced your iPhone with iTunes before the videos on the Camera Roll went missing and you haven't synced your iPhone with iTunes since they went missing, you can try restoring the iPhone with iTunes from the iPhone's backup. Don't sync the iPhone with iTunes again and decline the prompt to update the iPhone's backup after selecting Restore.

  • I bought a used iphone from a friend and I am not able to use it in Ethiopia. It is carrier blocked. Can you please help how could I unlock my iphone 4?.

    I bought a used iphone from a friend and I am not able to use it in Ethiopia. It is carrier blocked. Can you please help how could I unlock my iphone 4?.

    Unlikely as you do not meet there requirements for unlocking.
    Have your friend the provided the phone contact them.  Based on your statements I am concluding he was or still is an AT&T customer, that is one of the requirements of getting the device unlocked.

  • For updation of IOS 7.1.1 passcode required,I forget my passcode please help how can I get my passcode

    Hello,
    I forget my passcode please help how can I get my it

    You will need to try to restore your iPad from the same computer that you most recently synced to.
    Read this: http://support.apple.com/kb/ht1212
    If you can't do the restore then you will need to try Recovery Mode.
    Read this: http://support.apple.com/kb/ht1808
    Follow the instructions very carefully.

  • Please help, InDesign CS6 (cloud) keeps crashing on OS 10.8.2

    It happens after I open a file and try do just about anything, modify a photo, add text, move an object, the most basic tasks on simple one-page documents. I've tried all the recommendations I can find including verifying fonts, deleting preferences, checking for updates, etc. and though I've tried all those things, InDesign still won't allow me to do anything. I've spent all day trying to troubleshoot and I have I'm desperate to get it working. I have two major deadlines. Any help you can provide would be extremely appreciated!

    Let us know how you make out.
    Bob
    mackeys <mailto:[email protected]>
    Monday, April 1, 2013 3:21 PM
    >
          Re: Please help, InDesign CS6 (cloud) keeps crashing on OS 10.8.2
    created by mackeys <http://forums.adobe.com/people/mackeys> in
    /InDesign/ - View the full discussion
    <http://forums.adobe.com/message/5196905#5196905

  • I have windows 8 and I got this error "Adobe Photoshop has stopped working" whenever I start a program. please help. how can I fix this problem? many thanks

    i have windows 8 and I got this error "Adobe Photoshop has stopped working" whenever I start a program. please help. how can I fix this problem? many thanks

    Please read these and proceed accordingly:
    http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html
    http://forums.adobe.com/docs/DOC-2325

  • I want to cahage my peyment method ( i wana do take out my credit card  from there) please help how???

    want to cahage my peyment method ( i wana do take out my credit card  from there) please help how???

    You can't change to 'None' until you clear up the previous payment problem.  Add a fresh iTunes gift card, or add a credit card, and then once the billing issue clears, you can choose 'None' again.

  • Hi, please help my other daughter her ipod touch is disabled connect to itunes after say its itunes couldnt connect to the ipod touch coz its is locked with a passcode?? please help how...

    hi, my daughter hers ipod touch is disabled connect to itunes after say its itunes couldnot connect to the "ipod touch" because its is locked with a passcode please help how to fix connect...i did turn off her ipod touch put usb back on there same in doenot say still ipod is disabled i dont understand please help how???

    If You Are Locked Out Or Have Forgotten Your Passcode or Just Need to Restore Your Device
      1. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
      2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
      3. iOS- Understanding passcodes
         If you have forgotten your Restrictions code, then follow the instructions
         below but DO NOT restore any previous backup. If you do then you will
         simply be restoring the old Restrictions code you have forgotten. This
         same warning applies if you need to restore a clean system.
    A Complete Guide to Restore or Recover Your iDevice (if You Forget Your Passcode)
    If you need to restore your device or ff you cannot remember the passcode, then you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and re-sync the data from the device (or restore from a backup). If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present. Refer to Updating and restoring iPhone, iPad and iPod touch software.
    Try restoring the iOS device if backing up and erasing all content and settings doesn't resolve the issue. Using iTunes to restore iOS devices is part of standard isolation troubleshooting. Restoring your device will delete all data and content, including songs, videos, contacts, photos, and calendar information, and will restore all settings to their factory condition.
    Before restoring your iOS device, Apple recommends that you either sync with iTunes to transfer any purchases you have made, or back up new data (data acquired after your last sync). If you have movie rentals on the device, see iTunes Store movie rental usage rights in the United States before restoring.
    Follow these steps to restore your device:
         1. Verify that you are using the latest version of iTunes before attempting to update.
         2. Connect your device to your computer.
         3. Select your iPhone, iPad, or iPod touch when it appears in iTunes under Devices.
         4. Select the Summary tab.
         5. Select the Restore option.
         6. When prompted to back up your settings before restoring, select the Back Up
             option (see in the image below). If you have just backed up the device, it is not
             necessary to create another.
         7. Select the Restore option when iTunes prompts you (as long as you've backed up,
             you should not have to worry about restoring your iOS device).
         8. When the restore process has completed, the device restarts and displays the Apple
             logo while starting up:
               After a restore, the iOS device displays the "Connect to iTunes" screen. For updating
              to iOS 5 or later, follow the steps in the iOS Setup Assistant. For earlier versions of
              iOS, keep your device connected until the "Connect to iTunes" screen goes away or
              you see "iPhone is activated."
         9. The final step is to restore your device from a previous backup. If you do not have a
              backup to restore, then restore as New.
    If you are restoring to fix a forgotten Restrictions Code or as a New device, then skip Step 9 and restore as New.

  • IPhoto app stops responding upon launch. Please help how I can fix this problem., iPhoto app stops responding upon launch. Please help how I can fix this problem.

    iPhoto app stops responding upon launch. Please help how I can fix this problem., iPhoto app stops responding upon launch. Please help how I can fix this problem.

    Please clarify:
    What is your iPhoto version?
    And what do you mean by "not responding"? Is iPhoto hanging and showing the spinning beachball?
    Can you launch iPhoto, if you hold down the options key while launching and select or create a different library?

  • Please help how to save a movieclip in flash to svg...and how to retrive the saved svg to movieclip in flash?

    hi all
    please help how to save a movieclip in flash to svg...and how
    to retrive the saved svg to movieclip in flash?
    thanks

    Do you mean from flash in a web page or do you mean
    converting the swf file format (maybe with a decompiler or
    whatever).
    If you're meaning to do it from flash in a web page:
    You can't save a movieclip from flash to svg. You could
    perhaps record drawingAPI commands and create the appropriate svg
    output in an internal xml object which you then send to the server.
    But I don't know of any pre-built classes to do that (disclaimer:
    because I don't know of any doesn't mean they don't exist).
    Going from svg to flash is doing it the other way around.
    Converting the svg paths back to actionscript drawing commands. I
    think I've seen some examples of this online somewhere.

  • My ipad2 is asking old id password, when i go to forget password link for that id then I am not getting any mail to reset the same. Please help how can i remove or change the old id.

    my ipad2 is asking old id password, when i go to forget password link for that id then I am not getting any mail to reset the same. Please help how can i remove or change the old id.

    You cannot remove or change the old ID. This is Find My iPhone Activation Lock. You need to recover the credentials for the Apple ID originally used to activate the iPad.
    Check your spam and junk folders.

Maybe you are looking for