Thanks for the reply Davide .
drool and Guvnor version is 5.2.0.FINAL . Please find below the FACT model
package com.etrade.jws.actimize.ki;
import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
public class LoginChallengeKI implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private Integer userEquityBalance;
private String foreignUserFlag;
private String csgUserFlag;
private Short avgRiskScore;
private Integer numLogin;
private String userLang1;
private String userLang2;
private String httpLang1;
private String httpLang2;
private String geoCity1;
private String geoCity2;
private String geoCountry1;
private String geoCountry2;
private String ipAddr1;
private String ipAddr2;
private String cookie1;
private String cookie2;
private String flashCookie1;
private String flashCookie2;
private Short lastChgEmailDays;
private Short lastChgAddrDays;
private Short lastChgPasswdDays;
private Short lastFailedLoginDays;
private Integer numAfterHrTrades;
private Integer numPreOpenTrades;
private Set<String> validCookies = new HashSet<String>();
private boolean hadPreviousChallenge;
private String WS_EventType;
private String WS_UserID;
private String WS_LoginName;
private String WS_SessionID;
private String WS_ChannelInd;
private String WS_Cookie;
private Integer WS_CookieAge;
private String WS_FlashCookie;
private String WS_IPAddr;
private String WS_UserAgent;
private String WS_DevicePrint;
private String WS_HttpLang;
private String WS_UserLang;
private String WS_AuthenMeth;
private String WS_AuthenLevel;
private String WS_AuthenStatus;
private String WS_GeoCountry;
private String WS_GeoRegion;
private String WS_GeoCity;
private String WS_GeoPostlCd;
private String WS_GeoConnSpeed;
// private String WS_MetroCd;
// private String WS_Latitude;
// private String WS_Longitude;
private Short WS_RiskScore;
private String WS_ActionCode;
private Date WS_EventTimeStamp;
private String WS_RiskScoreEvalFlag;
private boolean generateAlert;
private boolean challenge;
private Map<String, String> ruleIDMap = new HashMap<String, String>();
private String txID;
public void setRuleIDMapValue(String ruleID, String ruleName) {
this.ruleIDMap.put(ruleID, ruleName);
}
public LoginChallengeKI() {
}
public Integer getUserEquityBalance() {
return userEquityBalance;
}
public void setUserEquityBalance(Integer userEquityBalance) {
this.userEquityBalance = userEquityBalance;
}
public String getForeignUserFlag() {
return foreignUserFlag;
}
public void setForeignUserFlag(String foreignUserFlag) {
this.foreignUserFlag = foreignUserFlag;
}
public String getCsgUserFlag() {
return csgUserFlag;
}
public void setCsgUserFlag(String csgUserFlag) {
this.csgUserFlag = csgUserFlag;
}
public Short getAvgRiskScore() {
return avgRiskScore;
}
public void setAvgRiskScore(Short avgRiskScore) {
this.avgRiskScore = avgRiskScore;
}
public Integer getNumLogin() {
return numLogin;
}
public void setNumLogin(Integer numLogin) {
this.numLogin = numLogin;
}
public String getUserLang1() {
return userLang1;
}
public void setUserLang1(String userLang1) {
this.userLang1 = userLang1;
}
public String getUserLang2() {
return userLang2;
}
public void setUserLang2(String userLang2) {
this.userLang2 = userLang2;
}
public String getHttpLang1() {
return httpLang1;
}
public void setHttpLang1(String httpLang1) {
this.httpLang1 = httpLang1;
}
public String getHttpLang2() {
return httpLang2;
}
public void setHttpLang2(String httpLang2) {
this.httpLang2 = httpLang2;
}
public String getGeoCity1() {
return geoCity1;
}
public void setGeoCity1(String geoCity1) {
this.geoCity1 = geoCity1;
}
public String getGeoCity2() {
return geoCity2;
}
public void setGeoCity2(String geoCity2) {
this.geoCity2 = geoCity2;
}
public String getGeoCountry1() {
return geoCountry1;
}
public void setGeoCountry1(String geoCountry1) {
this.geoCountry1 = geoCountry1;
}
public String getGeoCountry2() {
return geoCountry2;
}
public void setGeoCountry2(String geoCountry2) {
this.geoCountry2 = geoCountry2;
}
public String getIpAddr1() {
return ipAddr1;
}
public void setIpAddr1(String ipAddr1) {
this.ipAddr1 = ipAddr1;
}
public String getIpAddr2() {
return ipAddr2;
}
public void setIpAddr2(String ipAddr2) {
this.ipAddr2 = ipAddr2;
}
public String getCookie1() {
return cookie1;
}
public void setCookie1(String cookie1) {
this.cookie1 = cookie1;
}
public String getCookie2() {
return cookie2;
}
public void setCookie2(String cookie2) {
this.cookie2 = cookie2;
}
public String getFlashCookie1() {
return flashCookie1;
}
public void setFlashCookie1(String flashCookie1) {
this.flashCookie1 = flashCookie1;
}
public String getFlashCookie2() {
return flashCookie2;
}
public void setFlashCookie2(String flashCookie2) {
this.flashCookie2 = flashCookie2;
}
public Short getLastChgEmailDays() {
return lastChgEmailDays;
}
public void setLastChgEmailDays(Short lastChgEmailDays) {
this.lastChgEmailDays = lastChgEmailDays;
}
public Short getLastChgAddrDays() {
return lastChgAddrDays;
}
public void setLastChgAddrDays(Short lastChgAddrDays) {
this.lastChgAddrDays = lastChgAddrDays;
}
public Short getLastChgPasswdDays() {
return lastChgPasswdDays;
}
public void setLastChgPasswdDays(Short lastChgPasswdDays) {
this.lastChgPasswdDays = lastChgPasswdDays;
}
public Short getLastFailedLoginDays() {
return lastFailedLoginDays;
}
public void setLastFailedLoginDays(Short lastFailedLoginDays) {
this.lastFailedLoginDays = lastFailedLoginDays;
}
public Integer getNumAfterHrTrades() {
return numAfterHrTrades;
}
public void setNumAfterHrTrades(Integer numAfterHrTrades) {
this.numAfterHrTrades = numAfterHrTrades;
}
public Integer getNumPreOpenTrades() {
return numPreOpenTrades;
}
public void setNumPreOpenTrades(Integer numPreOpenTrades) {
this.numPreOpenTrades = numPreOpenTrades;
}
public String getWS_UserID() {
return WS_UserID;
}
public void setWS_UserID(String wS_UserID) {
WS_UserID = wS_UserID;
}
public String getWS_LoginName() {
return WS_LoginName;
}
public void setWS_LoginName(String wS_LoginName) {
WS_LoginName = wS_LoginName;
}
public String getWS_ChannelInd() {
return WS_ChannelInd;
}
public void setWS_ChannelInd(String wS_ChannelInd) {
WS_ChannelInd = wS_ChannelInd;
}
public String getWS_Cookie() {
return WS_Cookie;
}
public void setWS_Cookie(String wS_Cookie) {
WS_Cookie = wS_Cookie;
}
public String getWS_FlashCookie() {
return WS_FlashCookie;
}
public void setWS_FlashCookie(String wS_FlashCookie) {
WS_FlashCookie = wS_FlashCookie;
}
public String getWS_IPAddr() {
return WS_IPAddr;
}
public void setWS_IPAddr(String wS_IPAddr) {
WS_IPAddr = wS_IPAddr;
}
public String getWS_HttpLang() {
return WS_HttpLang;
}
public void setWS_HttpLang(String wS_HttpLang) {
WS_HttpLang = wS_HttpLang;
}
public String getWS_UserLang() {
return WS_UserLang;
}
public void setWS_UserLang(String wS_UserLang) {
WS_UserLang = wS_UserLang;
}
public String getWS_GeoCountry() {
return WS_GeoCountry;
}
public void setWS_GeoCountry(String wS_GeoCountry) {
WS_GeoCountry = wS_GeoCountry;
}
public String getWS_GeoRegion() {
return WS_GeoRegion;
}
public void setWS_GeoRegion(String wS_GeoRegion) {
WS_GeoRegion = wS_GeoRegion;
}
public String getWS_GeoCity() {
return WS_GeoCity;
}
public void setWS_GeoCity(String wS_GeoCity) {
WS_GeoCity = wS_GeoCity;
}
public String getWS_GeoPostlCd() {
return WS_GeoPostlCd;
}
public void setWS_GeoPostlCd(String wS_GeoPostlCd) {
WS_GeoPostlCd = wS_GeoPostlCd;
}
public Short getWS_RiskScore() {
return WS_RiskScore;
}
public void setWS_RiskScore(Short wS_RiskScore) {
WS_RiskScore = wS_RiskScore;
}
public Date getWS_EventTimeStamp() {
return WS_EventTimeStamp;
}
public void setWS_EventTimeStamp(Date wS_EventTimeStamp) {
WS_EventTimeStamp = wS_EventTimeStamp;
}
public String getWS_RiskScoreEvalFlag() {
return WS_RiskScoreEvalFlag;
}
public void setWS_RiskScoreEvalFlag(String wS_RiskScoreEvalFlag) {
WS_RiskScoreEvalFlag = wS_RiskScoreEvalFlag;
}
public boolean isChallenge() {
return challenge;
}
public void setChallenge(boolean challenge) {
this.challenge = challenge;
}
public Map<String, String> getRuleIDMap() {
return ruleIDMap;
}
public void setRuleIDMap(Map<String, String> ruleIDMap) {
this.ruleIDMap = ruleIDMap;
}
public String getWS_EventType() {
return WS_EventType;
}
public void setWS_EventType(String wS_EventType) {
WS_EventType = wS_EventType;
}
public String getWS_UserAgent() {
return WS_UserAgent;
}
public void setWS_UserAgent(String wS_UserAgent) {
WS_UserAgent = wS_UserAgent;
}
public String getWS_DevicePrint() {
return WS_DevicePrint;
}
public void setWS_DevicePrint(String wS_DevicePrint) {
WS_DevicePrint = wS_DevicePrint;
}
public String getWS_AuthenMeth() {
return WS_AuthenMeth;
}
public void setWS_AuthenMeth(String wS_AuthenMeth) {
WS_AuthenMeth = wS_AuthenMeth;
}
public String getWS_AuthenLevel() {
return WS_AuthenLevel;
}
public void setWS_AuthenLevel(String wS_AuthenLevel) {
WS_AuthenLevel = wS_AuthenLevel;
}
public String getWS_AuthenStatus() {
return WS_AuthenStatus;
}
public void setWS_AuthenStatus(String wS_AuthenStatus) {
WS_AuthenStatus = wS_AuthenStatus;
}
public String getWS_GeoConnSpeed() {
return WS_GeoConnSpeed;
}
public void setWS_GeoConnSpeed(String wS_GeoConnSpeed) {
WS_GeoConnSpeed = wS_GeoConnSpeed;
}
public String getWS_ActionCode() {
return WS_ActionCode;
}
public void setWS_ActionCode(String wS_ActionCode) {
WS_ActionCode = wS_ActionCode;
}
public Set<String> getValidCookies() {
return validCookies;
}
public void setValidCookies(Set<String> validCookies) {
this.validCookies = validCookies;
}
public String getTxID() {
return txID;
}
public void setTxID(String txID) {
this.txID = txID;
}
public String getWS_SessionID() {
return WS_SessionID;
}
public void setWS_SessionID(String wS_SessionID) {
WS_SessionID = wS_SessionID;
}
public Integer getWS_CookieAge() {
return WS_CookieAge;
}
public void setWS_CookieAge(Integer wS_CookieAge) {
WS_CookieAge = wS_CookieAge;
}
public boolean isHadPreviousChallenge() {
return hadPreviousChallenge;
}
public void setHadPreviousChallenge(boolean hadPreviousChallenge) {
this.hadPreviousChallenge = hadPreviousChallenge;
}
public boolean isGenerateAlert() {
return generateAlert;
}
public void setGenerateAlert(boolean generateAlert) {
this.generateAlert = generateAlert;
}
@Override
public String toString() {
return "LoginChallengeKI [userEquityBalance=" + userEquityBalance
+ ", foreignUserFlag=" + foreignUserFlag + ", csgUserFlag="
+ csgUserFlag + ", avgRiskScore=" + avgRiskScore
+ ", numLogin=" + numLogin + ", userLang1=" + userLang1
+ ", userLang2=" + userLang2 + ", httpLang1=" + httpLang1
+ ", httpLang2=" + httpLang2 + ", geoCity1=" + geoCity1
+ ", geoCity2=" + geoCity2 + ", geoCountry1=" + geoCountry1
+ ", geoCountry2=" + geoCountry2 + ", ipAddr1=" + ipAddr1
+ ", ipAddr2=" + ipAddr2 + ", cookie1=" + cookie1
+ ", cookie2=" + cookie2 + ", flashCookie1=" + flashCookie1
+ ", flashCookie2=" + flashCookie2 + ", lastChgEmailDays="
+ lastChgEmailDays + ", lastChgAddrDays=" + lastChgAddrDays
+ ", lastChgPasswdDays=" + lastChgPasswdDays
+ ", lastFailedLoginDays=" + lastFailedLoginDays
+ ", numAfterHrTrades=" + numAfterHrTrades
+ ", numPreOpenTrades=" + numPreOpenTrades + ", validCookies="
+ validCookies + ", hadPreviousChallenge="
+ hadPreviousChallenge + ", WS_EventType=" + WS_EventType
+ ", WS_UserID=" + WS_UserID + ", WS_LoginName=" + WS_LoginName
+ ", WS_SessionID=" + WS_SessionID + ", WS_ChannelInd="
+ WS_ChannelInd + ", WS_Cookie=" + WS_Cookie
+ ", WS_CookieAge=" + WS_CookieAge + ", WS_FlashCookie="
+ WS_FlashCookie + ", WS_IPAddr=" + WS_IPAddr
+ ", WS_UserAgent=" + WS_UserAgent + ", WS_DevicePrint="
+ WS_DevicePrint + ", WS_HttpLang=" + WS_HttpLang
+ ", WS_UserLang=" + WS_UserLang + ", WS_AuthenMeth="
+ WS_AuthenMeth + ", WS_AuthenLevel=" + WS_AuthenLevel
+ ", WS_AuthenStatus=" + WS_AuthenStatus + ", WS_GeoCountry="
+ WS_GeoCountry + ", WS_GeoRegion=" + WS_GeoRegion
+ ", WS_GeoCity=" + WS_GeoCity + ", WS_GeoPostlCd="
+ WS_GeoPostlCd + ", WS_GeoConnSpeed=" + WS_GeoConnSpeed
+ ", WS_RiskScore=" + WS_RiskScore + ", WS_ActionCode="
+ WS_ActionCode + ", WS_EventTimeStamp=" + WS_EventTimeStamp
+ ", WS_RiskScoreEvalFlag=" + WS_RiskScoreEvalFlag
+ ", generateAlert=" + generateAlert + ", challenge="
+ challenge + ", ruleIDMap=" + ruleIDMap + ", txID=" + txID
+ "]";
}
}
--
View this message in context:
http://drools.46999.n3.nabble.com/java-lang-NullPointerException-at-org-d...
Sent from the Drools: User forum mailing list archive at
Nabble.com.