Index: /trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/web/WeblogParser.java
===================================================================
--- /trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/web/WeblogParser.java	(revision 176)
+++ /trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/web/WeblogParser.java	(revision 177)
@@ -135,9 +135,7 @@
 	 * @throws ParseException
 	 *             thrown the date format is invalid
-	 * @throws URISyntaxException
-	 *             thrown if the URI is invalid
 	 */
 	public void parseFile(String filename) throws IOException,
-			FileNotFoundException, ParseException, URISyntaxException {
+			FileNotFoundException, ParseException {
 		String[] lines = FileTools.getLinesFromFile(filename);
 
@@ -151,5 +149,7 @@
 		sequences = new ArrayList<List<WebEvent>>();
 
+		int lineCounter = 0;
 		for (String line : lines) {
+			lineCounter++;
 			String[] values = line.substring(1, line.length() - 1).split(
 					"\" \"");
@@ -176,36 +176,39 @@
 			}
 			if (!isRobot(agent)) {
-				URI uri = new URI(uriString);
-
-				String path = uri.getPath();
-				List<String> getVars = extractGetVarsFromUri(uri);
-
-				WebEvent event = new WebEvent(path, timestamp, postedVars,
-						getVars);
-
-				// find session and add event
-				List<Integer> sessionIds = cookieSessionMap.get(cookie);
-				if (sessionIds == null) {
-					sessionIds = new ArrayList<Integer>();
-					// start new session
-					sessionIds.add(++lastId);
-					cookieSessionMap.put(cookie, sessionIds);
-					sequences.add(new LinkedList<WebEvent>());
-				}
-				Integer lastSessionIndex = sessionIds
-						.get(sessionIds.size() - 1);
-				List<WebEvent> lastSession = sequences.get(lastSessionIndex);
-				long lastEventTime = timestamp;
-				if (!lastSession.isEmpty()) {
-					lastEventTime = lastSession.get(lastSession.size() - 1)
-							.getTimestamp();
-				}
-				if (timestamp - lastEventTime > timeout) {
-					sessionIds.add(++lastId);
-					List<WebEvent> newSession = new LinkedList<WebEvent>();
-					newSession.add(event);
-					sequences.add(newSession);
-				} else {
-					lastSession.add(event);
+				try {
+					URI uri = new URI(uriString);
+					String path = uri.getPath();
+					List<String> getVars = extractGetVarsFromUri(uri);
+	
+					WebEvent event = new WebEvent(path, timestamp, postedVars,
+							getVars);
+	
+					// find session and add event
+					List<Integer> sessionIds = cookieSessionMap.get(cookie);
+					if (sessionIds == null) {
+						sessionIds = new ArrayList<Integer>();
+						// start new session
+						sessionIds.add(++lastId);
+						cookieSessionMap.put(cookie, sessionIds);
+						sequences.add(new LinkedList<WebEvent>());
+					}
+					Integer lastSessionIndex = sessionIds
+							.get(sessionIds.size() - 1);
+					List<WebEvent> lastSession = sequences.get(lastSessionIndex);
+					long lastEventTime = timestamp;
+					if (!lastSession.isEmpty()) {
+						lastEventTime = lastSession.get(lastSession.size() - 1)
+								.getTimestamp();
+					}
+					if (timestamp - lastEventTime > timeout) {
+						sessionIds.add(++lastId);
+						List<WebEvent> newSession = new LinkedList<WebEvent>();
+						newSession.add(event);
+						sequences.add(newSession);
+					} else {
+						lastSession.add(event);
+					}
+				} catch (URISyntaxException e) {
+					Console.traceln("Ignored line " + lineCounter + ": " + e.getMessage());
 				}
 			}
Index: /trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/web/commands/CMDloadSessionsFromClickstream.java
===================================================================
--- /trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/web/commands/CMDloadSessionsFromClickstream.java	(revision 176)
+++ /trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/web/commands/CMDloadSessionsFromClickstream.java	(revision 177)
@@ -3,5 +3,4 @@
 import java.io.FileNotFoundException;
 import java.io.IOException;
-import java.net.URISyntaxException;
 import java.security.InvalidParameterException;
 import java.text.ParseException;
@@ -52,8 +51,5 @@
 			Console.println("Invalid format of date stamps.");
 			Console.println(e.getMessage());
-		} catch (URISyntaxException e) {
-			Console.println("Invalid URI!");
-			Console.println(e.getMessage());
-		}
+		} 
 		
 		if( GlobalDataContainer.getInstance().addData("sequences", parser.getSequences()) ) {
