Hi,
I am trying to make field that renders HTML content from static string. This string contains references to images. And these images I am loading from local resources. For this purpose I am implementing HttpConection interface that is returned in
public HttpConnection getResource(RequestedResource resource, BrowserContent referrer)
when Image is requested.
But after I am receiving following exception:
Thread [CS(155)id=1611022336] (Suspended (exception NumberFormatException))
NumberUtilities.parseInt(String, int, int, int) line: 601
Integer.parseInt(String, int) line: 379
Integer.parseInt(String) line: 397
SecondaryURLManager.secondaryURLReady(RequestedResource, BrowserContentImpl) line: 197
HTMLBrowserContent(BrowserContentImpl).resourceReady(RequestedResource) line: 447
HTMLBrowserContent.resourceReady(RequestedResource) line: 151
HTMLBrowserContent(BrowserContentImpl).requestSecondaryURL(String, boolean, boolean) line: 435
HTMLBrowserContent(BrowserContentImpl).addSecondaryURL(String, SecondaryURLNode, boolean) line: 388
RHTMLRenderer(HTMLBaseRenderer).makeBitmapField(HTMLGenericElement, Border, String, int, int, int, int) line: 6196
RHTMLRenderer(HTMLBaseRenderer).processElementImg(HTMLGenericElement, boolean) line: 1989
RHTMLRenderer(HTMLBaseRenderer).processTag(int, HTMLGenericElement, boolean, boolean) line: 1114
RHTMLRenderer(HTMLBaseRenderer).handleOpenTag(HTMLGenericElement, boolean) line: 970
RHTMLRenderer.handleTag(int) line: 1621
RHTMLRenderer.parseData() line: 603
RHTMLRenderer(HTMLBaseRenderer).finishProcessingData() line: 853
HTMLBrowserContent(BrowserContentImpl).finishLoading() line: 664
HTMLBrowserContent.finishLoading() line: 523
StaticContentBrowserField.processConnection(HttpConnection, Event) line: 90
StaticContentBrowserField$ResourceFetchThread.run() line: 286
Could you please provide me with some ideas how to resolve this?
Thanks
Lyubomyr