You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Josh Nicholson (JIRA)" <ji...@apache.org> on 2018/05/15 14:01:00 UTC

[jira] [Comment Edited] (NIFI-3383) MonitorMemory produces UnsupportedOperationException

    [ https://issues.apache.org/jira/browse/NIFI-3383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16475789#comment-16475789 ] 

Josh Nicholson edited comment on NIFI-3383 at 5/15/18 2:00 PM:
---------------------------------------------------------------

[~avish.saha] [~bende] Was this ever resolved? Experiencing this on NiFi 1.2 (HDF 3.0.2).


was (Author: josh.nicholson):
[~avish.saha] Was this ever resolved? Experiencing this on NiFi 1.2 (HDF 3.0.2).

> MonitorMemory produces UnsupportedOperationException
> ----------------------------------------------------
>
>                 Key: NIFI-3383
>                 URL: https://issues.apache.org/jira/browse/NIFI-3383
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.0.0, 1.1.0, 1.2.0, 1.1.1, 1.0.1
>            Reporter: Bryan Bende
>            Priority: Minor
>         Attachments: MonitorMemory Error.png
>
>
> {code}
> [na:1.8.0_111] Caused by: java.lang.UnsupportedOperationException: Usage threshold is not supported at sun.management.MemoryPoolImpl.setUsageThreshold(MemoryPoolImpl.java:114) ~[na:1.8.0_111] at org.apache.nifi.controller.MonitorMemory.onConfigured(MonitorMemory.java:178) ~[na:na] ... 16 common frames omitted
> {code}
> MonitoryMemory checks if memoryPoolBean.isCollectionUsageThresholdSupported()) and if so it eventually calls monitoredBean.setUsageThreshold(calculatedThreshold), but setUsageThreshold then checks isUsageThresholdSupported() so it can throw UnsupportedOperationException. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)