aspose file tools*
The moose likes Struts and the fly likes java.lang.UnsupportedOperationException: Not supported yet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "java.lang.UnsupportedOperationException: Not supported yet" Watch "java.lang.UnsupportedOperationException: Not supported yet" New topic
Author

java.lang.UnsupportedOperationException: Not supported yet

luckay win
Ranch Hand

Joined: Sep 21, 2010
Posts: 36
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

Joined: Aug 03, 2008
Posts: 9311
    
  17

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??


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
luckay win
Ranch Hand

Joined: Sep 21, 2010
Posts: 36
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

Joined: Feb 23, 2007
Posts: 1561
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.UnsupportedOperationException: Not supported yet