Errors while trying to write Vector of JPanels to Object File.

Does anyone know why I'm getting the following errors and how can I fix it?
I'm trying to output a Vector that contains a bunch of JPanels (that are fixed to a JFrame):
public class MyFrame extends JFrame {
Vector panels
.... code here
try {
FileOutputStream fos = new FileOutputStream(this.saveObjectPath+this.scriptName+".dat");
ObjectOutputStream oos = new ObjectOutputStream(fos);
oos.writeObject(panels);
oos.close();
} catch (Exception e) {
System.out.println("Count not write Data file");
... more code
and I get the following mass of errors:
Exception occurred during event dispatching:
java.lang.NullPointerException
at javax.swing.plaf.basic.BasicScrollPaneUI.paint(BasicScrollPaneUI.java:66)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:53)
at javax.swing.JComponent.paintComponent(JComponent.java:418)
at javax.swing.JComponent.paint(JComponent.java:718)
at javax.swing.JComponent.paintChildren(JComponent.java:529)
at javax.swing.JComponent.paint(JComponent.java:727)
at javax.swing.JComponent.paintChildren(JComponent.java:529)
at javax.swing.JComponent.paint(JComponent.java:727)
at javax.swing.JComponent.paintChildren(JComponent.java:529)
at javax.swing.JComponent.paint(JComponent.java:727)
at javax.swing.JComponent.paintChildren(JComponent.java:529)
at javax.swing.JComponent.paint(JComponent.java:727)
at javax.swing.JComponent.paintChildren(JComponent.java:529)
at javax.swing.JComponent.paint(JComponent.java:727)
at javax.swing.JComponent.paintChildren(JComponent.java:529)
at javax.swing.JComponent.paint(JComponent.java:727)
at javax.swing.JComponent.paintChildren(JComponent.java:529)
at javax.swing.JComponent.paint(JComponent.java:727)
at javax.swing.JComponent.paintChildren(JComponent.java:529)
at javax.swing.JComponent.paint(JComponent.java:727)
at javax.swing.JComponent.paintChildren(JComponent.java:529)
at javax.swing.JComponent.paint(JComponent.java:727)
at javax.swing.JComponent.paintChildren(JComponent.java:529)
at javax.swing.JComponent.paint(JComponent.java:727)
at javax.swing.JViewport.paint(JViewport.java:679)
at javax.swing.JComponent.paintWithBuffer(JComponent.java:3940)
at javax.swing.JComponent._paintImmediately(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintImmediately(JComponent.java:3731)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:384)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueue Utilities.java:135)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:168)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:432)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java: 172)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:13 1)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:118)
Exception occurred during event dispatching:
java.lang.NullPointerException
at javax.swing.plaf.basic.BasicScrollPaneUI.paint(BasicScrollPaneUI.java:66)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:53)
at javax.swing.JComponent.paintComponent(JComponent.java:418)
at javax.swing.JComponent.paint(JComponent.java:718)
at javax.swing.JComponent.paintChildren(JComponent.java:529)
at javax.swing.JComponent.paint(JComponent.java:727)
at javax.swing.JComponent.paintChildren(JComponent.java:529)
at javax.swing.JComponent.paint(JComponent.java:727)
at javax.swing.JComponent.paintChildren(JComponent.java:529)
at javax.swing.JComponent.paint(JComponent.java:727)
at javax.swing.JComponent.paintChildren(JComponent.java:529)
at javax.swing.JComponent.paint(JComponent.java:727)
at javax.swing.JComponent.paintChildren(JComponent.java:529)
at javax.swing.JComponent.paint(JComponent.java:727)
at javax.swing.JComponent.paintChildren(JComponent.java:529)
at javax.swing.JComponent.paint(JComponent.java:727)
at javax.swing.JComponent.paintChildren(JComponent.java:529)
at javax.swing.JComponent.paint(JComponent.java:727)
at javax.swing.JComponent.paintChildren(JComponent.java:529)
at javax.swing.JComponent.paint(JComponent.java:727)
at javax.swing.JComponent.paintChildren(JComponent.java:529)
at javax.swing.JComponent.paint(JComponent.java:727)
at javax.swing.JComponent.paintChildren(JComponent.java:529)
at javax.swing.JComponent.paint(JComponent.java:727)
at javax.swing.JViewport.paint(JViewport.java:679)
at javax.swing.JComponent.paintWithBuffer(JComponent.java:3940)
at javax.swing.JComponent._paintImmediately(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintImmediately(JComponent.java:3731)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:384)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueue Utilities.java:135)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:168)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:432)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java: 172)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:13 1)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:118)
Exception occurred during event dispatching:
java.lang.NullPointerException
at javax.swing.plaf.basic.BasicScrollPaneUI.paint(BasicScrollPaneUI.java:66)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:53)
at javax.swing.JComponent.paintComponent(JComponent.java:418)
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JViewport.paint(JViewport.java:679)
at javax.swing.JComponent.paintWithBuffer(JComponent.java:3940)
at javax.swing.JComponent._paintImmediately(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintImmediately(JComponent.java:3731)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:384)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueue Utilities.java:135)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:168)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:432)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java: 172)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:13 1)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:118)
Exception occurred during event dispatching:
java.lang.NullPointerException
at javax.swing.plaf.basic.BasicScrollPaneUI.paint(BasicScrollPaneUI.java:66)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:53)
at javax.swing.JComponent.paintComponent(JComponent.java:418)
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JViewport.paint(JViewport.java:679)
at javax.swing.JComponent.paintWithBuffer(JComponent.java:3940)
at javax.swing.JComponent._paintImmediately(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintImmediately(JComponent.java:3731)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:384)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueue Utilities.java:135)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:168)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:432)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java: 172)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:13 1)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:118)
Exception occurred during event dispatching:
java.lang.NullPointerException
at javax.swing.plaf.basic.BasicScrollPaneUI.paint(BasicScrollPaneUI.java:66)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:53)
at javax.swing.JComponent.paintComponent(JComponent.java:418)
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintChildren(JComponent.java(Compiled Code))
at javax.swing.JComponent.paint(JComponent.java(Compiled Code))
at javax.swing.JViewport.paint(JViewport.java:679)
at javax.swing.JComponent.paintWithBuffer(JComponent.java:3940)
at javax.swing.JComponent._paintImmediately(JComponent.java(Compiled Code))
at javax.swing.JComponent.paintImmediately(JComponent.java:3731)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:384)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueue Utilities.java:135)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:168)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:432)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java: 172)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:13 1)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:118)

