This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 182358 - [Update FlyingSaucer to last version] When an a stylesheet contains an image that does exist, an exception is shown
Summary: [Update FlyingSaucer to last version] When an a stylesheet contains an image ...
Status: RESOLVED WONTFIX
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-19 10:26 UTC by ehartmann
Modified: 2013-01-02 10:01 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ehartmann 2010-03-19 10:26:12 UTC
The exception is the following :

SEVERE [org.openide.util.Exceptions]
java.lang.NullPointerException
        at org.xhtmlrenderer.swing.AWTFSImage$OldAWTFSImage.getWidth(AWTFSImage.java:49)

This is caused by a bug in xhtmlrenderer (https://xhtmlrenderer.dev.java.net/issues/show_bug.cgi?id=280).

This is fixed with trunk version (netbeans uses r7 which is removed from the website).

I've tested Netbeans, with xhtmlrenderer compiled today from trunk version and the exception is no more shown.
Comment 1 Marek Fukala 2010-03-19 22:16:57 UTC
Thanks for the findings, I'll try to update the library.
Comment 2 Marek Fukala 2010-03-23 14:54:57 UTC
FYI, the exception from Flying Saucer is not popped up anymore, this was a typo-like regression, fixed in web-main#d2311cb88907 (issue #182451)
Comment 3 ehartmann 2010-03-26 09:06:38 UTC
Just a note:

To upgrade the library, I have to add two packages in friend-packages section :

<package>org.xhtmlrenderer.event</package>
<package>org.xhtmlrenderer.simple.extend</package>

To make css.visual happy.
Comment 4 Marek Fukala 2013-01-02 10:01:13 UTC
FlyingSaucer not used anymore