Home » Developer & Programmer » JDeveloper, Java & XML » Unique error while running appliction (Win 7, Jdev-11.1.2.3.0 and Java 1.6.0)
Unique error while running appliction [message #626035] Mon, 20 October 2014 01:46
mdjahangirpasha
Messages: 30
Registered: December 2013
Location: India
Member

Hi
I am getting strange/unique error while running application for first time. Following are the steps i am performing.
1) created an application and a bean which contain searchActionListener and other method.
2) In constructor of a class executing vo.executeEmptyRowSet(), to stop fetching data automatically.
3) it was working fine.
Then i committed code into TortoiseSVN 1.8.5, Build 25224 - 64 Bit, Subversion 1.8.8, -release, apr 1.5.0,apr-util 1.5.3,serf 1.3.4
Later I took fresh checkout to add some more functionality while running application for first time after check out getting below error

<RichExceptionHandler> <_logUnhandledException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
javax.faces.FacesException: javax.faces.FacesException: oracle.adf.controller.ControllerException: ADFC-10001: cannot instantiate class *.DisplayWorkList'
Root cause of ServletException.
javax.faces.FacesException: oracle.adf.controller.ControllerException: ADFC-10001: cannot instantiate class
1)Caused By: oracle.adf.controller.ControllerException: ADFC-10001: cannot instantiate class '*.DisplayWorkList'
at oracle.adfinternal.controller.util.Utils.createAndLogFacesException(Utils.java:189)
at oracle.adfinternal.controller.beans.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:193)
at oracle.adfinternal.controller.beans.ManagedBeanFactory.instantiateBean(ManagedBeanFactory.java:901)
at oracle.adfinternal.controller.state.ScopeMap.get(ScopeMap.java:82)
at javax.el.MapELResolver.getValue(MapELResolver.java:164)
Truncated. see log file for complete stacktrace
2)Caused By: java.lang.NullPointerException at *.DisplayWorkList.<init>(DisplayWorkList.java:179)

Following are the solutions are tried but end with the same error :-
1) Removed super(), from constructor
2) Removed System folder of Jdev
3) Clean all and build all
4) removed .war file
5) Removed .classes from model and viewcontroller from system folder
6) I took check out on other PC but still got same error.

Then I commented complete code of class constructor including vo.executeEmptyRowSet, it worked but fetched all records, then i removed comment and re-run application it was working fine... this happen whenever i take update/check out from SVN.
Please let me know root cause and solution steps for the error

I am using Jdev Studio Edition Version 11.1.2.3.0 and Java 1.6.0



Previous Topic: Oracle REFCURSOR issue. Front end app is slow
Next Topic: OAF Dynamic Table creation
Goto Forum:
  


Current Time: Thu Sep 23 06:51:33 CDT 2021