can you post this line of code, or section of relevant code:
BasicScrollPaneUI.java:66, as this is where the problem is

Similar Messages

  • NotSerializable error while trying to write arraylist

    I am getting a NotSerializable error while trying to write an arraylist to a file.
    Here's the part of the code causing problem
    File temp = fileOpenerAndSaver.getSelectedFile(); // fileOpenerAndSaver is a JFileChooser object which has been created and initialized and was already used to select a file with
    currentWorkingFile = new File (temp.getAbsolutePath() + ".gd");      // currentWorking file is a file object
    try
         ObjectOutput output = new ObjectOutputStream (new BufferedOutputStream(new FileOutputStream(currentWorkingFile)));
         output.writeObject(nodeList); // <-- This is the line causing problem (it is line 1475 on which exception is thrown)
         output.writeObject(edgeList);
         output.writeObject(nodesWithSelfLoop);
         output.writeObject(nextId);
         output.writeUTF(currentMessage);
         output.close();
    catch (Exception e2)
         JOptionPane.showMessageDialog (graphDrawer, "Unknown error writing.", "Error", JOptionPane.ERROR_MESSAGE);
         e2.printStackTrace();
    } As far as what nodeList is -- it's an arraylist of my own class Node which has been serialized and any object used inside the class has been serialized as well.
    Here is the declaration of nodeList:
         private ArrayList <Node> nodeList; // ArrayList to hold a list all the nodesLet me show you whats inside the node class:
    private class Node implements Serializable
         private static final long serialVersionUID = -4625153386839971250L;
         /*  edgeForThisNodeList holds all the edges that are between this node and another node
          *  nodesConnected holds all the nodes that are connected (adjacent) to this node
          *  p holds the top left corner coordinate of this node.  The centre. of this node is at (p.x + 5, p.y + 5)
          *  hasSelfLoop holds whether this node has a self loop.
          *  **NOTE**: ONLY ONE SELF LOOP IS ALLOWED FOR A NODE.
         ArrayList <Edge> edgeForThisNodeList = new ArrayList <Edge> ();
         ArrayList <Node> nodesConnected = new ArrayList <Node> ();
         Point p;
         boolean hasSelfLoop = false;
         int index = -1;
         BigInteger id;
                     ... some methods following this....
    }Here is the edge class
    private class Edge implements Serializable
         private static final long serialVersionUID = -72868914829743947L;
         Node p1, p2; // The two nodes
         Line2D line;
          * Constructor:
          * Assigns nodes provided as appropriate.
          * Also calls the addEdge method on each of the two nodes, and passes
          * "this" edge and the other node to the nodes, so that
          * this edge and the other node can be added to the
          * data of the node.
         public Edge (Node p1, Node p2)
              this.p1 = p1;
              this.p2 = p2;
              line = new Line2D.Float(p1.p.x+5,p1.p.y+5,p2.p.x+5,p2.p.y+5);
              p1.addEdge(this, p2, true);
              p2.addEdge(this, p1, false);
         }Here is the error I am getting:
    java.io.NotSerializableException: javax.swing.plaf.metal.MetalFileChooserUI
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.writeObject(Unknown Source)
         at MyPanel.save(MyPanel.java:1475)
         at GraphDrawer.actionPerformed(GraphDrawer.java:243)
         I inentionally did not write the whole error stack because it was way too long and I ran out of characters. But line 1475 is where I do the writeObject call. I also goet some weird not serialized exceptions before on some other classes that are not being written to the file or are not part of the object that I am writing. I serialized those classes and now it's this unknown object that's causing problems.
    Edit: The problem may be due to the JFileChooser I am using to select the file as it is a non-serializable object. But I am not trying to write it to the file and in fact am just writing the arrayLists and BigInteger as objects to the file.
    Edited by: Cricket_struck on Dec 21, 2009 1:25 PM
    Edited by: Cricket_struck on Dec 21, 2009 1:32 PM
    Edited by: Cricket_struck on Dec 21, 2009 2:16 PM

    java.io.NotSerializableException: javax.swing.plaf.metal.MetalFileChooserUIThat's a Swing component and it is clearly related to the JFileChooser.
    I also get some weird not serialized exceptions before on some other classes that are not being written to the file or are not part of the object that I am writing.That's a contradiction in terms. If you get NotSerialzableException it means the objects are being written. So they are reachable from the objects you're writing.
    Edit: The problem may be due to the JFileChooser I am using to select the file as it is a non-serializable object.JFileChooser implements Serializable, but you're right, you shouldn't try to serialize it. But clearly this is the current problem. Somewhere you have a reference to it reachable via the object(s) you are serializing.
    I suspect that Node and Edge inner classes and that you aren't aware that inner classes contain a hidden reference to their containing class. The solution for serializaition purposes is to make them static nested classes, or outer classes.

  • FW CS6 internal error while trying to open or import CS5.5 psd file

    Just installed CS6 and I'm trying to open a psd file, I see the preview of the file but cannot open or import it, I get the error message.
    Anyone can help me? thanks!

    Have you tried saving the psd file in Photoshop with legacy support (Maximize Compatibility)?
    If you received this psd file from an external source, it may be a Photoshop CC file. It may not be compatible with Fireworks at all. Or perhaps the psd file is corrupt - try opening it in Photoshop, and resave.
    Unfortunately Fireworks' development was stopped last year by Adobe, and it is dead in the water by now. I would not expect a lot of support on their side anymore.

  • Error while trying to configure Resource Object in Design Console

    Hi,
    I am getting the following error while trying to update any value in Resource Object(checking/unchecking any checkbox)
    Description: Allow Multiple option cannot be changed from true to false. : Allow Multiple option cannot be changed from true to false.
    Any clue as to what is happening?

    We are on OIM 11.1.1.3 BP 6

  • Error while trying to copy template from another application

    Hi,
    I am getting this error while trying to copy template from another application:
    report error:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    This report is located here:
    Home-Application Builder-Application 150-Shared Components-Templates-Replace Templates
    best regards,

    It is usually a permissions issue.. you have read but not write permission. Why it would suddenly change is one of those Apple Mysteries... but it happens.
    Open the directory (folder) where your media files are.. and check the permissions.. see if you can fix them.
    The problem is the folder on the TC might have lost your ownership and you might not be able to change it.. Apple do not provide anyway to regain permissions because you would need low level access to the TC firmware.
    I would just as a matter of course reset the TC to factory and redo its setup.
    Factory reset universal
    Power off the TC.. ie pull the power cord or power off at the wall.. wait 10sec.. hold in the reset button.. be gentle.. power on again still holding in reset.. and keep holding it in for another 10sec. You may need some help as it is hard to both hold in reset and apply power. It will show success by rapidly blinking the front led. Release the reset.. and wait a couple of min for the TC to reset and come back with factory settings. If the front LED doesn’t blink rapidly you missed it and simply try again. The reset is fairly fragile in these.. press it so you feel it just click and no more.. I have seen people bend the lever or even break it. I use a toothpick as tool.
    N.B. None of your files on the hard disk of the TC are deleted.. this simply clears out the router settings of the TC.
    Do the setup via airport utility using different names.. short, no spaces and pure alphanumerics. Make sure passwords are also pure alphanumeric mixed case and numbers.. 8-20 characters is usually plenty.
    Mount the disk in finder and see if you have the same issue.. I am not expecting a change.. but it is worth a try.
    No luck you can copy your files off the TC.. wipe it .. and then copy them back.. no bad thing unless you already have a backup of your files at the moment. In which case you can just wipe the TC and copy the files now.

  • -8008: Error while trying to initialize database

    I'm trying to write an ASP .Net web application to connect to SBO 2004 database using DI API 6.7. Below is the code segment to connect to database:
    Private Function SBO_connect()
      dim oCompany as New SAPbobsCOM.Company
      oCompany.CompanyDB = "SBODemo_SG"
      oCompany.Server = "win2k1"
      oCompany.UserName = "manager"
      oCompany.Password = "manager"
      oCompany.language = SAPbobsCOM.BoSuppLangs.ln_English
      return oCompany.connect()
    End Function
    But I get this message when I tried to run it:
    -8008: Error while trying to initialize database
    I have also tried to use DbUserName and DbPassword, it gave me the same output. I have assign administrator right to ASPNET user. What else can I do? Thanks for any advice.

    Now I encounter another problem. When I use the same code and tried to access, I have this message:
    -103 Connection to the company database has failed.
    I have also tried to set the UseTrusted to true
    The SDK ersion is 6.7 and the Business One version is 2004B.
    The strange thing is I have tried the same code on another machine with the same setup, the other machine works fine. The only difference is this other machine is a development machine.

  • Error while posting a write up for asset belonging to affiliated company

    Hi,
    I am facing an error while posting a write up for an asset which belong to an affiliated company. Error is
    Transaction type 790 not possible (posting to affiliated company)
    Message no. AA390
    I am using Transaction type 711 which is linked to 790 in custo. Kinldy let me know how to resolve this issue.
    Thanks
    Pragya

    Hi
    According to this note for document type used, we should not select the 'inter company posting' or 'enter trading partner indicator'
    but as i m doing writeup for asset belonging to affiliated company, so i need to set this indicator. the document type used is standard AA
    Is there any other way, to resolve the issue
    Thanks
    Pragya

  • Excel service and OWA - getting ERROR while trying to open/edit Excel documents

    Hi All,
    We have configured SharePoint 2013 with Excel Service and OWA (Office Web Apps).
    After configuring, we are able to view/edit Word or PowerPoint documents from the browser (as OWA is configured). But we are getting errors while trying to open/edit Excel documents.
    We are not able to view/edit the excel workbook from the browser (through OWA).
    To open the excel in the browser, decision has to be taken at the farm level on what to be used – Excel Service or OWA Server? Is it possible to do setting at site collection level?
    Error details are given below:
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 3/25/2013 1:29:08 PM
    Event time (UTC): 3/25/2013 7:59:08 AM
    Event ID: fc2e0530f493493896e6c8b6297a0423
    Event sequence: 10
    Event occurrence: 3
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/2/ROOT/x-1-130086717598089315
        Trust level: Full
        Application Virtual Path: /x
        Application Path: C:\Program Files\Microsoft Office Web Apps\ExcelServicesWfe\
        Machine name: VHYDMANTHSTP-02
    Process information:
        Process ID: 1252
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
    Exception information:
        Exception type: ArgumentException
        Exception message: An entry with the same key already exists.
       at System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)
       at System.Collections.Generic.SortedDictionary`2..ctor(IDictionary`2 dictionary, IComparer`1 comparer)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.GetInstalledUICultures()
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.IsUICultureSupported(String cultureTag, CultureInfo& cultureInfo)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICulture(String cultureTag, Boolean useOleo, Boolean allowCustomFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICultureFromFrontEnd(String uiCultureTag, Boolean allowFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentCulturesFromFrontEnd(String uiCultureTag, String dataCultureTag)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.SetCurrentCulturesFromContext(HttpContext context)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.PreProcessRequest(HttpContext context)
       at Microsoft.Office.Excel.WebUI.XlPreview.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Request information:
        Request URL:
    http://mysrevr/x/_layouts/xlpreview.aspx?ui=en-US&rs=en-US&WOPISrc=http://myservernames1/_vti_bin/wopi.ashx/files/f36d669ceb814d67bdad0e1e1f98e466&wdSmallView=1
        Request path: /x/_layouts/xlpreview.aspx
        User host address: 10.81.138.92
        User: 
        Is authenticated: False
        Authentication Type: 
        Thread account name: NT AUTHORITY\NETWORK SERVICE
    Thread information:
        Thread ID: 13
        Thread account name: NT AUTHORITY\NETWORK SERVICE
        Is impersonating: False
        Stack trace:    at System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)
       at System.Collections.Generic.SortedDictionary`2..ctor(IDictionary`2 dictionary, IComparer`1 comparer)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.GetInstalledUICultures()
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.IsUICultureSupported(String cultureTag, CultureInfo& cultureInfo)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICulture(String cultureTag, Boolean useOleo, Boolean allowCustomFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICultureFromFrontEnd(String uiCultureTag, Boolean allowFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentCulturesFromFrontEnd(String uiCultureTag, String dataCultureTag)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.SetCurrentCulturesFromContext(HttpContext context)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.PreProcessRequest(HttpContext context)
       at Microsoft.Office.Excel.WebUI.XlPreview.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    I have the same issue while opening the file , i have checked every thing twice. but unable to fix this thing . can any one help.
    One more thing which is i am wondering none of the MS representative replied on this post which is originally posted on March 27-2013.
    is microsoft alive??
    Imran Bashir Network Administrator MCP, JNCIA-EX,ER,JNIOUS +92-333-4330176

  • "Error while trying to sync Audio and Midi"

    "Error while trying to sync Audio and Midi" I have been having this problem now and then for some time. Now, I can't run any audio files without a lot of popping. I tried all the suggestions on the support document for this issue. I even downloaded new drivers from Motu for my Express XT Midi interface and my 828MK11 Audio interface. There has been no change. HEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEELP!!!!!!
    Also, I have tried reseting the 828 to factory default and that does not help.
    Jonathan Jenkins

    Hi,
    I solved my own problem by resetting the factory presets:
    Follow these steps to restore the MOTU 828mkII to Factory Default Settings.
    Disconnect the firewire cable from the 828mkII
    Press the Setup knob
    Turn the Setup knob all the way to the right
    Press the Select knob
    Press the Value knob
    Power off the interface and plug the firewire cable back in
    Power the interface back on
    The same steps can be followed to restore the Factory Default Settings on a Traveler.
    -Robert

  • "Error While Trying To Synchronise Audio And Midi"...non-tempo event found

    "Error While Trying To Synchronise Audio And Midi"...non-tempo event found
    now when I shutdown Logic And relaunch the Project, the notes hang and "WHAT THE FRIIGIN"
    (this was a bug way back when Logic7 was first released)
    this is bad!
    SvK

    Thanks Steven.
    big help. In our session we keep getting this problem where the song counter stops, the music keeps playing and we get an error message saying:
    Non Tempo-Event found in Sync Reference
    We looked in the tempo list and somehow there was a tempo event of 0.00 tempo in there.
    We deleted it, got the same error message, but the prob seems to be fixed.
    Apple, please fix this!
    Thanks
    Felix

  • Error while trying to save layout:Console layout (Access is denied)

    Got an error while trying to save changes made in the layout,
    The error message is
    1) 'Preference.properties' (Access is denied), In the details button 'java.io.FileNotFoundException...'
    2) and on continuing futher, another message displayed is - 'Error while trying to save layout:Console layout (Access is denied)
    There is no Oracle Error Number associated with this message. It is a Oracle Warehouse Builder Error
    I have checked that
    1) this file exist in owb home/owb/bin/admin/Preference.properties
    2) It is not read only
    3) tried to set a parameter REPOS_DB_VERSION_ALLOWED=Oracle 10g
    as specified in the Installation and Admin Guide
    Please can you help?

    Also, not that you shouldn't get to the bottom of this, but you should be aware that any of your development or mapping changes are likely still being saved to the respository.
    In other words, you could continue working and just ignore these errors. We ran into this situation (it was indeed simply file permissions on the owb directories), but we noticed right away that at least our actual OWB work was in fact still being committed to the respository every time.

  • HT4436 When trying to sign in I keep getting the error message, "iCloud encounterd a error while trying to connect to the server". How can I get signed in?

    When trying to sign in to iCloud, I always get the message, iCloud has encountered a error while trying to connect to the server. How do I get in????

    Hello,
    Try following step and check if issue gets resolved or not.
    Find Acrobat.exe on your computer.  Right click the program and click 'Troubleshoot Compatibility'.  Set the compatibility to Windows XP service pack 3.
    Regards,
    Anoop

  • Error while trying to retrieve text for error ORA-12154

    Hello,
    I try to install php 5.1.2 on a WIN2003 server and IIS6 with the OCi8 extension without success from several days.
    On my server I've a 920 oracle client and the 10.1 instant client, I copy the tnsnames.ora in the instant client's directory.
    I've declare many environnement variables :
    - NLS_LANG : AMERICAN_AMERICA.WE8MSWIN1252
    - TNS_ADMIN : E:\...\oracle\instantclient_10_1
    - ORA_NLS33 : E:\..\oracle\920\ocommon\nls\ADMIN\DATA
    With the php command line the oci_connect function correctly works : the php command line use the instant client's tnsnames.ora. I can query with success my database.
    When I try to load a web php script (the same as the php command line script) I have the following error " Error while trying to retrieve text for error ORA-12154" ( oci_connect( $user , $pass, $sid ) . The $sid variable have the value of an alias declared in the tnsnames.ora.
    If I replace the sid's alias by something like this " (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xx.xx.xx.xx)(PORT=1521)))(CONNECT_DATA=(SID=xx)" in the oci_connect function, I have another error : Error while trying to retrieve text for error ORA-12705.
    A web page with the phpinfo function displays the following messages about oci8 extension : It seems to be correct.
    oci8
    OCI8 Support enabled
    Revision $Revision: 1.269.2.8 $
    Active Persistent Connections 0
    Active Connections 0
    Temporary Lob support enabled
    Collections support enabled
    Do you have any idea ? Thanks a lot

    The web server is not seeing the Oracle environment correctly. You need to set PATH to the instant client libraries. ORA_NLS33 is not used for Oracle 10g clients. Perhaps you have some library conflict with two versions of Oracle on the machine?
    These may help:
    http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#envvars
    http://blogs.oracle.com/opal/2006/05/01

  • Error while trying to create tree using same EMP how to tutorial

    Hi,
    I get the following error while trying to create a sample tree similar to the one
    posted in the how-tos web page.
    The final query that creates the tree is also as follows
    The Current Query shown in my apex window and the one on the howtos tutorial is as follows
    select "EMPNO" id,
    "MGR" pid,
    "ENAME" name,
    null link,
    null a1,
    null a2
    from "RJOSEEMPCLUB"."EMP"
    where DEPTNO = 1
    The error is as follows
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    Debug:
    1: begin
    2: wwv_flow_wiz_confirm.create_tree (
    3: p_flow_id => :FB_FLOW_ID,
    4: p_region_template => replace(:F4000_P112_REGION_TEMPLATE,'%'||'null%',null),
    5: p_start_option => :F4000_P112_START_OPTION,
    6: p_owner => :F4000_P112_OWNER,
    7: p_table_name => :F4000_P112_TABLE,
    8: p_id => :F4000_P112_ID,
    9: p_pid => :F4000_P112_PID,
    10: p_name => :F4000_P112_NAME,
    11: p_link_option => :F4000_P112_LINK_OPTION,
    12: p_link_page_id => :F4000_P112_LINK_PAGE_ID,
    13: p_link_item => :F4000_P112_LINK_ITEM,
    14: p_where => :F4000_P112_WHERE,
    15: p_order_by => :F4000_P112_ORDER_BY,
    16: p_page_id => :F4000_P112_PAGE_ID,
    17: p_page_name => :F4000_P112_PAGE_NAME,
    18: p_tab_set => :F4000_P112_TAB_SET,
    19: p_tab_text => :F4000_P112_TAB_TEXT,
    20: p_region_name => :F4000_P112_REGION_NAME,
    21: p_tree_name => :F4000_P112_TREE_NAME,
    22: p_tree_type => :F4000_P112_TREE_TYPE,
    23: p_max_levels => :F4000_P112_MAX_LEVELS);
    24: end;

    Hi Kart,
    If you have the sample EMP table, the DEPTNO values are 10, 20 or 30.
    Did you specify a root value for the tree?
    Regards
    Andy

  • Error while trying to remove an object with dsrm command

    hello,
    i get an error while trying to delete an object computer with the command line tool, DSRM. i get this view:
    actually, it's a one of hundreds of commands, that help cleaning the active directory of the obsolete objects. it is saying : "Access Denied" (in french, accès refusé). i say that the account used to execute this command, is a member of domain
    admins group, and enterprise admins group too. so i cannot believe it's a mater of some missing rights... :/
    thanks in advance, for your help,
    regards
    Lotfi BOUCHERIT

    Hi,
    I was able to reproduce your issue when using a non-elevated command prompt in a 2008R2 box. So please try to elevate your command prompt and your command will most likely go through.
    In addition to above, I'd suggest you look in to PowerShell instead, which in most cases is more effective.(and doesn't need to run in an elevated prompt to make AD-Changes)
    The same as above could be done with the powershell cmdlet Remove-AdComputer.
    Remove-AdComputer -Identity "Distinguishedname"
    Hope this helps you!
    Microsoft Certified Trainer
    MCSE: Desktop, Server, Private Cloud, Messaging
    Blog: http://365lab.net

Maybe you are looking for

  • SRM 7.0 Invoice Rejection in SRM Portal

    Hi, We have come across a scenario where an approver is unable to reject an invoice in their tasks queue. An error message of "/sapsrm/cx_pdo_error Reason for rejection is mandatory" appears However, when they reject a Shopping Cart for example, it w

  • Web packaged file on Intel Mac

    Can some one please help, Ive got a training application running in a web browser (Authorware 7) for both PC and Mac. The Authoware lesson sends data out of Authoware via PostURL to a asp page which then puts it into a access database. All works fine

  • Run feedback Work flow with no edit permission

    Can I run a feedback collection workflow ( with task) to people who have no edit permission? If not how can I create a workflow to accomplish that? 

  • Flash Forms data in the SWF Question

    When you have hidden cfinput fields. The data that is contained in them is that in the SWF file. Can that data be gotten if the SWF is decompiled? Thanks!!

  • Data Modelling/BW Data Architect

    I am supposed to do Data Modelling. What are the key steps to do data modelling. for financial ap, ar, gl,co. Thanks Michelle