BAPI_ACC_DOCUMENT_POST - problem with COPA

Hi all,
I'm using the function BAPI_ACC_DOCUMENT_POST to post documents like F-02. It's working right, but it's not transfering to CO-PA. I'm trying to fill the table CRITERIA to pass values for proftability segment, but it's not working right for that.
I was filling CRITERIA for the follow fields, but I receive a error message in return of BAPI that says 'Complete PA structure ... ' :
    CLEAR I_BAPIACKEC9.
    I_BAPIACKEC9-ITEMNO_ACC = p_item.
    I_BAPIACKEC9-FIELDNAME  = 'KNDNR'.
    I_BAPIACKEC9-CHARACTER  = i_report-kunnr.
    APPEND I_BAPIACKEC9.
    CLEAR I_BAPIACKEC9.
    I_BAPIACKEC9-ITEMNO_ACC = p_item.
    I_BAPIACKEC9-FIELDNAME  = 'ARTNR'.
    I_BAPIACKEC9-CHARACTER  = i_report-matnr.
    APPEND I_BAPIACKEC9.
Could anyone send me an example of the function ( BAPI_ACC_DOCUMENT_POST ) using table CRITERIA to transfer data to COPA ?
Thanks

Hi Savitha,
follow the values in structures to call BAPI:
HEADER:
OBJ_TYPE      BKPFF
OBJ_KEY          $
OBJ_SYS           CTD600
BUS_ACT           RFBU
USERNAME      FERRATRE
HEADER_TXT     4400000325
COMP_CODE     7100
DOC_DATE     20060209
PSTNG_DATE     20060209
TRANS_DATE     00000000
FISC_YEAR     2006
FIS_PERIOD     08
DOC_TYPE     GG
BAPIACKEC9:
0000000002|ARTNR|000000000000530404             
0000000002|KNDNR|0000080018                     
0000000002|SPART|10                             
0000000002|VKORG|BZ01                           
0000000002|VTWEG|10                     
BAPIACGL09:
ITEMNO_ACC     0000000002
GL_ACCOUNT     0000040000
DOC_TYPE     GG
FIS_PERIOD     08
FISC_YEAR     2006
PSTNG_DATE     20060209
VALUE_DATE     20060209
CUSTOMER     0000080018
TAX_CODE     SD
MATERIAL     000000000000530404
BAPIACCR09:
ITEMNO_ACC     0000000001
CURRENCY     BRL
AMT_DOCCUR     136.0000
MESSAGE ERROR FROM BAPI:
E|RW|609|Error in document: BKPFF $ CTD600       
E|KF|018|Complete PA transfer structure FI       
W|KI|350|Profitability segment being derived again

