[
https://issues.apache.org/jira/browse/NIFI-3383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Burgess updated NIFI-3383:
-------------------------------
Affects Version/s: (was: 1.0.1)
(was: 1.1.1)
(was: 1.2.0)
(was: 1.1.0)
(was: 1.0.0)
> MonitorMemory produces UnsupportedOperationException
> ----------------------------------------------------
>
> Key: NIFI-3383
> URL: https://issues.apache.org/jira/browse/NIFI-3383
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Bryan Bende
> Assignee: Matt Burgess
> Priority: Minor
> Attachments: MonitorMemory Error.png
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> {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
(v8.3.4#803005)