question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SelectedSelectionKeySet.java throw UnsupportedOperationException

See original GitHub issue

Expected behavior

When I use reflection to get a obejct that contains all fields, and then, I input it’s info when I iterate it . But,I find an error that is UnsupportedOperationException

Actual behavior

Steps to reproduce

Minimal yet complete reproducer code (or URL to code)

class SelectedSelectionKeySet.java at line 62

Netty version

4.1.27

JVM version (e.g. java -version)

8u172

OS version (e.g. uname -a)

win7

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
monkey1993commented, Aug 30, 2018

No code. Just see SelectedSelectionKeySet.java at line 62

0reactions
monkey1993commented, Aug 31, 2018

As you said, that’s trivial, and I can still circumvent it to figure out how much memory an object occupies.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Throwing an UnsupportedOperationException - Stack Overflow
I just printed out the message using println() but is there a different way to generate the message? java · exception-handling · try-catch....
Read more >
How to Fix the Unsupported Operation Exception in Java
An UnsupportedOperationException is thrown when a requested operation cannot be performed because it is not supported for that particular class.
Read more >
UnsupportedOperationException of Netty's ... - GitHub
Hello everybody, This library looks promising. I just started playing with it (version 4.5.0), but I got into an issue that I believe...
Read more >
How to Solve Java List UnsupportedOperationException?
It is thrown to indicate that the requested operation is not supported. This class is a member of the Java Collections Framework.
Read more >
UnsupportedOperationException (Java Platform SE 7 )
Thrown to indicate that the requested operation is not supported. This class is a member of the Java Collections Framework. Since: 1.2; See...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found