Similar Messages

  • Problem with COPA extractor 1_CO_PA ...

    Hi all,
        I am facing a problem with COPA extractor where delta is bringing in records which have been commited to database more that 6 hours ago.  I understand that according to a note that COPA extractors have a default safety interval of 30 minutes but 6 hours is too much.
    Is there any way I can change that?  Is there any customizing option?  Note 392876 explans how to change the safety interval to 5 minutes but I dont know if it is applicable for our patch level? 
    We are at PI->2004_1_500 patch SAPKIPZI69.
    Also the safety limit is also maintained in ROOSOURCE-DELTASAFE2 field, should I just change it there?
    any help is appreciated...
    thanks

    I see that you are not so novice!
    Please, how can I check the time and time zone in R/3 and BW?
    Thank you in advance

  • Problem with COPA

    Hi gurus.
    I have a problem with PA.
    My problem is that when i create a sales orden and i have a WBS Element i cant fill the Profit. Segment because those are reals.
    How can i do to have these doble account assignement???
    Thanks in advance

    No, i dont want to reverse it.
    The proble is that when i generate a sales order with WBS Element i cant fill the Profit. Segment. it is in grey due to a standard use of SAP.
    i dont want to settle my WBS Element and put my  WBS Element at zero.
    How can ia have the  sales order information in COPA with that????

  • Billing Document Releasing Problem with COPA

    Hi,
    While releasing the billing document,it is not releasing to accounting and giving the below error log.
    Error Message number -KE/AD713
    Note:
    In the below error log it is saying that to activate the +/- sign in KE4I.But for some billing documents it didnot give any error like below.Why it is asking only for this billing document? Kindly help me.
    Diagnosis
        When condition "ZSCM" (application "V") was transferred to the value field "VV139" in operating concern "AFCO" in Profitability Analysis, the following became apparent:
    1.The condition can take both positive and negative   values
    2.The flag "Transfer values with +/- signs" has not be set in Customizing for value field assignment.
        Inconsistencies in the data could occur as a consequence.
    System Response
        It is not possible to post the document in Profitability Analysis.
    Procedure
        Set the flag "Transfer values with +/- signs" for the condition "ZSCM".
        You should set the flag "Transfer values with +/- signs"  selectively for individual conditions if:
    1.  The conditions can take both negative and positive values (for example, in the case of conditions that describe a transfer price surcharge or a loss deduction).
    2.  The conditions appear several times in a billing document and thus cause a debit posting as well as a credit posting (this is the case, for example, when creating or cancelling reserves).
    By activating the flag "Transfer values with +/- signs", you balance the positive and negative values in a
    condition. You can thereby guarantee that the sum of the negative and positive condition values is displayed as the correct total value in the value field assigned to the condition.
    Caution when in the production system!
        If you have already used condition "ZSCM" to post data in the production system, then the sign in
        Profitability Analysis may differ from the previous sign as a result of the flag "Transfer values with +/-
        signs" having been activated. See the F1 Help documentation on the field "Transfer values with +/-
        signs" or the OSS note 52849. If deviating signs occur, it makes sense to move condition "ZSCM" to a new value field! Contact your system adviser or SAP.
    Supriya

    Hello,
    The answer resides within your question itself.
    Where you have assigned your condition type in log i.e., ZSCM, make sure that you have ticked +/- tick
    IMG ==> Profitability Analysis ==> Flows of Actual Values ==> Transfer of Incoming Sales Orders
    Assign Value Fields
    Where you will find +/- check box. Make sure that you have checked the same.
    Note: That the indicator transfer +/- is not used to compare the different use of plus or minus signs between FI or SD and CO-PA. If you activate the indicator, only the positive and negative values for the condition in question will be balanced. This guarantees that the sum of the negative and positive condition values are displayed as a correct total value in the value field assigned to that condition.
    Tip: In order to perform transfer conditions from the billing documents the same definitions must be established for the vlaue fields in Profitability Analysis and both pricing and condition types must be defined in SD.
    Please also read SAP note 52849 in this regard.
    Regards,
    Ravi

  • HT203200 Is there a problem with redeeming movies from itunes?  I purchased some movies with digital copies.  But I can not download, due to Code redemption being temporary unavailable for the past 2 days.

    Is there a problem with redeeming movies from itunes.  I purchased some movies with digital copies.  But i can not download movies, due to code redemption being temporary unavailable.

    Hi there Cedric!
    I have an article here for you that I believe will help you out with this issue by reporting it to iTunes. That article can be found right here:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    http://support.apple.com/kb/HT1933
    Thanks for being a part of the Apple Support Communities!
    Regards,
    Braden

  • Problem with Firefox freezing/crashing

    Anyone having problems with Firefox. I have the latest installed on my MBP but it crashes frequently. Usually when trying to shut down, it'll just freeze. the computer is stable (26 days uptime and counting). The only issues I have are Firefox, Illustrator & Dreamweaver (rosetta apps)occasionally crashing and Firefox's frequent lock ups and crashes. I'm assuming when I can afford to cop the Adobe's latest, the Adobe/Macromedia apps will be fine. But I need help with this browser. Anyone figured out how to resolve this?
    I wish Camino worked as universally well as Firefox cuz I'd just hope over to it. Advise me please.

    this is really long and looks cryptic but here goes...
    Date/Time: 2007-04-06 19:33:36.250 -0400
    OS Version: 10.4.9 (Build 8P2137)
    Report Version: 4
    Command: firefox-bin
    Path: /Applications/Firefox.app/Contents/MacOS/firefox-bin
    Parent: WindowServer [54]
    Version: 2.0.0.3 (2.0.0.3)
    PID: 5876
    Thread: 19
    Exception: EXCBADACCESS (0x0001)
    Codes: KERNPROTECTIONFAILURE (0x0002) at 0x00000044
    Thread 0:
    0 libSystem.B.dylib 0x900247e7 semaphorewait_signaltrap + 7
    1 com.apple.QuickTime 0x94303b69 QTMLGrabMutex + 31
    2 com.apple.QuickTime 0x9433a983 CancelCallBack_priv + 28
    3 ...ickTimeComponents.component 0x97f33867 Base_CDFlush + 119
    4 ...ple.CoreServices.CarbonCore 0x90cd0d63 CallComponentFunctionCommon + 513
    5 ...ickTimeComponents.component 0x97f33029 Base_CDComponentDispatch + 125
    6 ...ple.CoreServices.CarbonCore 0x90cd0a48 CallComponentDispatch + 34
    7 com.apple.QuickTime 0x9438227a ImageCodecFlush + 37
    8 com.apple.QuickTime 0x9437e584 CDSequenceFlush + 318
    9 ...uickTimeStreaming.component 0x9909a490 SHVideo_FlushPendingFrames + 267
    10 ...uickTimeStreaming.component 0x9909d84a SHVideo_DerivedRenderIdle + 1834
    11 ...ple.CoreServices.CarbonCore 0x90cd0d63 CallComponentFunctionCommon + 513
    12 ...uickTimeStreaming.component 0x9909b36e SHVideo_ComponentDispatch + 170
    13 ...ple.CoreServices.CarbonCore 0x90cd0a48 CallComponentDispatch + 34
    14 com.apple.QuickTime 0x943e02b1 SHDerivedRenderIdle + 55
    15 ...uickTimeStreaming.component 0x99090b5f SHBase_RenderIdle + 130
    16 ...ple.CoreServices.CarbonCore 0x90cd0d63 CallComponentFunctionCommon + 513
    17 ...uickTimeStreaming.component 0x9908e894 SHBase_ComponentDispatch + 125
    18 ...ple.CoreServices.CarbonCore 0x90cd0a48 CallComponentDispatch + 34
    19 com.apple.QuickTime 0x943e0278 SHRenderIdle + 55
    20 ...uickTimeStreaming.component 0x9907aab2 BaseRcvConductor_Idle + 399
    21 ...ple.CoreServices.CarbonCore 0x90cd0f1f CallComponentFunctionCommon + 957
    22 ...uickTimeStreaming.component 0x9907a902 BaseRcvConductor_ComponentDispatch + 125
    23 ...ple.CoreServices.CarbonCore 0x90cd0a48 CallComponentDispatch + 34
    24 com.apple.QuickTime 0x943db81b QTSCondIdle + 61
    25 ...uickTimeStreaming.component 0x990ad90c RTPRcvConductor_Idle + 257
    26 ...ple.CoreServices.CarbonCore 0x90cd0f1f CallComponentFunctionCommon + 957
    27 ...uickTimeStreaming.component 0x990acc68 RTPRcvConductor_ComponentDispatch + 170
    28 ...ple.CoreServices.CarbonCore 0x90cd0a48 CallComponentDispatch + 34
    29 com.apple.QuickTime 0x943db81b QTSCondIdle + 61
    30 ...uickTimeStreaming.component 0x9907a9a5 BaseRcvConductor_Idle + 130
    31 ...ple.CoreServices.CarbonCore 0x90cd0f1f CallComponentFunctionCommon + 957
    32 ...uickTimeStreaming.component 0x9907a902 BaseRcvConductor_ComponentDispatch + 125
    33 ...ple.CoreServices.CarbonCore 0x90cd0a48 CallComponentDispatch + 34
    34 com.apple.QuickTime 0x943db81b QTSCondIdle + 61
    35 ...uickTimeStreaming.component 0x99081b69 QTSCondSessionMgr_Idle + 127
    36 ...ple.CoreServices.CarbonCore 0x90cd0f1f CallComponentFunctionCommon + 957
    37 ...uickTimeStreaming.component 0x9907c7bc RTSPConductor_ComponentDispatch + 170
    38 ...ple.CoreServices.CarbonCore 0x90cd0a48 CallComponentDispatch + 34
    39 com.apple.QuickTime 0x943db81b QTSCondIdle + 61
    40 com.apple.QuickTime 0x943db5df IdleThisPresentation + 142
    41 com.apple.QuickTime 0x943db4d1 QTSPresIdle + 63
    42 ...uickTimeStreaming.component 0x9905d630 StreamMedia_Idle + 826
    43 ...ple.CoreServices.CarbonCore 0x90cd0f1f CallComponentFunctionCommon + 957
    44 ...uickTimeStreaming.component 0x9905bd26 StreamMedia_ComponentDispatch + 170
    45 ...ple.CoreServices.CarbonCore 0x90cd0a48 CallComponentDispatch + 34
    46 ...ickTimeComponents.component 0x989708a2 MediaIdle + 61
    47 ...ickTimeComponents.component 0x97e7e9b0 doGenericIdle + 1389
    48 ...ickTimeComponents.component 0x97e803a7 GenericMoviesTask + 337
    49 ...ple.CoreServices.CarbonCore 0x90cd0f1f CallComponentFunctionCommon + 957
    50 ...ickTimeComponents.component 0x97e7fd23 GenericComponentDispatch + 170
    51 ...ple.CoreServices.CarbonCore 0x90cd0a48 CallComponentDispatch + 34
    52 com.apple.QuickTime 0x9435bf27 MediaMoviesTask + 61
    53 com.apple.QuickTime 0x9435ac04 TaskMovie_priv + 4552
    54 com.apple.QuickTime 0x94424326 frequentlyTaskMovies + 172
    55 com.apple.HIToolbox 0x92e21a8a TimerVector + 31
    56 com.apple.CoreFoundation 0x9082e7e2 CFRunLoopRunSpecific + 3341
    57 com.apple.CoreFoundation 0x9082dace CFRunLoopRunInMode + 61
    58 com.apple.HIToolbox 0x92de98d8 RunCurrentEventLoopInMode + 285
    59 com.apple.HIToolbox 0x92de8fe2 ReceiveNextEventCommon + 385
    60 com.apple.HIToolbox 0x92e31a74 _AcquireNextEvent + 58
    61 com.apple.HIToolbox 0x92e318bc RunApplicationEventLoop + 150
    62 org.mozilla.firefox 0x00240dc7 nsAppShell::Run() + 39
    63 org.mozilla.firefox 0x002d9502 nsAppStartup::Run() + 50
    64 org.mozilla.firefox 0x00005db9 XRE_main + 6305
    65 org.mozilla.firefox 0x00002818 main + 32
    66 org.mozilla.firefox 0x0000279e start + 270
    67 org.mozilla.firefox 0x000026b9 start + 41
    Thread 1:
    0 libSystem.B.dylib 0x9001a0ec select + 12
    1 libnspr4.dylib 0x00fcb9c8 PR_Poll + 134
    2 org.mozilla.firefox 0x00358b7f nsSocketTransportService::Poll(unsigned*) + 99
    3 org.mozilla.firefox 0x003591d0 nsSocketTransportService::Run() + 480
    4 libxpcom_core.dylib 0x01849f15 nsThread::Main(void*) + 41
    5 libnspr4.dylib 0x00fcd009 PR_Select + 813
    6 libSystem.B.dylib 0x90024147 pthreadbody + 84
    Thread 2:
    0 libSystem.B.dylib 0x90048e07 semaphoretimedwait_signaltrap + 7
    1 libnspr4.dylib 0x00fc86a0 PR_Lock + 246
    2 libnspr4.dylib 0x00fc89f7 PR_WaitCondVar + 75
    3 libxpcom_core.dylib 0x0184c22c TimerThread::Run() + 74
    4 libxpcom_core.dylib 0x01849f15 nsThread::Main(void*) + 41
    5 libnspr4.dylib 0x00fcd009 PR_Select + 813
    6 libSystem.B.dylib 0x90024147 pthreadbody + 84
    Thread 3:
    0 libSystem.B.dylib 0x90048e07 semaphoretimedwait_signaltrap + 7
    1 libnspr4.dylib 0x00fc86a0 PR_Lock + 246
    2 libnspr4.dylib 0x00fc89f7 PR_WaitCondVar + 75
    3 org.mozilla.firefox 0x0036d4b4 nsSSLThread::Run() + 166
    4 libnspr4.dylib 0x00fcd009 PR_Select + 813
    5 libSystem.B.dylib 0x90024147 pthreadbody + 84
    Thread 4:
    0 libSystem.B.dylib 0x90048e07 semaphoretimedwait_signaltrap + 7
    1 libnspr4.dylib 0x00fc86a0 PR_Lock + 246
    2 libnspr4.dylib 0x00fc89f7 PR_WaitCondVar + 75
    3 org.mozilla.firefox 0x0036a123 nsCertVerificationThread::Run() + 249
    4 libnspr4.dylib 0x00fcd009 PR_Select + 813
    5 libSystem.B.dylib 0x90024147 pthreadbody + 84
    Thread 5:
    0 libSystem.B.dylib 0x900247e7 semaphorewait_signaltrap + 7
    1 libnspr4.dylib 0x00fc8a81 PR_WaitCondVar + 213
    2 org.mozilla.firefox 0x0054b8f0 mozStorageService::FinishAsyncIO() + 784
    3 org.mozilla.firefox 0x0089c5f2 AsyncWriteThread::Run() + 14
    4 libxpcom_core.dylib 0x01849f15 nsThread::Main(void*) + 41
    5 libnspr4.dylib 0x00fcd009 PR_Select + 813
    6 libSystem.B.dylib 0x90024147 pthreadbody + 84
    Thread 6:
    0 libSystem.B.dylib 0x900247e7 semaphorewait_signaltrap + 7
    1 libnspr4.dylib 0x00fc8a81 PR_WaitCondVar + 213
    2 libnspr4.dylib 0x00fc8ce1 PR_Wait + 53
    3 libxpcom_core.dylib 0x01847682 PL_WaitForEvent + 62
    4 libxpcom_core.dylib 0x018488db nsEventQueueImpl::WaitForEvent(PLEvent**) + 47
    5 org.mozilla.firefox 0x00301465 nsUrlClassifierCallbackWrapper::QueryInterface(nsID const&, void**) + 301
    6 libnspr4.dylib 0x00fcd009 PR_Select + 813
    7 libSystem.B.dylib 0x90024147 pthreadbody + 84
    Thread 7:
    0 libSystem.B.dylib 0x90009bf7 machmsgtrap + 7
    1 ...romedia.Flash Player.plugin 0x10bf152d Flash_EnforceLocalSecurity + 360501
    2 libSystem.B.dylib 0x90024147 pthreadbody + 84
    Thread 8:
    0 libSystem.B.dylib 0x90009bf7 machmsgtrap + 7
    1 com.apple.CoreFoundation 0x9082e2b3 CFRunLoopRunSpecific + 2014
    2 com.apple.CoreFoundation 0x9082dace CFRunLoopRunInMode + 61
    3 com.apple.audio.CoreAudio 0x9146841e HALRunLoop::OwnThread(void*) + 158
    4 com.apple.audio.CoreAudio 0x91468239 CAPThread::Entry(CAPThread*) + 93
    5 libSystem.B.dylib 0x90024147 pthreadbody + 84
    Thread 9:
    0 libSystem.B.dylib 0x90048e07 semaphoretimedwait_signaltrap + 7
    1 com.apple.audio.CoreAudio 0x9147565c CAGuard::WaitFor(unsigned long long) + 212
    2 com.apple.audio.CoreAudio 0x9147557e CAGuard::WaitUntil(unsigned long long) + 66
    3 com.apple.audio.CoreAudio 0x91473efa HP_IOThread::WorkLoop() + 690
    4 com.apple.audio.CoreAudio 0x91473c43 HPIOThread::ThreadEntry(HPIOThread*) + 17
    5 com.apple.audio.CoreAudio 0x91468239 CAPThread::Entry(CAPThread*) + 93
    6 libSystem.B.dylib 0x90024147 pthreadbody + 84
    Thread 10:
    0 libSystem.B.dylib 0x90048e07 semaphoretimedwait_signaltrap + 7
    1 ...romedia.Flash Player.plugin 0x10b81130 0x10808000 + 3641648
    2 ...romedia.Flash Player.plugin 0x10a5870b 0x10808000 + 2426635
    3 ...romedia.Flash Player.plugin 0x10b814a8 0x10808000 + 3642536
    4 libSystem.B.dylib 0x90024147 pthreadbody + 84
    Thread 11:
    0 libSystem.B.dylib 0x90048e07 semaphoretimedwait_signaltrap + 7
    1 libnspr4.dylib 0x00fc86a0 PR_Lock + 246
    2 libnspr4.dylib 0x00fc89f7 PR_WaitCondVar + 75
    3 org.mozilla.firefox 0x0031ce8d nsIOThreadPool::ThreadFunc(void*) + 145
    4 libnspr4.dylib 0x00fcd009 PR_Select + 813
    5 libSystem.B.dylib 0x90024147 pthreadbody + 84
    Thread 12:
    0 libSystem.B.dylib 0x90048e07 semaphoretimedwait_signaltrap + 7
    1 libnspr4.dylib 0x00fc86a0 PR_Lock + 246
    2 libnspr4.dylib 0x00fc89f7 PR_WaitCondVar + 75
    3 org.mozilla.firefox 0x0031ce8d nsIOThreadPool::ThreadFunc(void*) + 145
    4 libnspr4.dylib 0x00fcd009 PR_Select + 813
    5 libSystem.B.dylib 0x90024147 pthreadbody + 84
    Thread 13:
    0 libSystem.B.dylib 0x90048e07 semaphoretimedwait_signaltrap + 7
    1 libnspr4.dylib 0x00fc86a0 PR_Lock + 246
    2 libnspr4.dylib 0x00fc89f7 PR_WaitCondVar + 75
    3 org.mozilla.firefox 0x005c85c6 nsHostResolver::GetHostToLookup(nsHostRecord**) + 212
    4 org.mozilla.firefox 0x005c8d73 nsHostResolver::ThreadFunc(void*) + 123
    5 libnspr4.dylib 0x00fcd009 PR_Select + 813
    6 libSystem.B.dylib 0x90024147 pthreadbody + 84
    Thread 14:
    0 libSystem.B.dylib 0x90009bf7 machmsgtrap + 7
    1 com.apple.CoreFoundation 0x9082e2b3 CFRunLoopRunSpecific + 2014
    2 com.apple.CoreFoundation 0x9083f188 CFRunLoopRun + 60
    3 com.apple.QuickTime 0x9439175e QTSNetworkThread_RunThread + 117
    4 libSystem.B.dylib 0x90024147 pthreadbody + 84
    Thread 15:
    0 libSystem.B.dylib 0x90009bf7 machmsgtrap + 7
    1 com.apple.CoreFoundation 0x9082e2b3 CFRunLoopRunSpecific + 2014
    2 com.apple.CoreFoundation 0x9082dace CFRunLoopRunInMode + 61
    3 com.apple.Foundation 0x92826a0f +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:] + 259
    4 com.apple.Foundation 0x927f12e0 forkThreadForFunction + 123
    5 libSystem.B.dylib 0x90024147 pthreadbody + 84
    Thread 16:
    0 libSystem.B.dylib 0x9001a0ec select + 12
    1 libSystem.B.dylib 0x90024147 pthreadbody + 84
    Thread 17:
    0 libSystem.B.dylib 0x90048e07 semaphoretimedwait_signaltrap + 7
    1 ...ple.CoreServices.CarbonCore 0x90ce20b7 TSWaitOnSemaphoreCommon + 163
    2 ...ple.CoreServices.CarbonCore 0x90ce909d TimerThread + 87
    3 libSystem.B.dylib 0x90024147 pthreadbody + 84
    Thread 18:
    0 libSystem.B.dylib 0x9002485f semaphorewaittrap + 7
    1 QuickTimeH264.scalar 0x98e79207 JVTLibDecoDispose + 1322753
    2 libSystem.B.dylib 0x90024147 pthreadbody + 84
    Thread 19 Crashed:
    0 QuickTimeH264.scalar 0x98d3d1d6 JVTLibDecoDispose + 28368
    1 QuickTimeH264.scalar 0x98d1e970 JVTDecoDecodeBand + 153
    2 ...ple.QuickTimeH264.component 0x98d18207 JVTDecoComponentDispatch + 1461
    3 ...ple.CoreServices.CarbonCore 0x90cd0d63 CallComponentFunctionCommon + 513
    4 ...ple.QuickTimeH264.component 0x98d17cfc JVTDecoComponentDispatch + 170
    5 ...ple.CoreServices.CarbonCore 0x90cd0a48 CallComponentDispatch + 34
    6 ...ickTimeComponents.component 0x9896d4af ImageCodecDecodeBand + 49
    7 ...ickTimeComponents.component 0x97f32d8e BaseCodec_ImageCodecDecodeBand + 61
    8 ...ickTimeComponents.component 0x97f34a4c BaseCodecDecompressCallBackCommon + 1793
    9 com.apple.QuickTime 0x9437f35d ExecuteCallBack_priv + 125
    10 ...ple.CoreServices.CarbonCore 0x90ce3ca3 InvokeDeferredTaskUPP + 15
    11 ...ple.CoreServices.CarbonCore 0x90cecbec DeferredTaskThread + 120
    12 libSystem.B.dylib 0x90024147 pthreadbody + 84
    Thread 19 crashed with X86 Thread State (32-bit):
    eax: 0x174c8000 ebx: 0x98d3cfe7 ecx: 0x00000000 edx: 0x00000000
    edi: 0x17891000 esi: 0x1795bcd8 ebp: 0xb0d74bb8 esp: 0xb0d74ad0
    ss: 0x0000001f efl: 0x00010287 eip: 0x98d3d1d6 cs: 0x00000017
    ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
    Binary Images Description:
    0x1000 - 0x9b6fff org.mozilla.firefox 2.0.0.3 /Applications/Firefox.app/Contents/MacOS/firefox-bin
    0xeec000 - 0xf7dfff libmozjs.dylib /Applications/Firefox.app/Contents/MacOS/libmozjs.dylib
    0xf98000 - 0xf98fff libxpcom.dylib /Applications/Firefox.app/Contents/MacOS/libxpcom.dylib
    0xf9c000 - 0xfa1fff libplds4.dylib /Applications/Firefox.app/Contents/MacOS/libplds4.dylib
    0xfa6000 - 0xfacfff libplc4.dylib /Applications/Firefox.app/Contents/MacOS/libplc4.dylib
    0xfb2000 - 0xfd7fff libnspr4.dylib /Applications/Firefox.app/Contents/MacOS/libnspr4.dylib
    0x1808000 - 0x1878fff libxpcom_core.dylib /Applications/Firefox.app/Contents/MacOS/libxpcom_core.dylib
    0x18da000 - 0x18f3fff libsmime3.dylib /Applications/Firefox.app/Contents/MacOS/libsmime3.dylib
    0x1a05000 - 0x1a25fff libssl3.dylib /Applications/Firefox.app/Contents/MacOS/libssl3.dylib
    0x1a2f000 - 0x1a85fff libnss3.dylib /Applications/Firefox.app/Contents/MacOS/libnss3.dylib
    0x1aa1000 - 0x1ae7fff libsoftokn3.dylib /Applications/Firefox.app/Contents/MacOS/libsoftokn3.dylib
    0x1af6000 - 0x1b05fff libxpcom_compat.dylib /Applications/Firefox.app/Contents/MacOS/libxpcom_compat.dylib
    0x1b92000 - 0x1b9afff libmyspell.dylib /Applications/Firefox.app/Contents/MacOS/components/libmyspell.dylib
    0x1fcc000 - 0x1fcdfff com.apple.textencoding.unicode 2.1 /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
    0xcdb1000 - 0xcddffff libnssckbi.dylib /Applications/Firefox.app/Contents/MacOS/libnssckbi.dylib
    0xcdf1000 - 0xcdfbfff libspellchecker.dylib /Applications/Firefox.app/Contents/MacOS/components/libspellchecker.dylib
    0xd66a000 - 0xd6c7fff libfreebl3.dylib /Applications/Firefox.app/Contents/MacOS/libfreebl3.dylib
    0xe222000 - 0xe23bfff com.apple.AppleIntermediateCodec 1.1 (141) /Library/QuickTime/AppleIntermediateCodec.component/Contents/MacOS/AppleInterme diateCodec
    0xe2de000 - 0xe2f7fff com.apple.applepixletvideo 1.2.9 (1.2d9) /System/Library/QuickTime/ApplePixletVideo.component/Contents/MacOS/ApplePixlet Video
    0x10808000 - 0x10d2bfff com.macromedia.Flash Player.plugin 9.0.28 (1.0.4f22) /Library/Internet Plug-Ins/Flash Player.plugin/Contents/MacOS/Flash Player
    0x11ef4000 - 0x11ef9fff com.apple.audio.AppleHDAHALPlugIn 1.2.9 (1.2.9a4) /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bun dle/Contents/MacOS/AppleHDAHALPlugIn
    0x14017000 - 0x1401afff com.apple.iokit.IOQTComponents 1.4 /System/Library/Components/IOQTComponents.component/Contents/MacOS/IOQTComponen ts
    0x15313000 - 0x1531efff com.apple.ATIRadeonX1000GA 1.4.52 (4.5.2) /System/Library/Extensions/ATIRadeonX1000GA.plugin/Contents/MacOS/ATIRadeonX100 0GA
    0x16bfd000 - 0x16c39fff com.apple.QuickTimeFireWireDV.component 7.1.5 /System/Library/QuickTime/QuickTimeFireWireDV.component/Contents/MacOS/QuickTim eFireWireDV
    0x16f2c000 - 0x1711ffff net.telestream.wmv.import 2.1.0.33 /Library/QuickTime/Flip4Mac WMV Import.component/Contents/MacOS/Flip4Mac WMV Import
    0x17687000 - 0x176b1fff com.apple.audio.SoundManager.Components 3.9.2 /System/Library/Components/SoundManagerComponents.component/Contents/MacOS/Soun dManagerComponents
    0x18ba4000 - 0x18c8cfff com.apple.audio.codecs.Components 1.4.8 /System/Library/Components/AudioCodecs.component/Contents/MacOS/AudioCodecs
    0x70000000 - 0x700fbfff com.apple.audio.units.Components 1.4.5 /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
    0x8fe00000 - 0x8fe4afff dyld 46.12 /usr/lib/dyld
    0x90000000 - 0x90172fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
    0x901c2000 - 0x901c4fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
    0x901c6000 - 0x90203fff com.apple.CoreText 1.1.2 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
    0x9022a000 - 0x90300fff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
    0x90320000 - 0x90775fff com.apple.CoreGraphics 1.258.61 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
    0x9080c000 - 0x908d4fff com.apple.CoreFoundation 6.4.7 (368.28) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x90912000 - 0x90912fff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x90914000 - 0x90a07fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
    0x90a57000 - 0x90ad6fff libobjc.A.dylib /usr/lib/libobjc.A.dylib
    0x90aff000 - 0x90b63fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
    0x90bd2000 - 0x90bd9fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
    0x90bde000 - 0x90c51fff com.apple.framework.IOKit 1.4.6 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x90c66000 - 0x90c78fff libauto.dylib /usr/lib/libauto.dylib
    0x90c7e000 - 0x90f24fff com.apple.CoreServices.CarbonCore 682.18 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
    0x90f67000 - 0x90fcffff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
    0x91008000 - 0x91046fff com.apple.CFNetwork 129.20 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
    0x91059000 - 0x91069fff com.apple.WebServices 1.1.3 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServ icesCore.framework/Versions/A/WebServicesCore
    0x91074000 - 0x910f3fff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
    0x9112d000 - 0x9114bfff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
    0x91157000 - 0x91165fff libz.1.dylib /usr/lib/libz.1.dylib
    0x91168000 - 0x91307fff com.apple.security 4.5.2 (29774) /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x91405000 - 0x9140dfff com.apple.DiskArbitration 2.1.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x91414000 - 0x9143afff com.apple.SystemConfiguration 1.8.6 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
    0x9144c000 - 0x91453fff libbsm.dylib /usr/lib/libbsm.dylib
    0x91457000 - 0x914cdfff com.apple.audio.CoreAudio 3.0.4 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x9151e000 - 0x9151efff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
    0x91520000 - 0x9154cfff com.apple.AE 314 (313) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE
    0x9155f000 - 0x91633fff com.apple.ColorSync 4.4.9 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
    0x9166e000 - 0x916e1fff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
    0x9170f000 - 0x917b8fff com.apple.QD 3.10.24 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
    0x917de000 - 0x91829fff com.apple.HIServices 1.5.2 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
    0x91848000 - 0x9185efff com.apple.LangAnalysis 1.6.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
    0x9186a000 - 0x91885fff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent
    0x91890000 - 0x918cdfff com.apple.LaunchServices 182 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices
    0x918e1000 - 0x918edfff com.apple.speech.synthesis.framework 3.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x918f4000 - 0x91933fff com.apple.ImageIO.framework 1.5.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
    0x91946000 - 0x919f8fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
    0x91a3e000 - 0x91a54fff libcups.2.dylib /usr/lib/libcups.2.dylib
    0x91a59000 - 0x91a77fff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x91a7c000 - 0x91adbfff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x91aed000 - 0x91af1fff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x91af3000 - 0x91b77fff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRaw.dylib
    0x91b7b000 - 0x91bb8fff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x91bbe000 - 0x91bd8fff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x91bdd000 - 0x91bdffff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x91be1000 - 0x91cbffff libxml2.2.dylib /usr/lib/libxml2.2.dylib
    0x91cdc000 - 0x91cdcfff com.apple.Accelerate 1.3.1 (Accelerate 1.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x91cde000 - 0x91d6cfff com.apple.vImage 2.5 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
    0x91d73000 - 0x91d73fff com.apple.Accelerate.vecLib 3.3.1 (vecLib 3.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
    0x91d75000 - 0x91dcefff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
    0x91dd7000 - 0x91dfbfff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
    0x91e03000 - 0x9220cfff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
    0x92246000 - 0x925fafff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
    0x92627000 - 0x92714fff libiconv.2.dylib /usr/lib/libiconv.2.dylib
    0x92716000 - 0x92793fff com.apple.DesktopServices 1.3.6 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
    0x927d4000 - 0x92a04fff com.apple.Foundation 6.4.8 (567.29) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x92b1e000 - 0x92b35fff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x92b40000 - 0x92b98fff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x92bac000 - 0x92bacfff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x92bae000 - 0x92bbefff com.apple.ImageCapture 3.0.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
    0x92bcd000 - 0x92bd5fff com.apple.speech.recognition.framework 3.6 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
    0x92bdb000 - 0x92be1fff com.apple.securityhi 2.0.1 (24742) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
    0x92be7000 - 0x92c78fff com.apple.ink.framework 101.2.1 (71) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
    0x92c8c000 - 0x92c90fff com.apple.help 1.0.3 (32.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
    0x92c93000 - 0x92cb1fff com.apple.openscripting 1.2.5 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
    0x92cc3000 - 0x92cc9fff com.apple.print.framework.Print 5.2 (192.4) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
    0x92ccf000 - 0x92d32fff com.apple.htmlrendering 66.1 (1.1.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
    0x92d59000 - 0x92d9afff com.apple.NavigationServices 3.4.4 (3.4.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
    0x92dc1000 - 0x92dcffff com.apple.audio.SoundManager 3.9.1 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
    0x92dd6000 - 0x92ddbfff com.apple.CommonPanels 1.2.3 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
    0x92de0000 - 0x930d5fff com.apple.HIToolbox 1.4.9 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
    0x931db000 - 0x931e6fff com.apple.opengl 1.4.16 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x93256000 - 0x93256fff com.apple.Cocoa 6.4 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x93258000 - 0x9390efff com.apple.AppKit 6.4.8 (824.42) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x93c8f000 - 0x93d0afff com.apple.CoreData 91 (92.1) /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x93d43000 - 0x93dfdfff com.apple.audio.toolbox.AudioToolbox 1.4.5 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x93e40000 - 0x93e40fff com.apple.audio.units.AudioUnit 1.4.2 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x93e42000 - 0x94003fff com.apple.QuartzCore 1.4.12 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x94049000 - 0x9408afff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib
    0x94092000 - 0x940ccfff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
    0x940d1000 - 0x940e2fff com.apple.CoreVideo 1.4 /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x94273000 - 0x94282fff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
    0x94289000 - 0x94294fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
    0x942e0000 - 0x942fafff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
    0x94300000 - 0x945befff com.apple.QuickTime 7.1.5 /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
    0x95a65000 - 0x95a7bfff libJapaneseConverter.dylib /System/Library/CoreServices/Encodings/libJapaneseConverter.dylib
    0x96476000 - 0x96476fff com.apple.vecLib 3.3.1 (vecLib 3.3.1) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
    0x96ae5000 - 0x96aeafff com.apple.agl 2.5.9 (AGL-2.5.9) /System/Library/Frameworks/AGL.framework/Versions/A/AGL
    0x96e86000 - 0x96e9afff com.apple.audio.CoreAudioKit 1.0.1 /System/Library/Frameworks/CoreAudioKit.framework/Versions/A/CoreAudioKit
    0x97dfe000 - 0x98accfff com.apple.QuickTimeComponents.component 7.1.5 /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTim eComponents
    0x98d16000 - 0x98d18fff com.apple.QuickTimeH264.component 7.1.5 /System/Library/QuickTime/QuickTimeH264.component/Contents/MacOS/QuickTimeH264
    0x98d1a000 - 0x98ec5fff QuickTimeH264.scalar /System/Library/QuickTime/QuickTimeH264.component/Contents/Resources/QuickTimeH 264.scalar
    0x98f35000 - 0x98ff8fff com.apple.QuickTimeMPEG4.component 7.1.5 /System/Library/QuickTime/QuickTimeMPEG4.component/Contents/MacOS/QuickTimeMPEG 4
    0x99013000 - 0x9917ffff com.apple.QuickTimeStreaming.component 7.1.5 /System/Library/QuickTime/QuickTimeStreaming.component/Contents/MacOS/QuickTime Streaming
    0x996e4000 - 0x9970cfff com.apple.QuickTime Plugin.plugin 7.1.5 /Library/Internet Plug-Ins/QuickTime Plugin.plugin/Contents/MacOS/QuickTime Plugin

  • Problem with ArrayList

    Hello,
    I am having a problem with a program I am trying to write. The idea of the program is to:
    A) read a list of movies list from a text file
    B) create an object for each movie using the information from the text file
    C) place the objects into an arrayList
    My problem is that when I check my arrayList it seems to only contain multiple copies of the first movie read from the text file. Here is my code
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.FileReader;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.io.FileOutputStream;
    import java.io.FileNotFoundException;
    import java.util.ArrayList;
    public class MovieReader
         PrintWriter outputStream = null;
         public void readFile()
              try
                      BufferedReader in = new BufferedReader(new FileReader("movie.txt"));
                      String str;
                      while ((str = in.readLine()) != null)
                           process(str);
                      in.close();
              catch (IOException e)
                  e.printStackTrace();
         ArrayList <ValidMovie> movieList = new ArrayList<ValidMovie>();
         private void process(String line)
              String[] array = line.split("\t");
              int i = 0;
              for ( i = 0; i < array.length; i++)
                   String tempTitle = array[0];
                   String tempYear = array [1];
                   String tempRating = array [2];
                   String tempFormat = array [3];
                   ValidMovie uuj = new ValidMovie(tempTitle, tempYear, tempRating, tempFormat);
                   movieList.add(uuj);
              System.out.println("item at index 1 is:   " + movieList.get(1));
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         private void writeFile(String [] arrayL)
              String [] arrayWrite = arrayL;
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     
    //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
         public static void main(String[] args)
              MovieReader mv = new MovieReader();
              mv.readFile();
    //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    }This is the code that creates an object for each movie:
    import java.io.Serializable;
    public class ValidMovie implements Serializable
         private String title;
         private String year;
         private String rating;
         private String format;
         public ValidMovie()
         public ValidMovie(String tTitle, String tYear, String tRating, String tFormat)
              title = tTitle;
              year = tYear;
              rating = tRating;
              format = tFormat;
         //Getters for title, year, rating and format
         public String getTitle ()
              return title;
         public String getYear ()
              return year;
         public String getRating ()
              return rating;
         public String getFormat ()
              return format;
         public String toString ()
              return title + "\t" + year + "\t" + rating + "\t" + format;
    }The following is what I have in the movie.txt file:
    Bamboozled     2000     2     DVD
    What Lies Beneath     2000     1.5     DVD
    Beneath the Planet of the Apes     1970     1     DVD
    You Can Count On Me     2000     3.5     Theater
    And finally this is the result when I run the code:
    item at index 1 is: Bamboozled     2000     2     DVD
    item at index 1 is: Bamboozled     2000     2     DVD
    item at index 1 is: Bamboozled     2000     2     DVD
    item at index 1 is: Bamboozled     2000     2     DVD
    I am sure that it is something simple that I am overlooking but I cannot figure it out. When I change the index in the code:
    System.out.println("item at index 1 is:   " + movieList.get(1));to 0 or 2 or 3 then result is the same, it will just show the first movie in the text file. Any help would be greatly appreciated. Thanks

    Thanks for the reply, it helped but I am now getting 4 of each of the movies after adding you suggestion. This is much better now I just need to figure out why the loop is causing the extra copies. Thanks again :)
    Item 0: Bamboozled     2000     2     DVD
    Item 1: Bamboozled     2000     2     DVD
    Item 2: Bamboozled     2000     2     DVD
    Item 3: Bamboozled     2000     2     DVD
    Item 4: What Lies Beneath     2000     1.5     DVD
    Item 5: What Lies Beneath     2000     1.5     DVD
    Item 6: What Lies Beneath     2000     1.5     DVD
    Item 7: What Lies Beneath     2000     1.5     DVD
    Item 8: Beneath the Planet of the Apes     1970     1     DVD
    Item 9: Beneath the Planet of the Apes     1970     1     DVD
    Item 10: Beneath the Planet of the Apes     1970     1     DVD
    Item 11: Beneath the Planet of the Apes     1970     1     DVD
    Item 12: You Can Count On Me     2000     3.5     Theater
    Item 13: You Can Count On Me     2000     3.5     Theater
    Item 14: You Can Count On Me     2000     3.5     Theater
    Item 15: You Can Count On Me     2000     3.5     Theater

  • Advance level drawing problem with Jframe and JPanel need optimize sol?

    Dear Experts,
    I m trying to create a GUI for puzzle game following some kind of "game GUI template", but i have problems in that,so i tried to implement that in various ways after looking on internet and discussions about drawing gui in swing, but i have problem with both of these, may be i m doing some silly mistake, which is still out of my consideration. please have a look at these two and recommend me one of them, which is running without problems (flickring and when you enlarge window the board draw copies (tiled) everywhere,
    Note: i don't want to inherit jpanel or Jframe
    here is my code : import java.awt.BorderLayout;
    public class GameMain extends JFrame {
         private static final long serialVersionUID = 1L;
         public int mX, mY;
         int localpoints = 0;
         protected static JTextField[][] squares;
         protected JLabel statusLabel = new JLabel("jugno");
         Label lbl_score = new Label("score");
         Label lbl_scorelocal = new Label("local score");
         protected static TTTService remoteTTTBoard;
         // Define constants for the game
         static final int CANVAS_WIDTH = 800; // width and height of the game screen
         static final int CANVAS_HEIGHT = 600;
         static final int UPDATE_RATE = 4; // number of game update per second
         static State state; // current state of the game
         private int mState;
         // Handle for the custom drawing panel
         private GameCanvas canvas;
         // Constructor to initialize the UI components and game objects
         public GameMain() {
              // Initialize the game objects
              gameInit();
              // UI components
              canvas = new GameCanvas();
              canvas.setPreferredSize(new Dimension(CANVAS_WIDTH, CANVAS_HEIGHT));
              this.setContentPane(canvas);
              this.setDefaultCloseOperation(EXIT_ON_CLOSE);
              this.pack();
              this.setTitle("MY GAME");
              this.setVisible(true);
         public void gameInit() {     
         // Shutdown the game, clean up code that runs only once.
         public void gameShutdown() {
         // To start and re-start the game.
         public void gameStart() {
         private void gameLoop() {
         public void keyPressed(KeyEvent e) {
         public void keyTyped(KeyEvent e) {
         public void gameKeyReleased(KeyEvent e) {
              PuzzleBoard bd = getBoard();
              for (int row = 0; row < 4; ++row) {
                   for (int col = 0; col < 4; ++col) {
                        if (e.getSource() == squares[row][col]) {
                             if (bd.isOpen(col, row)) {
                                  lbl_score.setText("Highest Score = "
                                            + Integer.toString(bd.getPoints()));
                                  setStatus1(bd);
                                  pickSquare1(col, row, squares[row][col].getText()
                                            .charAt(0));
         protected void pickSquare1(int col, int row, char c) {
              try {
                   remoteTTTBoard.pick(col, row, c);
              } catch (RemoteException e) {
                   System.out.println("Exception: " + e.getMessage());
                   e.printStackTrace();
                   System.exit(1);
         // method "called" by remote object to update the state of the game
         public void updateBoard(PuzzleBoard new_board) throws RemoteException {
              String s1;
              for (int row = 0; row < 4; ++row) {
                   for (int col = 0; col < 4; ++col) {
                        squares[row][col].setText(new_board.ownerStr(col, row));
              lbl_score.setText("Highest Score = "
                        + Integer.toString(new_board.getPoints()));
              setStatus1(new_board);
         protected void setStatus1(PuzzleBoard bd) {
              boolean locals = bd.getHave_winner();
              System.out.println("local win" + locals);
              if (locals == true) {
                   localpoints++;
                   System.out.println("in condition " + locals);
                   lbl_scorelocal.setText("Your Score = " + localpoints);
              lbl_score
                        .setText("Highest Score = " + Integer.toString(bd.getPoints()));
         protected PuzzleBoard getBoard() {
              PuzzleBoard res = null;
              try {
                   res = remoteTTTBoard.getState();
              } catch (RemoteException e) {
                   System.out.println("Exception: " + e.getMessage());
                   e.printStackTrace();
                   System.exit(1);
              return res;
         /** Custom drawing panel (designed as an inner class). */
         class GameCanvas extends JPanel implements KeyListener {
              /** Custom drawing codes */
              @Override
              public void paintComponent(Graphics g) {
                   // setOpaque(false);
                   super.paintComponent(g);
                   // main box; everything placed in this
                   // JPanel box = new JPanel();
                   setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
                   // add(statusLabel, BorderLayout.NORTH);
                   // set up the x's and o's
                   JPanel xs_and_os = new JPanel();
                   xs_and_os.setLayout(new GridLayout(5, 5, 0, 0));
                   squares = new JTextField[5][5];
                   for (int row = 0; row < 5; ++row) {
                        for (int col = 0; col < 5; ++col) {
                             squares[row][col] = new JTextField(1);
                             squares[row][col].addKeyListener(this);
                             if ((row == 0 && col == 1) || (row == 2 && col == 3)
                             || (row == 1 && col == 4) || (row == 4 && col == 4)
                                       || (row == 4 && col == 0))
                                  JPanel p = new JPanel(new BorderLayout());
                                  JLabel label;
                                  if (row == 0 && col == 1) {
                                       label = new JLabel("1");
                                       label.setHorizontalAlignment(JLabel.LEFT);
                                       label.setVerticalAlignment(JLabel.TOP);
                                  else if (row == 4 && col == 0) {// for two numbers or
                                       // two
                                       // blank box in on row
                                       label = new JLabel("2");
                                       label.setHorizontalAlignment(JLabel.LEFT);
                                       label.setVerticalAlignment(JLabel.TOP);
                                  else if (row == 1 && col == 4) {
                                       label = new JLabel("3");
                                       label.setHorizontalAlignment(JLabel.LEFT);
                                       label.setVerticalAlignment(JLabel.TOP);
                                  else if (row == 4) {
                                       label = new JLabel("4");
                                       label.setHorizontalAlignment(JLabel.LEFT);
                                       label.setVerticalAlignment(JLabel.TOP);
                                  else {
                                       label = new JLabel("5");
                                       label.setHorizontalAlignment(JLabel.LEFT);
                                       label.setVerticalAlignment(JLabel.TOP);
                                  label.setOpaque(true);
                                  label.setBackground(squares[row][col].getBackground());
                                  label.setPreferredSize(new Dimension(label
                                            .getPreferredSize().width, squares[row][col]
                                            .getPreferredSize().height));
                                  p.setBorder(squares[row][col].getBorder());
                                  squares[row][col].setBorder(null);
                                  p.add(label, BorderLayout.WEST);
                                  p.add(squares[row][col], BorderLayout.CENTER);
                                  xs_and_os.add(p);
                             } else if ((row == 2 && col == 1) || (row == 1 && col == 2)
                                       || (row == 3 && col == 3) || (row == 0 && col == 3)) {
                                  xs_and_os.add(squares[row][col]);
                                  // board[ row ][ col ].setEditable(false);
                                  // board[ row ][ col ].setText("");
                                  squares[row][col].setBackground(Color.RED);
                                  squares[row][col].addKeyListener(this);
                             } else {
                                  squares[row][col] = new JTextField(1);
                                  // squares[row][col].addActionListener(this);
                                  squares[row][col].addKeyListener(this);
                                  xs_and_os.add(squares[row][col]);
                   this.add(xs_and_os);
                   this.add(statusLabel);
                   this.add(lbl_score);
                   this.add(lbl_scorelocal);
              public void keyPressed(KeyEvent e) {
              public void keyReleased(KeyEvent e) {
                   gameKeyReleased(e);
              public void keyTyped(KeyEvent e) {
         // main
         public static void main(String[] args) {
              SwingUtilities.invokeLater(new Runnable() {
                   @Override
                   public void run() {
                        new GameMain();
      thanks a lot for your time , consideration and efforts.
    jibby
    Edited by: jibbylala on Sep 20, 2010 6:06 PM

    jibbylala wrote:
    thanks for mentioning as i wasn't able to write complete context here.Yep thanks camickr. I think that Darryl's succinct reply applies here as well.

  • Is there a phone number to call Adobe.  I go around an endless loop pressing their contact info tabs?  Maybe someone at this sight can help. I am new to digital photo - I have been a B&W film photographer for many years. I have a problem with a Macbook Ai

    Is there a phone number to call Adobe.  I go around an endless loop pressing their contact info tabs?  Maybe someone at this sight can help. I am new to digital photo - I have been a B&W film photographer for many years. I have a problem with a Macbook Air.  It was working fine - I was using LR and a message came on the screen that said something like the memory was dangerously low.  I stopped and tried to delete LR files.  I couldn't do it.  I closed the program and tried reopening and got the message that there is not enough memory available to open LR.  I contacted Apple.  They spent a half hour on the phone with me and eventually told me they didn't know how to help. The tech said that LR had gobbled up all the memory and said I should contact Adobe and ask where and how my photo files are stored and to delete them.  I have several back-ups.  Thanks - Arthur

    This sort of error message only comes up for Lightroom when your hard disk is full. Indeed this has nothing to do with internal memory as that will be intelligently be dealt with. If you have a mac Book Air that is not so surprising as the cheapest versions come with very small hard disks and if you shoot raw with any recent camera, you'll fill up your hard disk very quickly and you can probably only store a few months of pictures if you are a typical photographer. So the bottom line is that you need to create some room on your hard disk. You should move some of your originals to an external hard disk. You can also delete some of your backup copies of your catalog file that Lightroom automatically generates every few days and that quickly gobble up hard disk space. So first figure out how full your hard disk is. To see that, go to the apple menu, hit -> About this Mac -> More info->Storage. You should see your internal hard disk on top and you'll find that it is almost entirely full with photos. Now find your Lightroom catalog file using Finder. It is usually in a folder in the Pictures folder in your home directory. You should see a Lightroom 5 Catalog.lrcat file, a previews file and a folder called backups. Inside the backups folder, you'll find a lot of subfolders. They have names that show the dates the backups were created. If you have backups of your entire hard disk, you can delete these backups when they are older than a few months. I usually only keep the last 4 around. Just drag the folders into the trash can on the dock on the bottom of your screen and empty the trash. This will probably free up enough space that Lightroom will already run again. Now start thinking about where you will want to store older images. If you have a good USB3 or Thunderbolt hard disk that is probably the best option. There is a video here by Adobe that has some instructions on how to do this: Is Your Hard Drive Full? Here’s How to Move Images to Another Drive in Lightroom. « Julieanne Kost's Blog If that doesn't work because you don't have enough hard drive space to run Lightroom yet, here is another set of instructions to move your files using the finder to the other hard disk: How do I move only my photos to another hard drive, leaving the catalog where it is? - The Lightroom Queen. If you follow that, as soon as you confirm all your images are on the new hard disk, you can delete them from your internal one. She is not so clear about that part but if you don't delete the originals that you moved off you don't free up space. You should move the folder structure over to the new hard disk and then reconnect the folders in Lightroom. That should make it refind all your images.
    That said, if you are uncomfortable with the computer in itself, your best bet is to find a local photography club. There is invariably a Lightroom savvy person in there that could help you move your files. That might be your best bet if you are uncomfortable moving these yourself. A general mac savvy person like you would find at an Apple store or so generally will not be able to help you with this except when they are photographers themselves and know Lightroom. You might get lucky with that.

  • Problems with using Deskjet 3745 on 2-PC home network

    I have an old PC running Windows XP SP3 and a new one running Windows 7, but only one printer. The network connecting the PCs is on an ADSL router with to its own external Iomega network drive with a USB port.
    To make the printer usable on both PCs,
    I originally connected it to the Iomega USB port. But the port was effectively a 1-way connection only, so I could not  get a print-preview to see which form/profile the printer was using. So I junked that and...
     reverted to connecting the printer to one PC permanently and sharing it on the network. But the two PCs required different drivers which would not talk to each other, and the set-up simply would not work.
    Finally I went back to the straightforward method of plugging the printer into the USB port of whichever PC I needed to us it on. That worked fine for a while until the WIN 7
     print-preview started showing blank images (but printing correctly).
    print-spooling failed to cope with cancelled documents.
    I have had Deskjet Support's help in trying to sort this out, which including reinstalling the drivers on both PCs - several times! But I am still left with solution 3 giving problems with Win 7.
    Has anybody encountered a similar situation and found a satisfactory working solution?
    This question was solved.
    View Solution.

    Try the following: connect the printer to the XP machine and set the XP machine to share this on the network.  On the Windows 7 machine go to the Devices and Printers folder, Add a Printer, Local Printer, Create a Port, Local Port, \\Computername\Printername (use the actual share name for the computer and printer), OK, then click on Windows Update and then select the HP (not Hewlett-Packard) Deskjet 3740 series (LiDiL).
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • I'm having a problem with coreaudiotoolbox and corevideo.dll.

    I'm having a problem with coreaudiotoolbox and corevideo.dll. PC was corrupted, I restored. Now when I launch Safari, I run into errors, can't find these two dll files. Itunes won't download at all because it says something is missing but won't say what. Now what do I do? Apple won't help because they want $50 dollars just to talk with me and I've been down that road before and to no satisfaction. Help please!!

    Taken at face value, you're having trouble with Apple Application Support program files there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept, so an AAS problem can affect both iTunes and Safari.)
    Let's try something relatively simple first. Restart the PC. Now head into your Add or Remove programs control panel, select "Apple Application Support", click "Change" and then click Repair.
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post (although it's for Vista and 7, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things):
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever since I did that my itunes won't open any more.  Itunes starts but before anything loads a window pops up saying that the prograam has encountered a problem and sh...

  • Problem with Latches and Parallelising PL/SQL Cursors

    In 9i i have process that do the following:
    PROCEDURE LoadClients IS
      CURSOR cChanges IS
        SELECT ...
        WHERE MOD(PK,pnTotalJobs>) = pnThisJob To call this I do the following
      nTOTALJOBS CONSTANT := 2;
    BEGIN
      FOR i IN 1..nTOTALJOBS LOOP
        DBMS_JOB.SUBMIT(LoadClient(pnTotalJobs=>nTOTALJOBS, pnThisJob=>i-1));
      END LOOP;
      COMMIT;So by changing the value of the constant - nTOTALJOBS - I can control the number of instances of LoadClient that run. This means I only need one procedure which can be called multiple times, making maintenance simpler than having multiple procedures.
    This process has been running successfully on several procedures of over a year. However recently I have been having trouble with latches in memory. I think these are related to using the variables in the cursor and part of the oracle treating the different queries as being identical. This results in locks in memory and none of the jobs running. In most cases I'm setting nTOTALJOBS to 2. I'm looking into the further with my DBAs.
    My questions are:
    1. Has anyone come across this sort of problem before?
    2. If so is there something I can do in my code or DB parameters to alleviate or test this?
    Notes.
    1. The process uses row by row processing in PL/SQL This done to get row by row error handling. I'm not going to change this in the short-term
    2. The SQL does a call over a database link, I don't know if this has any effect.
    3. This method does have a proven performance benefit
    4. The code snippets above are just illustrative, I'm not asking for syntax corrections.
    Thank you for taking the time to read through this.

    I would first investigate the "problem with latches" to be sure that it has anything to do with these jobs that you are submitting.
    Your concern seems to be "because I am submitting multiple copies of the same PLSQL procedure to run concurrently, am I running into latching issues ?".
    Take a step back and look at
    a. MultiUser OLTP environments : At any time you can have more than a few users running the same SQL queries submitted through Forms / Client Frontends.
    b. ERP Report Extractions (eg in Oracle EBusiness Suite or Peoplesoft) : At any time (say during the daily batch runs ?) you can have multiple copies of the same report (with different bind variables for different business_units / countries etc) running concurrently and extracting reports.
    The question would be : How many concurrent executions of the same code is too much ?
    I would say that latching issues come up on :
    a. Shared Pool : Multiple sessions attempting to load SQL statements and Parse SQL statements
    You could reduce some of this with reusable SQLs and bind variables instead of literals in quick running jobs / user front end screens etc
    b. Buffer Cache : Hot Blocks being frequently pinned -- eg index root blocks or "busy" table blocks.
    If you are running, say 4-8 concurrent copies of the the same code on a 4 CPU or 8 CPU machine, you may not be running into latching issues on the code -- "may not be" -- we can't be too sure, until we identify which latches are under "issue".
    However, if the queries are executing nested loops and frequently accessing the same index blocks, you may more likely be having issues with latches on cache buffer chains.
    So, this is what I would suggest :
    a. Identify the size and scale of the "issues" -- how much CPU time / wait time is accounted for by the latches in relation to the total response time of each of the jobs
    b. Identify which latches are the ones under contention
    c. On the basis of which latches are the holding up performance, decide your next course of action.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Problem with socket permissions!

    Hi All!
    I'm developing an applet that displays an image after downlading it from a server; this server is different from the server I download the applet from, so I have problems with security. In fact I get the following exception:
    java.security.AccessControlException: access denied (java.net.SocketPermission 172.16.1.22:8080 connect,resolve)
    I'm using:
    - Java Plugin 1.3;
    - Netscape 7.0;
    - IE 6;
    I've tried to self-sign the applet but with no results (maybe I cannot use selfsigned certificate with java plugin 1.3);
    After that I've created a new policy file ("MyPolicy" file)and mentioned it into:
    C:\Program Files\JavaSoft\JRE\1.3.1_03\lib\security\java.policy
    but it didn't resolve my problem (maybe I'm doing something wrong in creating my policy file??!!).
    Which steps do I have to follow in order to make my applet connect to images server without security problems?
    Thanks so much in advance,
    Carlo

    1.     Compile the applet
    2.     Create a JAR file
    3.     Generate Keys
    4.     Sign the JAR file
    5.     Export the Public Key Certificate
    6.     Import the Certificate as a Trusted Certificate
    7.     Create the policy file
    8.     Run the applet
    Susan
    Susan bundles the applet executable in a JAR file, signs the JAR file, and exports the public key certificate.
    1.     Compile the Applet
    In her working directory, Susan uses the javac command to compile the SignedAppletDemo.java class. The output from the javac command is the SignedAppletDemo.class.
    javac SignedAppletDemo.java
    2.     Make a JAR File
    Susan then makes the compiled SignedAppletDemo.class file into a JAR file. The -cvf option to the jar command creates a new archive (c), using verbose mode (v), and specifies the archive file name (f). The archive file name is SignedApplet.jar.
    jar cvf SignedApplet.jar SignedAppletDemo.class
    3.     Generate Keys
    Susan creates a keystore database named susanstore that has an entry for a newly generated public and private key pair with the public key in a certificate. A JAR file is signed with the private key of the creator of the JAR file and the signature is verified by the recipient of the JAR file with the public key in the pair. The certificate is a statement from the owner of the private key that the public key in the pair has a particular value so the person using the public key can be assured the public key is authentic. Public and private keys must already exist in the keystore database before jarsigner can be used to sign or verify the signature on a JAR file.
    In her working directory, Susan creates a keystore database and generates the keys:
    keytool -genkey -alias signFiles -keystore susanstore -keypass kpi135 -dname "cn=jones" -storepass ab987c
    This keytool -genkey command invocation generates a key pair that is identified by the alias signFiles. Subsequent keytool command invocations use this alias and the key password (-keypass kpi135) to access the private key in the generated pair.
    The generated key pair is stored in a keystore database called susanstore (-keystore susanstore) in the current directory, and accessed with the susanstore password (-storepass ab987c).
    The -dname "cn=jones" option specifies an X.500 Distinguished Name with a commonName (cn) value. X.500 Distinguished Names identify entities for X.509 certificates.
    You can view all keytool options and parameters by typing:
    keytool -help
    4.     Sign the JAR File
    JAR Signer is a command line tool for signing and verifying the signature on JAR files. In her working directory, Susan uses jarsigner to make a signed copy of the SignedApplet.jar file.
    jarsigner -keystore susanstore -storepass ab987c -keypass kpi135 -signedjar SSignedApplet.jar SignedApplet.jar signFiles
    The -storepass ab987c and -keystore susanstore options specify the keystore database and password where the private key for signing the JAR file is stored. The -keypass kpi135 option is the password to the private key, SSignedApplet.jar is the name of the signed JAR file, and signFiles is the alias to the private key. jarsigner extracts the certificate from the keystore whose entry is signFiles and attaches it to the generated signature of the signed JAR file.
    5.     Export the Public Key Certificate
    The public key certificate is sent with the JAR file to the whoever is going to use the applet. That person uses the certificate to authenticate the signature on the JAR file. To send a certificate, you have to first export it.
    The -storepass ab987c and -keystore susanstore options specify the keystore database and password where the private key for signing the JAR file is stored. The -keypass kpi135 option is the password to the private key, SSignedApplet.jar is the name of the signed JAR file, and signFiles is the alias to the private key. jarsigner extracts the certificate from the keystore whose entry is signFiles and attaches it to the generated signature of the signed JAR file.
    5: Export the Public Key Certificate
    The public key certificate is sent with the JAR file to the whoever is going to use the applet. That person uses the certificate to authenticate the signature on the JAR file. To send a certificate, you have to first export it.
    In her working directory, Susan uses keytool to copy the certificate from susanstore to a file named SusanJones.cer as follows:
    keytool -export -keystore susanstore -storepass ab987c -alias signFiles -file SusanJones.cer
    Ray
    Ray receives the JAR file from Susan, imports the certificate, creates a policy file granting the applet access, and runs the applet.
    6.     Import Certificate as a Trusted Certificate
    Ray has received SSignedApplet.jar and SusanJones.cer from Susan. He puts them in his home directory. Ray must now create a keystore database (raystore) and import the certificate into it. Ray uses keytool in his home directory /home/ray to import the certificate:
    keytool -import -alias susan -file SusanJones.cer -keystore raystore -storepass abcdefgh
    7.     Create the Policy File
    The policy file grants the SSignedApplet.jar file signed by the alias susan permission to create newfile (and no other file) in the user's home directory.
    Ray creates the policy file in his home directory using either policytool or an ASCII editor.
    keystore "/home/ray/raystore";
    // A sample policy file that lets a JavaTM program
    // create newfile in user's home directory
    // Satya N Dodda
    grant SignedBy "susan"
         permission java.security.AllPermission;
    8.     Run the Applet in Applet Viewer
    Applet Viewer connects to the HTML documents and resources specified in the call to appletviewer, and displays the applet in its own window. To run the example, Ray copies the signed JAR file and HTML file to /home/aURL/public_html and invokes Applet viewer from his home directory as follows:
    Html code :
    </body>
    </html>
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    width="600" height="400" align="middle"
    codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,1,2">
    <PARAM NAME="code" VALUE="SignedAppletDemo.class">
    <PARAM NAME="archive" VALUE="SSignedApplet.jar">
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
    </OBJECT>
    </body>
    </html>
    appletviewer -J-Djava.security.policy=Write.jp
    http://aURL.com/SignedApplet.html
    Note: Type everything on one line and put a space after Write.jp
    The -J-Djava.security.policy=Write.jp option tells Applet Viewer to run the applet referenced in the SignedApplet.html file with the Write.jp policy file.
    Note: The Policy file can be stored on a server and specified in the appletviewer invocation as a URL.
    9.     Run the Applet in Browser
    Download JRE 1.3 from Javasoft

  • Problem with the MenuBar and how can i delete a own component out of the storage

    Hello,
    I opened this thread in the category "Flex Builder 2", but
    under this category my questions fit better.
    I have a problem with the MenuBar and a question to delete a
    component out of storage.
    1. We have implemented the MenuBar, which was filled
    dynamically with XML data.
    Sporadically it will appear following fault, if we "mousover"
    the root layer.
    RangeError: Error #2006: Der angegebene Index liegt
    außerhalb des zulässigen Bereichs.
    at flash.display::DisplayObjectContainer/addChildAt()
    at mx.managers::SystemManager/
    http://www.adobe.com/2006/flex/mx/internal::rawChildren_addChildAt()
    at mx.managers::SystemManager/addChild()
    at mx.managers::PopUpManager$/addPopUp()
    at mx.controls::Menu/show()
    at mx.controls::MenuBar/::showMenu()
    at mx.controls::MenuBar/::mouseOverHandler()
    Here a abrid ged version of our XML to create the MenuBar:
    <Menuebar>
    <menu label="Artikel">
    <menu label="Artikel anlegen" data="new_article" />
    <menu label="Artikel bearbeiten" data="edit_article" />
    <menu label="Verpackung">
    <menu label="Verpackung anlegen" data="new_package" />
    <menu label="Verpackung bearbeiten" data="edit_package"
    />
    </menu>
    <menu label="Materialgruppe">
    <menu label="Materialgruppe anlegen"
    data="new_materialgroup" />
    <menu label="Materialgruppe bearbeiten"
    data="edit_materialgroup" />
    </menu>
    </menu>
    </Menuebar>
    It is a well-formed XML.
    2. Delete a component out of storage
    We have some own components (basically forms), which will be
    created and shown by an construct e.g.
    var myComponent : T_Component = new T_Component ;
    this.addChild(myComponent)
    Some of our forms will be created in an popup. On every call
    of the popup, we lost 5 mb or more, all childs on the windows will
    be removed by formname.removeAllChild();
    What cann we do, that the garbage collector will dispose this
    objects.
    Is there a way to show all objects with references (NOT
    NULL)?
    I have read in the Flex Help, that
    this.removeChild(myComponent) not delete the form and/or object out
    of the storage.
    Rather the object must be destroyed.
    It is sufficient to call delete(myComponent) about remove
    this object out of the storage as the case may be that the
    garbage-collector remove this object at any time?
    Or how can I destroy a component correctly. What happens with
    the widgets on this component e.g. input fields or datagrids?
    Are they also being deleted?
    Thanks for your help.
    Matze

    If you mena the "photo Library" then you cannot delete it.
    This is how iphone handles photos.  There are not two copies.  There a re simply two places from which to access the same photos.  ALL photos synced to iphone can be accessed via Photo Library.  Those same pics can be accessed via their individual folder.

  • Problem with MacMail on MacBook Air - mail with 32MB attachment appearing in "recovered messages" folder every 12 seconds

    Problem with MacMail on MacBook Air
    3 days ago I failed to send a mail with a large (32MB) attachment - and it is no longer in my outbox, draft mails or sent file.
    BUT a copy of this same mail now appears every about 15 seconds in my "recovered messages" folder
    I noticed when I received a system error saying I had a disk almost full issue - there were over 580 copies of the mail with 32MB attachment in the "recovered messages file"
    I deleted them all, and deleted the Trash
    BUT the message still keeps re-appearing every 15 seconds or so.  So I keep deleting them.
    Since then I have not been able to receive mail (altho' I am able to send) and Mail is VERY slow
    I am running MAC OS X 10.6.8
    I am running Mail version 4.6 (1085)

    Also here's the log before it happened. As you can see there is no activity from 9:48 to 10:00 am when the sound occurred.
    23/02/2014 9:48:12.792 am ntpd[52]: FREQ state ignoring -0.145411 s
    23/02/2014 9:48:15.258 am WindowServer[96]: _CGXHWCaptureWindowList: No capable active display found.
    23/02/2014 9:48:20.000 am kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000280
    23/02/2014 9:48:20.000 am kernel[0]: ARPT: 61.319378: AirPort_Brcm43xx::powerChange: System Sleep
    23/02/2014 9:48:20.000 am kernel[0]: ARPT: 61.319390: wl0: powerChange: *** BONJOUR/MDNS OFFLOADS ARE NOT RUNNING.
    23/02/2014 9:48:20.000 am kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000340
    23/02/2014 10:00:04.000 am bootlog[0]: BOOT_TIME 1393167604 0
    23/02/2014 10:00:06.000 am syslogd[17]: Configuration Notice:
    ASL Module "com.apple.appstore" claims selected messages.
    Those messages may not appear in standard system log files or in the ASL database.
    23/02/2014 10:00:06.000 am syslogd[17]: Configuration Notice:
    ASL Module "com.apple.authd" sharing output destination "/var/log/system.log" with ASL Module "com.apple.asl".
    Output parameters from ASL Module "com.apple.asl" override any specified in ASL Module "com.apple.authd".

Maybe you are looking for

  • Exported Jpeg size

    Just started using aperture 1.5 and find that its not bad. I am trying to retouch Raw D200 images to black and white by making a new version and either using the chanel mixer to monochrome or by desaturating. I am finding it really nice to use and co

  • Studying for Oracle 11g Performance and Tuning exam - 1Z0-054

    Hello all, I want to attend to this exam and I'm looking for interesting and usefull studying path. Sure manuals on tahiti are needed. Neither sefltestsoftware not Testking has released a proficiency test for this exam. I was only able to find a test

  • About customize table transport

    Hi All, I changed a customize table Zxxx,added a field to it.Then transported it to the PRD system,but in the PRD system, this table was not active,and the change did not implement fully.In the DEV system,the table works well.Was there any problem of

  • List of Grup and users

    Hi, I need a list of all users and grups of SSO, to use in Oracle Portal with integration of my system.

  • Is there a microsoft office for ipad

    is there a microsoft office for ipad?