Bug fixed for WStore - Null Pointer Exception
This commit is contained in:
parent
b88361ab8c
commit
4c7e4e8ba9
|
@ -216,8 +216,14 @@ public class WebSessionCtx implements Serializable
|
|||
}
|
||||
if ("/adempiere".equals(contextPath)) // HTML UI
|
||||
return;
|
||||
//
|
||||
wstore = MStore.get(ctx, contextPath);
|
||||
|
||||
// Modifications for POSterita
|
||||
if(wstore == null)
|
||||
{
|
||||
wstore = MStore.get(ctx, contextPath);
|
||||
}
|
||||
// End Modifications for Posterita
|
||||
|
||||
if (wstore == null)
|
||||
throw new IllegalStateException("No Web Store found - " + contextPath);
|
||||
} // setWStore
|
||||
|
|
Loading…
Reference in New Issue