CustomWebView
CustomWebView copied to clipboard
gnu.mapping.SimpleSymbol cannot be cast to java.util.List
What and Where? I encountered this problem after verifying that I was doing right according to the source code.
https://github.com/vknow360/CustomWebView/blob/d0db408b4cb5f0256083eb23de6898e50287c1f0/com/sunny/CustomWebView/CustomWebView.java#L835
My blocks:

Error: in title.
Thank you. Bug has been identified.
Can you check this aix? com.sunny.CustomWebView.zip
I have this issue too, I'll try that aix.
I have this issue too, I'll try that aix.
Try using v12beta. (Available in beta branch)
Alright, and just to add the aix you sent here didn't work.
v12beta didn't work, same error.
Bug identified, once again. Will be fixed soon.
@UCYT5040 Can you check this aix? com.sunny.CustomWebView.zip
Now it uses this method:
public void LoadWithHeaders(String url, YailList headerList) {
if (headerList.size() != 0) {
java.util.Map<String, String> header = new HashMap<String, String>();
String[] str = headerList.toStringArray();
for (String s : str) {
String[] s2 = s.split(",");
header.put(s2[0], s2[1]);
}
webView.loadUrl(url, header);
} else {
GoToUrl(url);
}
}
Ok I will try it.
It shows this error
length=1; index=1
I used both a list and a dictionary for the headers.
@vknow360
Pinging in case you didn't get a notification
It shows this error
length=1; index=1I used both a list and a dictionary for the headers.
Try passing a list of CSV headers.
For example:
make a list (key,value)
I did them like this neither worked https://img.ucyt5040.repl.co/img.png
@vknow360
You have to pass headers in this way:

Closing due to no response
I have it just like in the picture you showed and the companion just crashes.
@vknow360
I have it just like in the picture you showed and the companion just crashes.
In last push, the method signature has been changed. It now accepts a dictionary as headers.

tried beta extension and your updated too, same error.
