Fixed bug:Hyperlink.fromElement generates null pointer exception. Style allighed.