Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-19287

Fix errors "There was an error communicating with the server, status: 500"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 8.2-SNAPSHOT
    • Fix Version/s: 8.3
    • Component/s: Seam / JSF UI

      Description

      I regularly have errors that say "There was an error communicating with the server, status: 500". I'm using IE 11 and mysql (no addon, no other config).

      Examples of situations I got this error:

      • When I close the permalink popup
      • When I click the icons from the infoview

      It seems to be linked with this stacktrace:

      Caused by: java.lang.NullPointerException
      	at org.nuxeo.ecm.platform.ui.web.application.NuxeoServerSideStateHelper.getState(NuxeoServerSideStateHelper.java:272)
      	at com.sun.faces.renderkit.ServerSideStateHelper.isStateless(ServerSideStateHelper.java:489)
      	at org.nuxeo.ecm.platform.ui.web.application.NuxeoResponseStateManagerImpl.isStateless(NuxeoResponseStateManagerImpl.java:142)
      	at com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlingStrategy.java:549)
      	at com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:150)
      	at org.jboss.seam.jsf.SeamViewHandler.restoreView(SeamViewHandler.java:194)
      	at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:353)
      	at org.richfaces.application.GlobalResourcesViewHandler.restoreView(GlobalResourcesViewHandler.java:177)
      	at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:197)
      	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      	at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:121)
      	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
      	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)
      	... 62 more
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 minute
                  1m