OO python - access instance in which object was created?

I'm playing with python and qt a bit. Just for fun. To clarify what i meant with the title of this thread, i'll elaborate on what i'm doing.
I've imported one "mainwindow" widget, and one "regular" widget constructed in qt designer.
The idea is to have a listview in the "mainwidget", and use the regular "widget" as a modal dialog to modify the columns in the "mainwidget".
To do this, this is how it is constructed (roughly);
class applicationForm(QApplication):
this is where i create self.form (from appForm), show it and exec it.
class appForm(mainwindow):
this is where the action occurrs. I create the instance self.dialog (from appDialog) and exec it, and i also reference the listview (self.dialog.listview) since i can't access it from within self.dialog otherwise right? This is a bit clunky since i would like to have access to the whole self.form instance instead. I could reference it from the former class (and reference that to self.dialog), but isn't there a better way to do this?
class appDialog(regularwindow):
This is the modal dialog. Another strange behaviour is that i can't access the (self.dialog.listview i referenced) with self.listview from the __init__ of this clas. So i have to modify the widgets (which need input from the self.listview) to be of any use, _before_ i exec this dialog window in the self.form instance. I can however access self.listview from the methods i've tied with signals from the GUI.
Ideas, suggestions? Am I attacking this little program of mine from the wrong angle? What about the layout?
btw, if my questions are a bit strange - it's because i'm an OOP noob, and i've not used python very much before.

OK, let me rephrase this;
lets say i use wxPython.
3. I have one instance of a class derived from wx.Dialog (modal)
2. in the instance of a class derived from wx.Frame
1. in an instance of a class derived from wx.App
i would like to modify attributes in instance nr 2, but I don't know how to access them from the class of nr 3 other than importing like this;
class dialog(wx.Dialog):
<init>
self.dothis() ### this is only being run by an event handler... no need to illustrate that
class frame(wx.Frame):
<init>
def dothis():
pass
newdialog = dialog(self, variables)
newdialog.dothis = self.dothis ### this is the ugly import....
class app(wx.App):
<init and stuff>
mainframe = frame
mainframe.show
application = app(variables)
application.run
This is not _actual_ code as you see, but just a replica of what i'm trying to do.
Last edited by pelle.k (2007-06-07 23:48:31)

