Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.UnsupportedOperationException: Not supported yet

 
luckay win
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I am facing with "java.lang.UnsupportedOperationException: Not supported yet."

on my code

private Map<String, Object> session;

public String execute() {
Object list = session.get("mylist"); // this line thrown "java.lang.UnsupportedOperationException: Not supported yet."

could any body please help?

thanks & regards
Luc
 
Ankit Garg
Sheriff
Posts: 9509
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Luckay, please Use Code Tags when you post a source code. That way your code looks formatted. Unformatted code is hard to read. You can add code tags by wrapping your code in [code] [/code] tags. You can edit your message using button and then add code tags to it.

How is the session map initialized?? Which version of struts are you using??
 
luckay win
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks,

I knew the problem will not occurs if I removed "implements SessionAware" .. but I don't understandy why ?..

so I thought the problem is not from: Object list = session.get("mylist"); line as I said before.

could you please advise what's going on there?


 
pete stein
Bartender
Posts: 1561
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cross-post: java-lang-unsupportedoperationexception-not-supported-yet

Please check out the FAQ's including: Be Forthright When Cross Posting To Other Sites
It will explain why this matters.

Are there any other cross-posts?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic