This is a really interesting topic...

hi people...
I'm currently reading through literature about using the default DOM in java 1.4 to read/write XML documents. But there's no mention of reading RDF (resource description framework) in XML documents.
Do i just use the normal way (ie NodeList etc) to read/write the docs or is there a better way?
Cheers in advance.
By the way i must apologise for the subject title -- had to put it because no-one seems to wanna look at this question when entitled "resource description framework"!

By the way i must apologise for the subject title -- had to put it because no-one seems to wanna look at this question when entitled "resource description framework"! Maybe thats because I don't know what RDF is so I don't want to waste our time reading posts that I can't help solve.
The topic is meant to be descriptive for a reason - use it.

Similar Messages

  • An interesting topic about  class JEditorPane

    We know that class JEditorPane can be used to display Html pages. but it has limitation. When a Html page contains Applet, it can not display the applet! Does anyone know if there's any solution for this problem?

    I agree that it's an interesting topic, but I'm not sure I see its relevance to generics. Perhaps you could enlighten me? Failing that, I suggest you repost in the Swing forum and post a link to that thread here.

  • OK - I got a really interesting question down in ABAP General and NW AppSer

    This one is so interesting that I thought I'd draw a little extra attention to it here.
    See:
    Hang on to your hats! (shared buffer in multi-WAS/multi-update process env)
    or:
    Hang on to your hats! (shared buffer in multi-WAS/multi-update process env)
    Any and all <i><b>informed</b></i> opinion welcome.

    This is really cool: the <b>export to database</b> statement with a given key value for ID <i><b>replaces</b></i> what's already in the table for the same key value.
    To see that this is true, copy the system table INDX to a custom table called ZINDX_QM (so you won't have to change the code below.)  Activate this custom table.
    Then run the following code twice as follows:
    1) the first time, leave the value of wa_stuff as it is declared, i.e.:
    "This is some stuff"
    2) the second time, change the value of wa_stuff to:
    "This is some stuff - pass 2."
    You'll see that the second value has replaced the first value in the custom table.
    So the export to database statement actually does <b>a "replace", not an "append"</b>,  if the key value is already in the table.
    REPORT  ZFOO.
    type-pools: thfb.
    TABLES:
      zindx_qm.
    DATA:
      context_id             TYPE thfb_context_id,
      cntxt_user_dt(60)      TYPE c,
      cntxtud_s              TYPE string,
      rtrnd_hash             TYPE i,
      rtrnd_hash_n(22)       TYPE n,
      rtrnd_hash_c(22)       TYPE c,
      wa_zindx_qm            TYPE zindx_qm,
      v_chk_cnt              TYPE i,
      wa_stuff(40)           TYPE c VALUE 'This is some stuff - pass 1'.
    CALL FUNCTION 'TH_GET_CONTEXT_ID'
      IMPORTING
        CONTEXT_ID       = context_id.
    CONCATENATE context_id
                sy-datum
                sy-uname
           INTO cntxt_user_dt.
    cntxtud_s = cntxt_user_dt.
    CALL FUNCTION 'LCRDB_STRING_HASH'
      EXPORTING
        TEXT =  cntxtud_s
      IMPORTING
        HASH =  rtrnd_hash.
    rtrnd_hash_n = rtrnd_hash.
    rtrnd_hash_c = rtrnd_hash_n.
    wa_zindx_qm-aedat = sy-datum.
    wa_zindx_qm-usera = sy-uname.
    wa_zindx_qm-pgmid = sy-repid.
    EXPORT wa_stuff
      TO DATABASE zindx_qm(mo)
      ID rtrnd_hash_c
      FROM wa_zindx_qm.
    CLEAR wa_stuff.
    IMPORT wa_stuff TO wa_stuff
      FROM DATABASE zindx_qm(mo)
      ID rtrnd_hash_c.
    WRITE: / wa_stuff.
    Also, the second cool thing is that the "relid" (area) field of the custom table actually makes coding multiple storage statements much easier.  To see why this is so, just compare what's been commented out in the following BAdI method with what's replaced it:
    method IF_EX_INSPECTIONLOT_UPDATE~CREATE_IN_UPDATE.
    * 11/10: new export statements from XSQM exit
    *EXPORT gt_outtab        TO DATABASE zindx_qm(tb) ID rtrnd_hash_c.
    *EXPORT s7_tab_mseg      TO DATABASE zindx_qm(ms) ID rtrnd_hash_c.
    *EXPORT v_cntr_recursion TO DATABASE zindx_qm(rc) ID rtrnd_hash_c.
    * 11/10 - original decs/imports before switch to database exports from shared buffer exports
    *v_memkey(60)      TYPE c,
    *v_memkey2(64)     TYPE c,
    *v_memkey3(65)     TYPE c,
    *v_memkey4(65)     TYPE c,
    *v_memkey5(65)     TYPE c,
    *v_memkey6(65)     TYPE c,
    *IMPORT gt_outtab        TO gt_outtab        FROM SHARED BUFFER indx(st) ID v_memkey.  now tb
    *IMPORT s7_tab_mseg      TO s7_tab_mseg      FROM SHARED BUFFER indx(st) ID v_memkey2. now ms
    *IMPORT v_cntr_recursion TO v_cntr_recursion FROM SHARED BUFFER indx(st) ID v_memkey3. now rc
    *IMPORT v_do_exit        TO v_do_exit        FROM SHARED BUFFER indx(st) ID v_memkey4. now de
    *IMPORT wa_zzqa02        TO wa_zzqa02        FROM SHARED BUFFER indx(st) ID v_memkey5. now wz
    *IMPORT i_zzqa02         TO i_zzqa02         FROM SHARED BUFFER indx(st) ID v_memkey6. now iz
    * for context id typing
    TYPE-POOLS:
      thfb.
    DATA:
      context_id             TYPE thfb_context_id,
      cntxt_user_dt(60)      TYPE c,
      cntxtud_s              TYPE string,
      rtrnd_hash             TYPE i,
      rtrnd_hash_n(22)       TYPE n,
      rtrnd_hash_c(22)       TYPE c,
      wa_zindx_qm            TYPE zindx_qm,
      v_chk_cnt              TYPE i.
    DATA:
      v_do_exit         TYPE c,
      v_cntr_recursion  TYPE i,
      v_itab_cnt        TYPE i,
      v_index           TYPE i,
      v_mapl_cnt        TYPe i.
    DATA:
      s_qals            TYPE qals,
      s7_tab_mseg       TYPE STANDARD TABLE OF mseg,
      wa_mseg           TYPE mseg,
      gt_outtab         TYPE STANDARD TABLE OF zzmseg_qm_2007,
      wa_zzqm           TYPE zzmseg_qm_2007,
      wa_zzqa02         TYPE zzqa02_prueflos,
      i_zzqa02          TYPE STANDARD TABLE of zzqa02_prueflos,
      wa_zqm_lottrck    TYPE zqm_lottrck,
      wa_mapl TYPE mapl,
      v_mtart           TYPE mtart,
      v_qmatv           TYPE qmatv.
    DATA:
      v_cnt_wyt3        TYPE i,
      v_debug           TYPE i.
      CALL FUNCTION 'TH_GET_CONTEXT_ID'
        IMPORTING
        CONTEXT_ID       = context_id.
      CONCATENATE context_id
                  sy-datum
                  sy-uname
             INTO cntxt_user_dt.
      cntxtud_s = cntxt_user_dt.
      CALL FUNCTION 'LCRDB_STRING_HASH'
        EXPORTING
          TEXT =  cntxtud_s
        IMPORTING
          HASH =  rtrnd_hash.
      rtrnd_hash_n = rtrnd_hash.
      rtrnd_hash_c = rtrnd_hash_n.
    *  CONCATENATE 'DEXIT'
    *               sy-uname
    *               sy-datum
    *               context_id
    *          INTO v_memkey4.
    *  IMPORT v_do_exit TO v_do_exit FROM SHARED BUFFER indx(st) ID v_memkey4.
      IMPORT v_do_exit TO v_do_exit
        FROM DATABASE zindx_qm(de)
        ID rtrnd_hash_c.
    *  CONCATENATE 'CRCSN'
    *              sy-uname
    *              sy-datum
    *              context_id
    *         INTO v_memkey3.
    *  IMPORT v_cntr_recursion TO v_cntr_recursion FROM SHARED BUFFER indx(st) ID v_memkey3.
      IMPORT v_cntr_recursion TO v_cntr_recursion
        FROM DATABASE zindx_qm(rc)
        ID rtrnd_hash_c.
    *  CONCATENATE sy-uname
    *              sy-datum
    *              context_id
    *         INTO v_memkey.
    *  IMPORT gt_outtab TO gt_outtab FROM SHARED BUFFER indx(st) ID v_memkey.
      IMPORT gt_outtab TO gt_outtab
        FROM DATABASE zindx_qm(tb)
        ID rtrnd_hash_c.
      DESCRIBE TABLE gt_outtab LINES v_itab_cnt.
      IF v_do_exit = 'N'.
        v_do_exit = 'Y'.
    *    EXPORT v_do_exit FROM v_do_exit TO SHARED BUFFER indx(st) ID v_memkey4.
        EXPORT v_do_exit FROM v_do_exit TO DATABASE zindx_qm(de) ID rtrnd_hash_c.
    *    CONCATENATE 'SQALS'
    *                sy-uname
    *                sy-datum
    *                context_id
    *           INTO v_memkey5.
    *    IMPORT wa_zzqa02 TO wa_zzqa02 FROM SHARED BUFFER indx(st) ID v_memkey5.
        IMPORT wa_zzqa02 TO wa_zzqa02
          FROM DATABASE zindx_qm(wz)
          ID rtrnd_hash_c.
        IF v_cntr_recursion < v_itab_cnt.
    *    CONCATENATE 'TQALS'
    *                sy-uname
    *                sy-datum
    *                context_id
    *           INTO v_memkey6.
    *      IMPORT i_zzqa02 TO i_zzqa02 FROM SHARED BUFFER indx(st) ID v_memkey6.
          IMPORT i_zzqa02 TO i_zzqa02
            FROM DATABASE zindx_qm(iz)
            ID rtrnd_hash_c.
        ENDIF.
        APPEND wa_zzqa02 TO i_zzqa02.
    *    EXPORT i_zzqa02 FROM i_zzqa02 TO SHARED BUFFER indx(st) ID v_memkey6.
        EXPORT i_zzqa02 FROM i_zzqa02 TO DATABASE zindx_qm(iz) ID rtrnd_hash_c.
        IF v_cntr_recursion = 0.
          CALL FUNCTION 'ZZQA02_ASSIGN_BDC' IN BACKGROUND TASK.
        ENDIF.
        EXIT.
      ENDIF.
    *  CONCATENATE 'MSEG'
    *              sy-uname
    *              sy-datum
    *              context_id
    *         INTO v_memkey2.
    *  IMPORT s7_tab_mseg TO s7_tab_mseg FROM SHARED BUFFER indx(st) ID v_memkey2.
      IMPORT s7_tab_mseg TO s7_tab_mseg
        FROM DATABASE zindx_qm(ms)
        ID rtrnd_hash_c.
      v_index = v_itab_cnt - v_cntr_recursion + 1.
      READ TABLE gt_outtab INTO wa_zzqm INDEX v_index.
      READ TABLE s7_tab_mseg INTO wa_mseg INDEX v_index.
      IF    wa_mseg-bwart <> '101'
        AND wa_mseg-bwart <> '103'.
        EXIT.
      ENDIF.
      IF  wa_mseg-werks <> '2000'.
        EXIT.
      ENDIF.
      SELECT
      SINGLE mtart
        FROM mara
        INTO v_mtart
       WHERE matnr = wa_mseg-matnr.
      SELECT
      SINGLE qmatv
       FROM  marc
       INTO  v_qmatv
      WHERE  matnr = wa_mseg-matnr
        AND  werks = wa_mseg-werks.
      IF    v_mtart <> 'ROH'
        AND v_qmatv <> 'X'.
        EXIT.
      ENDIF.
      s_qals = insplot.
    *  v_lifnr_save = s_qals-lifnr.
      CALL FUNCTION 'QPBU_LOT_DELETE'
         EXPORTING
         I_QALS        = s_qals.
       s_qals-lifnr   = wa_zzqm-zzlifnr.
       s_qals-pplverw = '5'.
       s_qals-stat19  = 'X'.
      SELECT
      SINGLE plnty
             plnnr
             plnal
             zkriz
             zaehl
        FROM mapl
        INTO (s_qals-plnty,
              s_qals-plnnr,
              s_qals-plnal,
              s_qals-zkriz,
              s_qals-zaehl)
       WHERE matnr = wa_mseg-matnr
         AND werks = wa_mseg-werks
         AND lifnr = wa_zzqm-zzlifnr.
      v_do_exit = 'N'.
    *  EXPORT v_do_exit FROM v_do_exit TO SHARED BUFFER indx(st) ID v_memkey4.
      EXPORT v_do_exit FROM v_do_exit TO DATABASE zindx_qm(de) ID rtrnd_hash_c.
      v_cntr_recursion = v_cntr_recursion - 1.
    *  EXPORT v_cntr_recursion FROM v_cntr_recursion TO SHARED BUFFER indx(st) ID v_memkey3.
      EXPORT v_cntr_recursion FROM v_cntr_recursion TO DATABASE zindx_qm(rc) ID rtrnd_hash_c.
      wa_zzqa02-prueflos = s_qals-prueflos.
    *  CONCATENATE 'SQALS'
    *              sy-uname
    *              sy-datum
    *              context_id
    *         INTO v_memkey5.
    *  EXPORT wa_zzqa02 FROM wa_zzqa02 TO SHARED BUFFER indx(st) ID v_memkey5.
      EXPORT wa_zzqa02 FROM wa_zzqa02 TO DATABASE zindx_qm(wz) ID rtrnd_hash_c.
      SELECT COUNT( * )
        FROM mapl
        INTO v_mapl_cnt
       WHERE matnr = wa_mseg-matnr
         AND werks = wa_mseg-werks
         AND plnty = 'Q'
         AND plnnr <> '99999999'.
      IF v_mapl_cnt = 1.
        wa_mapl-matnr = wa_mseg-matnr.
        wa_mapl-werks = wa_mseg-werks.
        wa_mapl-plnty = 'Q'.
        wa_mapl-plnnr = '99999999'.
        wa_mapl-plnal = '01'.
        wa_mapl-zkriz = '0000001'.
        wa_mapl-zaehl = '00000001'.
        wa_mapl-lifnr = 'ZZZZZZZZZZ'.
        wa_mapl-datuv = sy-datum.
        INSERT INTO mapl VALUES wa_mapl.
      ENDIF.
      CALL FUNCTION 'QPBU_LOT_INSERT'
         EXPORTING
           QALS_NEW       = s_qals.
      IF wa_zzqm-zzltno IS INITIAL.
        EXIT.
      ENDIF.
      wa_zqm_lottrck-zzltno   = wa_zzqm-zzltno.
      wa_zqm_lottrck-werk     = wa_mseg-werks.
      wa_zqm_lottrck-prueflos = s_qals-prueflos.
      wa_zqm_lottrck-mblnr    = s_qals-mblnr.
      wa_zqm_lottrck-mjahr    = s_qals-mjahr.
      wa_zqm_lottrck-zeile    = s_qals-zeile.
      INSERT
        INTO zqm_lottrck
      VALUES wa_zqm_lottrck.
    ENDMETHOD.

  • When making a circle, illustrator automaticly makes lots and lots of more circles... How to resolve this problem? Really need quick advice!!

    Hi there,
    I have used illustrator now for a long period of time. Recently I purchased Adobe CC. Had no problems with it untill now.
    It's like this. Whenever I try to make a circle (or, square, line or other forms) Illustrator makes lots and lots of more circles within it.
    From the moment I click on the page untill I release my mouse, it keeps making circles. (see enclosed picture)
    I have really no idea whatsoever how to undo this. I have used Illiustrator CC before for another project, and it worked fine. Now however, it doesn't.
    Can anyone help me out here? I have payed projects to deliver, and I really need this to work really soon...
    Thnx for your help!
    btw, I work on a PC with Windows 8. (don't really think it's relevant, but still..)

    Thnx!
    I didn't know that could cause it. Which is actually weird since I've recently bought a new laptop. >,<U
    Thnx for your help!

  • I am trying to download itunes onto my computer, and every time i try it tells me it is succesfully installed, but when i look there is no shortcut or any sign of it at all. this is getting really frustrating, help please?

    i am trying to download itunes onto my computer, and every time i try it tells me it is succesfully installed, but when i look there is no shortcut or any sign of it at all. this is getting really frustrating, help please?

    Hi there,
    You may want to take a look at the troubleshooting steps found in the article below.
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/ht1926
    -Griff W.

  • Seriously, this issue is really annoying. why wont my songs download? it wont stop saying there is an error. this needs to be fixed. refund or apple needs to put these songs in my itunes manually if that can be done.

    seriously, this issue is really annoying. why wont my songs download? it wont stop saying there is an error. this needs to be fixed. refund or apple needs to put these songs in my itunes manually if that can be done.

    seriously, this issue is really annoying. why wont my songs download? it wont stop saying there is an error. this needs to be fixed. refund or apple needs to put these songs in my itunes manually if that can be done.

  • How far away is the eyedropper fix?  This is getting really bad.

    I just went to do some colour-correction on one of four TVC's we are getting out this afternoon, and realised I had installed Lion, and the eyedropper won't work on anything!!!   I can't select a colour on any colour-correction tools in Premiere, whether it be native CS CC, Colorista or Boris.  This is a really serious bug.   I'm going to have to work an alternative fix this afternoon, but when will this be fixed please?
    Peter Corbett
    Powerhouse
    www.php.com.au

    The Premiere Pro CS5.5 (5.5.2) update fixes the problem with eyedroppers on Mac OSX v10.7 (Lion), as well as some other issues. See this page for details:
    http://adobe.ly/premiere_pro_552

  • 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

  • This is getting really old

    This is getting really old. 
    I keep running into limits on the way I can access information.
    I have some code that was looking at a SerialElement:
    pSerialElement.getChildAt(0).toString();     trace produces "[object VideoElement]"
    Now if I simply store that SerialElement in a MediaElement (pMediaElement = pSerialElement )
    I no longer can do a getChildAt.
    trace pMediaElement = [object SerialElement]   (it says it's a SerialElement)
    trace pPlayer.media = [object SerialElement]
    1061: Call to a possibly undefined method getChildAt through a reference with static type org.osmf.media:MediaElement.
    You encourage us to use MediaElement, yet you lock us out of inspecting our elements
    once inside the MediaElement.
    I want read-only access to the objects inside of MediaElement.
    I should be able to inspect the SerialElement no matter which way it's stored.
    I honestly don't understand the logic, on an open source project, to locking everything down
    so tight with private vars.

    Yes, this type casting you had mentioned before, just didn't stick in my memory.
    Sorry for the late night rant.
    I'm now getting the results I wanted, thanks again for your patience.
    trace(pMediaElement);
    result:  [object SerialElement]
    trace(pPlayer.media);
    result:  [object SerialElement]
    trace ((pPlayer.media as SerialElement).getChildAt(0));
    result:  [object VideoElement]
    trace ((pMediaElement as SerialElement).getChildAt(0));
    result:  [object VideoElement]
    trace ((pMediaElement as SerialElement).getChildAt(0).resource);
    result:  [object URLResource]
    var vResource:URLResource = ((pMediaElement as SerialElement).getChildAt(0).resource as URLResource);
    trace (vResource.url);
    result:   ./media/walkin.flv

  • TS4088 Obviously if my computer is out of warranty than this isn't really going to help me is it?

    Obviously this isn't really going to help me if my computer is out of warranty correct?

    Well it probably won't come as a surprise for me to tell you that I can't afford to pay Apple to replace my logic board. I bought mine in September of 2010, so I'm almost 4 months out of warranty. Say I brought this to Apple after a year from purchase, I would had to have paid for the repair. I don't know when this article was posted, but for an intermittent hardware problem, I feel rather cheated for not being notified by Apple of a potential manufacturer's defect, like you would expect from say an auto manufacturer.

  • This maybe a really dumb question...

    I know this maybe a really dumb question but I do need to ask:
    -Do I need to buy a new vista to install on my new mac?
    (I have a start up one that was included with my previous pc laptop..)
    -In terms of partitioning, how should I distribute space?
    Thank you in advance.

    jlee636:
    The Boot Camp installation guide is [HERE|http://www.apple.com/support/bootcamp>. It should be able to answer questions related to installation. Of course these discussions have several other information on boot camp/ windows. All you need to do is launch a search on them.
    -In terms of partitioning, how should I distribute space?
    Too many people make a partition very small and then regret having done so. My recommendation is to have a partition of at least 32GB. It is highly dependent on what your will be installing on Windows XP/Vista.
    -Do I need to buy a new vista to install on my new mac?(I have a start up one that was included with my previous pc laptop..)
    It is more than likely that the Windows disk that came with your previous PC/Laptop is an OEM disk and will only work properly with that particular PC. This is generally the case with Dell, HP, Sony etc. The installation disk in the cases above are usually branded.
    For more information on which Windows version(s) work with Boot Camp then please click [HERE|http://docs.info.apple.com/article.html?path=Mac/10.5/en/11889.html].
    Axel F.

  • Can anybody tell us when iCloud mail will work again? this is getting really annoying.

    Can anybody tell us when iCloud mail will work again? this is getting really annoying.

    Can anybody tell us when iCloud mail will work again? this is getting really annoying.

  • THIS IS A REALLY HARD ONE

    Hi, this is a really hard one but here I go. Well the code below takes in an array of cards(playing cards) and finds all possible subsets of the array. These subsets are stored in separate arrays and then each array is mapped to a key and stored in a linklist. Later for a given key on of the subset arrays is exported to the method that passed that called it.
    import java.io.*;
    import java.util.*;
    public class Subsets {
         Properties ht = new Properties();
         LinkedList ll = new LinkedList();
         ArrayList al1, al2, al3, al4, al5, al6, al7, al8;
         String           key = null;
         String           key2;
         int          intKey;
    ArrayList newArr = null;
    public ArrayList permutations(Hand dk, Hand comp){
         for (int f=0; f < dk.getCardCount(); f++){
              key = String.valueOf(dk.getCard(f).getValue());
              al1 = new ArrayList();
              al1.add(dk.getCard(f));
              ll.add(ht.put(key,al1));
              for (int s=f+1; s < dk.getCardCount(); s++){
                   key = String.valueOf(dk.getCard(f).getValue()+dk.getCard(s).getValue());
                   al2 = new ArrayList();
                   al2.add(dk.getCard(f));
                   al2.add(dk.getCard(s));
                   ll.add(ht.put(key, al2));
                   //v.addElement(ht.put(key,cd2));
                   for (int t=s+1; t < dk.getCardCount(); t++){
                        key = String.valueOf(dk.getCard(f).getValue()+dk.getCard(s).getValue()+dk.getCard(t).getValue());
                        al3 = new ArrayList();
                        al3.add(dk.getCard(f));
                        al3.add(dk.getCard(s));
                        al3.add(dk.getCard(t));
                        ll.add(ht.put(key,al3));
                        //v.addElement(ht.put(key,cd3));
                        for (int a=t+1; a < dk.getCardCount(); a++){
                             key = String.valueOf(dk.getCard(f).getValue()+dk.getCard(s).getValue()+dk.getCard(t).getValue()+dk.getCard(a).getValue());
                             al4 = new ArrayList();
                             al4.add(dk.getCard(f));
                             al4.add(dk.getCard(s));
                             al4.add(dk.getCard(t));
                             al4.add(dk.getCard(a));
                             ll.add(ht.put(key,al4));
                             for (int b=a+1; b < dk.getCardCount(); b++){
                                  key = String.valueOf(dk.getCard(f).getValue()+dk.getCard(s).getValue()+dk.getCard(t).getValue()+dk.getCard(a).getValue()+dk.getCard(b).getValue());
                                  al5 = new ArrayList();
                                  al5.add(dk.getCard(f));
                                  al5.add(dk.getCard(s));
                                  al5.add(dk.getCard(t));
                                  al5.add(dk.getCard(a));
                                  al5.add(dk.getCard(b));
                                  ll.add(ht.put(key,al5));
                                                      for (int c=b+1; c < dk.getCardCount(); c++){
                                       key = String.valueOf(dk.getCard(f).getValue()+dk.getCard(s).getValue()+dk.getCard(t).getValue()+dk.getCard(a).getValue()+dk.getCard(b).getValue()+dk.getCard(c).getValue());
                                       al6 = new ArrayList();
                                       al6.add(dk.getCard(f));
                                       al6.add(dk.getCard(s));
                                       al6.add(dk.getCard(t));
                                       al6.add(dk.getCard(a));
                                       al6.add(dk.getCard(b));
                                       al6.add(dk.getCard(c));
                                       ll.add(ht.put(key,al6));
                                       //v.addElement(ht.put(key,cd6));
                                       for (int d=c+1; d < dk.getCardCount(); d++){
                                            key = String.valueOf(dk.getCard(f).getValue()+dk.getCard(s).getValue()+dk.getCard(t).getValue()+dk.getCard(a).getValue()+dk.getCard(b).getValue()+dk.getCard(c).getValue()+dk.getCard(d).getValue());
                                            al7 = new ArrayList();
                                            al7.add(dk.getCard(f));
                                            al7.add(dk.getCard(s));
                                            al7.add(dk.getCard(t));
                                            al7.add(dk.getCard(a));
                                            al7.add(dk.getCard(b));
                                            al7.add(dk.getCard(c));
                                            al7.add(dk.getCard(d));
                                            ll.add(ht.put(key,al7));
                                            //v.addElement(ht.put(key,cd7));
                                            for (int e=d+1; e < dk.getCardCount(); e++){
                                                 key = String.valueOf(dk.getCard(f).getValue()+dk.getCard(s).getValue()+dk.getCard(t).getValue()+dk.getCard(a).getValue()+dk.getCard(b).getValue()+dk.getCard(c).getValue()+dk.getCard(d).getValue()+dk.getCard(e).getValue());
                                                 al8 = new ArrayList();
                                                 al8.add(dk.getCard(f));
                                                 al8.add(dk.getCard(s));
                                                 al8.add(dk.getCard(t));
                                                 al8.add(dk.getCard(a));
                                                 al8.add(dk.getCard(b));
                                                 al8.add(dk.getCard(c));
                                                 al8.add(dk.getCard(d));
                                                 al8.add(dk.getCard(e));
                                                 ll.add(ht.put(key,al8));
         Iterator itr = ll.iterator();
         first:{
              while(itr.hasNext()){     
                        key2 = String.valueOf(itr.next());
                        intKey = Integer.parseInt(key2);
                   for(int j=comp.getCardCount()-1; j<=0;j++){
                        if(intKey == comp.getCard(j).getValue()){
                             newArr = (ArrayList)ht.get(key2);
                             break first;
              if(!itr.hasNext()){
                   newArr = null;
         return newArr;
    the snippit of code below below is what called the code above.
    if(cardsOnTable.getCardCount() == 0){
    System.out.println(COMPUTER_name+" discards the " + COMPUTER_player.getCard(COMPUTER_player.getCardCount()-1));
                        cardsOnTable.addCard(COMPUTER_player.getCard(comp_ONE.getCardCount()-1));
                        COMPUTER_player.removeCard(COMPUTER_player.getCardCount()-1);
    else if(cardsOnTable.getCardCount() != 0){
    table_combination = compCom.permutations(cardsOnTable, COMPUTER_player);
    //System.arraycopy(compCom.compareCards(COMPUTER_player),0,table_combination,0,compCom.compareCards(COMPUTER_player).length);
    outer:{
    if(table_combination == null){
    System.out.println(COMPUTER_name+" discards the " + COMPUTER_player.getCard(0));
                                  cardsOnTable.addCard(COMPUTER_player.getCard(0));
                                  COMPUTER_player.removeCard(0);
                                  break outer;
    I get the following error message when I compile the code just above.
    PlayScopa.java:283:cannot resolve symbol
    symbol : method lastIndexOf(Card, int)
    location: class java.util.ArrayList
    index = table_combination.lastIndexOf(COMPUTER_player.getCard(j), table_combination.size()-1);
    1 error
    well thats the problem, can anyone help

    ok here is the updated versionof the code
    (not all of it just the important parts)
    Iterator itr = ll.iterator();
         first:{
              while(itr.hasNext()){
                        key2 = String.valueOf(itr.next());
         //intKey = Integer.parseInt(key2);
                   for(int j=comp.getCardCount()- 1; j>=0;j++){
                        if(key2 == String.valueOf(comp.getCard(j).getValue())){
                             newArr = (ArrayList)ht.get(key2);
                             break first;
              if(!itr.hasNext()){
                   newArr = null;
    System.out.println("number of matches found");
         return newArr;
    the method that calls the snippit above is below
    ArrayList table_combination = null;
    int index = -1;
    table_Cards();
         System.out.println("Its "+COMPUTER_name+"'s turn");
         boolean z = true;
         if(cardsOnTable.getCardCount() == 0){
    System.out.println(COMPUTER_name+"??? discards the " + COMPUTER_player.getCard(COMPUTER_player.getCardCount()-1));
              cardsOnTable.addCard(COMPUTER_player.getCard(comp_ONE.getCardCount()-1));
              COMPUTER_player.removeCard(COMPUTER_player.getCardCount()-1);
    else if(cardsOnTable.getCardCount() != 0){
    table_combination = compCom.permutations(cardsOnTable, COMPUTER_player);
    outer:{
    if(table_combination == null){
    System.out.println(COMPUTER_name+" discards the " + COMPUTER_player.getCard(0));
                                  cardsOnTable.addCard(COMPUTER_player.getCard(0));
                                  COMPUTER_player.removeCard(0);
                                  break outer;
    The error message that I get is below again
    99.PICKUP a CARD from TABLE
    0
    z Discards the 7 of Diamonds
    Cards on the table are:
    0. 3 of Diamonds
    1. King of Spades
    2. King of Clubs
    3. King of Hearts
    4. 7 of Diamonds
    Its r's turn
    Exception in thread "main" java.lang.NullPointerException
    at Subsets.permutations(Subsets.java:108)
    at PlayScopa.computerTurn(PlayScopa.java:273)
    at PlayScopa.scopaPlay(PlayScopa.java:133)
    at PlayScopa.scopaStart(PlayScopa.java:89)
    at MainApp.main(MainApp.java:29)
    [u9zuh /home/stud3/csc99/u9zuh]$
    thats this null pointer about and how do I fix the problem

  • I know this isn't really the right place to ask, but could someone explain why when I open Portal 2, that I got off steam and spent a whole day downloading, keeps crashing when I click the Campaign/Single Player mode. It Freezes and then crashes. Help!

    I know this isn't really the right place to ask, but could someone explain why when I open Portal 2, that I got off steam and spent a whole day downloading, keeps crashing when I click the Campaign/Single Player mode. It Freezes and then crashes. Help!

    I know this isn't really the right place to ask...
    Uhm, why don't you go to the right place, then? There are several Steam/Portal forums out there...

  • HT5527 This doesn't really answer my questions.  How do I reduce storage?  What's being stored in iCloud anyway?  Just what's backed up on phones and iPad?  Do I increase storage through my laptop in which case I click on the OS X or the iPad/Phones which

    This doesn't really answer my questions.  How do I reduce storage?  What's being stored in iCloud anyway?  Just what's backed up on phones and iPad?  Do I increase storage through my laptop in which case I click on the OS X or the iPad/Phones which is IOS.

    Your iCloud account stores your iOS device backups as well as your synced data (contacts, calendars, notes, etc.) and iCloud email (if you have an iCloud email account).  You can see how much is being used on your iPad by going to Settings>iCloud>Storage & Backup>Manage Storage.
    If you want to purchase more iCloud storage, you can do this on any of your iOS devices or computers that are signed into your iCloud account, as explained here: http://support.apple.com/kb/HT4874.

Maybe you are looking for

  • How to set endpoint address using UTL_DBWS

    Hi, I have been struggling to invoke a web service in the Oracle 10g database using UTL_DBWS. Now I reached a point where I need to set an endpoint address using UTL_DBWS to complete the invoking process, I try to use UTL_DBWS.Set_Target_Endpoint_Add

  • Attached images send properly, but are received as characters

    Please help with this problem (and many thanks for any suggestions): I've been running 10.5.5 and Mail 3.2 with no problems, and sending images on a daily basis. Today, however, Mail has begun to send images properly (the e-mail in the "Sent" folder

  • No wifi signal after 3.1 update

    Any one else having wifi issues after update? After update keeps changing from 3g to wifi but with no signal and before update always had good signal in my house.

  • Question for scripting gurus: GREP search, change case make Smallcaps

    I have no knowledge of scripting at all, but this question keeps coming up during training sessions: is it possible to (java)script this: - Do a GREP search \u\u+ - Change case to lowercase - Apply SmallCaps (or: apply character style) this would all

  • I am using photoshop elements 11

    My problem is adjusting color.  I am having problems with the colors of red and green.  I have a figurine that is hunter green.  After taking the photo the color is a light green when I need a dark hunter green.  Is there a way to adjust color on gre