Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] NullPointerException: I need help!

Subject: perfsonar development work

List archive

Re: [pS-dev] NullPointerException: I need help!


Chronological Thread 
  • From: Cándido Rodríguez Montes <>
  • To: Loukik Kudarimoti <>
  • Cc: , Roman Lapcz <>
  • Subject: Re: [pS-dev] NullPointerException: I need help!
  • Date: Fri, 15 Dec 2006 12:59:41 +0100

Sorry,
the catalina.properties:
server.loader=${catalina.home}/server/classes,${catalina.home}/server/ lib/*.jar
package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.t omcat.,org.apache.jasper.,sun.beans.
shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/ lib/*.jar
package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,or g.apache.tomcat.,org.apache.jasper.
common.loader=${catalina.home}/common/classes,${catalina.home}/common/ i18n/*.jar,${catalina.home}/common/endorsed/*.j
ar,${catalina.home}/common/lib/*.jar
service.properties=/Users/kan/Proyectos/RedIRIS/perfSONAR/perfSONAR- svn/perfsonar/conf/service.properties
tomcat.util.buf.StringCache.byte.enabled=true
components.properties=/Users/kan/Proyectos/RedIRIS/perfSONAR/ perfSONAR-svn/perfsonar/conf/components.properties


El 15/12/2006, a las 12:38, Loukik Kudarimoti escribió:

Cándido Rodríguez Montes wrote:
Loukik,
no new output in those logs :(

ahaaa! You are missing service.properties and components.properties variables in your catalina.properties file in tomcat. Do you know about this required configurations?

Please note: please don't merge your branch with the trunk because you seem to be using the previous versions of property readers and auxiliary component managers. The current trunk contains a new way to bootstrap services and this new method of bootstrapping includes changes to some code which *might* not be present in your branch (depends on when you branched it as these changes were applied recently and Roman announced it on the ps-dev list). Please contact Roman before you merge.

I don't know if I haven't configured properly my log4j.properties, so I attach it.

Thanks!!


El 15/12/2006, a las 12:16, Loukik Kudarimoti escribió:

I might know whats going on but would like to look at the following logs when this happened

* catalina.out
* sonar.log

Can you send this to us?

Loukik.


Cándido Rodríguez Montes wrote:
Hi all!
Well, I'm putting the new code of the Topology Service, which we have in the private branch 'ulisseskan', to the trunk folder. But before I'll commit it, I'm testing it, and I have no problem to compile and build jar files. But at time to run the 'download- db' task, I'm always getting a NullPointerException. Could you guess what's going on??
The output of my console is:
ant -f build-tops.xml tops-download-db
Buildfile: build-tops.xml

tops-download-db:
[java] End point: http://localhost:8080/axis/services/ TopologyService
[java] Request file: /Users/kan/Proyectos/RedIRIS/perfSONAR/ perfSONAR-svn/perfsonar/schema/example-instances/sonar/TOPS/test/ TOPSDownloadRequest.xml
[java] Response file: /Users/kan/Proyectos/RedIRIS/ perfSONAR/perfSONAR-svn/perfsonar/schema/example-instances/sonar/ TOPS/test/TOPSDownloadResponse.xml
[java] SOAPClient.makeRequest: General exception encountered by client
[java] AxisFault
[java] faultCode: {http://schemas.xmlsoap.org/soap/ envelope/}Server.userException
[java] faultSubcode:
[java] faultString: java.lang.NullPointerException
[java] faultActor:
[java] faultNode:
[java] faultDetail:
[java] {http://xml.apache.org/axis/} hostname:wifi157.cica.es

[java] java.lang.NullPointerException
[java] at org.apache.axis.message.SOAPFaultBuilder.createFault (SOAPFaultBuilder.java:222)
[java] at org.apache.axis.message.SOAPFaultBuilder.endElement (SOAPFaultBuilder.java:129)
[java] at org.apache.axis.encoding.DeserializationContext.endElement (DeserializationContext.java:1087)
[java] at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
[java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement (Unknown Source)
[java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl $FragmentContentDispatcher.dispatch(Unknown Source)
[java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument( Unknown Source)
[java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[java] at org.apache.xerces.parsers.XMLParser.parse (Unknown Source)
[java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[java] at javax.xml.parsers.SAXParser.parse (SAXParser.java:375)
[java] at org.apache.axis.encoding.DeserializationContext.parse (DeserializationContext.java:227)
[java] at org.apache.axis.SOAPPart.getAsSOAPEnvelope (SOAPPart.java:696)
[java] at org.apache.axis.Message.getSOAPEnvelope (Message.java:435)
[java] at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke (MustUnderstandChecker.java:62)
[java] at org.apache.axis.client.AxisClient.invoke (AxisClient.java:206)
[java] at org.apache.axis.client.Call.invokeEngine (Call.java:2784)
[java] at org.apache.axis.client.Call.invoke(Call.java: 2767)
[java] at org.apache.axis.client.Call.invoke(Call.java: 1792)
[java] at org.perfsonar.client.testHarness.SOAPClient.makeRequest(Unknown Source)
[java] at org.perfsonar.client.testHarness.SOAPClient.main(Unknown Source)
[java] Client exiting

BUILD SUCCESSFUL
Total time: 7 seconds
-------------------------------

Regards









Archive powered by MHonArc 2.6.16.

Top of Page