Protect against NullPointerException
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2444 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
e21ae32722
commit
190e817fb8
@ -249,8 +249,8 @@ public class ExcelImporter extends TabularImportingParserBase {
|
||||
if (hyperlink != null) {
|
||||
String url = hyperlink.getAddress();
|
||||
|
||||
if (url.startsWith("http://") ||
|
||||
url.startsWith("https://")) {
|
||||
if (url != null && (url.startsWith("http://") ||
|
||||
url.startsWith("https://"))) {
|
||||
|
||||
final String sig = "freebase.com/view";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user