Similar Messages

  • Date that BW Object was created on

    Forum Members,
    I was wondering if there are any tables located in BW that would hold a "created on date" for certain BW Objects. This would help answer questions such as "What Infocubes were created in the past year?".
    This information doesn't appear to be in the MetaData Repository, nor does it seem to appear for use in the Queries based off of the Statistical Technical Content cubes. I realize that there are ways to see the last changed on date, but what about when the object was initially created?

    That is what I figured. If anybody knows of any third party packages that can perform this please let me know.
    In the mean time I wrote the entire project using a different language. So much for my JUnit tests.
    It really is quite frustrating that a so called powerful high level language can not perform such a simple task as this. Just so that it can operate on multiple operating systems.
    java has changed alot since it was first created, so why should it have anything to do with that. Ex Generics was added in 1.5
    I guess Java is not all it is hyped out to be. Just look how many retail applications are written with Java compared to others
    .

  • How to delete a folder in windows , which i was created through SAP

    Hi ,
    First I was created one folder in windows and through SAP application I downloaded some file into that. After closing all programs(Even SAP LOG off ) also.  Now i want to delete that folder.
    While deleting it showing error as some other program file or close that program.
    That file only possible to delete throgh again F$_FileName FM.
    plz give solution to delete that file from windows itself.

    hi,
    Try to restart your pc then delete the file you want to delete.
    I hope it helps.

  • How to determine which object was change within a snapshot

    Dear All,
    We are using OWB 9.2.0.4 with Oracle database 9.2.0.7.
    I have taken a full snapshot of an OWB project that includes several modules(cascade). I one of the modules I have created a new table, and added it to an existing mapping in that module.
    When I compare the module with the snapshot I took before, I get that all modules have changed and all thier mappings. When drilling down I can see that for the objects I did not change only an internal property was changed.
    How can I determine what has changed? Do I have to drill down on all objects?
    Regards
    Galit

    Hi,
    We are using 10.2.0.4.36 for the client and 10.2.0.4.0 enterprise edition for the database.(info from the session props window)
    rgrds Mike

  • If I purchase an entire season for a show, I should get it even if more episodes are added later right? Plus, how do I access an old account without access to the email it was created with?

    Issue 1: I had purchased the entire season of Off Limits, and downloaded the available episodes when purchased, yet the season wasn't over. Since I purchased the entire season, I should be able to get the episodes added since then instead of having to buy them seperately like iTunes is asking me to do correct? Issue 2: Also, I had an old apple id on a computer that crashed and never got the chance to change it over to the new email even if the purchase was transferred via my iPod I was using at the time, and is on the pc i'm using now. Yet when I go to play this file, it asks for the password for the old email account (which I no longer have access to) and this has been nearly 7 years ago so I forgot what the password is to that acct. What do I do to rectify this and play this particular purchase?

    Settings/General/Restrictions - Require Password=Immediately

  • Error Occured when invoke process in which (process) was created in ES4 Work Bench

    Scenario
    While started to invoke new process which contain Generated output services to sent tot printers
    Which i have passed Form Name (with extension xdp),Content Root(Resource folder Path), Output Path( list files),PrinterID (set PrinterInfo) and xmlDataFile(xml file for binding)
    Listed Error Log Information:
    ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException invocation error.
    com.adobe.liveCyle.output

    Please test your form using OutputIVS : Output IVS – A Useful Output ES Development Tool
    Make sure Output Service is rendering the form correctly. If possible, please share complete logs .
    -Wasil

  • Topink 9.0.4 not generating an update statement, if the object was changed.

    I have 2 tables T_Objects and T_Categories.
    T_Objects stores images as a BLOB field. T_Categories stores the details of an article category and references the pictogram in T_Objects via a FK.
    I have 2 webpages. One which is used to load the pictogram in T_Objects and the other which is used to maintain details of the category in T_Categories. As soon as the image is uploaded and is displayed on the screen, user fills in the category details and saves them.
    Each of these operations is performed in a seperate HTTP Request (and consequently seperate UOW). The idea is that the user first uploads an image, checks the image on the screen and the decides to associate it with a category.
    The database is Oracle 9i. Driver used is OCI 8. Binary Steam Binding is enabled for BLOB fields. DatabasePlatform is Oracle9Platform.
    The descriptors of both the tables use SoftCacheWeakIdentity and the cache size is 100. Both tables use Optimistic Locking based on a version field using TimestampLockingPolicy.
    Coming to the problem, if the delay between the upload of the image and saving of the category details is large (say 20 seconds or so) Toplink generates a Update query to update the details in T_Categories. If the delay is smaller than that then Toplink fails to generate an update query even if the object was changed. Upon debugging I find that just before the commit, the BO being committed has all the correct details including the new PK of the uploaded image.
    Assuming that the BO pointing to T_Objects may not be in Cache (owing to images of size 200+ KB) I did an explicit read of this object before attempting to save details to T_Categories. Even that does not seem to help.
    Any ideas on what is happening here?

    Chris. Thanks for your reply. I did not get your point. However these are the steps being done.
    Can you please go through the code and check what could be wrong?
    Steps
    1) createContent(VmTObjectsVO vo) is called to insert into VM_T_OBJECTS.
    This internally calls create ( Object obj, UnitOfWork uow, boolean commitChanges )
    2) update( VmSubcategoriesVO vo ) is called to update a sub-category details to VM_T_SUBCATEGORIES.
    This internally calls save( Object bo, UnitOfWork uow, boolean commitChanges )
    In the save method at the time of uow.commitAndResume() no update statement is getting generated.
    These core methods are used for almost all tables in the application and all of them work.
    It is only in this use case I have a problem.
    * Creates a new entry for storing the image/document in VM_T_OBJECTS.
    * @param vo the content to be stored.
    * @return the sequence assigned to this object.
    public Long createContent(VmTObjectsVO vo){
    VmTObjectsVO voSaved = null;
    Long lnContentId = null;
    if(vo != null){
    VmTObjectsBO bo = new VmTObjectsBO();
    /* copy the properties from the VO to the BO. */
    ObjectAssembler.vo2bo((BaseVO)vo, bo);
    /* Create the content */
    lnContentId = create(bo);
    return lnContentId;
    * updates a subcategory to VM_T_SUBCATEGORIES
    * @param vo VmSubcategoriesVO to update.
    * @ return updated VmSubcategoriesVO
    public VmSubcategoriesVO update( VmSubcategoriesVO vo ) {
    VmSubcategoriesBO boSaved = null;
    VmSubcategoriesVO voSaved = null;
    VmSubcategoriesBO bo = new VmSubcategoriesBO( );
    /* Copy the properties in the VO to the BO */
    ObjectAssembler.vo2bo( vo, bo );
    /* Save the changed object */
    save( bo );
    return voSaved;
    * Stores the new object in the database and
    * returns the primary key identifier with which it was created.
    * @param obj The object to be created.
    * @param uow Use this unit of work for performing the insert.
    * @param commitChanges Should commit changes upon insertion?
    * If the client wants to perform the commit operation across several others
    * operations, then the value should be set to false.
    * @return Primary key of the object created.
    public Long create ( Object obj, UnitOfWork uow, boolean commitChanges ) {
    Object cacheObj = null;
    Long lnSequenceAssigned = null;
    if ( obj == null ) {
    throw new ObjectNotFoundException( null, null, null, null );
    try {
    if (uow == null) {
         /* create a new unit of work if necesasry */
         uow = getUnitOfWork( dbSession );
    /* Assign a sequence number */
    uow.assignSequenceNumber( obj );
    /* Get the descriptor associated with this object */
    Descriptor descriptor = uow.getDescriptor(obj);
    /* Get the sequence assigned */
    lnSequenceAssigned = (Long)descriptor.getObjectBuilder().getBaseValueForField(descriptor.getSequenceNumberField(),obj);
    /* Register the object */
    uow.registerObject( obj );
    if(commitChanges){
    /* Commit the changes */
    uow.commitAndResume();
    } finally {
    return lnSequenceAssigned;
    * Saves changes to an existing object to the data store.
    * Has only been tested for flat-objects. Objects that reference other
    * persistent objects have not been tested.
    * @param bo The object to be saved.
    * @param uow The UnitOfWork to use for saving the object.
    * @param commitChanges whether the changes should be committed.
    * If the client wants to perform the commit operation across several others
    * operations, then the value should be set to false.
    public void save( Object bo, UnitOfWork uow, boolean commitChanges ) {
    if ( bo == null ){
    throw new IllegalArgumentException(
    "Object is invalid" );
    try {
    /* Register the object supposed to be existing */
    Object clone = uow.registerExistingObject( bo );
    /* This object does not exist */
    if ( clone == null ) {
    throw new ObjectNotFoundException( "object not found", "dao", bo.getClass().getName(), bo.toString());
    /* Copy the properties from the object to the clone, to ensure that
    * the intended properties have not been overwritten in the object from
    * the cache
    ObjectAssembler.copy( bo, clone );
    /* Commit the changes. */
    if(commitChanges){
    uow.commitAndResume();
    } finally {
    dbSession.release( );
    }

  • HT1925 Trying to download, getting message "can't access, was created in earlier version of iTunes."

    I'm trying to download to my iPOD and my MP3 and I keep getting a message that says it cannot access my files because it was created in an earlier version of iTUNES.

    Thanks again. The option thing got me further than I've gotten thus far but when I went to choose a library I got that same message.
    I do have options. I have 2 iMacs. I can still access my music through 'sharing' and download it onto my newer iMac. Trouble is it doesn't have a CD port and I like to burn. From what I've read about their new Mac portable CD/DVD drive, it's shaky at best. Incidentally, do you know of any drives that work well with Macs and cost less than $89.00?
    I've figured out I can download a previous library from my old Mac then upload it from the new one which should put me back in business, but what do I do with the corrupt one that's there now, just trash it? Also, when I do the option key my other choice is Create A New Library. Should I do that and put the good previous library into it?
    Thanks a million, I really appreciate your time. I'm an old fogey and computers often mystify me, especially when they lock me out of things for no apparent reason.

  • Detect which object is clicked out of several objects.

    I want to make a game where it randomly generates a map, and players can click objects of the map. I want something to happen to that object, and I want the game to detect which object has been clicked, and temporarily assign that object a name so that I can do things to that object, I want the name to overwrite when I click a new object, and want to be able to retreive what I have done to the other objects. Any help would be appreciated.

    Thanks, you pointed me in the right direction, here was my result:
    public var target
            public function DirtBlock() { //dirt block spawned
                trace("SPAWNED")
                this.addEventListener(MouseEvent.CLICK,fl_click)
             function fl_click(event:MouseEvent):void { //dirt block clicked
                var dirtblock:DirtBlock = new DirtBlock();
                trace("CLICKED")
                trace(event.currentTarget) //traces which object was clicked(Object, dirtblock)
                target = event.currentTarget// sets the object to "target" so it can be manipulated
                target.visible = false

  • How to control the number of instances of an object ?

    Hi all,
    Can anybody answer, How to control the number of instances of an object being created?
    suppose at any point of time, if i would like to have 5 instances at the maximum, how can i disable the further requests?
    Thanks in advance
    Pradi

    write a factory method that controls the number of instances for you:
    import java.util.List;
    import java.util.Arrays;
    public class Bar
       private static final int MAX_BARS = 5;
       private static int numBars = 0;
       private int id;
       public static void main(String [] args)
          try
             int numBars = ((args.length > 0) ? Integer.parseInt(args[0]) : MAX_BARS+1);
             Bar [] bars = new Bar[numBars];
             for (int i = 0; i < bars.length; ++i)
                bars[i] = Bar.create();
             System.out.println(Arrays.asList(bars));
          catch (Exception e)
             e.printStackTrace();
       private Bar() { this.id = numBars++; }
       public String toString() { return "I am bar number " + this.id; }
       public static Bar create()
          Bar nextBar = null;
          if (numBars < MAX_BARS)
             nextBar = new Bar();
          return nextBar;
    }%

  • "Object reference not set to an instance of an object" error while accessing document libraries after in place upgrade to SP 2010

    I performed an inplace upgrade on my sharepoint 2007 installation and post the upgrade while trying to browse the document libraries on the site i get the following Error. HAs anyone encountered a similair error?? What could be the cause and resolution
    for this
    Any pointers/solution appreciated.
    Description: An
    unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception
    Details: System.NullReferenceException: Object reference not set to an instance of an object.
    Source
    Error: 
    An unhandled exception was generated during the execution of the
    current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack
    Trace: 
    [NullReferenceException: Object reference not set to an instance of an object.]
    Microsoft.SharePoint.WebPartPages.ListViewWebPart.PrepareContentTypeFilter(SPList list, Hashtable[] excludedTransformers) +682
    Microsoft.SharePoint.WebPartPages.ListViewWebPart.GenerateDocConvScriptBlock(SPWeb web, SPList list) +482
    Microsoft.SharePoint.WebPartPages.XsltListViewWebPart.OnPreRender(EventArgs e) +571
    Microsoft.SharePoint.WebPartPages.WebPartMobileAdapter.OnPreRender(EventArgs e) +78
    System.Web.UI.Control.PreRenderRecursiveInternal() +11032094
    System.Web.UI.Control.PreRenderRecursiveInternal() +223
    System.Web.UI.Control.PreRenderRecursiveInternal() +223
    System.Web.UI.Control.PreRenderRecursiveInternal() +223
    System.Web.UI.Control.PreRenderRecursiveInternal() +223
    System.Web.UI.Control.PreRenderRecursiveInternal() +223
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3393
    Version
    Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4955
    My SharePoint Blog
    http://dhireny.blogspot.com

    How to be in my case??
    [NullReferenceException: Object reference not set to an instance of an object.]
    Microsoft.SharePoint.WebPartPages.ListViewWebPart.PrepareContentTypeFilter(SPList list, Hashtable[] excludedTransformers) +694
    Microsoft.SharePoint.WebPartPages.ListViewWebPart.GenerateDocConvScriptBlock(SPWeb web, SPList list) +482
    Microsoft.SharePoint.WebPartPages.XsltListViewWebPart.OnPreRender(EventArgs e) +571
    Microsoft.SharePoint.WebPartPages.WebPartMobileAdapter.OnPreRender(EventArgs e) +78
    System.Web.UI.Control.PreRenderRecursiveInternal() +11141054
    System.Web.UI.Control.PreRenderRecursiveInternal() +223
    System.Web.UI.Control.PreRenderRecursiveInternal() +223
    System.Web.UI.Control.PreRenderRecursiveInternal() +223
    System.Web.UI.Control.PreRenderRecursiveInternal() +223
    System.Web.UI.Control.PreRenderRecursiveInternal() +223
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3393

  • Error:[The specified object was not found in the store] when trying to read another mail box using Delegate access

    Hi all,
    I need to create service to access all unread mails of  other mailbox's every time in Exchange server 2013, for that i trying to use Delegate access.
    but i am not succeed. I am getting Error Every time : [The specified object was not found in the store]
     error shows in FolderId in  
    var folderId = new FolderId(WellKnownFolderName.Inbox, userMailbox);
    List<DelegateUser> newDelegates = new List<DelegateUser>();
    DelegateUser emailDelegate = new DelegateUser("[email protected]");
    emailDelegate.Permissions.InboxFolderPermissionLevel = DelegateFolderPermissionLevel.Editor;
    newDelegates.Add(emailDelegate);
    Mailbox mailbox = new Mailbox("[email protected]");
    Collection<DelegateUserResponse> response = service.AddDelegates(mailbox, MeetingRequestsDeliveryScope.DelegatesAndSendInformationToMe, newDelegates);  var userMailbox = new Mailbox(useremail);
        var folderId = new FolderId(WellKnownFolderName.Inbox, userMailbox);
        var itemView = new ItemView(20);   
        var userItems = service.FindItems(folderId, itemView);
     i changed my code in many ways by adding new Delegate User with different folder permissions.
     but i am getting same Error, Please help me.

    That error means you don't have rights to the Mailbox your trying to access. In Exchange by default the only user that has access to mailbox is the owner of the Mailbox, Exchange Administration rights does not grant you access to another users mailbox. You
    need to either specifically grant rights to each mailbox using Add-MailboxPermissions or use EWS impersonation where you can impersonate the owner of the Mailbox see
    http://msdn.microsoft.com/en-us/library/bb204095(EXCHG.140).aspx and
    http://msdn.microsoft.com/en-us/library/office/dd633680(v=exchg.80).aspx
    Cheers
    Glen

  • How do I unlock my ipod touch, if I don't have access to the computer which it was originally sync'd?

    How do I unlock my ipod touch, if I don't have access to the computer which it was originally sync'd?  I sync'd the touch with a company computer at a my previous employer.  Any ideas?

    If you can't remember your password then have you tried getting it reset via http://iforgot.apple.com ?
    If you can't get it reset via that then try contacting Support in your country and see if they can reset it for you : http://support.apple.com/kb/HT5699

  • How to find out which object on a JPanel was clicked...

    I have a JPanel that contains about 200 other small JPanels(only 8 are visible at any one time), and a JButton(with Visible set to false).
    When one of the small JPanels is rightclicked i want to know which one was clicked so I can add the JButton to it (set theJButton Visible on the JPanel that was rightclicked). When the JButton is clicked, it will hide the JPanel it was on and hide itself again.
    I added a MouseListener(MousePressed) to the main Jpanel but I dont know how to find out which of the smaller JPanels was clicked. I would Also need to know how (in the ActionEvent for the JButton) the JButton knows which JPanel it is on so it knows which one to delete.
    ------------------------------------------------------------------CODE
    void JPanel1_mousePressed(MouseEvent e) {
    if ((e.getModifiers() & e.BUTTON3_MASK)!=0){
    ------------------------------------------------------------------CODE
    void JButton1_actionPerformed(ActionEvent e) {
    ------------------------------------------------------------------CODE
    Can this be done or should I add a MousePressed Listener to each of the 200 small JPanels and create a JButton for each of them??
    Any Info Appreciated... Thanks....

    Here you get a hint, hope have added all mouseListener as well and registered....addMouseLi...etc
    // many JPanels here...
    JPanel clickedPanel;  // a reference only
    // In mouse Click..
    public void mouseClicked( MouseEvent e ){
              clickedPanel = e.getSource( );
              clickedPanel.add(new JButton("Look, I am Added") );
    }  // it is Only HINT, a working HINT

  • 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.

Maybe you are looking for

  • Mountain Lion 10.8.2

    My Epson printer works but I can't scan even after downloading the 'fix'.  The same message still comes up which is "You can't open the application "EPSON Scan" because PowerPC applications are no longer supported. Any suggestions, anyone. Thanks.

  • Need help in restoring WHOLE AddressBook

    When I bought my iPad 2, iTune asked if I wanted to restore from my iPad 1 archive. (iPad 1 was deactivated and not connected to my account anymore.) I said yes.  AddressBook went crazy and started creating duplicate records for each entry. when I as

  • SELECT bulc collect into takes to long

    Hi, by the following statement I get Data from a Remote Database and do a update on a local table via a sql procedure This part of the proecure takes about 70 seconds. select /*+ RULE */ id, messaging_state, recipient, messaging_type, manual, node, m

  • SELECT DISTINCT?

    When I just - SELECT DISTINCT atblProducts.ID AS ProductID, it selects distinct Product IDs but when I add the rest of them to the select, it doesn't select the ProductID as DISTINCT. Lionstone? SELECT DISTINCT dbo.atblProducts.ID AS ProductID, dbo.C

  • Add iCloud account problem

    Having trouble to add my iCloud account on iphone (IOS 6). Delete existing iCloud account on my iphone(IOS6). Add an iCloud account(same as deleted before) on my iphone. Check and uncheck some options then the iphone non stop loading.