<BEA-320102> java.lang.UnsupportedOperationException after enabling the Agent

Document ID : KB000045249
Last Modified Date : 14/02/2018
Show Technical Document Details

Problem:

After enabling the agent 10.x in Weblogic 12c you find the below exception on appserver log:

<Error> <Diagnostics> <Agent Heartbeat> <<WLS Kernel>> <> <> <1458813474530> <BEA-320102>
<An error occcurred when trying to access the diagnostic data while executing the query expression null. java.lang.UnsupportedOperationException: Can not specify time interval with archive: HTTPAccessLog at weblogic.diagnostics.archive.filestore.FileDataArchive.getDataRecords(FileDataArchive.java:1237)
at weblogic.diagnostics.accessor.DataAccessRuntime.openCursor(DataAccessRuntime.java:306)
at weblogic.diagnostics.accessor.DataAccessRuntime.openCursor(DataAccessRuntime.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at weblogic.management.jmx.modelmbean.WLSModelMBean.invoke(WLSModelMBean.java:437)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:263)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:445)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323)
at com.wily.introscope.agent.wldf.IntroscopeProtocolWLDFAdaptor.invoke(IntroscopeProtocolWLDFAdaptor.java:424)
at com.wily.introscope.agent.wldf.IntroscopeProtocolWLDFAdaptor.pollViews(IntroscopeProtocolWLDFAdaptor.java:269)
at com.wily.introscope.agent.wldf.IntroscopeProtocolWLDFAdaptor.findServersAndPollViews(IntroscopeProtocolWLDFAdaptor.java:217)
at com.wily.introscope.agent.wldf.IntroscopeProtocolWLDFAdaptor.access$0(IntroscopeProtocolWLDFAdaptor.java:203)
at com.wily.introscope.agent.wldf.IntroscopeProtocolWLDFAdaptor$FindServersAndPollViewsAction.run(IntroscopeProtocolWLDFAdaptor.java:192)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.security.Security.runAs(Security.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.wily.introscope.agent.wldf.IntroscopeProtocolWLDFAdaptor.setContextAndPoll(IntroscopeProtocolWLDFAdaptor.java:172)
at com.wily.introscope.agent.wldf.IntroscopeProtocolWLDFAdaptor.access$1(IntroscopeProtocolWLDFAdaptor.java:152)
at com.wily.introscope.agent.wldf.IntroscopeProtocolWLDFAdaptor$IntroscopeProtocolWLDFAdaptorHeartbeatBehavior.ITimestampedRunnable_execute(IntroscopeProtocolWLDFAdaptor.java:570)
at com.wily.util.heartbeat.IntervalHeartbeat$BehaviorNode.execute(IntervalHeartbeat.java:972)
at com.wily.util.heartbeat.IntervalHeartbeat.executeNextBehaviorAndCalculateSleepTime(IntervalHeartbeat.java:491)
at com.wily.util.heartbeat.IntervalHeartbeat.access$2(IntervalHeartbeat.java:445)
at com.wily.util.heartbeat.IntervalHeartbeat$HeartbeatRunnable.run(IntervalHeartbeat.java:668)
at java.lang.Thread.run(Thread.java:745)

Workaround:

1. Stop the appserver
2. Open the IntroscopeAgent.profile, set introscope.agent.wldf.enable=false
3. Start the appserver