Some more information, a dump of the deck in question (including http
headers):

 2001-08-16 10:52:38 [8] DEBUG: Headers "Content-type" = "text/vnd.wap.wml"
2001-08-16 10:52:38 [8] DEBUG: Headers "Connection" = "Close"
2001-08-16 10:52:38 [8] DEBUG: Headers "Pragma" = "no-cache"
2001-08-16 10:52:38 [8] DEBUG: <?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml";><wml><head><meta
http-equiv="Cache-Control" content="max-age=0"
forua="true"/></head><template><do type="prev"
label="Prev"><prev></prev></do></template><card id="c1" title="Yahoo!
Deutschland" ><p align="center"><img src="/img/yicon.wbmp"
alt="Yahoo!"/></p><p><a href="http://oa.europe.yahoo.com/dir/de/index.wml";
title="OK">Y! Verzeichnis</a><br/><a
href="http://oa.europe.yahoo.com/http://mail.yahoo.de/"; title="OK">Y!
Mail</a><br/><a href="http://oa.europe.yahoo.com/mfA5Ens7rN.eL7R9pETM";
title="OK">Mein Yahoo!</a><br/><a
href="http://yeb1.lng.yahoo.com/finance/top?intl=de"; title="OK">Y!
Finanzen</a><br/><a href="http://oa.europe.yahoo.com/de/news/index.wml";
title="OK">Y! Schlagzeilen</a><br/><a
href="http://oa.europe.yahoo.com/de/sport/index.wml"; title="OK">Y!
Sport</a><br/><a href="http://oa.europe.yahoo.com/mfA5Ins7fXCdzHNEGITs";
title="OK">Y! Wetter</a><br/><a
href="http://oa.europe.yahoo.com/de/horo/index.wml"; title="OK">Y!
Horoskop</a><br/><a href="http://oa.europe.yahoo.com/de/mv/index.wml";
title="OK">Y! Kino</a><br/><a
href="http://oa.europe.yahoo.com/mfA5Mns7DUegeeo97bXI"; title="OK">Y!
Auktionen</a><br/><a href="http://oa.europe.yahoo.com/de/wsweek/index.wml";
title="OK">Y! Wap-Site der Woche</a><br/><a
href="http://oa.europe.yahoo.com/mfA5Qns7ewISo2XBlDNM";>Y!
Messenger</a><br/><a href="http://oa.europe.yahoo.com/mfA5Uns7a1gAfgtaib5x";
title="OK">Y! Adre&#223;buch</a><br/><a
href="http://oa.europe.yahoo.com/mfA5Yns7Jd3C1bJhVTY2"; title="OK">Y!
Kalender</a><br/><a href="http://oa.europe.yahoo.com/mfA5cns7381udFFOfz8O";
title="OK">Y! Bookmarks</a><br/><a href="#c2"
title="OK">Mehr...</a><br/></p></card><card id="c2" title="Yahoo!
Deutschland" ><p><a href="http://oa.europe.yahoo.com/de/wc.wml";
title="OK">Y! Weltzeituhr</a><br/><a
href="http://oa.europe.yahoo.com/de/tv/index.wml"; title="OK">Y!
TV</a><br/><a href="http://oa.europe.yahoo.com/de/lotto/index.wml";
title="OK">Y! Lotto</a><br/><a
href="http://oa.europe.yahoo.com/mfA5gns7BEfphRMhjFEP"; title="OK">Y!
Weltweit</a><br/><a href="#c1" title="OK">Zur&#252;ck zur
Hauptseite</a><br/></p></card></wml>

Regards
  J�rg

-----Original Message-----
From: J�rg Pommnitz
To: '[EMAIL PROTECTED]'
Sent: 8/16/01 12:30 PM
Subject: Kannel CVS and 1.0.3 do not work with some WAP sites

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

Reply via email to