Bug 199714 NPE with invalid url[0002]
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/ViewerAttributeBean.java
continue;
			String paramName = parameter.getName( );
			String paramValue = (String) this.parametersAsString
					.get( paramName );
			if ( paramValue != null )
			{
				try
				{
					
					String format = ParameterAccessor.getFormat( request,
							paramName );
					if ( format == null || format.length( ) <= 0 )
					{
						format = parameter.getPattern( );
					}
					
					String dataType = ParameterDataTypeConverter
							.ConvertDataType( parameter.getDataType( ) );
					
					boolean isLocale = this.locParams.contains( paramName );
					
					Object paramValueObj = DataUtil.validate( dataType, format,
							paramValue, locale, isLocale );
					params.put( paramName, paramValueObj );
				}
				catch ( ValidationValueException e )
				{
					
					if ( IBirtConstants.SERVLET_PATH_PREVIEW
							.equalsIgnoreCase( request.getServletPath( ) ) )