Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat
Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat
- Subject: Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat
- From: David Avendasora <email@hidden>
- Date: Wed, 6 Aug 2008 07:42:21 -0400
On Aug 6, 2008, at 7:21 AM, Philippe Roud wrote:
Hi,
Following Chuck advice I found the cause of the NPE:
extraQualifierList = (NSArray<EOGenericRecord>)
EOSharedEditingContext
.defaultSharedEditingContext
().objectsByEntityNameAndFetchSpecificationName
().valueForKeyPath(extraQualifierFetchSpecName());
Hold on. EOSharedEditingContext ?! Are you _really_ sure you want to
use that? I think you are likely asking for trouble, whether or not it
is at the root of this problem, it is a very difficult piece to use
correctly, let alone effectively.
Anyway, where are you defining extraQualifierFetchSpecName() at? WO
applications initialize differently depending on if you are deploying
"normally" or as a Servlet. If you are setting the value of
extraQualifierFetchSpecName() during application initialization, I'd
say that that is where your problem is.
Dave
with extraQualifierFetchSpecName() returning :
UExtraQualifier.extraQualifiersForGroup1
This works perfectly when deployed on in a WO environnement
(extraQualifierList populated) but fails when deployed as a war on
tomcat (extraQualifier is null).
The connection to the database is open, I'am able to log in the
application.
Also this worked when the code was based on WO5.3 in both WO server
and tomcat servlet environnement.
PHiL
Philippe Roud a écrit :
Hi All,
I'm in the process of moving our apps from XCode to
Eclipse(Version: 3.3.2 Build id: M20080221-1800) + stable WOLips. I
imported the code in eclipse after the migration tool has been
applied and it worked supprisingly well with a wo5.3 on Tiger
within eclipse environement both in Eclipse as WOApp and in a
tomcat (6.0.16) env.
Then I moved the code to the same eclipse+wolips on Leopard. I
updated Wonder for 5.4 and after some refactoring it worked as a
WOApplication in Eclipse, then I deployed to a Leopard server and
it worked too, but we are really interested in running our apps in
a servlet env (the same that was used for the previous tests). The
app is successfully deployed and launched, but when accessing the
functionalities that work on mac os server it fails with the
following log.
I am puzzled by this, so if you have any advice on where to look
for errors you are welcomed...
I also added a list of duplicate jars/packages signaled by
ERXApplication after the log...
[2008-8-5 13:44:31 CEST] <http-8080-1>
com.webobjects.foundation.NSLog$PrintStreamLogger@1dae160
[2008-8-5 13:44:31 CEST] <http-8080-1> Welcome to ILL!
[2008-8-5 13:44:31 CEST] <http-8080-1> On latitude-d600
[2008-8-5 13:44:31 CEST] <http-8080-1> com.webobjects.pid:null
[2008-8-5 13:44:31 CEST] <http-8080-1>
<WOApplication>.primeApplication: The Application name is ILL
[2008-8-5 13:44:31 CEST] <http-8080-1> The URL for webserver
connect through Servlet Container is:
http://latitude-d600//ILL/WebObjects/ILL.woa
[2008-8-5 13:44:31 CEST] <http-8080-1> null
2008-08-05 14:46:25,886 INFO -[-:55599 1]
ERXFileNotificationCenter (ERXFileNotificationCenter.java:126) -
Registering an observer when file checking is disabled (WOCaching
must be disabled or the
er.extensions.ERXFileNotificationCenter.CheckFilesPeriod property
must be set). This observer will not ever by default be called: /
home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/
ILL.woa/Contents/Resources/French.lproj/Localizable.strings
2008-08-05 14:46:25,906 INFO -[-:55599 1]
ERXFileNotificationCenter (ERXFileNotificationCenter.java:126) -
Registering an observer when file checking is disabled (WOCaching
must be disabled or the
er.extensions.ERXFileNotificationCenter.CheckFilesPeriod property
must be set). This observer will not ever by default be called: /
home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/
ILL.woa/Contents/Resources/Nonlocalized.strings
2008-08-05 14:46:26,095 WARN -[-:55599 1] ERXModelGroup
(ERXModelGroup.java:125) - Clearing previous class descriptions
2008-08-05 14:46:26,679 WARN -[-:55599 1]
ERXEntityClassDescription (ERXEntityClassDescription.java:450) -
Patron: relationship 'patronClassDetail' is marked to-one and
optional, but the foreign key 'library_pool_id' does NOT allow NULL
values
2008-08-05 14:46:26,680 WARN -[-:55599 1]
ERXEntityClassDescription (ERXEntityClassDescription.java:450) -
Patron: relationship 'patronClassDetail' is marked to-one and
optional, but the foreign key 'virtuaCode' does NOT allow NULL values
[2008-8-5 13:46:46 CEST] <http-8080-1> opened Connection for all
server status: true
***** all is working fine until there ****
[2008-8-5 13:46:49 CEST] <http-8080-1>
<com.webobjects.appserver._private.WOComponentRequestHandler>:
Exception occurred while handling request:
com.webobjects.foundation.NSForwardException
[java.lang.reflect.InvocationTargetException]
null:java.lang.reflect.InvocationTargetException
[2008-8-5 13:46:49 CEST] <http-8080-1>
com.webobjects.foundation.NSForwardException
[java.lang.reflect.InvocationTargetException]
null:java.lang.reflect.InvocationTargetException
at
com
.webobjects
.foundation
._NSUtilities._explainInstantiationException(_NSUtilities.java:600)
at
com
.webobjects
.foundation._NSUtilities.instantiateObject(_NSUtilities.java:620)
at
com
.webobjects
.appserver
._private
.WOComponentDefinition
._componentInstanceInContext(WOComponentDefinition.java:566)
at
com
.webobjects
.appserver
._private
.WOComponentDefinition
.componentInstanceInContext(WOComponentDefinition.java:664)
at
com
.webobjects.appserver.WOApplication.pageWithName(WOApplication.java:
2323)
at ch.rero.ill.ill.Session.providePage(Session.java:573)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect
.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun
.reflect
.DelegatingMethodAccessorImpl
.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.webobjects.foundation.NSKeyValueCoding$ValueAccessor
$1.methodValue(NSKeyValueCoding.java:636)
at com.webobjects.foundation.NSKeyValueCoding
$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134)
at com.webobjects.foundation.NSKeyValueCoding
$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1293)
at com.webobjects.appserver.WOSession.valueForKey(WOSession.java:
1752)
at com.webobjects.foundation.NSKeyValueCoding
$Utility.valueForKey(NSKeyValueCoding.java:447)
at com.webobjects.foundation.NSKeyValueCodingAdditions
$
DefaultImplementation
.valueForKeyPath(NSKeyValueCodingAdditions.java:212)
at
com.webobjects.appserver.WOSession.valueForKeyPath(WOSession.java:
1776)
at com.webobjects.foundation.NSKeyValueCodingAdditions
$Utility.valueForKeyPath(NSKeyValueCodingAdditions.java:149)
at com.webobjects.foundation.NSKeyValueCodingAdditions
$
DefaultImplementation
.valueForKeyPath(NSKeyValueCodingAdditions.java:217)
at
com
.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java:
1754)
at
com
.webobjects
.appserver
._private
.WOKeyValueAssociation.valueInComponent(WOKeyValueAssociation.java:
50)
at
com
.webobjects
.appserver._private.WOHyperlink.invokeAction(WOHyperlink.java:98)
at
er
.extensions
.components._private.ERXHyperlink.invokeAction(ERXHyperlink.java:65)
at
com
.webobjects
.appserver
._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:
105)
at
com
.webobjects
.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:
115)
at
com
.webobjects
.appserver._private.WOConditional.invokeAction(WOConditional.java:86)
at
com
.webobjects
.appserver
._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:
105)
at
com
.webobjects
.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:
115)
at
com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:
1078)
at
com
.webobjects
.appserver
._private
.WOComponentReference.invokeAction(WOComponentReference.java:127)
at
com
.webobjects
.appserver
._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:
105)
at
com
.webobjects
.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:
115)
at
com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:
1078)
at
com
.webobjects
.appserver
._private
.WOComponentReference.invokeAction(WOComponentReference.java:127)
at
com
.webobjects
.appserver
._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:
105)
at
com
.webobjects
.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:
115)
at
com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:
1078)
at com.webobjects.appserver.WOSession.invokeAction(WOSession.java:
1353)
at
com
.webobjects.appserver.WOApplication.invokeAction(WOApplication.java:
1736)
at
er
.extensions
.appserver
.ajax.ERXAjaxApplication.invokeAction(ERXAjaxApplication.java:48)
at
er
.extensions
.appserver.ERXApplication.invokeAction(ERXApplication.java:1477)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._dispatchWithPreparedPage(WOComponentRequestHandler.java:206)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._dispatchWithPreparedSession(WOComponentRequestHandler.java:298)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._dispatchWithPreparedApplication(WOComponentRequestHandler.java:332)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._handleRequest(WOComponentRequestHandler.java:369)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
.handleRequest(WOComponentRequestHandler.java:442)
at
com
.webobjects
.appserver.WOApplication.dispatchRequest(WOApplication.java:1678)
at
er
.extensions
.appserver
.ERXApplication.dispatchRequestImmediately(ERXApplication.java:1594)
at
er
.extensions
.appserver.ERXApplication.dispatchRequest(ERXApplication.java:1558)
at
com
.webobjects
.jspservlet
._WOApplicationWrapper
.servletDispatchRequest(_WOApplicationWrapper.java:131)
at
com
.webobjects
.jspservlet.WOServletAdaptor._handleRequest(WOServletAdaptor.java:
727)
at
com
.webobjects.jspservlet.WOServletAdaptor.doGet(WOServletAdaptor.java:
709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org
.apache
.catalina
.core
.ApplicationFilterChain
.internalDoFilter(ApplicationFilterChain.java:290)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)
at
org
.apache
.catalina
.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org
.apache
.catalina
.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org
.apache
.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org
.apache
.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org
.apache
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109)
at
org
.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
286)
at
org
.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
844)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint
$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun
.reflect
.NativeConstructorAccessorImpl
.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun
.reflect
.DelegatingConstructorAccessorImpl
.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
com
.webobjects
.foundation._NSUtilities.instantiateObject(_NSUtilities.java:614)
... 64 more
Caused by: java.lang.NullPointerException
at
ch
.rero
.ill.ill.RequestsListComponent.<init>(RequestsListComponent.java:112)
at ch.rero.ill.ill.ProvidePage.<init>(ProvidePage.java:28)
... 69 more
[2008-8-5 13:46:49 CEST] <http-8080-1> handleException:
com.webobjects.foundation.NSForwardException
[java.lang.reflect.InvocationTargetException]
null:java.lang.reflect.InvocationTargetException
[2008-8-5 13:46:49 CEST] <http-8080-1> handleException context:
<com.webobjects.jspservlet.WOServletContext contextID=2
requestSenderID=1.3.4.1 elementID=1.3.4.1
sessionID=NqY3SWbXsPwVmrTOgR5o40
request=<er.extensions.appserver.ERXRequest
(<er.extensions.appserver.ERXRequest httpVersion=HTTP/1.0
headers={accept=[text/html,application/xhtml+xml,application/
xml;q=0.9,*/*;q=0.8], accept-
charset=[ISO-8859-1,utf-8;q=0.7,*;q=0.7], accept-
encoding=[gzip,deflate], accept-language=[fr,fr-fr;q=0.8,en-
us;q=0.5,en;q=0.3], connection=[keep-alive],
cookie=[JSESSIONID=FB4AC46BD874512B1DC5B563BF974AE5;
ch.rero.ill.ill=aXN+ZnJiY3VjfmZy], host=[latitude-d600:8080], keep-
alive=[300], original_context_id=[1], referer=[http://latitude-
d600:8080/ILL/WebObjects/ILL.woa/wo/
NqY3SWbXsPwVmrTOgR5o40
/0.9;jsessionid=FB4AC46BD874512B1DC5B563BF974AE5],
remote_addr=[127.0.1.1], user-agent=[Mozilla/5.0 (X11; U; Linux
i686; en-US; rv:1.9) Gecko/2008061015 Firefox/3.0 (Ubuntu)], x-
webobjects-servlet-server-name=[latitude-d600], x-webobjects-
servlet-server-port=[8080]} content-length=0 cookies=null
userInfo
=
{ServletConfig
=org.apache.catalina.core.StandardWrapperFacade@1465ca2,
ServletContext
=org.apache.catalina.core.ApplicationContextFacade@6bba64,
HttpServletRequest
=org.apache.catalina.connector.RequestFacade@9a1411,
HttpServletResponse
=org.apache.catalina.connector.ResponseFacade@19ba1d8}
storePageInBacktrackCache=true >) method=GET uri=/ILL/WebObjects/
ILL.woa/wo/NqY3SWbXsPwVmrTOgR5o40/1.1.3.4.1
defaultFormValueEncoding=UTF8 formValueEncodingDetectionEnabled=NO
formValueEncoding=UTF8 formValues={} >
response=<er.extensions.appserver.ERXResponse
(<er.extensions.appserver.ERXResponse httpVersion=HTTP/1.0
headers={content-type=[text/html]} content-length=0 cookies=null
userInfo={} storePageInBacktrackCache=true >) status=200>
pageElement=<ch.rero.ill.ill.Home name: ch.rero.ill.ill.Home
subcomponents: null > pageComponent=<ch.rero.ill.ill.Home name:
ch.rero.ill.ill.Home subcomponents: null >
currentComponent=<ch.rero.ill.ill.MenuComponent name:
ch.rero.ill.ill.MenuComponent subcomponents: null > url=/ILL/
WebObjects/ILL.woa urlApplicationNumber=-1
distributionEnabled=false pageChanged=false pageReplaced=false>
com.webobjects.foundation.NSForwardException
[java.lang.reflect.InvocationTargetException]
null:java.lang.reflect.InvocationTargetException
at
com
.webobjects
.foundation
._NSUtilities._explainInstantiationException(_NSUtilities.java:600)
at
com
.webobjects
.foundation._NSUtilities.instantiateObject(_NSUtilities.java:620)
at
com
.webobjects
.appserver
._private
.WOComponentDefinition
._componentInstanceInContext(WOComponentDefinition.java:566)
at
com
.webobjects
.appserver
._private
.WOComponentDefinition
.componentInstanceInContext(WOComponentDefinition.java:664)
at
com
.webobjects.appserver.WOApplication.pageWithName(WOApplication.java:
2323)
at ch.rero.ill.ill.Session.providePage(Session.java:573)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect
.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun
.reflect
.DelegatingMethodAccessorImpl
.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.webobjects.foundation.NSKeyValueCoding$ValueAccessor
$1.methodValue(NSKeyValueCoding.java:636)
at com.webobjects.foundation.NSKeyValueCoding
$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134)
at com.webobjects.foundation.NSKeyValueCoding
$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1293)
at com.webobjects.appserver.WOSession.valueForKey(WOSession.java:
1752)
at com.webobjects.foundation.NSKeyValueCoding
$Utility.valueForKey(NSKeyValueCoding.java:447)
at com.webobjects.foundation.NSKeyValueCodingAdditions
$
DefaultImplementation
.valueForKeyPath(NSKeyValueCodingAdditions.java:212)
at
com.webobjects.appserver.WOSession.valueForKeyPath(WOSession.java:
1776)
at com.webobjects.foundation.NSKeyValueCodingAdditions
$Utility.valueForKeyPath(NSKeyValueCodingAdditions.java:149)
at com.webobjects.foundation.NSKeyValueCodingAdditions
$
DefaultImplementation
.valueForKeyPath(NSKeyValueCodingAdditions.java:217)
at
com
.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java:
1754)
at
com
.webobjects
.appserver
._private
.WOKeyValueAssociation.valueInComponent(WOKeyValueAssociation.java:
50)
at
com
.webobjects
.appserver._private.WOHyperlink.invokeAction(WOHyperlink.java:98)
at
er
.extensions
.components._private.ERXHyperlink.invokeAction(ERXHyperlink.java:65)
at
com
.webobjects
.appserver
._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:
105)
at
com
.webobjects
.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:
115)
at
com
.webobjects
.appserver._private.WOConditional.invokeAction(WOConditional.java:86)
at
com
.webobjects
.appserver
._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:
105)
at
com
.webobjects
.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:
115)
at
com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:
1078)
at
com
.webobjects
.appserver
._private
.WOComponentReference.invokeAction(WOComponentReference.java:127)
at
com
.webobjects
.appserver
._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:
105)
at
com
.webobjects
.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:
115)
at
com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:
1078)
at
com
.webobjects
.appserver
._private
.WOComponentReference.invokeAction(WOComponentReference.java:127)
at
com
.webobjects
.appserver
._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:
105)
at
com
.webobjects
.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:
115)
at
com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:
1078)
at com.webobjects.appserver.WOSession.invokeAction(WOSession.java:
1353)
at
com
.webobjects.appserver.WOApplication.invokeAction(WOApplication.java:
1736)
at
er
.extensions
.appserver
.ajax.ERXAjaxApplication.invokeAction(ERXAjaxApplication.java:48)
at
er
.extensions
.appserver.ERXApplication.invokeAction(ERXApplication.java:1477)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._dispatchWithPreparedPage(WOComponentRequestHandler.java:206)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._dispatchWithPreparedSession(WOComponentRequestHandler.java:298)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._dispatchWithPreparedApplication(WOComponentRequestHandler.java:332)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._handleRequest(WOComponentRequestHandler.java:369)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
.handleRequest(WOComponentRequestHandler.java:442)
at
com
.webobjects
.appserver.WOApplication.dispatchRequest(WOApplication.java:1678)
at
er
.extensions
.appserver
.ERXApplication.dispatchRequestImmediately(ERXApplication.java:1594)
at
er
.extensions
.appserver.ERXApplication.dispatchRequest(ERXApplication.java:1558)
at
com
.webobjects
.jspservlet
._WOApplicationWrapper
.servletDispatchRequest(_WOApplicationWrapper.java:131)
at
com
.webobjects
.jspservlet.WOServletAdaptor._handleRequest(WOServletAdaptor.java:
727)
at
com
.webobjects.jspservlet.WOServletAdaptor.doGet(WOServletAdaptor.java:
709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org
.apache
.catalina
.core
.ApplicationFilterChain
.internalDoFilter(ApplicationFilterChain.java:290)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)
at
org
.apache
.catalina
.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org
.apache
.catalina
.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org
.apache
.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org
.apache
.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org
.apache
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109)
at
org
.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
286)
at
org
.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
844)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint
$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun
.reflect
.NativeConstructorAccessorImpl
.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun
.reflect
.DelegatingConstructorAccessorImpl
.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
com
.webobjects
.foundation._NSUtilities.instantiateObject(_NSUtilities.java:614)
... 64 more
Caused by: java.lang.NullPointerException
at
ch
.rero
.ill.ill.RequestsListComponent.<init>(RequestsListComponent.java:112)
at ch.rero.ill.ill.ProvidePage.<init>(ProvidePage.java:28)
... 69 more
END of the log
I have some duplicate jars signaled by :
ERXApplication$JarChecker (ERXApplication.java:633) - The
following packages appear multiple times:
com/webobjects/->("/home/roudp/Downloads/apache-tomcat-6.0.16/
webapps/ILL/WEB-INF/Library/Frameworks/ERExtensions.framework/
Resources/Java/ERExtensions.jar", "/home/roudp/Downloads/apache-
tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/
JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar", "/
home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//
Library/Frameworks/JavaEOAccess.framework/Resources/Java/
javaeoaccess.jar", "/home/roudp/Downloads/apache-tomcat-6.0.16/
webapps/ILL/WEB-INF//Library/Frameworks/JavaEOApplication.framework/
Resources/Java/javaeoapplication.jar", "/home/roudp/Downloads/
apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/
JavaEOControl.framework/Resources/Java/javaeocontrol.jar", "/home/
roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/
Frameworks/JavaEODistribution.framework/Resources/Java/
javaeodistribution.jar", "/home/roudp/Downloads/apache-
tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/
JavaEOGeneration.framework/Resources/Java/javaeogeneration.jar", "/
home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//
Library/Frameworks/JavaEOProject.framework/Resources/Java/
javaeoproject.jar", "/home/roudp/Downloads/apache-tomcat-6.0.16/
webapps/ILL/WEB-INF//Library/Frameworks/JavaFoundation.framework/
Resources/Java/javafoundation.jar", "/home/roudp/Downloads/apache-
tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/
JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar", "/
home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//
Library/Frameworks/JavaJNDIAdaptor.framework/Resources/Java/
javajndiadaptor.jar", "/home/roudp/Downloads/apache-tomcat-6.0.16/
webapps/ILL/WEB-INF//Library/Frameworks/JavaWebObjects.framework/
Resources/Java/javawebobjects.jar")
com/webobjects/_ideservices/->("/home/roudp/Downloads/apache-
tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/
ERExtensions.framework/Resources/Java/ERExtensions.jar", "/home/
roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/
Frameworks/JavaWebObjects.framework/Resources/Java/
javawebobjects.jar")
com/webobjects/appserver/->("/home/roudp/Downloads/apache-
tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/
ERExtensions.framework/Resources/Java/ERExtensions.jar", "/home/
roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/
Frameworks/JavaWebObjects.framework/Resources/Java/
javawebobjects.jar")
com/webobjects/appserver/_private/->("/home/roudp/Downloads/
apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/
ERExtensions.framework/Resources/Java/ERExtensions.jar", "/home/
roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/
Frameworks/JavaWebObjects.framework/Resources/Java/
javawebobjects.jar")
com/webobjects/appserver/xml/->("/home/roudp/Downloads/apache-
tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/
ERExtensions.framework/Resources/Java/ERExtensions.jar", "/home/
roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/
Frameworks/JavaWebObjects.framework/Resources/Java/
javawebobjects.jar")
com/webobjects/appserver/xml/_private/->("/home/roudp/Downloads/
apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/
ERExtensions.framework/Resources/Java/ERExtensions.jar", "/home/
roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/
Frameworks/JavaWebObjects.framework/Resources/Java/
javawebobjects.jar")
com/webobjects/eoaccess/->("/home/roudp/Downloads/apache-
tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/
ERExtensions.framework/Resources/Java/ERExtensions.jar", "/home/
roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/
Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar")
com/webobjects/eocontrol/->("/home/roudp/Downloads/apache-
tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/
ERExtensions.framework/Resources/Java/ERExtensions.jar", "/home/
roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/
Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar")
com/webobjects/foundation/->("/home/roudp/Downloads/apache-
tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/
ERExtensions.framework/Resources/Java/ERExtensions.jar", "/home/
roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/
Frameworks/JavaFoundation.framework/Resources/Java/
javafoundation.jar")
com/webobjects/jdbcadaptor/->("/home/roudp/Downloads/apache-
tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/
ERExtensions.framework/Resources/Java/ERExtensions.jar", "/home/
roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/
Frameworks/JavaJDBCAdaptor.framework/Resources/Java/
javajdbcadaptor.jar")
com/webobjects/woextensions/->("/home/roudp/Downloads/apache-
tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/
ERExtensions.framework/Resources/Java/ERExtensions.jar", "/home/
roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/
Frameworks/JavaWOExtensions.framework/Resources/Java/
JavaWOExtensions.jar")
org/apache/->("/home/roudp/Downloads/apache-tomcat-6.0.16/bin/
bootstrap.jar", "/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/
ILL/WEB-INF/Library/Frameworks/ERJars.framework/Resources/Java/
log4j-1.2.14.jar")
org/slf4j/->("/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/
ILL/WEB-INF/Library/Frameworks/ERJars.framework/Resources/Java/
slf4j-api-1.5.0.jar", "/home/roudp/Downloads/apache-tomcat-6.0.16/
webapps/ILL/WEB-INF/Library/Frameworks/ERJars.framework/Resources/
Java/slf4j-log4j12-1.5.0.jar")
2008-08-05 14:44:30,395 WARN -[-:55599 0] ERXApplication
$JarChecker (ERXApplication.java:649) - The following packages
have different versions, you should remove the version you don't
want:
com/webobjects/_ideservices->(14978->/home/roudp/Downloads/apache-
tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/
ERExtensions.framework/Resources/Java/ERExtensions.jar, 10036->/
home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//
Library/Frameworks/JavaWebObjects.framework/Resources/Java/
javawebobjects.jar)
com/webobjects/appserver/xml/_private->(4845->/home/roudp/
Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/
Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar,
4663->/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-
INF//Library/Frameworks/JavaWebObjects.framework/Resources/Java/
javawebobjects.jar)
com/webobjects/eocontrol->(5225->/home/roudp/Downloads/apache-
tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/
JavaEOControl.framework/Resources/Java/javaeocontrol.jar, 4298->/
home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/
Library/Frameworks/ERExtensions.framework/Resources/Java/
ERExtensions.jar)
com/webobjects/foundation->(1176->/home/roudp/Downloads/apache-
tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/
ERExtensions.framework/Resources/Java/ERExtensions.jar, 1180->/home/
roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/
Frameworks/JavaFoundation.framework/Resources/Java/
javafoundation.jar)
They appear as INFO and Warnings, but could they be the cause of
the exception?
Do you have any advice where to start looking for something wrong?
Best regards
PHiLippe
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden