GeeCON Prague 2014*
The moose likes Java in General and the fly likes java.lang.NullPointerException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "java.lang.NullPointerException" Watch "java.lang.NullPointerException" New topic
Author

java.lang.NullPointerException

David Morrison
Greenhorn

Joined: Aug 11, 2009
Posts: 8
Kindly help on the error:


java.lang.NullPointerException
at com.domain.sales.server.dp.HomeDataProvider.getMyProcessTracker(Lcom/domain/sales/server/dp/EsalesInfoObject;)Lorg/apache/commons/collections/map/LinkedMap;(HomeDataProvider.java:1675)
at jsp_servlet._domainpages.__esalesprocesstrackertable._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(__esalesprocesstrackertable.java:170)
at weblogic.servlet.jsp.JspBase.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(Optimized Method)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(Optimized Method)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(Optimized Method)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(Optimized Method)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(WebAppServletContext.java:6981)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(Optimized Method)
at weblogic.security.service.SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(Optimized Method)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl;)V(Optimized Method)
at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic/kernel/ExecuteThread;)V(Optimized Method)
at weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(Optimized Method)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Source)
>
BEA-101215 Oct 18, 2010 2:45:59 PM CST Error HTTP
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Did you check line 1675 of HomeDataProvider.java. What is it doing ?


[My Blog]
All roads lead to JavaRanch
David Morrison
Greenhorn

Joined: Aug 11, 2009
Posts: 8
Hi, it has stuff of jobs. LIke completing many workflows.
Paul Beckett
Ranch Hand

Joined: Jun 14, 2008
Posts: 96
I don't know of the HomeDataProvider class you have mentioned. Is it part of some internal work done by you or your company?

NullPointerException is very common in development and mostly caused by coding error. You will need to post the relevant chunk of code for anyone to even be able to begin to help. You probably don't need to post the whole class but please indicate which line is 1675.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19697
    
  20

David Morrison wrote:Hi, it has stuff of jobs. LIke completing many workflows.

Really? One single line of code has "stuff of jobs", and is completing "many workflows"? I doubt it.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
GeeCON Prague 2014
 
subject: java.lang.NullPointerException