Project

General

Profile

« Previous | Next » 

Revision 61302

Added by Andreas Czerniak almost 3 years ago

to avoid null pointer exception

View differences:

modules/dnet-collector-plugins/trunk/src/main/java/eu/dnetlib/data/collector/plugins/rest/RestIterator.java
266 266
                    }
267 267
                    log.debug("RestIterator.downloadPage().discover:: resumptionInt="+Integer.toString(resumptionInt)+"; ");
268 268
                    qUrlArgument = qUrl.getQuery();
269

  
270
                    if( qUrlArgument != null ) {
269 271
                    String[] arrayQUrlArgument = qUrlArgument.split("&");
270 272

  
271 273
                    // check if URL arguments given
......
283 285
                            }
284 286
                        }
285 287
                    }
288
                    }
286 289
                    log.debug("RestIterator.downloadPage().discover:: nodeList.length=" + nodeList.getLength());
287 290

  
288 291
                    if (isEmptyXml(resultXml) || ((nodeList != null) && (nodeList.getLength() < resultSizeValue))
modules/dnet-collector-plugins/trunk/pom.xml
7 7
	</parent>
8 8
	<groupId>eu.dnetlib</groupId>
9 9
	<artifactId>dnet-collector-plugins</artifactId>
10
	<version>1.5.16-SNAPSHOT</version>
10
	<version>1.5.17-SNAPSHOT</version>
11 11
	<scm>
12 12
		<developerConnection>scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet45/modules/dnet-collector-plugins/trunk</developerConnection>
13 13
	</scm>

Also available in: Unified diff