Welcome to the Javaranch.
As Deepakkumar suggests, your error message would be easier to read as text. If you are not going to post all your code, it would be good to indicate which line in your code is the one indicated by the error message.
through my further exploration of the error, i have found out that the variable session is null. i used the @SessionTarget annotation though and i am using hibernate. the other DAO's are working fine, but my loanapplicationDAO is not.
Monica Salvador wrote:the one that generates the error is the code:
loanapplist = session.createQuery("from Loanapplications").list();
You said in your first post that you are able to query the Loanapplications successfully using HQL but you mentioned the same line causing the issue. Do you mean loanapplist is null even after successful execution of the query??