Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 74E4310A81 for ; Mon, 11 Nov 2013 16:35:23 +0000 (UTC) Received: (qmail 47290 invoked by uid 500); 11 Nov 2013 16:35:20 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 47031 invoked by uid 500); 11 Nov 2013 16:35:19 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 47011 invoked by uid 99); 11 Nov 2013 16:35:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Nov 2013 16:35:19 +0000 Date: Mon, 11 Nov 2013 16:35:19 +0000 (UTC) From: "Kishanthan Thangarajah (JIRA)" To: java-dev@axis.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (AXIS2-5615) NPE on java2wsdl MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2-5615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13819093#comment-13819093 ] Kishanthan Thangarajah edited comment on AXIS2-5615 at 11/11/13 4:34 PM: ------------------------------------------------------------------------- Can you tell the command (with all arguments) used here in generating the wsdl? was (Author: kishanthan): Can you tell the command (with all arguments) used here in generating the code? > NPE on java2wsdl > ---------------- > > Key: AXIS2-5615 > URL: https://issues.apache.org/jira/browse/AXIS2-5615 > Project: Axis2 > Issue Type: Bug > Components: kernel > Affects Versions: 1.6.2 > Reporter: Prem Sangeeth > > Class Child extends Parent > { > public void setName(String name) > { > this.name = name; > } > } > Class Parent > { > protected String name; > public String getName() > { > return this.name; > } > protected void setName(String name) > { > this.name = name; > } > } > When we convert services contain parameter Child. The following exception will throw > Caused by: java.lang.NullPointerException > at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchema(DefaultSchemaGenerator.java:609) > at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchemaTypeforNameCommon(DefaultSchemaGenerator.java:1096) > at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchemaForType(DefaultSchemaGenerator.java:1000) > at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.processMethods(DefaultSchemaGenerator.java:385) > at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchema(DefaultSchemaGenerator.java:273) > at org.apache.axis2.description.AxisService.createService(AxisService.java:2501) -- This message was sent by Atlassian JIRA (v6.1#6144) --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org