Exception, Fault code or Error Object

For most cases I find it quite easy to decide whether to return a special value (most times null) or throw an exception.
But this time i have doubts. Imaging a graphical client invokes a server side service. The service delegates the task to a Class which has to create a special entity using given criterias (used for db access) and store the entity in database.
Except for error reporting there is no reason to give a value back to the client.
For some cases the criterias given by the client can be chosen so tight, that it is impossible to create the entity (similar to a database query, which results in an empty set). That means the criterias were not chosen too clever, but regognizing this happens only after invoking the server.
Now the client shall receive a message, what went wrong. But how should you do that?
1. Thowing an exception seems a little rough because no programatical error occurend and the user did not do a predictable mistake. But this would enable a chaining which would be translated into an error description for the client.
2. Using an "Error Object" in cases of a failure and null oder a "Success Object" for success smells like a bad style, but would not interrupt the program flow like a real error
3. return codes ... same like 2, but more stone age .. =)

I say throw an exception. An exceptional case has occurred. You can't say it's unpredictable, because you've just predicted it might happen. Or would it be possible for the UI to simply not allow that state to be reached? I don't know how your users are interacting with the UI so that's your call

Similar Messages

  • Exception fault: ReferenceError: Error #1065: Variable ::_fileSystemType is not defined. - ?

    Hi! I'm stuck with debugging our AIR Application since it does crash very hard. After days of tracking down at least one point where the app crashes on AIR 3.5, 3.7 and AIR 3.8 beta (you see - I tried...).
    AIR 3.5 finally reports this console output:
    ScrollerTouch.onTargetMouseDown()-F true // A
    ScrollerTouch.onTargetMouseDown()-I // B
    targetV [object ScrollPane] // C
    CRASH! // D
    Exception fault: ReferenceError: Error #1065: Variable ::_fileSystemType is not defined.
              at global/trace()[int:49]
              at de.superclass.control::ScrollerTouch/onTargetMouseDown()[/path/to/.../ScrollerTouch.as:381]
              at de.superclass.control::ScrollerTouch/onTargetMouseDown()
    The code snipped:
    trace("ScrollerTouch.onTargetMouseDown()-F", _scrollHorizontal ); // A
      switch ( _scrollPolicyVertical )
      case ScrollPolicy.ON:
      trace("ScrollerTouch.onTargetMouseDown()-G");
      _scrollVertical = true;
                                            break;
      case ScrollPolicy.OFF:
      trace("ScrollerTouch.onTargetMouseDown()-H");
      _scrollVertical = false;
                                            break;
      case ScrollPolicy.AUTO:
      trace("ScrollerTouch.onTargetMouseDown()-I"); // B
      default:
                                                      trace( "targetV", targetV ); // C
                                                      try
                                                                trace( "targetV.height", targetV.height );
                                                      catch( e: Error )
                                                                trace( "CRASH!" ); // D
                                                      _scrollVertical = Boolean( targetV.height < targetV.contentHeight ); // line 381
      trace( "targetV.xxx" );
                                                      trace( "targetV.contentHeight", targetV.contentHeight );
    return;
    So accessing targetV.height somehow crashes very hard (app quits) but I have no clue at all. Actually, this code worked for a long time...
    So please, what is ::_fileSystemType ?

    I changed the code again but the app keeps crashing. This is what XCode-Console says:
    Jul  4 21:25:48 iRad-3 ReportCrash[1206] <Notice>: Formulating crash report for process APP_NAME[1191]
    Jul  4 21:25:48 iRad-3 backboardd[26] <Warning>: BKSendGSEvent ERROR sending event type 3001: (ipc/send) invalid destination port (0x10000003)
    Jul  4 21:25:48 iRad-3 backboardd[26] <Warning>: BKSendGSEvent ERROR sending event type 3001: (ipc/send) invalid destination port (0x10000003)
    Jul  4 21:25:48 iRad-3 backboardd[26] <Warning>: BKSendGSEvent ERROR sending event type 3001: (ipc/send) invalid destination port (0x10000003)
    Jul  4 21:25:48 iRad-3 ReportCrash[1206] <Error>: libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary
    Jul  4 21:25:48 iRad-3 com.apple.launchd[1] (UIKitApplication:APP_NAME_SPACE[0x469][1191]) <Warning>: (UIKitApplication:APP_NAME_SPACE[0x469]) Job appears to have crashed: Segmentation fault: 11
    Jul  4 21:25:48 iRad-3 backboardd[26] <Warning>: Application 'UIKitApplication:APP_NAME_SPACE[0x469]' exited abnormally with signal 11: Segmentation fault: 11
    Jul  4 21:25:48 iRad-3 ReportCrash[1206] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/APP_NAME_2013-07-04-212547_iRad-3.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
    Jul  4 21:25:55 iRad-3 kernel[0] <Debug>: launchd[1207] Builtin profile: container (sandbox)
    Jul  4 21:25:55 iRad-3 kernel[0] <Debug>: launchd[1207] Container: /private/var/mobile/Applications/CDA04278-5D34-4609-BE71-D66FB16794C1 (sandbox)
    Jul  4 21:25:56 iRad-3 kernel[0] <Debug>: launchd[1208] Builtin profile: PasteBoard (sandbox)
    Jul  4 21:25:56 iRad-3 backboardd[26] <Warning>: CoreAnimation: updates deferred for too long
    Jul  4 21:25:56 iRad-3 backboardd[26] <Warning>: CoreAnimation: timed out fence 2685b
    And here's the Crash Log:
    Jul  4 21:25:48 iRad-3 ReportCrash[1206] <Notice>: Formulating crash report for process APP_NAME[1191]
    Jul  4 21:25:48 iRad-3 backboardd[26] <Warning>: BKSendGSEvent ERROR sending event type 3001: (ipc/send) invalid destination port (0x10000003)
    Jul  4 21:25:48 iRad-3 backboardd[26] <Warning>: BKSendGSEvent ERROR sending event type 3001: (ipc/send) invalid destination port (0x10000003)
    Jul  4 21:25:48 iRad-3 backboardd[26] <Warning>: BKSendGSEvent ERROR sending event type 3001: (ipc/send) invalid destination port (0x10000003)
    Jul  4 21:25:48 iRad-3 ReportCrash[1206] <Error>: libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary
    Jul  4 21:25:48 iRad-3 com.apple.launchd[1] (UIKitApplication:APP_NAME_SPACE[0x469][1191]) <Warning>: (UIKitApplication:APP_NAME_SPACE[0x469]) Job appears to have crashed: Segmentation fault: 11
    Jul  4 21:25:48 iRad-3 backboardd[26] <Warning>: Application 'UIKitApplication:APP_NAME_SPACE[0x469]' exited abnormally with signal 11: Segmentation fault: 11
    Jul  4 21:25:48 iRad-3 ReportCrash[1206] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/APP_NAME_2013-07-04-212547_iRad-3.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
    Jul  4 21:25:55 iRad-3 kernel[0] <Debug>: launchd[1207] Builtin profile: container (sandbox)
    Jul  4 21:25:55 iRad-3 kernel[0] <Debug>: launchd[1207] Container: /private/var/mobile/Applications/CDA04278-5D34-4609-BE71-D66FB16794C1 (sandbox)
    Jul  4 21:25:56 iRad-3 kernel[0] <Debug>: launchd[1208] Builtin profile: PasteBoard (sandbox)
    Jul  4 21:25:56 iRad-3 backboardd[26] <Warning>: CoreAnimation: updates deferred for too long
    Jul  4 21:25:56 iRad-3 backboardd[26] <Warning>: CoreAnimation: timed out fence 2685b
    And here's the Crash Log:
    Incident Identifier: 17615510-16A5-43B9-B8A5-2ED2C5A2EEBA
    CrashReporter Key:   3f85661334bfff23c2d4128bc63674d30647c15b
    Hardware Model:      iPad3,3
    Process:         APP_NAME [1191]
    Path:            /var/mobile/Applications/CDA04278-5D34-4609-BE71-D66FB16794C1/APP_NAME.app/APP_NAME
    Identifier:      APP_NAME
    Version:         ??? (???)
    Code Type:       ARM (Native)
    Parent Process:  launchd [1]
    Date/Time:       2013-07-04 21:25:47.935 +0200
    OS Version:      iOS 6.1.3 (10B329)
    Report Version:  104
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x4095e008
    Crashed Thread:  0
    Thread 0 name:  Dispatch queue: com.apple.main-thread
    Thread 0 Crashed:
    0   APP_NAME        0x008c71c8 0x1000 + 9200072
    1   APP_NAME        0x005284ac 0x1000 + 5403820
    2   APP_NAME        0x007b5edc 0x1000 + 8081116
    3   APP_NAME        0x00002928 0x1000 + 6440
    4   APP_NAME        0x0045f128 0x1000 + 4579624
    5   APP_NAME        0x0045f5f8 0x1000 + 4580856
    6   APP_NAME        0x0045eeb4 0x1000 + 4578996
    7   APP_NAME        0x0045eab4 0x1000 + 4577972
    8   APP_NAME        0x003d98d8 0x1000 + 4032728
    9   APP_NAME        0x003c59c0 0x1000 + 3951040
    10  APP_NAME        0x00443d24 0x1000 + 4468004
    11  APP_NAME        0x009d5448 0x1000 + 10306632
    12  APP_NAME        0x009d509c 0x1000 + 10305692
    13  APP_NAME        0x009d4ad0 0x1000 + 10304208
    14  APP_NAME        0x009d6618 0x1000 + 10311192
    15  APP_NAME        0x00cf4d40 0x1000 + 13581632
    16  APP_NAME        0x00a5f418 0x1000 + 10871832
    17  APP_NAME        0x008d810c 0x1000 + 9269516
    18  APP_NAME        0x009b45ac 0x1000 + 10171820
    19  APP_NAME        0x009b5140 0x1000 + 10174784
    20  UIKit                         0x347ff51e -[UIWindow _sendTouchesForEvent:] + 314
    21  UIKit                         0x347ec7fc -[UIApplication sendEvent:] + 376
    22  UIKit                         0x347ec116 _UIApplicationHandleEvent + 6150
    23  GraphicsServices              0x364e05a0 _PurpleEventCallback + 588
    24  GraphicsServices              0x364e01ce PurpleEventCallback + 30
    25  CoreFoundation                0x329b9170 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32
    26  CoreFoundation                0x329b9112 __CFRunLoopDoSource1 + 134
    27  CoreFoundation                0x329b7f94 __CFRunLoopRun + 1380
    28  CoreFoundation                0x3292aeb8 CFRunLoopRunSpecific + 352
    29  CoreFoundation                0x3292ad44 CFRunLoopRunInMode + 100
    30  GraphicsServices              0x364df2e6 GSEventRunModal + 70
    31  UIKit                         0x348402fc UIApplicationMain + 1116
    32  APP_NAME        0x008f5c0c 0x1000 + 9391116
    33  APP_NAME        0x00d2b0e0 0x1000 + 13803744
    Thread 1 name:  Dispatch queue: com.apple.libdispatch-manager
    Thread 1:
    0   libsystem_kernel.dylib        0x3ad76648 kevent64 + 24
    1   libdispatch.dylib             0x3aca6974 _dispatch_mgr_invoke + 792
    2   libdispatch.dylib             0x3aca6654 _dispatch_mgr_thread$VARIANT$mp + 32
    Thread 2 name:  WebThread
    Thread 2:
    0   libsystem_kernel.dylib        0x3ad75eb4 mach_msg_trap + 20
    1   libsystem_kernel.dylib        0x3ad76048 mach_msg + 36
    2   CoreFoundation                0x329b9040 __CFRunLoopServiceMachPort + 124
    3   CoreFoundation                0x329b7d9e __CFRunLoopRun + 878
    4   CoreFoundation                0x3292aeb8 CFRunLoopRunSpecific + 352
    5   CoreFoundation                0x3292ad44 CFRunLoopRunInMode + 100
    6   WebCore                       0x3891a500 RunWebThread(void*) + 440
    7   libsystem_c.dylib             0x3acdf30e _pthread_start + 306
    8   libsystem_c.dylib             0x3acdf1d4 thread_start + 4
    Thread 3:
    0   libsystem_kernel.dylib        0x3ad75eb4 mach_msg_trap + 20
    1   libsystem_kernel.dylib        0x3ad76048 mach_msg + 36
    2   APP_NAME        0x00480b04 0x1000 + 4717316
    3   libsystem_c.dylib             0x3acdf30e _pthread_start + 306
    4   libsystem_c.dylib             0x3acdf1d4 thread_start + 4
    Thread 4:
    0   libsystem_kernel.dylib        0x3ad8608c __psynch_cvwait + 24
    1   libsystem_c.dylib             0x3acd7d2a _pthread_cond_wait + 642
    2   libsystem_c.dylib             0x3ace1f14 pthread_cond_wait + 36
    3   APP_NAME        0x00a33ad4 0x1000 + 10693332
    4   APP_NAME        0x0097d9e0 0x1000 + 9947616
    5   APP_NAME        0x00a33938 0x1000 + 10692920
    6   APP_NAME        0x00a3398c 0x1000 + 10693004
    7   APP_NAME        0x00a336b8 0x1000 + 10692280
    8   libsystem_c.dylib             0x3acdf30e _pthread_start + 306
    9   libsystem_c.dylib             0x3acdf1d4 thread_start + 4
    Thread 5:
    0   libsystem_kernel.dylib        0x3ad8608c __psynch_cvwait + 24
    1   libsystem_c.dylib             0x3acd7d2a _pthread_cond_wait + 642
    2   libsystem_c.dylib             0x3ace1f14 pthread_cond_wait + 36
    3   APP_NAME        0x00a33ad4 0x1000 + 10693332
    4   APP_NAME        0x0097d9e0 0x1000 + 9947616
    5   APP_NAME        0x00a33938 0x1000 + 10692920
    6   APP_NAME        0x00a3398c 0x1000 + 10693004
    7   APP_NAME        0x00a336b8 0x1000 + 10692280
    8   libsystem_c.dylib             0x3acdf30e _pthread_start + 306
    9   libsystem_c.dylib             0x3acdf1d4 thread_start + 4
    Thread 6:
    0   libsystem_kernel.dylib        0x3ad866a4 __semwait_signal + 24
    1   libsystem_c.dylib             0x3ace43ce nanosleep + 138
    2   APP_NAME        0x00a33724 0x1000 + 10692388
    3   APP_NAME        0x00913638 0x1000 + 9512504
    4   APP_NAME        0x009135d8 0x1000 + 9512408
    5   APP_NAME        0x00a33938 0x1000 + 10692920
    6   APP_NAME        0x00a3398c 0x1000 + 10693004
    7   APP_NAME        0x00a336b8 0x1000 + 10692280
    8   libsystem_c.dylib             0x3acdf30e _pthread_start + 306
    9   libsystem_c.dylib             0x3acdf1d4 thread_start + 4
    Thread 7:
    0   libsystem_kernel.dylib        0x3ad8608c __psynch_cvwait + 24
    1   libsystem_c.dylib             0x3acd7d2a _pthread_cond_wait + 642
    2   libsystem_c.dylib             0x3acd7aa0 pthread_cond_timedwait + 40
    3   APP_NAME        0x00a33b54 0x1000 + 10693460
    4   APP_NAME        0x000a7254 0x1000 + 680532
    5   APP_NAME        0x00a33938 0x1000 + 10692920
    6   APP_NAME        0x00a3398c 0x1000 + 10693004
    7   APP_NAME        0x00a336b8 0x1000 + 10692280
    8   libsystem_c.dylib             0x3acdf30e _pthread_start + 306
    9   libsystem_c.dylib             0x3acdf1d4 thread_start + 4
    Thread 8:
    0   libsystem_kernel.dylib        0x3ad866a4 __semwait_signal + 24
    1   libsystem_c.dylib             0x3ace43ce nanosleep + 138
    2   APP_NAME        0x00a33724 0x1000 + 10692388
    3   APP_NAME        0x008caff0 0x1000 + 9215984
    4   APP_NAME        0x008cae08 0x1000 + 9215496
    5   APP_NAME        0x00a33938 0x1000 + 10692920
    6   APP_NAME        0x00a3398c 0x1000 + 10693004
    7   APP_NAME        0x00a336b8 0x1000 + 10692280
    8   libsystem_c.dylib             0x3acdf30e _pthread_start + 306
    9   libsystem_c.dylib             0x3acdf1d4 thread_start + 4
    Thread 9 name:  com.apple.NSURLConnectionLoader
    Thread 9:
    0   libsystem_kernel.dylib        0x3ad75eb4 mach_msg_trap + 20
    1   libsystem_kernel.dylib        0x3ad76048 mach_msg + 36
    2   CoreFoundation                0x329b9040 __CFRunLoopServiceMachPort + 124
    3   CoreFoundation                0x329b7d9e __CFRunLoopRun + 878
    4   CoreFoundation                0x3292aeb8 CFRunLoopRunSpecific + 352
    5   CoreFoundation                0x3292ad44 CFRunLoopRunInMode + 100
    6   Foundation                    0x332773d0 +[NSURLConnection(Loader) _resourceLoadLoop:] + 304
    7   Foundation                    0x332fae80 __NSThread__main__ + 968
    8   libsystem_c.dylib             0x3acdf30e _pthread_start + 306
    9   libsystem_c.dylib             0x3acdf1d4 thread_start + 4
    Thread 10 name:  com.apple.CFSocket.private
    Thread 10:
    0   libsystem_kernel.dylib        0x3ad86594 __select + 20
    1   CoreFoundation                0x329bd1f2 __CFSocketManager + 674
    2   libsystem_c.dylib             0x3acdf30e _pthread_start + 306
    3   libsystem_c.dylib             0x3acdf1d4 thread_start + 4
    Thread 11:
    0   libsystem_kernel.dylib        0x3ad86d98 __workq_kernreturn + 8
    1   libsystem_c.dylib             0x3acd4cf6 _pthread_workq_return + 14
    2   libsystem_c.dylib             0x3acd4a12 _pthread_wqthread + 362
    3   libsystem_c.dylib             0x3acd48a0 start_wqthread + 4
    Thread 12:
    0   libsystem_kernel.dylib        0x3ad8608c __psynch_cvwait + 24
    1   libsystem_c.dylib             0x3acd7d68 _pthread_cond_wait + 704
    2   libsystem_c.dylib             0x3aceb080 pthread_cond_timedwait_relative_np + 12
    3   APP_NAME        0x00a7e558 0x1000 + 10999128
    4   APP_NAME        0x00a7e200 0x1000 + 10998272
    5   APP_NAME        0x00a7e0f8 0x1000 + 10998008
    6   APP_NAME        0x00a33938 0x1000 + 10692920
    7   APP_NAME        0x00a3398c 0x1000 + 10693004
    8   APP_NAME        0x00a336b8 0x1000 + 10692280
    9   libsystem_c.dylib             0x3acdf30e _pthread_start + 306
    10  libsystem_c.dylib             0x3acdf1d4 thread_start + 4
    Thread 13:
    0   libsystem_kernel.dylib        0x3ad86d98 __workq_kernreturn + 8
    1   libsystem_c.dylib             0x3acd4cf6 _pthread_workq_return + 14
    2   libsystem_c.dylib             0x3acd4a12 _pthread_wqthread + 362
    3   libsystem_c.dylib             0x3acd48a0 start_wqthread + 4
    Thread 0 crashed with ARM Thread State (32-bit):
        r0: 0x4095e000    r1: 0x2fdfdf58      r2: 0x0052844c      r3: 0x2fdfdf1c
        r4: 0x00000221    r5: 0x084d8060      r6: 0x2fdfdf14      r7: 0x2fdfdf88
        r8: 0x2fdfdf20    r9: 0x000003fe     r10: 0x4095e000     r11: 0x00000000
        ip: 0x000002fc    sp: 0x2fdfdf10      lr: 0x005284b0      pc: 0x008c71c8
      cpsr: 0x20000010
    This immediately occurs when I touch and move a little on a specific display object which listens to Mouse-Events DOWN, MOVE to drag it's contents. I think it has something to do with the event system or so. But I'm absolutely blind I guess.
    What could I do?

  • Oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters

    Dear Guru's,
    I am not able to solve the above issue for last couple of days.
    I am newbie to the webservice
    My Issue...
    I am using Jdeveloper 11.1.2.4.0 Release 2
    1. Using Jdev I built one small Web Service with two methods.
            While testing the Webservice...
                   I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
    2. I created another application to consume the web service i created.
                   1. I added the webservice SOAP and added the method.
                   2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
    3. While executing the created jsf page I received the error message as below
    "oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
    Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
    Can anybody help to solve this issue.
    Thanks and Regards,
    Durai S E

    Dear Guru's,
    I am not able to solve the above issue for last couple of days.
    I am newbie to the webservice
    My Issue...
    I am using Jdeveloper 11.1.2.4.0 Release 2
    1. Using Jdev I built one small Web Service with two methods.
            While testing the Webservice...
                   I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
    2. I created another application to consume the web service i created.
                   1. I added the webservice SOAP and added the method.
                   2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
    3. While executing the created jsf page I received the error message as below
    "oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
    Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
    Can anybody help to solve this issue.
    Thanks and Regards,
    Durai S E

  • Code 91 - Caused Error: (Object variable or With block variable not set)

    Hi,
    We are using FDM 9.3.1. We have enabled batch processing.
    We are having following process being followed
    - Batch Loader script will pull the data from dwh table for each entity, scenario, year and period
    - Batch processing is set to serial and processlevel set to Up-To-Check
    - We had following five files created for Location - EMAFF100
    i. 1_EMAFF100_ACT_May-2011_RR.txt
    ii. 1_EMAFF100_ACT_Jun-2011_RR.txt
    iii. 1_EMAFF100_ACT_Jul-2011_RR.txt
    iv. 1_EMAFF100_ACT_Aug-2011_RR.txt
    v. 1_EMAFF100_ACT_Sep-2011_RR.txt
    Batch loader process completed the processing for May - 2011, Jul - 2011, Aug-2011, Sep-2011.
    But for Jun 2011 it has given the following error in the 'tbatchinformation' table and failed at import stage.
    40751.6239236111 1_EMAFF100_ACT_JUN-2011_RR.TXT 2 2 91-Object variable or With block variable not set
    When we checked the view error log from tool menu we found following
    ** Begin FDM Runtime Error Log Entry [2011-07-27-14:58:29] **
    ERROR:
    Code......................................... 91
    Description.................................. File [1_EMAFF100_ACT_Jun-2011_RR.txt] Caused Error: (Object variable or With block variable not set)
    Procedure.................................... clsBatchLoader.mFileCollectionProcess
    Component.................................... upsWBatchLoaderDM
    Version...................................... 931
    Thread....................................... 5600
    IDENTIFICATION:
    User......................................... ncreighton
    Computer Name................................ HYAPSDEV1
    App Name..................................... EMATTEST
    Client App................................... WebClient
    CONNECTION:
    Provider..................................... ORAOLEDB.ORACLE
    Data Server..................................
    Database Name................................ hydev_serv
    Trusted Connect.............................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location..................................... EMAFF100
    Location ID.................................. 762
    Location Seg................................. 16
    Category..................................... ACT
    Category ID.................................. 13
    Period....................................... Jun - 2011
    Period ID.................................... 30/06/2011
    POV Local.................................... False
    Language..................................... 1033
    User Level................................... 1
    All Partitions............................... False
    Is Auditor................................... False
    We then re submitted data for Jun period and saw batch process got successfully completed and June data got imported successfully and also rest other processes got through.
    Can any one provide exact cause for this error? As we have automated the data load from DWH to FDM And then to HFM. Hence when such error comes it disturbs lot of processing there on. Appreciate your early response.
    Thanks in advance.

    Hi SAP collegues,
    At my site, BPC Excel created this problem too "Object Variable or With Block Variable not set" .
    It turned out that this is symptom of a a dys-functioning BPC COM Plug-in in XL2007 or XL2010!
    This is a consequence that your Excel recently crashed while using BPC. And it relates to an Excel Add-in becoming disabled when the applications crashes.  Please check the following.
    Note before doing the following, close all other open Excel and BPC sessions.
    Within Excel go to File à Options
    Select the Add-Ins option on the left
    Select the <<COM Add-ins >> option in the Manage drop down, and click Go
    Make sure that the Planning and Consolidation option is selected.  If not, mark this box and click OK.
    If you do not see anything listed, return to the Add-in screen and select the Disabled Items option, and see if Planning and Consolidation is listed there.
    Let me know if you have any queries,
    Kind Regards,
    robert ten bosch

  • System Exception:OSoftResSvrAdm.Handle Creat ActiveX Object Error at Admin

    Hi Experts,
    While logging into the BPC admin client, we are facing the following errors:
    System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: OSoftResSvrAdm.Handle Creat ActiveX Object Error at Admin Server
       at OSoft.Services.Webservice.AdminMainService.AdminMainService.GetText(Int64 intStringNum, String& strReturnString, String sParam1, String sParam2, String sParam3, String sParam4, String sParam5)
       at OSoft.Services.Webservice.AdminMainService.AdminMainService.LoadRes()
       at OSoft.Services.Webservice.AdminMainService.AdminMainService..ctor()
       --- End of inner exception stack trace ---}
    We have been facing this issue since the time the server was restarted after changing the admin password.
    Please help us in resolving this issue.
    Thanks in advance.
    Meera

    So you changed the pwd for installation user of SAP BPC.
    After you performed this change did you open Server Manager and go to Reset Credential link?
    There you have to input the new pwd for installation user.
    After that try to login again using BPC client.
    Regards
    Sorin Radulescu

  • System code 1, error 43. English text was "Expected an object Stream"

    All,
    I have been working on the same form for several weeks (In Livecycle 8.0). Today when I went to open it, I get the error message "Library returned system code 1, error 43. English text was "Expected an object Stream" " and the only option I have is to say okay, and the windows closes.
    Background:
    The Original Form was a MS Word Document that I converted to a pdf, and use Livecycle 8.0 to add drop down menus, fields etc. to it.
    We have been using the form in reader for days, (testing it) and it still works fine in adobe reader, we can still open it without any problems.
    However I needed to add more options to my drop down menu's and when I attempt to open the pdf file in Livecycle, all of sudden I get this error, system code 1, error 43.
    I have googled, it a didnt find any help, and I have looked / searched the knowledge base with no luck.
    Thank you for any assistance!
    duffie

    I have not seen that error ...can you email it to [email protected] and I will have a look

  • Generic oracle eway code generation error in Java caps 5.1.3

    Hi,
    I'm using an oracle eway for adding records to a table. I have a prepared statement in the otd. When I try to build the project I'm getting the following error. Could any one let me know how this problem can be fixed?
    com.stc.codegen.framework.model.CodeGenException: Generic Oracle eway code generation error(ERROR_CODEGEN_GENERIC_CODELET_GENERAL)
         at com.stc.oracle.codegen.OracleEWayCodeletFactory$OracleEWayCodelet.generateFiles(OracleEWayCodeletFactory.java:1860)
         at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.processCodelets(CodeGenFrameworkImpl.java:640)
         at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.process(CodeGenFrameworkImpl.java:1544)
         at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:405)
         at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:308)
         at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.traverseDeployment(DeploymentVisitorImpl.java:268)
         at com.stc.codegen.driver.module.DeploymentBuildAction.loadCodeGen(DeploymentBuildAction.java:923)
         at com.stc.codegen.driver.module.DeploymentBuildAction.access$1000(DeploymentBuildAction.java:174)
         at com.stc.codegen.driver.module.DeploymentBuildAction$1.run(DeploymentBuildAction.java:599)
         at org.openide.util.Task.run(Task.java:136)
         at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:599)
    Caused by: com.stc.codegen.framework.model.CodeGenException: Exception when generating OTD code ...Exception: javaClass: Oracle_std_otdOTD: Exception when invoke DB Codegen Task...Exception: Invalid parameter type: Class : [Std_insert_PreapredStat] Object: [Param1] Param Type : [DECIMAL].(ERROR_CODEGEN_DB)(ERROR_CREATE_OTD)
         at com.stc.oracle.codegen.OracleEWayCodeletFactory$OracleEWayCodelet.generateOtdJarFile(OracleEWayCodeletFactory.java:2045)
         at com.stc.oracle.codegen.OracleEWayCodeletFactory$OracleEWayCodelet.generateFiles(OracleEWayCodeletFactory.java:1756)
         ... 10 more
    Regards,
    Abdul

    hi...
    i too getting same problem..how did u reslove this...
    please help me out...
    thanks in advance
    KK

  • No database connector has been specified - Error code:-2147467259 error

    Hi,
    Iu2019m trying to populate a report and preview it using JRC. Iu2019m using the JRC jar files versions from CR XI R2 SP4. I have created a report using locale data source xml file and scheme file. I can preview the report from Crystal Report Designer without any probelm. When I try to preview the same layout using my Java application I get the error " No database connector has been specified.---- Error code:-2147467259 Error code name:failed " when I try to set the  table location (reportClientDoc.getDatabaseController().setTableLocation(tables.getTable(i),table);) I even get this when I try to set the date source (reportClientDoc.getDatabaseController().setDataSource(xmlDataSet, " FND_SESSION_REP/FNDSESSION", "FND_SESSION_REP/FNDSESSION");) I tried shifting the order of setDataSource and setTableLocation but that didnu2019t help as well.
    Can you please help me?
    Thanks you in advance.
    Regards,
    Chanaka
    Code to set connection info
    public void setDBLogonXML(String xmlFilePath, String xsdFilePath)
          final String SERVER_TYPE = "XML";
          final String CONVERT_MULTIVALUE_TO_TABLE="false";
          final String DATABASE_DLL = "crdb_xml.dll";
          try {
             Tables tables = reportClientDoc.getDatabaseController().getDatabase().getTables();
             //Set the datasource for all main report tables.
             for (int i = 0; i < tables.size(); i++) {
                ITable table = tables.getTable(i);
                //Keep existing name and alias.
                table.setName(table.getName());
                table.setQualifiedName(table.getQualifiedName());
                table.setAlias(table.getAlias());
                //Change connection information properties.
                IConnectionInfo connectionInfo = table.getConnectionInfo();
                //Set new table connection property attributes.
                PropertyBag propertyBag = new PropertyBag();
                propertyBag.put("Server Type", SERVER_TYPE);
                propertyBag.put("Database DLL",DATABASE_DLL );
                propertyBag.put("Local XML File",xmlFilePath);
                propertyBag.put("Local Schema File",xsdFilePath);
                String conString = "Local XML File=s("+xmlFilePath+");Local Schema File=s("+xsdFilePath+")";
                propertyBag.put("Connection String",conString);
                connectionInfo.setAttributes(propertyBag);
                table.setConnectionInfo(connectionInfo);
                //Update old table in the report with the new table.
                reportClientDoc.getDatabaseController().setTableLocation(tables.getTable(i),table);
                catch(ReportSDKException ex) {     
                   System.out.println(ex);
              catch(Exception ex) {
                   System.out.println(ex);               
    Main programu2026..
    setDBLogonXML("D:\\Reports\\Current Sessions.xml","D:\\Reports\\FndSessionRep.xsd");          
             xmlDataSet = new XMLDataSet(new ByteArray(xmlFile), new ByteArray(xsdFile));
             reportClientDoc.getDatabaseController().setDataSource(xmlDataSet, "FND_SESSION_REP/FNDSESSION", "FND_SESSION_REP/FNDSESSION");
    Error Stack
    - JRCAgent1 detected an exception: No database connector has been specified.
            at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
            at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
            at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.z.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ak.if(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ad.int(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.bk.for(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.v.a(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.v.if(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setTableLocation(Unknown Source)
            at com.crystaldecisions.reports.sdk.DatabaseController.setTableLocation(Unknown Source)
            at jrc_xml_test_app_01.testDlg.setDBLogonXML(testDlg.java:378)
            at jrc_xml_test_app_01.testDlg.jButton3ActionPerformed(testDlg.java:117)
            at jrc_xml_test_app_01.testDlg.access$200(testDlg.java:23)
            at jrc_xml_test_app_01.testDlg$3.actionPerformed(testDlg.java:67)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
            at java.awt.Component.processMouseEvent(Component.java:5501)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
            at java.awt.Component.processEvent(Component.java:5266)
            at java.awt.Container.processEvent(Container.java:1966)
            at java.awt.Component.dispatchEventImpl(Component.java:3968)
            at java.awt.Container.dispatchEventImpl(Container.java:2024)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
            at java.awt.Container.dispatchEventImpl(Container.java:2010)
            at java.awt.Window.dispatchEventImpl(Window.java:1778)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
            at java.awt.Dialog$1.run(Dialog.java:525)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: No database connector has been specified.---- Error code:-2147467259 Error code name:failed
    - JRCAgent1 received request: setDataSourceRequest
    - command SETUP: Create Data Connection
    - command PERFORM: Create Data Connection
    - -- command is undoable -> purge redo stack
    - command SETUP: Set Data Connection Property
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: No database connector has been specified.---- Error code:-2147467259 Error code name:failed
            at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
            at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
            at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
    - command PERFORM: Set Data Connection Property
            at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
    - -- command is NOT UNDOABLE -> purge undo stack
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    - --- Purging command Create Data Connection
            at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
    - command SETUP: Set Data Connection Property
            at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
    - command PERFORM: Set Data Connection Property
            at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
    - JRCAgent1 detected an exception: No database connector has been specified.
            at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(Unknown Source)
            at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
            at com.crystaldecisions.reports.sdk.DatabaseController.setDataSource(Unknown Source)
            at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
            at jrc_xml_test_app_01.testDlg.jButton3ActionPerformed(testDlg.java:121)
            at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
            at jrc_xml_test_app_01.testDlg.access$200(testDlg.java:23)
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
            at jrc_xml_test_app_01.testDlg$3.actionPerformed(testDlg.java:67)
            at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
            at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
            at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(Unknown Source)
            at com.crystaldecisions.reports.sdk.DatabaseController.setDataSource(Unknown Source)
            at jrc_xml_test_app_01.testDlg.jButton3ActionPerformed(testDlg.java:121)
            at jrc_xml_test_app_01.testDlg.access$200(testDlg.java:23)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
            at java.awt.Component.processMouseEvent(Component.java:5501)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
            at java.awt.Component.processEvent(Component.java:5266)
            at java.awt.Container.processEvent(Container.java:1966)
            at java.awt.Component.dispatchEventImpl(Component.java:3968)
            at jrc_xml_test_app_01.testDlg$3.actionPerformed(testDlg.java:67)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
            at java.awt.Component.processMouseEvent(Component.java:5501)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
            at java.awt.Container.dispatchEventImpl(Container.java:2024)
            at java.awt.Component.processEvent(Component.java:5266)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.Container.processEvent(Container.java:1966)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
            at java.awt.Component.dispatchEventImpl(Component.java:3968)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
            at java.awt.Container.dispatchEventImpl(Container.java:2024)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
            at java.awt.Container.dispatchEventImpl(Container.java:2010)
            at java.awt.Window.dispatchEventImpl(Window.java:1778)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
            at java.awt.Container.dispatchEventImpl(Container.java:2010)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
            at java.awt.Window.dispatchEventImpl(Window.java:1778)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
            at java.awt.Component.dispatchEvent(Component.java:3803)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
            at java.awt.Dialog$1.run(Dialog.java:525)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
            at java.awt.Dialog$1.run(Dialog.java:525)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    No database connector has been specified.
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    Post Author: ililal
    CA Forum: Data Connectivity and SQL
    I spoke directly with Business Objects. They said,"Sun Application Server 8.2 is not supported."

  • Flexunit + Parsley - re-creating error: "Object of type is already managed"

    Hello,
       This may sound a bit strange but I'm trying to force an "Object of type is already managed" error to recreate a bug we had in our app for
       flexunit testing purposes.   The problem arised when we upgraded to FB 4.5 and had a double parsley configuration in a popup launched from a module.
       Here's my flexunit test:
    [code]
    [Test]
    public function testReportsPrintDialog1():void
              rpDialog = new ReportsPrintDialog();
              //attempting to forcibly re-create the project-70 bug:
              //"Object of type reportsDirectoryModule.views::ReportsPrintDialog is already managed"
              childContext.viewManager.addViewRoot(reportsDirectoryBase);
              childContext.viewManager.addViewRoot(rpDialog);
              trace("rpDialog: " + GlobalState.objects.isManaged(rpDialog));
              trace("reportsDirectoryBase: " + GlobalState.objects.isManaged(reportsDirectoryBase));
              rpDialog.addEventListener(FlexEvent.CREATION_COMPLETE, onCreationComplete, false, 0, true);
              PopUpManager.addPopUp(rpDialog, DisplayObject(FlexGlobals.topLevelApplication));
    [/code]
    Unfortunatly, my attempts at 'forcing' the extra parsley object managment by using addViewRoot is not reproducing the error.
    In my test suite I am setting up my main and module scoped parsley context in the next code snippit and it has
    been working very well for other tests so far. Here's the context setup code:
    [code]
    import reportsDirectoryModule.parsleyConfig.ParsleyConfig;
    public var context:Context;
    public var childContext:Context;
    //create base TDMSE parsley context
    this.context = ContextBuilder.newBuilder()
              .config(FlexConfig.forClass(TDMSEAppParsleyConfig))
              .object(this)
              .build();
    this.childContext = ContextBuilder
              .newSetup()
              .parent(context)
              .newBuilder()
              .config(FlexConfig.forClass(reportsDirectoryModule.parsleyConfig.ParsleyConfig))
              .build();
    [/code]
    The ReportsPrintDialog actually inherits from a base popup class called ReportsDirectoryBase which has this parsley declaration:
    [code]
    <s:TitleWindow xmlns:fx="http://ns.adobe.com/mxml/2009"
                                            xmlns:mx="library://ns.adobe.com/flex/mx"
                                            xmlns:s="library://ns.adobe.com/flex/spark"
                                            xmlns:parsley="http://www.spicefactory.org/parsley"
                                            skinClass="common.skins.TitleWindowSkin">
              <fx:Declarations>
                        <parsley:ContextBuilder id="childContext"
                                  parents="{app.module.getContext()}" domain="{app.applicationDomain}"/>
                        <parsley:Configure />
              </fx:Declarations>
              <fx:Script>
                        <![CDATA[
                                  import mx.core.FlexGlobals;
                                  [Bindable]
                                  private static var app:Object = FlexGlobals.topLevelApplication;
    [/code]
    And the 'Object of type is already managed' exception was because ReportsPrintDialog had the following Configure declaration:
    [code]
    <rdv:ReportsDirectoryBase xmlns:fx="http://ns.adobe.com/mxml/2009"
                                            xmlns:s="library://ns.adobe.com/flex/spark"
                                            xmlns:mx="library://ns.adobe.com/flex/mx"
                                      xmlns:rdv="reportsDirectoryModule.views.*"
                                            xmlns:cc="common.components.*"
                                            xmlns:parsley="http://www.spicefactory.org/parsley"
                                            title="Print Reports Confirmation"
                    width="300"
                                            creationComplete="init()"
                                            showCloseButton="true"
                                            close="closeWindow()">
              <fx:Declarations>
                        <parsley:Configure/>
              </fx:Declarations>
    [/code]
    I know this is a bit strange, but if nothing else, I'm chalking it down as a good flexunit/parsley learning experience.
    Thanks,
    Eric H

    when i change #{bindings.addorgflow.regionModel} to #{bindings.addorgflow1.regionModel} and change id ResPersonBean to ResPersonBean1 it run my jsff page

  • Program error: Object type of receiver cannot be determined

    Hello Experts,
                   Am getting this error "Program error: Object type of receiver cannot be determined" when creating internal orders using BAPI_INTERNALORDERS_CREATE. I read many forums, but they are not answered. I didn't get any solution. Any Solution Please.
    Thanks in Advance

    Here is my Code
    TYPE-POOLS : TRUXS.
    TYPES:BEGIN OF TY_COAS_SVALD,
          AUART TYPE AUFART,         "Order Type
          BUKRS TYPE BUKRS,          "Company Code
          KTEXT TYPE AUFTEXT,        "Description
          GSBER TYPE GSBER,          "Business Area
          WERKS TYPE WERKS_D,        "plant
          KDAUF TYPE KDAUF,          "Sales Order Number
          KDPOS TYPE KDPOS,          "Item
          USER0 TYPE AUFUSER0,       "Applicant
          USER1 TYPE AUFUSER1,       "Applicant's telephone number
          USER2 TYPE AUFUSER2,       "Person responsible
          USER6 TYPE AUFUSER6,       "Department
          KOKRS TYPE KOKRS,          "Controlling area
          AUFWAERS TYPE AUFWAERS,    "Currency
          END   OF TY_COAS_SVALD .
    DATA : IT_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    DATA:T_COAS TYPE STANDARD TABLE OF TY_COAS_SVALD INITIAL SIZE 0,
        WA_COAS TYPE  TY_COAS_SVALD.
    PARAMETERs : p_file TYPE IBIPPARMS-PATH.
    at SELECTION-SCREEN on VALUE-REQUEST FOR p_file.
      PERFORM browse_file.
    INITIALIZATION.
      CLEAR:WA_COAS.
      REFRESH:T_COAS.
    START-OF-SELECTION.
    PERFORM LOAD_FLAT_FILE.
    PERFORM SUB_CALL_BAPI_FOR_KO01.
    FORM browse_file .
    CALL FUNCTION 'F4_FILENAME'
    IMPORTING
       FILE_NAME           = p_file
    ENDFORM.                    " browse_file
    FORM LOAD_FLAT_FILE .
    DATA : LT_RAW TYPE TRUXS_T_TEXT_DATA.
      CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
        EXPORTING
          I_FIELD_SEPERATOR          = 'X'
         I_LINE_HEADER              = 'X'
          I_TAB_RAW_DATA             = LT_RAW
          I_FILENAME                 = P_FILE
        TABLES
          I_TAB_CONVERTED_DATA       = T_COAS
       EXCEPTIONS
         CONVERSION_FAILED          = 1
         OTHERS                     = 2
      IF SY-SUBRC <> 0.
      ENDIF.
    ENDFORM.                    " LOAD_FLAT_FILE
    FORM SUB_CALL_BAPI_FOR_KO01 .
      DATA:L_MASTERDATA  TYPE BAPI2075_7,
           LE_MASTERDATA TYPE BAPI2075_2,
           T_BAPI TYPE STANDARD TABLE OF BAPI2075_6 INITIAL SIZE 0,
           WA_BAPI TYPE BAPI2075_6.
    clear:l_masterdata,
          le_masterdata,
          wa_bapi.
    refresh:t_bapi.
      LOOP AT T_COAS INTO WA_COAS.
      L_MASTERDATA-ORDER_TYPE = WA_COAS-AUART.
      L_MASTERDATA-COMP_CODE = WA_COAS-BUKRS.
      L_MASTERDATA-ORDER_NAME = WA_COAS-KTEXT.
      L_MASTERDATA-PLANT = WA_COAS-WERKS.
      L_MASTERDATA-BUS_AREA = WA_COAS-GSBER.
      L_MASTERDATA-SALES_ORD = WA_COAS-KDAUF.
      L_MASTERDATA-S_ORD_ITEM = WA_COAS-KDPOS.
      L_MASTERDATA-APPLICANT = WA_COAS-USER0.
      L_MASTERDATA-APPLICANT_PHONE = WA_COAS-USER1.
      L_MASTERDATA-PERSON_RESP = WA_COAS-USER2.
      L_MASTERDATA-DEPARTMENT = WA_COAS-USER6.
      L_MASTERDATA-CO_AREA = WA_COAS-KOKRS.
      L_MASTERDATA-CURRENCY = WA_COAS-AUFWAERS.
      WA_BAPI-SALES_ORD = WA_COAS-KDAUF.
      WA_BAPI-S_ORD_ITEM = WA_COAS-KDPOS.
      WA_BAPI-COMP_CODE = WA_COAS-BUKRS.
      APPEND WA_BAPI TO T_BAPI.
    CALL FUNCTION 'BAPI_INTERNALORDER_CREATE'
          EXPORTING
            I_MASTER_DATA       = L_MASTERDATA
    IMPORTING
       E_MASTER_DATA       = LE_MASTERDATA
    TABLES
       SRULES              = T_BAPI
       RETURN              = IT_RETURN
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      ENDLOOP.
      WRITE : / IT_RETURN-TYPE, IT_RETURN-MESSAGE.
    ENDFORM.                    " SUB_CALL_BAPI_FOR_KO01

  • Setting SOAPFaultExcepion fault codes and fault detail

    I'm using WLS 7 SP1.
    I'm having a couple of problems with SOAPFaultExceptions in WLS 7 SP1.
    i) The generated web service front end happily wraps SOAP Fault fault string with
    "EJB exception..." and always reports the fault code as "Server"; I believe the
    latter problem is is a known issue.
    ii) In an effort to get around the above problems, I thought I would simply add
    detail entries but to be honest I can't quite figure out how to do it. I thought
    I would create a Detail container via a SOAPFactory and add a detail entry via
    Detail addEntry().
    Am I able to do this with WLS 7 SP1 as is or do I need to use additional SOAP
    libraries (pointers would be appreciated)?
    Thanks.

    In your orchestration, capture the SOAPFault (hope you're already doing this), then in the captured message if you use the XPATH as below, it will capture the ErrorCode and ErrorText from the above shown fault structure.
    sErrorCode = xpath(msgYourSOAFFault,"string(/*[local-name()='Envelope' and namespace-uri()='http://schemas.xmlsoap.org/soap/envelope/']/*[local-name()='Body' and namespace-uri()='http://schemas.xmlsoap.org/soap/envelope/']/*[local-name()='Fault' and namespace-uri()='http://schemas.xmlsoap.org/soap/envelope/']/*[local-name()='detail' and namespace-uri()='']/*[local-name()='errorDetail' and namespace-uri()='http://integration.com/ErrorDetails.xsd']/*[local-name()='Error' and namespace-uri()='http://integration.com/ErrorDetails.xsd']/*[local-name()='ErrorCode' and namespace-uri()='http://integration.com/ErrorDetails.xsd'])");
    //ErrorText
    sErrorText = xpath(msgYourSOAFFault,"string(/*[local-name()='Envelope' and namespace-uri()='http://schemas.xmlsoap.org/soap/envelope/']/*[local-name()='Body' and namespace-uri()='http://schemas.xmlsoap.org/soap/envelope/']/*[local-name()='Fault' and namespace-uri()='http://schemas.xmlsoap.org/soap/envelope/']/*[local-name()='detail' and namespace-uri()='']/*[local-name()='errorDetail' and namespace-uri()='http://integration.com/ErrorDetails.xsd']/*[local-name()='Error' and namespace-uri()='http://integration.com/ErrorDetails.xsd']/*[local-name()='ErrorCode' and namespace-uri()='http://integration.com/ErrorDetails.xsd'])");
    For adding the exception handler for SOAP-Fault, you can either refer the sample in SDK or
    reference this article. And in the exception handler, use the above XPath to capture the ErrorCode and ErrorText.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Com.sap.esi.uddi.sr.api.exceptions.SRExceptionerror code: null detail messa

    Dear All,
    When we try to publish a Web Service using Service Registry, following error appears, even though my user has the roles UDDI_Admin and SERVICE_REGISTRY_READ_WRITE
    com.sap.esi.uddi.sr.api.exceptions.SRExceptionerror code: null detail message: com.sap.esi.uddi.sr.impl.uddi.wsdl.validation.UDDIServerRemoteException: <Localization failed: ResourceBundle='com.sap.engine.services.webservices.wscm.validation.accessors.validation', ID='DISPOSITION_REPORT_UDDI_SERVER', Arguments: ['http://host:port/uddi/api/inquiry/', 'http://host:port/uddi/api/publish/', 'Fatal: A serious technical error has occurred while processing the request. ']> : Can't find bundle for base name com.sap.engine.services.webservices.wscm.validation.accessors.validation, locale en->com.sap.esi.uddi.sr.impl.uddi.wsdl.validation.UDDIServerRemoteException: <Localization failed: ResourceBundle='com.sap.engine.services.webservices.wscm.validation.accessors.validation', ID='DISPOSITION_REPORT_UDDI_SERVER', Arguments: ['http://host:port/uddi/api/inquiry/', 'http://host:port/uddi/api/publish/', 'Fatal: A serious technical error has occurred while processing the request. ']> : Can't find bundle for base name com.sap.engine.services.webservices.wscm.validation.accessors.validation, locale en->com.sap.esi.uddi.server.proxy.depl.v3.DispositionReport
    Note: We have also configured the UDDI destination as described in sap help @ http://help.sap.com/saphelp_nwpi71/helpdata/en/45/c1ea61a1194432e10000000a155369/frameset.htm
    Thanks in Advance,
    Immy.

    Hi Rajesh,
    Many thanks for your prompt reply, however this note 1267817 was already applied before posting message.
    B/W I have observed that in spite of the error the service published multiple times in the registry (perhaps each try to publish resulted a entry in SR).
    Really crazy error, any other suggestion??
    Regards, Immy.

  • While posting T.code VL02N "co object not found " what have to do

    Hi
    Friends..
    while posting T.code VL02N "co object not found " what have to do
    General Ledger related to Co object what i want todo.
    showing error " Co Object not found"
    Thank you.
    Ashok kumar

    Hi
    Assign a cost centre to the cost element of the general ledger account specified.
    Transaction KA02
    another option is got OKB9 and assign cost center to GL account at company code level.
    regards
    Srinivas

  • Error while receiving by HTTP (error code: 400, error text: ICM_HTTP_CONNECTION_FAILED

    Hi experts,
    I have a big issue in production server,
    the Queues are stuking in smq2 " command to tRFC/qRFC: execute LUW again"
    if i am reprocess or press F6 it is going manually.
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">CLIENT_RECEIVE_FAILED</SAP:Code>
      <SAP:P1>400</SAP:P1>
      <SAP:P2>ICM_HTTP_CONNECTION_FAILED</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText><html><head><title>Application Server Error</title> <style type="text/css"> body { font-family: arial, sans-serif;} </style> </head> <BODY text="#172972" link="#808080" vlink="#808080" alink="#8e236b" bgcolor=white leftmargin="0" topmargin="0" marginheight="0" marginwidth="0"> <table height="61" width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td background="http://xidist:8000/sap/public/icman/img/bluebar_tile.gif" height="30"><table> <tr> <td width=5></td> <td width=20% nowrap><font face=arial size="-1" color=white>SAP NetWeaver Application Server </font></td><td width=75% align="right" nowrap><font face=arial size="-1" color="white"><a href="http://help.sap.com/">Help </font></td><td width=5% nowrap></font></td> </tr></table> </td><td rowspan=2 width=122 height=61 valign=top><img src= "http://xidist:8000/sap/public/icman/img/theme.jpg" width=122 height=61 border=0 alt="SAP"></td> </tr><tr><td background="http://xidist:8000/sap/public/icman/img/graybar_tile.jpg" height="31">  </td></tr> </table> <br><br> <table width=800> <tr><td width=50 nowrap> </td><td> <H2><b>404 Resource not found</b></H2><br>Partner not reached<br><br><hr> <table border="0"> <tr><td>Error:</td><td>-20</td></tr> <tr><td>Version:</td><td>7000</td></tr> <tr><td>Component:</td><td>ICM</td></tr> <tr><td>Date/Time:</td><td>Wed May 14 15:50:24 2014 </td></tr> <tr><td>Module:</td><td>icxxconn.c</td></tr> <tr><td>Line:</td><td>2341</td></tr> <tr><td>Server:</td><td>xidist_GXI_00</td></tr> <tr><td>Error Tag:</td><td>{004654a1}</td></tr> <tr><td>Detail:</td><td>Connection request from (110/28816/0) to host: xidist, service: 50000 failed (NIESERV_USED) EX-T110, U28816, 001 PIAFUSER, 10.1.57.50, 15:50:24, M0, W1, , 1/0</td></tr> </table> <p></p> </td></tr></table> <table><tr><td width=50 nowrap></td> <td nowrap><FONT SIZE=-1><a href="http://www.sap.com/">&copy; 2001-2009, SAP AG</a></FONT> </td></tr></table> </body></html></SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while receiving by HTTP (error code: 400, error text: ICM_HTTP_CONNECTION_FAILED)</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Regards,
    Kiran polani

    Dear Sriram Ramani,
    in ths case some scenarios are working good. proxy to soap, idoc to soap and jdbc to proxy, proxy to jdbc all are working with out error.
    but my problem is in Soap to RFC case..
    for all RFC communication channels are working but some time it is throwing RFC_COMMUNICATION_ERROR and messages are stucks in smq2 with retry.
    when i check with retry error with in sxmb_moni log showing ICM_HTTP_CONNECTION_FAILED with error code 400.
    not for all signals for few signals for some time..
    Why it is happening i can't understand.
    in repository it is saying Repsitory object hmi failed and address already in use.
    is there any problem with loading IR objects.
    Please suggest me good suggestion for this type of issue what can do for this to resolve.
    Regards,
    Kiran Polani

  • VB ActiveX User Control fails to install on Windows 8 using IE10 with Code Download Error: (hr = 80070005) Access is denied.

    I have a VB VS2008 (.Net 2.0) ‘pure’ .NET based user control which used to be hosted in Internet Explorer.
    Because that approach is no longer possible in VS2013 (.Net 4.5) I have converted it to an VB ActiveX user control.
    This process involves digitally signing the user control DLL.
    Creating a setup project resulting in a setup.exe and MyUserControl.msi.
    Digitally signing both those components and then producing a cab file (which again is digitally signed).
    IE10 should then be able to install this using an object tag as follows
    <object id="editor" height="100%" width="100%"
     classid="clsid:EA47DB16-9272-4CB3-A800-C369A479396A" codebase="cab\MyUserControl.cab#Version=6,0,11,1" VIEWASTEXT>
    If I use the setup.exe and MyUserControl.msi directly on the client windows 8 machine before starting IE10 then the control is already installed (shows up in Programs and Features) and it works.
    If I don't do this and let IE install the control then it doesn't work.
    What I see is the IE prompt
    This website wants to install the following add-on: 'MyUserControl.cab'
    Clicking on install produces the User Account Control MsgBox
    Do you want to allow the following program to make changes to this computer
    Clicking yes doesn't install the control as expected
    The inf file that I'm using is currently
    [version]
    signature="$CHICAGO$"
    AdvancedINF=2.0
    [Add.Code]
    setup.exe=setup.exe
    MyUserControlSetup.inf=MyUserControlSetup.inf
    MyUserControlSetup.msi=MyUserControlSetup.msi
    [setup.exe]
    file=thiscab
    [MyUserControlSetup.inf]
    file=thiscab
    [MyUserControlSetup.msi]
    file=thiscab
    [Setup Hooks]
    RunSetup=RunSetup
    [Deployment]
    InstallScope=user
    [RunSetup]
    run="%EXTRACT_DIR%\setup.exe"
    I have defined the registry setting ForceCodeDownloadLog
    Examining the temporary internet files location after trying to install using IE10 I can see the following
    *** Code Download Log entry (15 Jan 2015 @ 11:49:18) ***
    Code Download Error: (hr = 80070005) Access is denied.
    ERR: Run Setup Hook: Failed Error Code:(hr) = 80070005, processing: %EXTRACT_DIR%\setup.exe
    LOG: Reporting Code Download Completion: (hr:80070005 (FAILED), CLASSID: ea47db16...,

    The problem here was the cab file.
    Using ProcessMonitor I found that the following entry was generated at the time of failure
    16:48:00.9222751            2920      IEInstal.exe         CreateFile              
    C:\Users\Jim\AppData\Local\Temp\IDC2.tmp\setup.exe             NAME NOT FOUND               Desired Access: Read Attributes, Read
    Control, Synchronize, Dis, Options: Synchronous IO Non-Alert, Non-Directory File, Disallow Exclusive, Attributes: n/a, ShareMode: None, AllocationSize: n/a
    Analysis of the contents of the cab file using PeaZip indicated that it didn't contain setup.exe which confused me for a while as the makecab /f MyUserControlSetup.ddf produced no errors.
    The MyUserControlSetup.ddf contained
    .Set DiskDirectoryTemplate=cab
    .Set CabinetNameTemplate=DocEditor.cab
    MyUserControlSetup.inf
    MyUserControlSetup.msi
    setup.exe
    Using makecab /f MyUserControlSetup.ddf /v3 I saw that the output was being written to 3 'disk' files but only one was present in explorer after it finished.
    So I guessed that the output was for floppy disks and changed MyUserControlSetup.ddf to contain
    .Set MaxDiskSize=CDROM
    .Set DiskDirectoryTemplate=cab
    .Set CabinetNameTemplate=DocEditor.cab
    MyUserControlSetup.inf
    MyUserControlSetup.msi
    setup.exe
    PeaZip now indicated that the cab file contained the 3 files I expected and using that cab in the codebase attribute installed my ActiveX control

Maybe you are looking for

  • A ski site java webcam will not load due to sercurity settings. How do I fix this?

    Here are the details from the error. CacheEntry[http://webcam02.bigskyresort.com/-wvdoc-01-/LiveApplet/LiveApplet.zip]: updateAvailable=false,lastModified=Thu Oct 14 05:38:04 MDT 2004,length=78875 Java Plug-in 10.51.2.13 Using JRE version 1.7.0_51-b1

  • Unable to INSERT PL/SQL  record with EXECUTE IMMEDIATE

    Hi All, I am selecting data from a source table and after some modification inserting into a target table. Source and target table name are available at run time. You can say only source table structure is fixed. I have crated a pl/sql table of type

  • Backup notification issue 11GR2 RAC on Windows

    Hi all I have recently set up a full and incremental backup scheduled jobs. I can see in OEM that these have a Target Type of Cluster Database. I was wanting to set up notifications against these jobs, so went into preferences > notifications > rules

  • Check who's deleted table entries without SCU3

    Hi, we need to find out which program or user deleted some table entries. The Where-used-list doesn't show anything, so it must be a dynamic call. The table has 'Log data changes' switched on, but we don't have the system logging set due to performan

  • Save own styles in workbook theme

    Hi experts, I have created own styles in my workbook which I want to use as global standard template for the whole company reporting. How can I save these styles in the theme? Even if I name my style SAPBEX* it is not shown in the list ob avalaible s