-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
5.0
-
x86
-
windows_2000
Name: js151677 Date: 05/31/2004
FULL PRODUCT VERSION :
java version "1.5.0-beta2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b51)
Java HotSpot(TM) Client VM (build 1.5.0-beta2-b51, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Windows Windows 2000
5.00.2195
Service Pack 4
A DESCRIPTION OF THE PROBLEM :
We're using AXIS 1.1 to make a soap call. We're using java 1.4.1 and 1.4.2 in production with success now.
Trying to switch to java 1.5 beta2 we can't do any AXIS call at all. du to the differenct behavoir of the SAXParserImpl class. When a unknown property is set this results in a NullPointerException.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
parser.setProperty("http://xml.org/sax/properties/lexical-handler", this);
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
org.xml.sax.SAXNotSupportedException: Property: http://xml.org/sax/properties/lexical-handler
ACTUAL -
Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at
ERROR MESSAGES/STACK TRACES THAT OCCUR :
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.NullPointerException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:385)
at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at com.bevalue.ech.communicatie.gui.ECHGUIClient.getAuthorisatie(ECHGUIClient.java:2446)
at com.bevalue.ech.communication.ServerFacade.getUserAuthorisatie(ServerFacade.java:1310)
at com.bevalue.ech.login.EchInitializer.run(EchInitializer.java:55)
java.lang.NullPointerException
at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
at org.apache.axis.client.Call.invoke(Call.java:2251)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at com.bevalue.ech.communicatie.gui.ECHGUIClient.getAuthorisatie(ECHGUIClient.java:2446)
at com.bevalue.ech.communication.ServerFacade.getUserAuthorisatie(ServerFacade.java:1310)
at com.bevalue.ech.login.EchInitializer.run(EchInitializer.java:55)
Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:385)
at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
... 5 more
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
/**
*/
public class Test {
public static void main(String args[]) throws Exception{
SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
parser.setProperty("http://xml.org/sax/properties/lexical-handler", null);
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
not yep found
(Incident Review ID: 275632)
======================================================================
FULL PRODUCT VERSION :
java version "1.5.0-beta2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b51)
Java HotSpot(TM) Client VM (build 1.5.0-beta2-b51, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Windows Windows 2000
5.00.2195
Service Pack 4
A DESCRIPTION OF THE PROBLEM :
We're using AXIS 1.1 to make a soap call. We're using java 1.4.1 and 1.4.2 in production with success now.
Trying to switch to java 1.5 beta2 we can't do any AXIS call at all. du to the differenct behavoir of the SAXParserImpl class. When a unknown property is set this results in a NullPointerException.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
parser.setProperty("http://xml.org/sax/properties/lexical-handler", this);
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
org.xml.sax.SAXNotSupportedException: Property: http://xml.org/sax/properties/lexical-handler
ACTUAL -
Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at
ERROR MESSAGES/STACK TRACES THAT OCCUR :
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.NullPointerException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:385)
at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at com.bevalue.ech.communicatie.gui.ECHGUIClient.getAuthorisatie(ECHGUIClient.java:2446)
at com.bevalue.ech.communication.ServerFacade.getUserAuthorisatie(ServerFacade.java:1310)
at com.bevalue.ech.login.EchInitializer.run(EchInitializer.java:55)
java.lang.NullPointerException
at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
at org.apache.axis.client.Call.invoke(Call.java:2251)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at com.bevalue.ech.communicatie.gui.ECHGUIClient.getAuthorisatie(ECHGUIClient.java:2446)
at com.bevalue.ech.communication.ServerFacade.getUserAuthorisatie(ServerFacade.java:1310)
at com.bevalue.ech.login.EchInitializer.run(EchInitializer.java:55)
Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:385)
at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
... 5 more
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
/**
*/
public class Test {
public static void main(String args[]) throws Exception{
SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
parser.setProperty("http://xml.org/sax/properties/lexical-handler", null);
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
not yep found
(Incident Review ID: 275632)
======================================================================