We are attempting to seperate a large project into 2 smaller ones, since a fair amount 
of the
code will be used by other up and coming projects. In doing this we have run into a 
problem
with dataObjects.

What is happening is that the code to perform the getProxyEmailIDList is in the Common 
area,
and is called by code in the Reports area. We are getting blank pages with this, with 
the
following stack trace.

We dont understand why things fall over in CSpDBConnection.init. Its almost as if we 
dont
seem to be able to see the Data Source, which we know is correct. The DataSource is 
also
defined in both the Common project and the Reports project.

If anyone can shed some light on this, it would be much appreciated.

thanks.



62      04/23/99 at 12:06:01.892        Error   Thread-5        CPService       
spider.event.adapters.CSpPageEventAdapter:c:924883365400:w:924883368063:relayGenericEventProcessing:
         Unexpected exception from an event (java.lang.NullPointerException: ). This 
is when
         invoking method this_onBeforeLoadEvent for event spider.event.CSpPageEvent 
[ON_BEFORE_LOAD_EVENT,
         browserIncapabilityType=???] on cda_a01s:
63      04/23/99 at 12:06:01.962        Error   Thread-5        CPService       
spider.event.adapters.CSpPageEventAdapter:c:924883365400:w:924883368063:relayGenericEventProcessing:
         Unexpected Exception (java.lang.NullPointerException: ) caught. Top of stack: 
|java.lang.NullPointerException:
         
        at spider.database.CSpDBConnection.<init>(CSpDBConnection.java)
        at spider.database.CSpProcedure.constructDefaultDBRequest(CSpProcedure.java)
        at spider.database.CSpDataObject.constructDefaultDBRequest(CSpDataObject.java)
        at spider.database.CSpDataObject.execute(CSpDataObject.java)
        at CommonProject.CommonPage.getProxyEmailIDList(CommonPage.java:675)
        at CommonProject.CommonPage.getProxyEmailIDList(CommonPage.java:663)
        at Reports.cda_a01s.this_onBeforeLoadEvent(cda_a01s.java:93)
        at spider.event.adapters.CSpEventAdapter.relayGenericEventProcessing(Compiled 
Code)
        at spider.event.adapters.CSpEventAdapter.relayGenericEvent(Compiled Code)
        at 
spider.event.adapters.CSpPageEventAdapter.onBeforeLoadEvent(CSpPageEventAdapter.java)
        at spider.visual.CSpCommonPage.processPageEvent(CSpCommonPage.java)
        at spider.visual.CSpCommonPage.processEvent(Compiled Code)
        at spider.CSpFileBased.dispatchEvent(Compiled Code)
        at spider.CSpFileBased.dispatchEvent(Compiled Code)
        at spider.visual.CSpCommonPage.load(CSpCommonPage.java)
        at spider.visual.CSpCommonHtmlPage.load(CSpCommonHtmlPage.java)
        at spider.visual.CSpCommonPage.load(CSpCommonPage.java)
        at spider.visual.CSpCommonPage.load(CSpCommonPage.java)
        at spider.visual.CSpCommonPage.load(CSpCommonPage.java)
        at spider.visual.CSpCommonPage.load(CSpCommonPage.java)
        at CommonProject.cda_s03s.hrefReports_onWebEvent(cda_s03s.java:331)
        at spider.event.adapters.CSpEventAdapter.relayGenericEventProcessing(Compiled 
Code)
        at spider.event.adapters.CSpEventAdapter.relayGenericEvent(Compiled Code)
        at 
spider.event.adapters.CSpPageEventAdapter.onWebEvent(CSpPageEventAdapter.java)
        at spider.visual.CSpCommand.processWebEvent(CSpCommand.java)
        at spider.visual.CSpCommand.processEvent(CSpCommand.java)
        at spider.CSpFileBased.dispatchEvent(Compiled Code)
        at spider.CSpFileBased.dispatchEvent(Compiled Code)
        at spider.util.CSpMethod.call(CSpMethod.java)
        at 
spider.control.CSpWebEventProcessor.callThisMethod(CSpWebEventProcessor.java)
        at spider.control.CSpWebEventProcessor.run(Compiled Code)
        at 
netdyn.services.cp.worker.CNdCPWorkerImpl.webEventMessage(CNdCPWorkerImpl.java)
        at 
netdyn.services.cp.stubs._tie_INdCPWorker.webEventMessage(_tie_INdCPWorker.java)
        at 
netdyn.services.cp.stubs._INdCPWorkerImplBase._execute(_INdCPWorkerImplBase.java)
        at netdyn.services.cp.stubs._INdCPWorkerImplBase._execute(Compiled Code)
        at com.visigenic.vbroker.orb.SkeletonDelegateImpl.execute(Compiled Code)
        at com.visigenic.vbroker.orb.GiopProtocolAdapter.doRequest(Compiled Code)
        at com.visigenic.vbroker.orb.GiopProtocolAdapter.dispatchMessage(Compiled Code)
        at com.visigenic.vbroker.orb.ThreadPoolDispatcher.run(Compiled Code)
        at com.visigenic.vbroker.orb.WorkerThread.run(Compiled Code)

_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to