Error RE: add method in GUI application

I'm trying to put three circles (red, yellow, green) in a sub panel called "trafficLight." Unfortunately, I keep getting the following error message that prevents me from compiling the program:
*.\TrafficPanel.java:36: cannot find symbol*
symbol  : method add(Circle)
location: class javax.swing.JPanel
*          trafficLight.add(red);*
I believe I have all the import statements necessary, and the program will compile with the trafficLight.add(particular color - red, yellow or green) removed. In other words, if I leave the add(trafficLight); method, the program will compile, and I will see the sub panel trafficLight, just no circles. The class code with the add methods is below followed by my other classes.
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
public class TrafficPanel extends JPanel
     private final int PRIMARY_PANEL_WIDTH = 1000;
     private final int PRIMARY_PANEL_HEIGHT = 700;
     private final int TRAFFICLIGHT_PANEL_WIDTH = 400;
     private final int TRAFFICLIGHT_PANEL_HEIGHT = 660;
     private final int DIAMETER = 30;
     private final int Xr = 10;
     private final int Yr = 10;
     private final int Xy = 10;
     private final int Yy = 200;
     private final int Xg = 10;
     private final int Yg = 400;
     private JPanel trafficLight;
     private Circle red, yellow, green;
     public TrafficPanel()
          setBackground(Color.gray);
          setPreferredSize(new Dimension(PRIMARY_PANEL_WIDTH, PRIMARY_PANEL_HEIGHT));
          trafficLight = new JPanel();
          trafficLight.setBackground(Color.black);
          trafficLight.setPreferredSize(new Dimension(TRAFFICLIGHT_PANEL_WIDTH, TRAFFICLIGHT_PANEL_HEIGHT));
          red = new Circle(Xr, Yr, DIAMETER, DIAMETER, Color.gray);
          yellow = new Circle(Xy, Yy, DIAMETER, DIAMETER, Color.gray);
          green = new Circle(Xg, Yg, DIAMETER, DIAMETER, Color.gray);
          trafficLight.add(red);
          trafficLight.add(yellow);        // PROBLEM AREA. I DON'T KNOW WHY??
          trafficLight.add(green);
          add(trafficLight);
     public void paintComponent(Graphics page)
          super.paintComponent(page);
          red.draw(page);
          yellow.draw(page);
          green.draw(page);
import javax.swing.*;
import java.awt.*;
public class Circle
     private int X, Y, Width, Height;
     private Color color;
     public Circle(int x, int y, int width, int height, Color c )
          X = x;
          Y = y;
          Width = width;
          Height = height;
          color = c;
     public void draw(Graphics page)
          page.setColor(color);
          page.fillOval(X, Y, Width, Height);
     public void setColor(Color c)
          color = c;
import javax.swing.*;
public class TrafficLight
     public static void main(String[] args)
          JFrame frame = new JFrame("Traffic Light");
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          TrafficPanel primary = new TrafficPanel();
          frame.getContentPane().add(primary);
          frame.pack();
          frame.setVisible(true);
}

Still having trouble getting the circles to appear on the sub panel "light." They are showing up on the primary panel and being covered by the sub panel. Here's the code. Please give me a strong hint, at least. This is not a school assignment; I'm just trying to learn this for school next fall.
import javax.swing.*;
import java.awt.*;
public class TrafficLight extends JPanel
     Circle red, yellow, green;
     public static void main(String[] args)
          final int DIAMETER = 30;
           final int Xr = 500;
          final int Yr = 10;
          final int Xy = 500;
          final int Yy = 200;
          final int Xg = 500;
           final int Yg = 400;
          JFrame frame = new JFrame("Traffic Light");
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          TrafficPanel primary = new TrafficPanel();
          Circle red = new Circle(Xr, Yr, DIAMETER, DIAMETER, Color.red);
          Circle yellow = new Circle(Xr, Yr, DIAMETER, DIAMETER, Color.yellow);
          Circle green = new Circle(Xr, Yr, DIAMETER, DIAMETER, Color.red);
          frame.getContentPane().add(primary);
          frame.pack();
          frame.setVisible(true);
     public void paintComponent(Graphics page)
          super.paintComponent(page);
          red.draw(page);
          yellow.draw(page);
          green.draw(page);
import javax.swing.*;
import java.awt.*;
public class TrafficPanel extends JPanel
     private final int PRIMARY_PANEL_WIDTH = 1000;
     private final int PRIMARY_PANEL_HEIGHT = 700;
     private final int TRAFFICPANEL_PANEL_WIDTH = 400;
     private final int TRAFFICPANEL_PANEL_HEIGHT = 660;
     private JPanel light;
     public TrafficPanel()
          setBackground(Color.green);
          setPreferredSize(new Dimension(PRIMARY_PANEL_WIDTH, PRIMARY_PANEL_HEIGHT));
          light = new JPanel();
          light.setBackground(Color.black);
          light.setPreferredSize(new Dimension(TRAFFICPANEL_PANEL_WIDTH, TRAFFICPANEL_PANEL_HEIGHT));
          add(light);
