Hi List,
I'm just starting to investigate a strange problem that happens
with some WAP sites and the Nokia WAP toolkit 2.x. When I try to
visit for instance http://wap.yahoo.de the WAP toolkit fails to display
the site. This happens with both, Kannel 1.0.3 and a fresh CVS tree.
The detailed error log of the toolkit shows a Java exception:
loadNewContent: (http://wap.yahoo.de)
null
java.lang.NullPointerException
at com.nokia.wap.sdk.http.URLCache.isReplyCacheable(Unknown Source)
at com.nokia.wap.sdk.http.URLCache.putReply(Unknown Source)
at com.nokia.wap.sdk.http.URLloader.load(Unknown Source)
at com.nokia.wap.sdk.browser.WMLBrowserImpl$3.run(Unknown Source)
at com.nokia.wap.sdk.util.ThreadedOperation.perform(Unknown Source)
at com.nokia.wap.sdk.util.ThreadedOperation.access$000(Unknown
Source)
at com.nokia.wap.sdk.util.ThreadedOperation$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
My gut feeling (surprise, surprise) is that Kannel encodes some cache
control
headers different from what the Nokia toolkit expects. I'm going to distill
a test case but I'm also interested in other opinions.
Thanks in advance
Joerg