Sun.io.malformedinputexception null
We had a customer using the adapter on JVM 8 and that's where the issue began. I am not the developer who worked on it, so I have no idea where to look for. What I do know is that the root cause of the exception is that this class is deprecated and is not available in Java 1. Now my question would be is there a way for me look at the code base from the SCA file?
What would those steps be? I basically extracted all the jars out of the SCA file, but not sure where to go from there. If there is anyone who can point me in the right direction, I would very much appreciate that. Thanks a lot. Paul Clapham. It would help if you had a stack trace, rather than just the bare description of the exception. That would tell you exactly what class was trying to use the sun.
Perhaps you can find one in a log somewhere? Or change the configuration so that stack traces are included in error logs? ClassNotFoundException: sun. So there you go, those stack traces tell you which classes are calling the problematic method. But I'm a bit surprised -- you're using SAP which from what I've heard is a large and complex system which costs a lot of money. So do you not have a support contract with SAP, or whatever expensive consultants installed this code?
That's the first approach I would be taking. Yep, I have already started that thread. This is just being a curious me and wanted to dig deep into the root cause analysis.
Anyway thanks for your help, Cheers. Just curious, is there a way for anyone to find out the list of the classes that are part of the SCA file that are obsolete? I am hoping there is some kind of a command line utility that tells us that.
Any thoughts? Is there anyway I can get the alternatives to these? I couldnt find anywhere on this at Oracles website. Pl suggest. These are the classes and methods I am interested in. ByteToCharConverter sun. Campbell Ritchie. It appears they have been removed.
MalformedInputException at java. Improve this question. ATRS 4 4 silver badges 15 15 bronze badges. JanFo JanFo 2 2 silver badges 9 9 bronze badges. You've misread the problem. This class should be in the JDK. You are probably using wrong JDK perhaps 8 to start your client. Hi user, have you found the way to solve this problem without switching form Java 8 to Java 7? ChangLiu unfortunately not. The problem was solved switching to Java 8. Add a comment. Active Oldest Votes.
Improve this answer. ParanoidUser ParanoidUser 96 1 1 silver badge 4 4 bronze badges. Caused by: java. It works :. Haribabu Haribabu 11 4 4 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Helping communities build their own LTE networks.
Podcast Making Agile work for data science. Featured on Meta.
0コメント