BSP Application object reference

Hi,
In My Z BSP application, I have used the standard class CL_BSP_HAP_DOCUMENT_UI application class.
In one of the button click, a HRHAP00_DOC_BC BADII is implemented. In this BADI, i wanted to get the reference of the BSP applicaiton object. I wanted to know which button of BSP is clicked to bypass some piece of code. In R/3, for the same button SY-UCOMM is filled. when the same is run from portal, this SY-UCOMM is not set. How to get the reference of the BSP object in this case.
Regards,
Lekha.

Hi,
you´ll have to create your own BADI (definition and implementation) as a Z object. Check first if behind the button that you mention it is possible to implement another BADI. It might be necessary to work also with a Z class instead of CL_BSP_HAP_DOCUMENT_UI. You´ll have no other choice, since you may not modify standard objects.
Once you have created your interface, BADI definition and BADI implementation, you can add a method for catching the event OnClick. It might be necessary to define an event in the interface behing the new BADI for catching the event and calling the method that will process the information.

Similar Messages

  • User switch scenario involving BSP application

    Hi
       I am new to BSP application design. We have requirement from a BSP  application wherein different sales force personnel need to see different segments of same data on the BSP application - owing to security requirements. We are thinking of using a default user and then user switch to specific  SAP reference user ( based on maybe their windows logon credentials within the BSP application - each reference will have a security that has authorization to see a particular segment of data for a group of sales force people.
    Is this approach ok ( of switching user from default to specific reference user and having a reference user as the representative user for each sales force group ) ?  Any thoughts/suggestions on experiences that can be shared here to architect this scenario would be highly appreciated.

    Hi,
    you can do this. Therefore you have to setup an use the nodes via sicf. User switch involves also
    a new registration with authorization. You can lok at bsp application SYSTEM for that.
    On the otherhand: build role via Profile generator: TXN PFCG and do authorization checks as you do
    it in SAPGui Dynpro Programmining. Why not. We have build big applications with many user roles
    using this approach.
    The first ones makes only sense, when you have a public area using a public user. Therefore you enter the public account in thze right sicf nodes.
    Best regards,
    Stefan

  • How to use application class reference in the controller methods of BSP

    Hi,
    I have created a bsp application and also created an application class and assigned it to the application class. In the application class, I have created attribute TEXT type string(public and instance parameter).
    In the controller let's say main.do, I am trying to give a value to to the text by adding the following code.
    application->text = 'test'.
    I am getting syntax error saying field 'text' is unknown. It is not contained in one of the specified tables nor defined by DATA statement. 
    Please can someone let me know how to use the application class in the coding with an example. I couldn't find how exactly this has to be reference. Please help.
    Best regards
    Siva

    Hi,
    if you are having main controller and sub-controller then you may need to use below coding to use application class reference.
    *Data declaration
      DATA:  obj_cntrl        TYPE REF TO cl_bsp_controller2,
             obj_sub_cntrl   TYPE REF TO z_cl_sub_cntl,
             application TYPE REF TO z_cl_application.
    *Get the controller
      CALL METHOD obj_main_cntrl->get_controller   "obj_main_cntrl is the object of main controller
        EXPORTING
          controller_id       = 'SUB'   "Controller ID
        RECEIVING
          controller_instance = obj_cntrl  .
      obj_sub_cntrl ?= obj_cntrl  .
      application ?= obj_sub_cntrl ->application.
    or simply use below code in your controller method.
      application ?= me->application.
    Thnaks,
    Chandra

  • How To Upload a Mime Object into BSP Application??

    Hi all,
    I am new to Developing BSP Applications.
    I have a requirement to design a BSP Page and in the header part of the page, i have to display a JPG file from my local PC.
    To achieve this, I did the following:
    1) Upload/Import  the MIME Object(JPG File) into MIME Repository and into the relevant BSP Application.
    2) After the import, i can see the JPG file that I uploaded in the MIME Repository under my BSP Applciation.
    3) In my BSP Page, I tried to use the uploaded JPG file using the following Source Code, as was explained in the Documentation.
    <IMG SRC="myfile.jpg">
    I did not not do any basic mistakes and went according to documentation in using the above mentioned SRC command to upload the Image from the MIME Repository onto the BSP Page.
    But when I run my BSP Application in TEST mode, the Image never shows up; I tried all different way to get this image on the BSP Page and i could not.
    I am currently on ECC 6 Version. Please guide me.
    Thanks

    all that you have to do is reference the image in your page.
    <htmlb:image id            = "TOG"
                       tooltip       = "tooltip text"
                       src           = "picturename.jpg"/>
    2) After the import, i can see the JPG file that I uploaded in the MIME Repository under my BSP Applciation.
    Can you see this in SE80->applicationname->mime objects folder

  • Access via 'NULL' object reference not possible Error in WD application execution

    Experts,
    I am getting following error for web dynpro application intermittently, please find following error log:
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_SALV_WD_C_TABLE_V_TABLE====CP" had to be
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
         caught in
        procedure "IF_SALV_WD_COMP_TABLE_DATA_MAP~MAP_TO_RESULT_CHANGES" "(METHOD)",
         nor was it propagated by a RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        You attempted to use a 'NULL' object reference (points to 'nothing')
        access a component.
        An object reference must point to an object (an instance of a class)
        before it can be used to access components.
        Either the reference was never set or it was set to 'NULL' using the
        CLEAR statement.
    Information on where terminated
        Termination occurred in the ABAP program "CL_SALV_WD_C_TABLE_V_TABLE====CP" -
         in "IF_SALV_WD_COMP_TABLE_DATA_MAP~MAP_TO_RESULT_CHANGES".
        The main program was "SAPMHTTP ".
        In the source code you have the termination point in line 168
        of the (Include) program "CL_SALV_WD_C_TABLE_V_TABLE====CM080".
        The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in
        procedure "IF_SALV_WD_COMP_TABLE_DATA_MAP~MAP_TO_RESULT_CHANGES" "(METHOD)",
         but it was neither handled locally nor declared
        in the RAISING clause of its signature.
        The procedure is in program "CL_SALV_WD_C_TABLE_V_TABLE====CP "; its source
         code begins in line
        1 of the (Include program "CL_SALV_WD_C_TABLE_V_TABLE====CM080 ".
    Line  SourceCde
      138
      139         "Set new value to result data
      140         if ls_changelist-r_old_value is not bound.
      141           "insert new table line
      142           lr_component->r_result_data->if_salv_bs_r_data_table_edit~insert_table_line(
      143             index = l_result_data_index ).
      144         else.
      145           "Modify existing table line
      146           lr_component->r_result_data->if_salv_bs_r_data_table_edit~set_table_line(
      147             index     = l_result_data_index
      148             data_line = <ls_table> ).
      149         endif.
      150       else.
      151         "A single attribute value has to be updated
      152
      153         "Get context element from output data node
      154         data lr_element type ref to if_wd_context_element.
      155
      156         "Retrieve the element to update from the data output node
      157         if l_mass_edit_row_inserted = abap_true.
      158           "The Element only exists virtually due to the mass edit mode.
      159           lr_element = lr_node->get_element( l_mass_edit_virtual_index ).
      160           l_mass_edit_row_inserted = abap_false.
      161         else.
      162           "The element already exists in the data output node.
      163           lr_element = lr_node->get_element( ls_changelist-index ).
      164         endif.
      165
      166         "Determine if the cell to be updated is set to null (Nullable)
      167         data l_is_null type abap_bool.
    >>>>>         l_is_null = lr_element->is_attribute_null( ls_changelist-attribute ).
      169
      170         "Update result data with change
      171         if <l_value> is assigned.
      172           "update ResultData with cell value
      173           lr_component->r_result_data->if_salv_bs_r_data_table_edit~set_table_cell(
      174             index     = l_result_data_index
      175             attribute = ls_changelist-attribute
      176             data_cell = <l_value>
      177             is_null   = l_is_null ).
      178         else.
      179           "Update result data without any updated cell value
      180           lr_component->r_result_data->if_salv_bs_r_data_table_edit~set_table_cell(
      181             index     = l_result_data_index
      182             attribute = ls_changelist-attribute
      183             is_null   = l_is_null ).
      184         endif.
    Please help us on what could be the reason behind this?
    Thanks,
    Madan

    Hi Madan,
    It seems that, there are user settings saved and the attribute in the layout settings is not available with current changes.
    try to delete the user settings if any.
    Please find my answer in the below link
    Reset user settings in WDA
    Hope this helps you.
    Regards,
    Rama

  • HFM EPMA application deployment aborted with error Object reference not set

    HFM EPMA application deployment aborted with error Object reference not set to an instance of an object when trying to validate/deploy any HFM application in EPMA. This has started happending after we have deleted a Dimension in one of HFM applications. The deleted dimension is a shared dimension.
    We are facing this issue in a distributed environment with version 11.1.2.1. This applications are built here newly.
    Following is the error log entry
    16] ERROR Object reference not set to an instance of an object.
    at Hyperion.DimensionServer.CompareCriteria.<>c__DisplayClass5.<GetMemberClassProperties>b__4(Dimension dim)
    at Hyperion.DimensionServer.Library.IterateDimensions(Action`1 action)
    at Hyperion.DimensionServer.CompareCriteria.GetMemberClassProperties(ApplicationClass appClass, DimensionClass dimClass, MemberClass mbrClass)
    at Hyperion.DimensionServer.CompareCriteria.GetCommonMemberClassProperties(RelationshipMember fromMember, RelationshipMember toMember, ApplicationClass fromAppClass, ApplicationClass toAppClass)
    at Hyperion.DimensionServer.CompareMemberEvaluator.CompareProperties(RelationshipMember fromMember, RelationshipMember toMember, ApplicationClass fromAppClass, ApplicationClass toAppClass, List`1 propertyDifferences)
    at Hyperion.DimensionServer.CompareMemberEvaluator.Compare(RelationshipMember sourceMember, Application sourceApp, Application targetApp, Boolean firstPass, Int32 level, Boolean continueCheckingAfterDifferences)
    at Hyperion.DimensionServer.CompareMemberEvaluator.Compare(List`1 sourceTopMembers, List`1 targetTopMembers, Application sourceApp, Application targetApp, Boolean firstPass, Boolean continueCheckingAfterDifferences)
    at Hyperion.DimensionServer.CompareMemberEvaluator.Execute(List`1 fromTopMembers, List`1 toTopMembers, Dimension fromDimension, Dimension toDimension, Boolean continueCheckingAfterDifferences)
    at Hyperion.DimensionServer.CompareDimensionEvaluator.Execute(Dimension fromDimension, Dimension toDimension, ApplicationClass fromAppClass, ApplicationClass toAppClass)
    at Hyperion.DimensionServer.CompareEngine.CompareDimensions(Dimension fromDimension, Dimension toDimension)
    at Hyperion.DimensionServer.CompareEngine.StartCompare()
    at Hyperion.DimensionServer.Validations.HFMApplicationValidation.CheckStaticDimension(Library snapShot, Dimension dim, Application oldApp, String[] skipProperties)
    at Hyperion.DimensionServer.Validations.HFMApplicationValidation.CheckStaticDimensions(Application baselineApp)
    at Hyperion.DimensionServer.Validations.ApplicationValidation.ValidateAgainstBaseline()
    at Hyperion.DimensionServer.Validations.HFMApplicationValidation.InternalValidate()
    at Hyperion.DimensionServer.Validations.ApplicationValidation.Validate()
    at Hyperion.DimensionServer.Validations.ApplicationValidation.<ValidateAsync>b__0()System.NullReferenceException: Object reference not set to an instance of an object.
    at Hyperion.DimensionServer.CompareCriteria.<>c__DisplayClass5.<GetMemberClassProperties>b__4(Dimension dim)
    at Hyperion.DimensionServer.Library.IterateDimensions(Action`1 action)
    at Hyperion.DimensionServer.CompareCriteria.GetMemberClassProperties(ApplicationClass appClass, DimensionClass dimClass, MemberClass mbrClass)
    at Hyperion.DimensionServer.CompareCriteria.GetCommonMemberClassProperties(RelationshipMember fromMember, RelationshipMember toMember, ApplicationClass fromAppClass, ApplicationClass toAppClass)
    at Hyperion.DimensionServer.CompareMemberEvaluator.CompareProperties(RelationshipMember fromMember, RelationshipMember toMember, ApplicationClass fromAppClass, ApplicationClass toAppClass, List`1 propertyDifferences)
    at Hyperion.DimensionServer.CompareMemberEvaluator.Compare(RelationshipMember sourceMember, Application sourceApp, Application targetApp, Boolean firstPass, Int32 level, Boolean continueCheckingAfterDifferences)
    at Hyperion.DimensionServer.CompareMemberEvaluator.Compare(List`1 sourceTopMembers, List`1 targetTopMembers, Application sourceApp, Application targetApp, Boolean firstPass, Boolean continueCheckingAfterDifferences)
    at Hyperion.DimensionServer.CompareMemberEvaluator.Execute(List`1 fromTopMembers, List`1 toTopMembers, Dimension fromDimension, Dimension toDimension, Boolean continueCheckingAfterDifferences)
    at Hyperion.DimensionServer.CompareDimensionEvalua
    There was a bug in earlier releases for deleting dimensions with children, making the children orphans.
    Heard from release notes that it has been fixed, but we are seeing this issue in 11.1.2.1 again.
    Please help us out in resolving this error.

    Hi,
    I always ask this first, have you installed all the planning and epma patches as there have been many issues addressed in 9.3.1
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Event ID 1502 and 6398 : Translation Service Application is failing to execute. Object reference not set to an instance of an object.

    hi,
    We have deployed Sharepoint 2013 in hosting mode. And i followed this
    guide. And i have 1 web server, 1 app server and 1  DB server. My Application server is logging 2 critical event after every 15 min.
    Event ID: 1502, Task Category: Timer Job, Source: SharePoint Translation Services
    "Timer job '735da5fd-a74a-46b8-9a75-70e85d125eb2' for service application 'Translation Service Application' is failing to execute. More information is included below.
    Object reference not set to an instance of an object. "
    Followed by this one one more critical event,
    Event ID: 6398, Task Category: Timer , Source: SharePoint Foundation
    "The Execute method of job definition Microsoft.Office.TranslationServices.QueueJob (ID 735da5fd-a74a-46b8-9a75-70e85d125eb2) threw an exception. More information is included below.
    Object reference not set to an instance of an object."
    I tried to search everywhere, but no solution. Because of this two critical events AppFabricCaching service is also crashing.
    Any suggestion how i can fix this?
    SaM

    Hi  SaM,
    According to your error message, it says that the Timer job '735da5fd-a74a-46b8-9a75-70e85d125eb2' for service application 'Translation Service Application' fail to create due to some referred object cannot
    be found. For this issue, it can be caused by missing assembly .
    Could you please provide detail error message of ULS log  to determine the exact cause of the error?
    For SharePoint 2013, by default, ULS log is at      
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS
    Here is a blog you can have a look:
    http://powerpivotgeek.com/2010/10/04/bug-cannot-install-powerpivot-if-a-sql-server-shared-folder-has-been-specified-in-a-previous-installation-to-other-than-the-default-folder/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to put bsp application mime object path in WAD 7.0?

    hi all.
    I'm already know 'bwmimerep:///sap/bw/mime/Customer' will be changed to /sap/bw/customer/  mime repository path when it's published in WAD7.0.
    but is there any way get mime path custom BSP Application?
    for example If I made test.jpg in 'ZBW' bsp application
    I should use full url   'http://domain:8000/sap/bc/bsp/sap/zbw/test.jpg'  instead of relative url '/sap/bc/bsp/sap/zbw/test.jpg' if I include url in WAD7.0
    is there any idea put relative url in WAD 7.0 certianly I don't want include full url because develop and product server domain is different.
    thanks.

    it looks like bwmimerep:/// prefix is the only one available which points to SAP->BW under mime repository.
    the standard help states (http://help.sap.com/saphelp_ppm400/helpdata/en/44/5001d197c01193e10000000a155369/frameset.htm) to use custom images in WAD
    "You can store your MIME objects anywhere in the MIME Repository under SAP->BW"
    May be we need a mechanism to create bcmimerep, publicmimerep, etc.
    Regards
    Raja

  • Failing to Delete/Remove Project Server Service Application, giving error "Object reference not set to an instance of an object"

    I have installed Project Server 2013 on SharePoint 2013, and installed the first PWA which worked. But I needed to change some configurations and so I deleted the PWA instances, but now I cannot delete the Project Server Service Application. Every attempt
    to delete the Service Application it gives the error above, namely:
    Sorry, something went wrong
    Object reference not set to an instance of an object.
    Technical Details
    Troubleshoot issues with Microsoft SharePoint Foundation.
    Correlation ID: ecaeaf9c-9fec-3049-ba23-d9a18337b9e2
    Date and Time: 8/18/2014 12:55:31 PM
    I'd urgently appreciate help.

    Thanks Paul for the reply. Here's the error, and the logs below covering the time the error occurred.
    I've tried to extract a section of the log file below:
    ==========================================================                                                        
    08/18/2014 19:20:19.07 w3wp.exe (0x542C)                      
    0x6DF4 SharePoint Foundation                 DistributedCache                             
    00000    Unexpected       SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts are present or running in the farm.
    08/18/2014 19:20:19.07 w3wp.exe (0x542C)                      
    0x6DF4 SharePoint Foundation                 DistributedCache                             
    ah24w   Unexpected       Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedLogonTokenCache' - Exception 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory
    - No cache hosts are present or running in the farm.     at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()'.     
    08/18/2014 19:20:19.07 w3wp.exe (0x542C)                      
    0x6DF4 SharePoint Foundation                 DistributedCache                             
    air4g      Monitorable       Token Cache: Failed to initialize SPDistributedSecurityTokenCache  Exception: 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory
    - No cache hosts are present or running in the farm.     at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()     at Microsoft.SharePoint.DistributedCaching.SPDistributedCache..ctor(String
    name, TimeSpan timeToLive, SPDistributedCacheContainerType containerType, Boolean encryptData)     at Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenCache..ctor(String name, TimeSpan timeToLive, SPDistributedCacheContainerType
    containerType, Boolean encrptyData, TimeSpan minimumTokenExpirationWindow)     at Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenC...   
    08/18/2014 19:20:19.07*               w3wp.exe (0x542C)                      
    0x6DF4 SharePoint Foundation                         DistributedCache             
                   air4g      Monitorable       ...acheInitializer.Init(Object state)'.        
    08/18/2014 19:20:19.07 w3wp.exe (0x7240)                      
    0x7370  SharePoint Foundation                 General                      
                    af4yd     High       [Forced due to logging gap, cached @ 08/18/2014 19:20:18.99, Original Level: Verbose] TenantAppEtag
    record requested but there is no sitesubscription or tenantId for site {0} so we will use the WebApp Id for the cache.               f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
    08/18/2014 19:20:19.07 w3wp.exe (0x7240)                      
    0x7370  SharePoint Foundation                 Asp Runtime                                  
    aj1kp     High       [Forced due to logging gap, Original Level: Verbose] SPRequestModule.PreSendRequestHeaders     f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
    08/18/2014 19:20:19.10 w3wp.exe (0x7240)                      
    0x7370  Project Server                   Unified Logging Service                      
    b8fx       High       ULS Init Completed (w3wp.exe, Microsoft.Office.Project.Server.Native.dll)        f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
    08/18/2014 19:20:19.15 w3wp.exe (0x7240)                      
    0x7370                                  0x6FB7007                    
          6t8h       High                    [Forced due to logging gap, cached @ 08/18/2014 19:20:19.07, Original
    Level: Verbose] {0}            f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
    08/18/2014 19:20:19.15 w3wp.exe (0x7240)                      
    0x7370  Project Server                   Provisioning                      
    9or8                High       [Forced due to logging gap, Original Level: Verbose] Unprovisioning service app {0}        
    f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
    08/18/2014 19:20:19.16 w3wp.exe (0x7240)                       
    0x7370  Project Server                   Provisioning                      
    8ig5                High       Unregistering project psi shared application timer job.   f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
    08/18/2014 19:20:19.21 w3wp.exe (0x7240)                      
    0x7370  SharePoint Foundation                 General                      
                    8nca       Medium               Application error when access /_admin/ServiceApplicationDelete.aspx,
    Error=Object reference not set to an instance of an object.   at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.get_ServiceAppTimerJob()     at Microsoft.Office.Project.Server.Administration.ProjectPSISharedApplicationTimerJob.Unregister(PsiServiceApplication
    psi)     at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.Unprovision(Boolean deleteData)     at Microsoft.SharePoint.ApplicationPages.ServiceApplicationDeletePage.OkButton_Click(Object sender,
    EventArgs e)     at System.EventHandler.Invoke(Object sender, EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyn...             f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
    08/18/2014 19:20:19.21*               w3wp.exe (0x7240)                      
    0x7370  SharePoint Foundation                 General                      
                    8nca       Medium               ...cPoint, Boolean includeStagesAfterAsyncPoint)           
    f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
    08/18/2014 19:20:19.23 w3wp.exe (0x7240)                      
    0x7370  SharePoint Foundation                 Runtime                                      
    tkau       Unexpected       System.NullReferenceException: Object reference not set to an instance of an object.    at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.get_ServiceAppTimerJob()    
    at Microsoft.Office.Project.Server.Administration.ProjectPSISharedApplicationTimerJob.Unregister(PsiServiceApplication psi)     at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.Unprovision(Boolean deleteData)    
    at Microsoft.SharePoint.ApplicationPages.ServiceApplicationDeletePage.OkButton_Click(Object sender, EventArgs e)     at System.EventHandler.Invoke(Object sender, EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String
    eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoin... f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
    08/18/2014 19:20:19.23*               w3wp.exe (0x7240)                      
    0x7370  SharePoint Foundation                 Runtime                      
                    tkau       Unexpected       ...t)         f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
    08/18/2014 19:20:19.24 w3wp.exe (0x7240)                      
    0x7370  SharePoint Foundation                 General                      
                    ajlz0       High       Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception
    of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.get_ServiceAppTimerJob()    
    at Microsoft.Office.Project.Server.Administration.ProjectPSISharedApplicationTimerJob.Unregister(PsiServiceApplication psi)     at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.Unprovision(Boolean deleteData)    
    at Microsoft.SharePoint.ApplicationPages.ServiceApplicationDeletePage.OkButton_Click(Object sender, EventArgs e)     at System.EventHandler.Invoke(Object sender, EventArgs e)     at System.Web.UI.WebControls.Button.Rais...               
    f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
    08/18/2014 19:20:19.24*               w3wp.exe (0x7240)                      
    0x7370  SharePoint Foundation                 General                      
                    ajlz0       High       ...ePostBackEvent(String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)    
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)   f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
    08/18/2014 19:20:19.32 w3wp.exe (0x14A4)                      
    0x6508  SharePoint Foundation                 DistributedCache                             
    00000    Unexpected       SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts are present or running in the farm. 67c4af9c-afed-3049-ba23-d538b7dde463
    08/18/2014 19:20:19.32 w3wp.exe (0x14A4)                      
    0x6508  SharePoint Foundation                 DistributedCache                             
    ah24w   Unexpected       Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedLogonTokenCache' - Exception 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory
    - No cache hosts are present or running in the farm.     at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()'.               
    67c4af9c-afed-3049-ba23-d538b7dde463
    08/18/2014 19:20:19.32 w3wp.exe (0x14A4)                      
    0x6508  SharePoint Foundation                 DistributedCache                             
    air4g      Monitorable       Token Cache: Failed to initialize SPDistributedSecurityTokenCache  Exception: 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory
    - No cache hosts are present or running in the farm.     at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()     at Microsoft.SharePoint.DistributedCaching.SPDistributedCache..ctor(String
    name, TimeSpan timeToLive, SPDistributedCacheContainerType containerType, Boolean encryptData)     at Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenCache..ctor(String name, TimeSpan timeToLive, SPDistributedCacheContainerType
    containerType, Boolean encrptyData, TimeSpan minimumTokenExpirationWindow)     at Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenC...               
    67c4af9c-afed-3049-ba23-d538b7dde463
    08/18/2014 19:20:19.32*               w3wp.exe (0x14A4)                      
    0x6508  SharePoint Foundation                         DistributedCache             
                   air4g      Monitorable       ...acheInitializer.Init(Object state)'.        
    67c4af9c-afed-3049-ba23-d538b7dde463
    08/18/2014 19:20:19.38 w3wp.exe (0x7240)                      
    0x7370  SharePoint Foundation                 Upgrade                      
                    aiaih       High       [Forced due to logging gap, Original Level: Verbose] desiredVersion: {0}               
    f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
    08/18/2014 19:20:19.41 w3wp.exe (0x7240)                      
    0x7370  SharePoint Foundation                 General                      
                    aat87     Monitorable                      f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
    08/18/2014 19:20:19.43 w3wp.exe (0x7240)                      
    0x7370  SharePoint Foundation                 DistributedCache                             
    00000    Unexpected       SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts are present or running in the farm. f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
    08/18/2014 19:20:19.43 w3wp.exe (0x7240)                      
    0x7370  SharePoint Foundation                 DistributedCache                             
    ah24w   Unexpected       Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedViewStateCache' - Exception 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory
    - No cache hosts are present or running in the farm.     at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()'.               
    f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
    08/18/2014 19:20:19.43 w3wp.exe (0x7240)                      
    0x7370  SharePoint Foundation                 General                      
                    ajb4s     Monitorable       ViewStateLog: Failed to write to the velocity cache:
    http://sharepoint:48488/_admin/ServiceApplicationDelete.aspx?id=24024e6bfd8f486ea7ab0b68658ce165&IsDlg=1               
    f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
    08/18/2014 19:20:19.46 w3wp.exe (0x7240)                      
    0x7370  SharePoint Foundation                 Monitoring                                   
    b4ly        Medium               Leaving Monitored Scope (Request (POST:http://sharepoint:48488/_admin/ServiceApplicationDelete.aspx?id=24024e6bfd8f486ea7ab0b68658ce165&IsDlg=1)).
    Execution Time=550.415729455012 f1c4af9c-7f7e-3049-ba23-ddc2aa2f9d7b
    08/18/2014 19:20:20.08 w3wp.exe (0x542C)                      
    0x6EC4  SharePoint Foundation                 DistributedCache                             
    00000    Unexpected       SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts are present or running in the farm.
    08/18/2014 19:20:20.08 w3wp.exe (0x542C)                      
    0x6EC4  SharePoint Foundation                 DistributedCache                             
    ah24w   Unexpected       Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedLogonTokenCache' - Exception 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory
    - No cache hosts are present or running in the farm.     at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()'.     
    08/18/2014 19:20:20.08 w3wp.exe (0x542C)                      
    0x6EC4  SharePoint Foundation                 DistributedCache                             
    air4g      Monitorable       Token Cache: Failed to initialize SPDistributedSecurityTokenCache  Exception: 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory
    - No cache hosts are present or running in the farm.     at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()     at Microsoft.SharePoint.DistributedCaching.SPDistributedCache..ctor(String
    name, TimeSpan timeToLive, SPDistributedCacheContainerType containerType, Boolean encryptData)     at Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenCache..ctor(String name, TimeSpan timeToLive, SPDistributedCacheContainerType
    containerType, Boolean encrptyData, TimeSpan minimumTokenExpirationWindow)     at Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenC...   
    08/18/2014 19:20:20.08*               w3wp.exe (0x542C)                      
    0x6EC4  SharePoint Foundation                         DistributedCache             
                   air4g      Monitorable       ...acheInitializer.Init(Object state)'.        
    08/18/2014 19:20:20.30 OWSTIMER.EXE (0x09C4)                             
    0x09F8  SharePoint Foundation                 Monitoring                                   
    nasq      Medium               Entering monitored scope (Timer Job SchedulingUnpublish). Parent No acba9844-723f-4477-901c-adfdcae98e4e
    08/18/2014 19:20:20.30 OWSTIMER.EXE (0x09C4)                             
    0x09F8  SharePoint Foundation                 Logging Correlation Data               xmnv    
    Medium               Name=Timer Job SchedulingUnpublish  f1c4af9c-ffd4-3049-ba23-d4fe1cc1d1d7
    08/18/2014 19:20:20.31 OWSTIMER.EXE (0x09C4)                             
    0x0A10 SharePoint Foundation                 Monitoring                                   
    nasq      Medium               Entering monitored scope (Timer Job SchedulingUnpublish). Parent No 5dbf5387-ba14-4980-bc61-5ba5490870fa
    ==============================================
    Thanks for the attention.

  • Calling BSP Application from Business Object?

    Hi,
    Can any one tried to call BSP Application from Business Object for showing in the Portal.
    I have the following Scenario:
    1. BSP Page: User will input the Date and Submit to store in the Database. and in this page the Workflow will be truggered and a Work item will be sent to the Next Level User.
    2. When he executes the Work Item it has to trigger the BSP Application and has to show in the Enterprise Portal.
    All this has to happen in the Enterprise Portal.
    If any one knows how to triggere from business object, please let me know.
    Thanks & Regards
    Sumanth

    Hi Vijay,
    Thanks for the information. Its long back i was working on this, but not successful,
    Now the similar requirement i need to develope in R/3.
    I checked the mentioned class in R/3 4.7, This class is not available. I hope this is only in CRM because of PC-UI.
    Any Suggesions how can i achieve this execution of BSP.
    In one of the document i saw the Business Object BUS1006 as an example but i could not locate the way to reutilize the similar way.
    Thanks & Regards
    Sumanth

  • BSP Exception: Missing reference when converting data object ZZxx

    Hi there,
    I have created these new Z fields and tried to include them in a field group. These fields did appear, but they are highlighted with a red box, with the above text in the tool tip.
    Does anyone know what it means??
    Thanks

    I believe they were generated by EEWB - or could've been added manually to the CRMD_CUSTOMER_H. This error only occurs on the Currency fields...something to do with reference field but I just can't find what is wrong with this. I searched up SAP notes and found the following the closest match: -
    <b>Symptom</b>
    when trying to scroll down in the result list in the F4 for the Ibase the error error "BSP exception : Missing reference when converting data object amount.  Correct the entry" occurs.
    <b>Other terms</b>
    CRMT_BSP_IBASE_TREE_NF, data object amount
    <b>Reason and Prerequisites</b>
    This happens due to inconsistancy in structure
    <b>Solution</b>
    Please follow the below steps manually.
    1. Go to tx:SE11
    2. Select data type "CRMT_BSP_IBASE_TREE_NF" in change mode
    3. Select component AMOUNT in 'Components' tab
    4. Go to "Currency/quantity fields" tab
    5. Replace 'Reference table' entry from 'CRMT_BSP_IBASE_DETAIL'
       to 'CRMT_BSP_IBASE_TREE_NF'
    6. Save and activate

  • Application Object Library Reference Manual in EBS 11.5.9 Docs

    Hi,
    I have bumped to a reference of the book "Application Object Library Reference Manual". Since this reference is about an old EBS version(10.6) and i want the equivalent of this for the EBS 11.5.9. , can you please write which one is this from url:
    http://download.oracle.com/docs/cd/B12190_11/current/html/docset.html
    Many thanks,
    Sim

    Hi,
    Actually , i have read on some docs located at :
    http://www.bryanthompsononline.com/oracle/2008/05/06/download-oracle-aim-applications-implementation-methodology-software/
    about the above reffered Oracle EBS document. I have searched on the typical Oracle EBS 11.5.9. doc , but i've not found this exactly doc (with this title). So , i have asked if anybody could point me to the relative doc on EBS 11.5.9. docs set......
    Many thanks for the link anyway.....
    Greetings,
    Sim

  • Iam Running an Application it is running and working fine in Firefox where as Chrome pushing an error stating "Object reference not set to an instance of an object."

    Iam Running an Application it is running and working fine in Firefox where as Chrome pushing an error stating "Object reference not set to an instance of an object."

    This forum is for discussing technical documentations on Microsoft's web site.
    If you need help with an app, contact its author.
    Visual C++ MVP

  • BSP_ALL authorization object for BSP Application

    We develop a BSP Application and want to give the correct authorization object in the user roles.
    After looking on help.sap.com We see, we must add the BSP_ALL object and give the name of the application.
    I add the object in the role but it not visible in the role. In the profile I see the object but it's not possible to me to change the value ' '.
    Why can I see this object in the role ? and how can I adapt the value of this object ?

    The class of this Object CRM is not defined on the table TOBCT

  • Mime objects in BSP application

    Hi all,
    We have a BSP application with mime objects (images). We have assigned a default user to the application node in SICF. But when we test the BSP page in the browser, it  still prompts for the userid/password, for the images.
    How to set the user for the mime objects so that it doesn't prompt for any userid/password.
    HI,
    we noticed that one of the images was refereing to another BSP application , hence was prompting for the password.So we uploaded that image in the same application and now it works fine.
    Thanks anyways..
    Thanks & Regards,
    Ravikiran.C
    Message was edited by: Ravikiran C
    Message was edited by: Ravikiran C

    where are mime objects stored? within your application?
    if yes and if you have assigned default user and password in application node it should not be prompting for user id password.
    is this prompt only happenning for mimes or for the application.
    Regards
    Raja

Maybe you are looking for

  • HP Remote Print Drivers

    Hello, Just to give you some background, I have a HP PhotoSmart 6180 multifunction inkjet machine.  The printer has been wirelessly attached to my home network for about two years now (Linksys WRT54G).  All print functions work (printing to photo tra

  • Question on Prefix Indexing preference

    Hi, I tried using the prefix index and substring index preferences in index creation and the results are not produced as expected. Here in my case, The table has the below records, id txt 1 coca cola 2 pepsi coca cola The preference used is begin ctx

  • Mail Recovered Messages

    Recently attempted to send an email with attachment in Mail. It was rejected as too large. Now it appears in Recovered Messages in "On My Mac", every time I try to delete it a duplicate appears in Recovered Message. How can I get rid of this?

  • Illustrator: won't open files

    No, this isn't the usual file format problem. I have an issue with CS6 where sometimes the program gets into a "locked state" where going into File > Open, Open Recent >, double-clicking, dragging into the app menu etc etc results in no action. No er

  • Calendar Server Virtual Domains Free Busy - Access Denied

    Version 6.3-11.01 I cannot get free busy to work with any domains but the default domain for the life of me. The LDAP searches are going through and appear to be returning the correct values however on virtual domain calendars the following is return