This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Web Services and the fly likes java.io.IOException: Non nillable element 'photographer' is null. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "java.io.IOException: Non nillable element Watch "java.io.IOException: Non nillable element New topic
Author

java.io.IOException: Non nillable element 'photographer' is null.

neal parker
Greenhorn

Joined: Nov 16, 2006
Posts: 1
hello
i am using jdk1.5 and axis1.4 to upload the image and its information on server using web services.
it upload image but at the time of uploading information it gives error.

but when i used jdk1.4 and axis1.1 this error never occured..



Exception:
java.io.IOException: Non nillable element 'photographer' is null.
at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:215)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1502)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:978)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:732)
at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:247)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1502)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:978)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:732)
at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:230)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1502)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:978)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:799)
at org.apache.axis.message.RPCParam.serialize(RPCParam.java:208)
at org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:433)
at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139)
at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478)
at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
at org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)
at org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount(AttachmentsImpl.java:554)
at org.apache.axis.Message.getContentType(Message.java:486)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:343)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at org.tempuri.stockws.ServiceSoapStub.replacePhotos(ServiceSoapStub.java:559)
at org.tempuri.stock.handler.AddPhotoHandler.ReplacePhotoWeb(AddPhotoHandler.java:45)
at org.tempuri.stock.handler.UploadHandler.WriteAndUploadFile(UploadHandler.java:170)
at org.tempuri.stock.swg.AddPhoto$2.run(AddPhoto.java:137)
at java.lang.Thread.run(Thread.java:595
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.io.IOException: Non nillable element 'photographer' is null.
 
It's not a secret anymore!