import javax.swing.*;
import java.awt.*;
public class Circle
     private int X, Y, Width, Height;
     private Color color;
     public Circle(int x, int y, int width, int height, Color c )
          X = x;
          Y = y;
          Width = width;
          Height = height;
          color = c;
     public void draw(Graphics page)
          page.setColor(color);
          page.fillOval(X, Y, Width, Height);
     public void setColor(Color c)
          color = c;
}

Similar Messages

  • Error in getMenu() method

    I want to run blender from the menubar of a different java based application. I have created a menu "blender" and its menuitem '"Run" . When i click "run" menuitem blender should run from that application. I have created the menu "Blender" and its menuitem "Run" in a xml file. In a different .java file i have to give the method to run blender. I have used this coding :
    public static void runblender(Incad incadFrame){    
    String cmds[] ={"/home/sda_tr3/incad_new/incad/Blender","./blender" };
    String cmd="./blender";
    String envp[]=null;
    Menu mi=new Menu();
    ActionEvent ae;
    String arg= ae.getActionCommand();
    String name= mi.getMenu();
    if (name.equals("BLENDER")&& arg.equals("Run"))
    // Run the program//
    try{
    Runtime r= Runtime.getRuntime();
    Process process = r.exec(cmds,null) ;
    catch(IOException e) {
    GUIBase.showMessageDialog(message, "COMMON.MD.S0043",GUIBase.GUI_ERROR) ;
    Error after compilation is:
    incad/gui/GUIOperations.java:1692: cannot find symbol
    symbol : method getMenu()
    location: class java.awt.Menu
    String name= mi.getMenu();
    Plz guide me how to remove this error so that i can run blender when i click the "Run" menuitem from the blender menu.

    It cant find a getMenu() method in your menu class.

  • Forte debugger exits (FATAL ERROR in native method: JDWP "util.c")

    When debugging my GUI app in Forte on Solaris 8, my debug session exits with the following error:
    FATAL ERROR in native method: JDWP "util.c" (Feb 20 2002), line 1029: Unexpected error, error code = 113 (JVMDI_ERROR_INTERNAL)
    It seems to do so while in the middle of a comm api routine where I'm accessing the serial port. Has anyone else ever seen this error is Solaris? I have all of the patches required by Sun for JDK1.3.1_02 installed with the same version of the JDK.
    The application runs fine when I run it standalone...
    Any suggestions?
    Thanks.

    I've had the same problem. It appears that it occures when an error is thrown that stop a JSP page load.
    Everything will run find up to that point, but after that, the util.c error will not go away except by deinstall and reinstall of Forte. We can't even use Forte at this point since it will start throwing the error within 1 hour of reinstall. Crap.
    I'm on Windows XP also, and this happens with JVM 1.3 or 1.4.

  • Is there a forum for Java GUI Application Design?

    Hi all,
    I've used this forum a lot and found a lot of help on it for Swing usage specifics. However, whenever I ask a question about broader design or architecture of a full Swing app I get little or no response. Sadly I'm no stranger to "view 50, replies 0" :o(
    Either I'm asking stupid questions or I'm asking the in the wrong forum - does anyone know of a good place to ask about design/best practices for Java, GUI applications? I've seen some of the "programmer"/"developer" groups on Google Groups.
    Many thanks.
    Yours, hoping for at least one reply,
    Chris

    You're right, I typed that wrong. The method signature should be addDataChangeListener(DataChangeListener lis, DataChangeType type)
    When a component registers itself as a change listener, say it wants to know whenever an object of type Foo is changed, it calls DataChangeType.addDataChangeListener(this, DataChangeType.FOO). (the Enum elements coorespond to the objects we want to listen for) Then it implements the dataChanged(DataChangeType type, Object obj) method that will be called by the controller when objects of type Foo are changed. (obviously this is an interface) Whenever a component updates an object of type Foo, it calls DataChangeControl.dataChanged(DataChangeType.FOO, theFooObject), and then the controller will notify all listeners who are interested in Foo objects changing.
    The DataChangeControl maintains a hashmap of <DataChangeType, List < DataChangeListener> >. So when a new listener is added, it checks the type to see if a list is already keyed to that object type in the hashmap. If so it adds the listener to that list, if not it creates a new list in the hashmap with the type as the key. That way when an object is changed, it notifies only those listeners who are registered to listen to that type of object being changed. Hopefully that makes sense.

  • Accessing add() methods through bean properties ?!

    I hope this question is trivial...
    Is there a defined way of using add(*) methods through bean properties ?
    Seems a little odd that Swing components can't be added to a container in a simple "bean-like" way....is there a set*(*) method I've missed ? I'm aware of the getComponents() method on Container...but there's no setComponents(Component []) method.
    Thanks,
    Michael.

    Thank you for the repsonse....but..
    Wouldn't that mean that I'd have to sub-class all the Components I wanted to use....just to add the set*(*) method....isn't there a tidier way ?
    I really find this strange...(I can think of many examples where accessing the add*(*) methods through introspection (possibly by providing set*(*) methods) would be extremely useful....but, staying in a Swing context....)
    If you wanted to create an application that can load, edit and save GUI forms (as many already have). Having all Swing components stick to the javaBeans spec. is very useful. The application can use introspection to grab all the properties of a component, without having any hard-coded logic on dealing with specific classes. Users can then provide their own extensions to the components palette, and by sticking to the javaBeans convention, have the GUI editor expose those properties.
    But....to compose components together (a fundamental concept) the editor must be provided with "hard-coded" logic that knows how to deal specifically with Components (in that they have an add(*) method).
    This must also be a problem with the XMLDecoder class ?!
    When encoding a Swing component, the XMLEncoder can use all the get*() methods (including getComponents()) to persist the Container, its properties, and any sub-components....fine.
    But, when decoding this information, all the properties can be set through the usual bean mechanism (using the corresponding setPropertyName(*) method) except the sub-components....there is no setComponents(*) method.
    How does the XMLDecoder get around this problem ?
    Does it "know" that when it gets to the "components" property of a Swing component, it must call the add(*) method instead...?
    Thanks,
    Michael

  • Running a GUI application without holding command prompt

    Hi there ,
    I have developed a GUI application using Swing. After compiling the same successfully , when I run the same , presently , I am running it like ,
    c:\> java xxx
    where c:\ is the general command prompt on a Windows machine where I can type in my commands like javac or java and xxx is the class file name . Now till I complete using my GUI application and exit from the same , the command prompt will also be there ( and probably displaying the output of my System.out.println ) . So , two sessions are running , one is just the command prompt and another is the actual GUI application.
    How can I avoide this ? e.g. when I type command "notepad" and press enter , notepad is started and the command prompt returns after starting notepad i.e. the notepad and the command prompt are not related now , I can close the command intrepreter and still notepad is running . What should I do to create such a Java GUI application ? Please advice .

    If I understand you correctly this is something that happens in linux also. And I believe that you can solve this by creating to shortcut to this program.
    And the shortcut or link to application will be the command line that you use to run the Java Application.
    i.e.
    java c:\javadir\subjavadir\application.class
    And I believe that this will allow it to run without the command prompt. Just showing the GUI and no additional command prompt window. Freeing the command prompt is something that I don't know how to do in either OS.
    I use the Link To Application method because I ultimately don't need to have multiple windows for one application. Even though it is nice to be able to kill the Application by destroying the command-prompt session (in case your app causes lock-ups during testing).
    Post your results . . . I'm not even sure that I'm being clear at all with my explanation to your question.

  • I was gettiing runtime error while executing a Webdynpro-ABAP application

    Hi,
    I am working on Webdynpro-ABAP and created a ALV report using Service call BAPI method in IDES version. After creating component and designed view and created Webdynpro application. While executing application I am getting some error in explorer.
    For any application I am getting same error.
    I think some setting in explorer..I am not sure. If yes how can I rectify ?
    waiting for quick response.
    I am giving details error below what I faced.
    Error when processing your request
    What has happened?
    The URL http://sapserver:8001/sap/bc/webdynpro/sap/zz_00_bapiflight was not called due to an error.
    Note
         The following error text was processed in the system DM0 : Die URL enthält keine vollständige Domainangabe (sapserver statt sapserver.).
         The error occurred on the application server sapserver_DM0_01 and in the work process 0 .
         The termination type was: RABAX_STATE
         The ABAP call stack was:
    Method: CHECK of program CX_FQDN=======================CP
    Method: LATE_CONSTRUCTOR of program CL_WDR_UCF====================CP
    Method: HANDLE_REQUEST of program CL_WDR_UCF====================CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    What can I do?
         If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system DM0 in transaction ST22.
         If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server sapserver_DM0_01 in transaction SM21.
         If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server sapserver_DM0_01 . In some situations, you may also need to analyze the trace files of other work processes.
         If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 800 -u: SAPUSER -l: E -s: DM0 -i: sapserver_DM0_01 -w: 0 -d: 20091226 -t: 135942 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Best Regards,
    BDP

    hi
    It is the Fully Qualified Domain Name (FQDN) error . Refer SAP online help :
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/67/be9442572e1231e10000000a1550b0/frameset.htm
    refer the similar thread :
    Problem executing sample Webdynpro application
    regards,
    amit

  • Error while creating activities from Account application (Activity tab page

    Hi Experts,
                       We are using CRM 5.0 with PCUI ( EP 7.0 version). We are getting  below error when try to create activities from Account application in PCUI ( from activity tab page):
    Error : Activity contains error.
    Diagnosis
    This transaction has errors.
    Procedure
    To correct the errors, go to the maintenance interface of the transaction.
    To navigate to there, use the link to the account application
    Pls suggest how to proceed with this error & helpful solutions would be rewrded generously.
    Regards,
    Basavaraj Patil

    Hi Experts,
    We are getting this error when try to create Activity from Account application in PCUI. But the same thing is working fine in at GUI level & actions profile assigned to Activity transaction is also working fine at GUI level. But in PCUIit is throwing this below error.
    Diagnosis
    You have attempted to create a follow-up transaction for an incorrect transction 2000764. This is not possible. You can only create follow-up transactions for error-free transactions.
    System Response
    The follow-up transaction is not created.
    Procedure
    Correct the errors in the source transaction 2000764. The error messages resulting from processing the error can be read in the application log in the source transaction.
    Pls suggest solution for this.
    Thanks in Advance.
    Regards,
    Basavaraj Patil

  • Error(23,19): method getName(java.lang.String) not found in class javax.swi

    Hi , when i try to run my program, i keep getting the error msg:
    Error(23,19): method getName(java.lang.String) not found in class javax.swing.JTextField
    I have checked the java API and it inherits from the awt.Component class and should be accessible via the jtextfield.
    I have tried the following:
    trying to initailise the JTextField at the start.
    Using getName works if i use it within the loop after setting the name.
    Does anybody know what i am doing wrong please?
    public class clsMember extends JPanel implements ActionListener {
        private JButton jbtnLog;
        private String surname;
        private JTextField txtItem;
        public clsMember() {
            super(new SpringLayout());
            makeInterface();
            surname = txtItem.getName("Surname").toString();
    private void makeInterface() {
         //code omitted
               for (int i = 0; i < numpairs; i++) {
                JLabel l = new JLabel(strLabels, JLabel.LEADING);
    this.add(l);
    //if the array item is salutation create a combobox
    if (strLabels[i] == "Salutation") {
    jcomSalutation = new JComboBox(strSalutation);
    jcomSalutation.setSelectedIndex(0);
    this.add(jcomSalutation);
    } else {
    txtItem = new JTextField(10);
    l.setLabelFor(txtItem);
    txtItem.setName(strLabels[i].replaceAll(" ", "")); //this is where the label is set and if i do a system.out it shows fine. getName works here too.
    this.add(txtItem);
    //code omitted

    If i have a loop that creates the jtextfields such as
                    txtItem = new JTextField(10);
                    l.setLabelFor(txtItem);
                    txtItem.setName(strLabels.replaceAll(" ", ""));
    this.add(txtItem);How is it then possible to assign to a string the value of a *specific jtextfield*. Lets say that one of these JTextfields has the name surname.
    How is it possible for me to writeString surname = surnamejtextfield.getText();                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Question repost: Add Methods in a Linked List.

    Please excuse my reposting of this question. The previous question had a lot of unformatted code.
    Here, I'll just have the two methods that I need help with. If more information is needed, I have it by the buttloads.
    They are add methods for a List class:
      public boolean add(E o)
      Node newNode = new Node();
      newNode.data = o;
      if (first == null)
          first = last = newNode;
      else {
      last.next = newNode;
      } // end if
      size++;
      return true;
    public void addLast(E o)
      Node newNode = new Node();
      newNode.data = o;
      newNode.previous = last;
      if (first == null)
          first = last = newNode;
      else {
      last.next = newNode;
       size++;
      }Can anybody help me with these? Duke points will be rewarded.

    Once again: continue to ask for help in your original post. Include your up-to-date code and provide as much details as possible, such as error messages (copy and paste the entire message, do not paraphrase) or for incorrect behviour describe what is happening and what is supposed to happen.
    Do this in your original post. I don't want to see another post here!

  • Error occurred while launching/running the application.

    Hello all,
    I'm using the "tutorial" demo from Vamp, and
    here's what
    happened after I chg the jnlp file:
    1. Enabling MIME type on my HTTPD server
    2. Disabling the proxy of my IE Browser
    3. Installed /jdk1.3
    4. JWS started with the following error:
    GENERAL:
    An error occurred while launching/running the application.
    Title: 4. Java Web Start Resource Loading Tutorial
    Vendor: Gerald Bauer
    Category: Download Error
    Corrupted JAR file at http://hpsgnnec/tutorial.jar
    Exception:
    JNLPException[category: Download Error : Exception: java.util.zip.ZipException: error in opening zip file : LaunchDesc: null ]
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    LAUNCH FILE
    <jnlp
    spec="1.0+"
    codebase="http://hpsgnnec" >
    <information>
    <title>4. Java Web Start Resource Loading Tutorial</title>
    <vendor>Gerald Bauer</vendor>
    <description>Tutorial on how to load resources </description>
    <icon href="tutorial.gif"/>
    <offline-allowed />
    </information>
    <resources>
    <j2se version="1.3"/>
    <jar href="tutorial.jar"/>
    </resources>
    <application-desc main-class="vamp.tutorial.Main">
    </application-desc>
    </jnlp>
    WRAPPED EXCEPTION:
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(Unknown Source)
         at java.util.jar.JarFile.<init>(Unknown Source)
         at java.util.jar.JarFile.<init>(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Wud appreciate any advice.
    THanks much,
    Jessica

    Try downloading the jar file itself and opening it with winzip or checking its contents with jar tf <jarfile name>
    if it is indeed corrupt (as the exception stacktrace seems to indicate) try mailing the person who wrote the demo so that he can check whether the jarfile is there or not, and whether it is corrupt or not.
    Other than that, nac.
    Jeremy

  • Error occured in deployment step 'Add Solution': Error: Cannot add the specified assembly to the global assembly cache

    hi,
    I have created a separate project which contains a class which has some generic methods- its a Utility class.[ its a  class library project ]
    I added this dll into my SharePoint project's wsp package [package--> advanced-->add assembly project from output ]  [ SP 2013/ VS 2012]
    So till yesterday everything was working fine, its has successfully deployed in the GAC.
    But today when I tried to deploy my solution I got this error
    "Error occured in deployment step 'Add Solution': Error: Cannot add the specified assembly to the global assembly cache" .
      I closed the  VS and did iisreset , and uninstalled dll using powershell . and i  went to package removed the dll from the wsp package and deployed again.
    Now when i added  the  dll into this package again, it failed to deploy.
    can anyone tell ,  why this is happening. i have not done any changes in the dll yesterday or today.
    suddenly , it  started behavin stranegly. 

    Use the power shell command to delete dll
    http://www.c-sharpcorner.com/uploadfile/anavijai/how-to-install-or-uninstall-dll-in-gac-using-powershell/

  • Error: "Function or method not supported." when using RF List Mode on NI 5673E

    Hi,
    I am trying to use the RF List Mode in NI RFSG 5673E. I tried running the sample code "RFSG Configuration List Frequency and Power Sweep.vi" but an error would show up:
    "Error: niRFSGCreateConfigurationList.VI <ERR> The LO reported the following error: Function or method not supported." with the error code: BFFA4239. 
    I also tried running other sample codes that contain the Configuration List VI's but the same error appeared. I am using NI RFSG 1.8.5.
    I would really appreciate any help on this. Thanks!

    Hello jdlabrador,
    I setup a 5673E here and tried to run the same example.  I did not encounter an error.
    Other reports I've found pertaining to this error usually involved a large number of steps - there was not enough space on the hardware to accommodate them.  The error text you're seeing is a little different in that it states that the Create Configuration List method isn't supported for the LO.
    Do each of the modules in your 5673E (5450, 5611, 5652) pass a self-test in MAX?  
    Have you associated the 5450 and 5652 with the 5611?
    Could you post a screenshot of the fully-expanded Devices and Interfaces tree from MAX?
    Since RFSG 1.9.5 is available, it may be a good first-step to upgrade to it.  
    Best regards,
    Matthew H.
    Applications Engineer
    National Instruments

  • Unexpected error occurred in method 'Put' , usage 'SPViewStateCache' - Exception

    I am getting below error when I am trying to upload a document to SP 2013 using CSOM (Of BizTalk)
    Unexpected error occurred in method 'Put' , usage 'SPViewStateCache' - Exception 'Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0018>:SubStatus<ES0001>:
    The request timed out.. Additional Information : The client was trying to communicate with the server :net.tcp://XXXX:22233  
    at Microsoft.ApplicationServer.Caching.DataCache.ThrowException(ResponseBody respBody, RequestBody reqBody)    
    at Microsoft.ApplicationServer.Caching.DataCache.InternalPut(String key, Object value, DataCacheItemVersion oldVersion, TimeSpan timeout, 
    DataCacheTag[] tags, String region, IMonitoringListener listener)  
    Somewhere down the logs then another following error is recorded:
    <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Warning"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Channels.SocketConnectionAbort.aspx</TraceIdentifier><Description>SocketConnection
    aborted</Description><AppDomain>/LM/W3SVC/2/ROOT/81d12ab944d94c29a629fae7508ad28b-1-130481510403888701</AppDomain><Source>System.ServiceModel.Channels.SocketConnection/15268232</Source></TraceRecord>
    06/25/2014 08:29:23.88  w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    System.ServiceModel Error: 131075 : 
    06/25/2014 08:29:23.88  w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.ThrowingException.aspx</TraceIdentifier><Description>Throwing
    an exception.</Description><AppDomain>/LM/W3SVC/2/ROOT/81d12ab944d94c29a629fae7508ad28b-1-130481510403888701</AppDomain><Exception><ExceptionType>System.Net.Sockets.SocketException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The
    I/O operation has been aborted because of either a thread exit or an application request</Message><StackTrace>   at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()     at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Obje...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...ct sender, SocketAsyncEventArgs eventArgs)     at System.Net.Sockets.SocketAsyncEventArgs.FinishOperationAsyncFailure(SocketError socketError, Int32 bytesTransferred, SocketFlags flags)     at System.Net.Sockets.SocketAsyncEventArgs.CompletionPortCallback(UInt32
    errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)     at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)  </StackTrace><ExceptionString>System.Net.Sockets.SocketException
    (0x80004005): The I/O operation has been aborted because of either a thread exit or an application request</ExceptionString><NativeErrorCode>3E3</NativeErrorCode></Exception></TraceRecord>
    06/25/2014 08:29:23.88  w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    System.ServiceModel Error: 131075 : 
    06/25/2014 08:29:23.88  w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.ThrowingException.aspx</TraceIdentifier><Description>Throwing
    an exception.</Description><AppDomain>/LM/W3SVC/2/ROOT/81d12ab944d94c29a629fae7508ad28b-1-130481510403888701</AppDomain><Exception><ExceptionType>System.TimeoutException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The
    socket was aborted because an asynchronous receive from the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout.</Message><StackTrace>   at System.ServiceModel.Channels.SocketConne...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...ction.EndRead()     at System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.HandleIO(IConnection connection)     at System.ServiceModel.Channels.ConnectionStream.IOAsyncResult.OnAsyncIOComplete(Object state)    
    at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs eventArgs)     at System.Net.Sockets.SocketAsyncEventArgs.FinishOperationAsyncFailure(SocketError socketError, Int32 bytesTransferred, SocketFlags
    flags)     at System.Net.Sockets.SocketAsyncEventArgs.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)     at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode,
    UInt32 numBytes, NativeOverlapped* pOVERLAP)  </StackTrace><ExceptionString>System.TimeoutEx...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...ception: The socket was aborted because an asynchronous receive from the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout. ---&amp;gt; System.Net.Sockets.SocketException:
    The I/O operation has been aborted because of either a thread exit or an application request     at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()     at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object
    sender, SocketAsyncEventArgs eventArgs)     --- End of inner exception stack trace ---</ExceptionString><InnerException><ExceptionType>System.Net.Sockets.SocketException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The
    I/O opera...  
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...tion has been aborted because of either a thread exit or an application request</Message><StackTrace>   at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()     at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object
    sender, SocketAsyncEventArgs eventArgs)</StackTrace><ExceptionString>System.Net.Sockets.SocketException (0x80004005): The I/O operation has been aborted because of either a thread exit or an application request     at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()
        at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs eventArgs)</ExceptionString><NativeErrorCode>3E3</NativeErrorCode></InnerException></Exception></TraceRecord>
    06/25/2014 08:29:23.88  w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    System.ServiceModel Error: 131075 : 
    06/25/2014 08:29:23.88  w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.ThrowingException.aspx</TraceIdentifier><Description>Throwing
    an exception.</Description><AppDomain>/LM/W3SVC/2/ROOT/81d12ab944d94c29a629fae7508ad28b-1-130481510403888701</AppDomain><Exception><ExceptionType>System.TimeoutException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The
    socket was aborted because an asynchronous receive from the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout.</Message><StackTrace>   at System.ServiceModel.Channels.StreamConne...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...ction.EndRead()     at System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(Object state)     at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)     at System.Net.LazyAsyncResult.Complete(IntPtr
    userToken)     at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)     at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)     at System.ServiceModel.Channels.ConnectionStream.IOAsyncResult.OnAsyncIOComplete(Object
    state)     at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs eventArgs)     at System.Net.Sockets.SocketAsyncEventArgs.FinishOperationAsyncFailure(SocketError socketError, Int32 bytesTransferred,
    SocketFlags flags)     at System.Net.Sockets.SocketAsyncEv...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...entArgs.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)     at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
     </StackTrace><ExceptionString>System.TimeoutException: The socket was aborted because an asynchronous receive from the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion
    of a longer timeout. ---&amp;gt; System.IO.IOException: The read operation failed, see inner exception. ---&amp;gt; System.TimeoutException: The socket was aborted because an asynchronous receive from the socket did not complete within the allotted
    timeout of 00:01:00. The time allotted to this operation may have b...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...een a portion of a longer timeout. ---&amp;gt; System.Net.Sockets.SocketException: The I/O operation has been aborted because of either a thread exit or an application request     at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()
        at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs eventArgs)     --- End of inner exception stack trace ---     at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult
    result)     at System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.End(IAsyncResult result)     at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)     --- End of inner exception stack trace ---
        at System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncResult)     at Syst...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...em.ServiceModel.Channels.StreamConnection.EndRead()     --- End of inner exception stack trace ---</ExceptionString><InnerException><ExceptionType>System.IO.IOException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The
    read operation failed, see inner exception.</Message><StackTrace>   at System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncResult)     at System.ServiceModel.Channels.StreamConnection.EndRead()</StackTrace><ExceptionString>System.IO.IOException:
    The read operation failed, see inner exception. ---&amp;gt; System.TimeoutException: The socket was aborted because an asynchronous receive from the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may
    have been a port...  
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...ion of a longer timeout. ---&amp;gt; System.Net.Sockets.SocketException: The I/O operation has been aborted because of either a thread exit or an application request     at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()
        at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs eventArgs)     --- End of inner exception stack trace ---     at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult
    result)     at System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.End(IAsyncResult result)     at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)     --- End of inner exception stack trace ---
        at System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncResult)     at System.Service...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...Model.Channels.StreamConnection.EndRead()</ExceptionString><InnerException><ExceptionType>System.TimeoutException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The
    socket was aborted because an asynchronous receive from the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout.</Message><StackTrace>   at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult
    result)     at System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.End(IAsyncResult result)     at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)</StackTrace><ExceptionString>System.TimeoutException:
    The socket was aborted because an asynchronous receive fr...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...om the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout. ---&amp;gt; System.Net.Sockets.SocketException: The I/O operation has been aborted because
    of either a thread exit or an application request     at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()     at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs
    eventArgs)     --- End of inner exception stack trace ---     at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)     at System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.End(IAsyncResult result)  
      at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)</ExceptionString>...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...<InnerException><ExceptionType>System.Net.Sockets.SocketException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The I/O operation has been aborted because of either a thread
    exit or an application request</Message><StackTrace>   at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()     at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs
    eventArgs)</StackTrace><ExceptionString>System.Net.Sockets.SocketException (0x80004005): The I/O operation has been aborted because of either a thread exit or an application request     at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()
        at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Ob...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...ject sender, SocketAsyncEventArgs eventArgs)</ExceptionString><NativeErrorCode>3E3</NativeErrorCode></InnerException></InnerException></InnerException></Exception></TraceRecord>
    06/25/2014 08:29:23.88  w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    System.ServiceModel Error: 131075 : 
    06/25/2014 08:29:23.88  w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.ThrowingException.aspx</TraceIdentifier><Description>Throwing
    an exception.</Description><AppDomain>/LM/W3SVC/2/ROOT/81d12ab944d94c29a629fae7508ad28b-1-130481510403888701</AppDomain><Exception><ExceptionType>System.TimeoutException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The
    socket was aborted because an asynchronous receive from the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout.</Message><StackTrace>   at System.ServiceModel.Channels.StreamConne...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...ction.EndRead()     at System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(Object state)</StackTrace><ExceptionString>System.TimeoutException: The socket was aborted because an asynchronous receive from the
    socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout. ---&amp;gt; System.IO.IOException: The read operation failed, see inner exception. ---&amp;gt; System.TimeoutException:
    The socket was aborted because an asynchronous receive from the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout. ---&amp;gt; System.Net.Sockets.SocketException:
    The I/O operation has been aborted because of ei...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...ther a thread exit or an application request     at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()     at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs
    eventArgs)     --- End of inner exception stack trace ---     at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)     at System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.End(IAsyncResult result)  
      at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)     --- End of inner exception stack trace ---     at System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncResult)     at System.ServiceModel.Channels.StreamConnection.EndRead()
        --- End of inner exception stack trace ---     at System.ServiceModel.Chann...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...els.StreamConnection.EndRead()     at System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(Object state)</ExceptionString><InnerException><ExceptionType>System.IO.IOException, mscorlib, Version=4.0.0.0,
    Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The read operation failed, see inner exception.</Message><StackTrace>   at System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncResult)    
    at System.ServiceModel.Channels.StreamConnection.EndRead()</StackTrace><ExceptionString>System.IO.IOException: The read operation failed, see inner exception. ---&amp;gt; System.TimeoutException: The socket was aborted because an asynchronous
    receive from the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this oper...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...ation may have been a portion of a longer timeout. ---&amp;gt; System.Net.Sockets.SocketException: The I/O operation has been aborted because of either a thread exit or an application request     at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()
        at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs eventArgs)     --- End of inner exception stack trace ---     at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult
    result)     at System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.End(IAsyncResult result)     at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)     --- End of inner exception stack trace ---
        at System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncRes...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...ult)     at System.ServiceModel.Channels.StreamConnection.EndRead()</ExceptionString><InnerException><ExceptionType>System.TimeoutException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The
    socket was aborted because an asynchronous receive from the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout.</Message><StackTrace>   at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult
    result)     at System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.End(IAsyncResult result)     at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)</StackTrace><ExceptionString>System.TimeoutException:
    The socket was aborted because ...  
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...an asynchronous receive from the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout. ---&amp;gt; System.Net.Sockets.SocketException: The I/O operation
    has been aborted because of either a thread exit or an application request     at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()     at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender,
    SocketAsyncEventArgs eventArgs)     --- End of inner exception stack trace ---     at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)     at System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.End(IAsyncResult
    result)     at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transpor...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...tResult)</ExceptionString><InnerException><ExceptionType>System.Net.Sockets.SocketException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The I/O operation has been
    aborted because of either a thread exit or an application request</Message><StackTrace>   at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()     at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object
    sender, SocketAsyncEventArgs eventArgs)</StackTrace><ExceptionString>System.Net.Sockets.SocketException (0x80004005): The I/O operation has been aborted because of either a thread exit or an application request     at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()
        at System.ServiceModel.Channels.SocketCo...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...nnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs eventArgs)</ExceptionString><NativeErrorCode>3E3</NativeErrorCode></InnerException></InnerException></InnerException></Exception></TraceRecord>
    06/25/2014 08:29:23.88  w3wp.exe (0x2308)                       
    0x20BC SharePoint Foundation         
    Monitoring                    
    nasq Verbose 
    Entering monitored scope (SPFileStreamManager.GetStreamInfo). Parent SPSqlClient
    183e9e9c-5ed6-e0aa-f49d-829231a7c856
    06/25/2014 08:29:23.88  w3wp.exe (0x2308)                       
    0x20BC SharePoint Foundation         
    Monitoring                    
    b4ly Verbose 
    Regards
    Ritu Raj
    When you see answers and helpful posts,
    please click Vote As Helpful, Propose As Answer, and/or Mark As Answer

    Problem with distributed cache connection, Check below
    http://www.dmcinfo.com/latest-thinking/blog/id/8657/fix-sharepoint-2013-distributed-cache-timeouts
    http://habaneroconsulting.com/insights/SharePoint-2013-Distributed-Cache-Bug#.U6p506Nn01s
    http://social.technet.microsoft.com/forums/sharepoint/en-US/fd3bca97-5d75-4a67-87ca-aac7bb5f6352/setup-spn-for-appfabric-distributed-cache-in-sharepoint-2013
    http://social.msdn.microsoft.com/Forums/en-US/317ef084-1174-4c4e-8d23-d1c56bd0db73/sharepoint-2013-workflows-keep-crashing-due-to-distributed-logon-token-cache-timeouts-cache-keeps?forum=sharepointadmin
    If this helped you resolve your issue, please mark it Answered

  • Portal runtime error exception ID: error in init method

    Hi Experts
    I am getting the portal runtime error http://<fqdn>:<port>/irj/portal,  can anybody suggest me what to do.
    "Portal runtime error.
    An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 02:27_06/09/10_68650050"
    Here is the log file
    02:27_06/09/10_68650050
    [EXCEPTION]
    com.sapportals.portal.prt.component.PortalComponentException: Error in init method
    Component : com.sap.netweaver.coll.appl.ui.room.CollaborationDetailedNavigation
    at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:251)
    at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:271)
    at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:316)
    at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:387)
    at com.sapportals.portal.pb.PageBuilder.createIviewProfile(PageBuilder.java:443)
    at com.sapportals.portal.pb.PageBuilder.createiView(PageBuilder.java:391)
    at com.sapportals.portal.pb.PageBuilder.createAndAddiViews(PageBuilder.java:233)
    at com.sapportals.portal.pb.PageBuilder.doOnNodeReady(PageBuilder.java:635)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388)
    at com.sapportals.portal.pb.PageBuilder.handleEvent(PageBuilder.java:815)
    at com.sapportals.portal.prt.component.CachablePortalComponent.handleEvent(CachablePortalComponent.java:703)
    at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
    at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:368)
    at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:642)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:235)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:523)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:412)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class com.sapportals.portal.navigation.CollaborationNavTree of Portal Component com.sap.netweaver.coll.appl.ui.room.CollaborationDetailedNavigation because: Could not instantiate implementation class
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:269)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getComponentInstance(PortalComponentItemFacade.java:160)
    at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:732)
    at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java:103)
    at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:242)
    ... 35 more
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: [PortalApplicationItem._prepare]: com.sap.netweaver.coll.appl.ui.room
    at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:427)
    at com.sapportals.portal.prt.core.broker.PortalApplicationItem._refresh(PortalApplicationItem.java:507)
    at com.sapportals.portal.prt.core.broker.PortalApplicationItem.getCoreLoader(PortalApplicationItem.java:1360)
    at com.sapportals.portal.prt.core.broker.PortalComponentItem.getClassLoader(PortalComponentItem.java:569)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getClassLoader(PortalComponentItemFacade.java:102)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:228)
    ... 39 more
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: [PortalApplicationItem._prepare]: com.sap.netweaver.bc.rf.service
    at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:427)
    at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:387)
    ... 44 more
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception during start of application: SAPJ2EE::library:signature_lib
    at com.sapportals.portal.prt.core.broker.SAPJ2EEApplicationItem.prepare(SAPJ2EEApplicationItem.java:323)
    at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:387)
    ... 45 more
    Caused by: com.sapportals.portal.prt.core.broker.SAPJ2EELibraryNotFoundException: Could not find Library SAPJ2EE::library:signature_lib
    at com.sapportals.portal.prt.core.broker.SAPJ2EEApplicationItem.prepare(SAPJ2EEApplicationItem.java:277)
    ... 46 more. . .
    Thanks in advance
    Uday

    Hi Tobias
    Thanks for your response, i can able to access /nwa. The trace file while is posted got from /nwa.
    I have restarted the portal. Can you please tell me where can we check the errors when portal started?
    Thanks in advance
    Uday

Maybe you are looking for