No Actions available | An error was encountered while processing your request

Certified Lead Developer

"No Actions available | An error was encountered while processing your request"

Seeing the error sporadically in PROD environment and logs around that time were pointing to the QueryProcessAnalytics report timeout.

Scenarios when the issue was seen,

1. User tried navigating to one of the record dashboard from the record context.

2. User tried to move back to the Active task ( using Task Link embedded in the related action)

 

Any pointers as I'm not sure if analytic report timeout is the root cause. 

 

Logs:

2017-05-19 13:21:01,615 [[ACTIVE] ExecuteThread: '57' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR com.appiancorp.core.expr.a.QueryProcessAnalytics - The report generation was cancelled by the system after 57249 ms. The time limit for generating a report is 10000 ms. (APNX-1-4275-008)

com.appiancorp.suiteapi.common.exceptions.AppianException: The report generation was cancelled by the system after 57249 ms. The time limit for generating a report is 10000 ms. (APNX-1-4275-008)

     at com.appiancorp.core.expr.a.QueryProcessAnalytics.executeAnalyticsReport(QueryProcessAnalytics.java:248)

<May 19, 2017 1:25:54 PM GMT> <Error> <HTTP> <BEA-101362> <[ServletContext@1204326070[app:suite module:qmodd_prod path:null spec-version:3.0]] could not deserialize the request scoped attribute with name: "recordType"

java.io.NotSerializableException: com.appiancorp.suiteapi.common.paging.SortInfo

     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)

     at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)

     at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)

     at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)

     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)

     Truncated. see log file for complete stacktrace

>

May 19, 2017 1:26:00 PM com.atlassian.plugin.loaders.ScanningPluginLoader addFoundPlugins

INFO: No plugins found to be installed

May 19, 2017 1:26:00 PM com.atlassian.plugin.loaders.ScanningPluginLoader addFoundPlugins

INFO: No plugins found to be installed

<May 19, 2017 1:26:01 PM GMT> <Error> <HTTP> <BEA-101362> <[ServletContext@1204326070[app:suite module:qmodd_prod path:null spec-version:3.0]] could not deserialize the request scoped attribute with name: "recordType"

java.io.NotSerializableException: com.appiancorp.suiteapi.common.paging.SortInfo

     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)

     at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)

     at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)

     at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)

     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)

     Truncated. see log file for complete stacktrace

  Discussion posts and replies are publicly visible

Parents
  • java.io.NotSerializableException can occur when you serialize an inner class instance because serializing such an inner class instance will result in serialization of its associated outer class instance as well. How to solve it?

    • If the class is yours, make the class serializable by implementing the interface java.io.Serializable.
    • All non primitive members implement Serializable (or are transient instead)
    • If your class is an inner class it's either static or the outer class implements Serializable
    • If the class is 3rd party, but you don't need it in the serialized form, mark the field as transient

    It is important to note that Serialization of inner classes (i.e., nested classes that are not static member classes), including local and anonymous classes, is strongly discouraged.

Reply
  • java.io.NotSerializableException can occur when you serialize an inner class instance because serializing such an inner class instance will result in serialization of its associated outer class instance as well. How to solve it?

    • If the class is yours, make the class serializable by implementing the interface java.io.Serializable.
    • All non primitive members implement Serializable (or are transient instead)
    • If your class is an inner class it's either static or the outer class implements Serializable
    • If the class is 3rd party, but you don't need it in the serialized form, mark the field as transient

    It is important to note that Serialization of inner classes (i.e., nested classes that are not static member classes), including local and anonymous classes, is strongly discouraged.

Children
No Data