Menu

#42 CSSStyleDeclarationImpl.getPropertyValue throws NPE

0.9.11
closed
RBRi
None
1
2019-04-24
2013-11-12
No

Dear all,

Please note in CSSStyleDeclarationImpl, if a Property values is set to "", the value is set to null, then getPropertyValue() is called, a NullPointerExcpetion is thrown.

Please find attached patch.

1 Attachments

Discussion

  • RBRi

    RBRi - 2013-11-12
    • status: open --> accepted
    • assigned_to: RBRi
     
  • RBRi

    RBRi - 2013-11-12

    Will have a look....

     
  • RBRi

    RBRi - 2013-11-12

    Implementation is done, fix is in SVN. A snapshot build is available at Sonatype. An fresh HtmlUnit build is on the way.

    Btw. i have fixed at least one more possible NPE.
    Thanks for reporting.

     
  • RBRi

    RBRi - 2013-11-12
    • status: accepted --> closed
     

Anonymous
Anonymous

Add attachments
Cancel