[prev in list] [next in list] [prev in thread] [next in thread]
List: axis-dev
Subject: svn commit: r451681 -
From: dims () apache ! org
Date: 2006-09-30 22:07:09
Message-ID: 20060930220709.E2B261A981A () eris ! apache ! org
[Download RAW message or body]
Author: dims
Date: Sat Sep 30 15:07:09 2006
New Revision: 451681
URL: http://svn.apache.org/viewvc?view=rev&rev=451681
Log:
Prevent NPE
Modified:
webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
Modified: webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/src \
/org/apache/axis2/schema/SchemaCompiler.java?view=diff&rev=451681&r1=451680&r2=451681 \
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java \
(original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java \
Sat Sep 30 15:07:09 2006 @@ -1375,7 +1375,7 @@
Object type = baseSchemaTypeMap.get(attrTypeName);
if (type == null) {
XmlSchemaSimpleType simpleType = attribute.getSchemaType();
- if(simpleType.getContent() instanceof \
XmlSchemaSimpleTypeRestriction) { + if(simpleType != null \
&& simpleType.getContent() instanceof XmlSchemaSimpleTypeRestriction) \
{
XmlSchemaSimpleTypeRestriction restriction = \
(XmlSchemaSimpleTypeRestriction) simpleType.getContent();
QName baseTypeName = restriction.getBaseTypeName();
type = baseSchemaTypeMap.get(baseTypeName);
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic