While coding, I have ran into a type that "behaves" neither like a primitive nor Object in my NetBeans IDE. The type is IoBuffer from Apache MINA (but propabably the exact type has nothing to this question).
From my perspective:
"cannot find symbol"
hint when i wrote IoBuffer
)IoBuffer
variable/instance (compile error: "cannot find symbol"
)toString
.Of course, this is a standard Java class, but it looks unusual from current perspective (Maven project of one of examples bundled with Red5 Media Server)
Simple invocation:
// videoData.getData() returns IoBuffer
videoData.getData().toString()
Causes hint & compile-time error:
org/red5/demos/oflaDemo/StreamMultiplexer.java:[89,30] error: cannot access IoBuffer
Same error if I write only videoData.getData()
- hint in this case is The type od getData() is erroneous
What caused this situation?
Have you tried clearing netbeans cache? To clear cache: Shutdown Netbeans, rename %AppData%\Local\NetBeans\Cache\7.2\index, restart, wait for background scanning to complete and try again...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With