You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kandula-dev@ws.apache.org by "Vasant Shirol (JIRA)" <ji...@apache.org> on 2010/03/01 19:05:05 UTC

[jira] Created: (AXIS2-4641) NullPointerException while handling date in SimpleTypeMapper.java

NullPointerException while handling date in SimpleTypeMapper.java 
------------------------------------------------------------------

                 Key: AXIS2-4641
                 URL: https://issues.apache.org/jira/browse/AXIS2-4641
             Project: Axis2
          Issue Type: Bug
          Components: adb
    Affects Versions: 1.5.1
         Environment: WIndows/Solaris
            Reporter: Vasant Shirol
            Priority: Blocker
             Fix For: 1.5.1


NPE in SimpleTypeMapper.java while handling date attribute of Java bean. 
I convert a Javabean into an OMElement using BeanUtil.getPullParser() which internally uses the SimpleTypeMapper.getStringValue(). Below is the exception stack trace:

java.lang.NullPointerException
	at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getStringValue(SimpleTypeMapper.java:297)
	at org.apache.axis2.databinding.utils.BeanUtil.getPropertyQnameList(BeanUtil.java:154)
	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:67)

All this occurs from here of SimpleTypeMapper.java:

MessageContext messageContext = MessageContext.getCurrentMessageContext();
            AxisService axisServce = messageContext.getAxisService();
            // if the user has given a pirticualr timezone we use it.
            if (axisServce.getParameter("TimeZone") != null){
               zulu.setTimeZone(TimeZone.getTimeZone((String)axisServce.getParameter("TimeZone").getValue()));
            }
see? If your MessageContext.getCurrentMessageContext() is null then axisService is null too.

Can you please fix this ASAP in axis2-1.5.1?

Thanks in advance,
Vasant

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Updated: (AXIS2-4641) NullPointerException while handling date in SimpleTypeMapper.java

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated AXIS2-4641:
-----------------------------------

    Fix Version/s: 1.6
                       (was: 1.5.1)

> NullPointerException while handling date in SimpleTypeMapper.java 
> ------------------------------------------------------------------
>
>                 Key: AXIS2-4641
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4641
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.5.1
>         Environment: WIndows/Solaris
>            Reporter: Vasant Shirol
>            Priority: Blocker
>             Fix For: 1.6
>
>
> NPE in SimpleTypeMapper.java while handling date attribute of Java bean. 
> I convert a Javabean into an OMElement using BeanUtil.getPullParser() which internally uses the SimpleTypeMapper.getStringValue(). Below is the exception stack trace:
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getStringValue(SimpleTypeMapper.java:297)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPropertyQnameList(BeanUtil.java:154)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:67)
> All this occurs from here of SimpleTypeMapper.java:
> MessageContext messageContext = MessageContext.getCurrentMessageContext();
>             AxisService axisServce = messageContext.getAxisService();
>             // if the user has given a pirticualr timezone we use it.
>             if (axisServce.getParameter("TimeZone") != null){
>                zulu.setTimeZone(TimeZone.getTimeZone((String)axisServce.getParameter("TimeZone").getValue()));
>             }
> see? If your MessageContext.getCurrentMessageContext() is null then axisService is null too.
> Can you please fix this ASAP in axis2-1.5.1?
> Thanks in advance,
> Vasant

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Updated: (AXIS2-4641) NullPointerException while handling date in SimpleTypeMapper.java

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated AXIS2-4641:
-----------------------------------

    Fix Version/s: 1.6
                       (was: 1.5.1)

> NullPointerException while handling date in SimpleTypeMapper.java 
> ------------------------------------------------------------------
>
>                 Key: AXIS2-4641
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4641
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.5.1
>         Environment: WIndows/Solaris
>            Reporter: Vasant Shirol
>            Priority: Blocker
>             Fix For: 1.6
>
>
> NPE in SimpleTypeMapper.java while handling date attribute of Java bean. 
> I convert a Javabean into an OMElement using BeanUtil.getPullParser() which internally uses the SimpleTypeMapper.getStringValue(). Below is the exception stack trace:
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getStringValue(SimpleTypeMapper.java:297)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPropertyQnameList(BeanUtil.java:154)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:67)
> All this occurs from here of SimpleTypeMapper.java:
> MessageContext messageContext = MessageContext.getCurrentMessageContext();
>             AxisService axisServce = messageContext.getAxisService();
>             // if the user has given a pirticualr timezone we use it.
>             if (axisServce.getParameter("TimeZone") != null){
>                zulu.setTimeZone(TimeZone.getTimeZone((String)axisServce.getParameter("TimeZone").getValue()));
>             }
> see? If your MessageContext.getCurrentMessageContext() is null then axisService is null too.
> Can you please fix this ASAP in axis2-1.5.1?
> Thanks in advance,
> Vasant

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Updated: (AXIS2-4641) NullPointerException while handling date in SimpleTypeMapper.java

Posted by "Vasant Shirol (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vasant Shirol updated AXIS2-4641:
---------------------------------

    Component/s:     (was: adb)
                 databinding

adjusted component to databinding.

> NullPointerException while handling date in SimpleTypeMapper.java 
> ------------------------------------------------------------------
>
>                 Key: AXIS2-4641
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4641
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.5.1
>         Environment: WIndows/Solaris
>            Reporter: Vasant Shirol
>            Priority: Blocker
>             Fix For: 1.5.1
>
>
> NPE in SimpleTypeMapper.java while handling date attribute of Java bean. 
> I convert a Javabean into an OMElement using BeanUtil.getPullParser() which internally uses the SimpleTypeMapper.getStringValue(). Below is the exception stack trace:
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getStringValue(SimpleTypeMapper.java:297)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPropertyQnameList(BeanUtil.java:154)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:67)
> All this occurs from here of SimpleTypeMapper.java:
> MessageContext messageContext = MessageContext.getCurrentMessageContext();
>             AxisService axisServce = messageContext.getAxisService();
>             // if the user has given a pirticualr timezone we use it.
>             if (axisServce.getParameter("TimeZone") != null){
>                zulu.setTimeZone(TimeZone.getTimeZone((String)axisServce.getParameter("TimeZone").getValue()));
>             }
> see? If your MessageContext.getCurrentMessageContext() is null then axisService is null too.
> Can you please fix this ASAP in axis2-1.5.1?
> Thanks in advance,
> Vasant

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Updated: (AXIS2-4641) NullPointerException while handling date in SimpleTypeMapper.java

Posted by "Vasant Shirol (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vasant Shirol updated AXIS2-4641:
---------------------------------

    Component/s:     (was: adb)
                 databinding

adjusted component to databinding.

> NullPointerException while handling date in SimpleTypeMapper.java 
> ------------------------------------------------------------------
>
>                 Key: AXIS2-4641
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4641
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.5.1
>         Environment: WIndows/Solaris
>            Reporter: Vasant Shirol
>            Priority: Blocker
>             Fix For: 1.5.1
>
>
> NPE in SimpleTypeMapper.java while handling date attribute of Java bean. 
> I convert a Javabean into an OMElement using BeanUtil.getPullParser() which internally uses the SimpleTypeMapper.getStringValue(). Below is the exception stack trace:
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getStringValue(SimpleTypeMapper.java:297)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPropertyQnameList(BeanUtil.java:154)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:67)
> All this occurs from here of SimpleTypeMapper.java:
> MessageContext messageContext = MessageContext.getCurrentMessageContext();
>             AxisService axisServce = messageContext.getAxisService();
>             // if the user has given a pirticualr timezone we use it.
>             if (axisServce.getParameter("TimeZone") != null){
>                zulu.setTimeZone(TimeZone.getTimeZone((String)axisServce.getParameter("TimeZone").getValue()));
>             }
> see? If your MessageContext.getCurrentMessageContext() is null then axisService is null too.
> Can you please fix this ASAP in axis2-1.5.1?
> Thanks in advance,
> Vasant

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Resolved: (AXIS2-4641) NullPointerException while handling date in SimpleTypeMapper.java

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-4641.
-------------------------------------------------

    Resolution: Fixed

fixed in the revision 919967.

> NullPointerException while handling date in SimpleTypeMapper.java 
> ------------------------------------------------------------------
>
>                 Key: AXIS2-4641
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4641
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.5.1
>         Environment: WIndows/Solaris
>            Reporter: Vasant Shirol
>            Priority: Blocker
>             Fix For: 1.5.1
>
>
> NPE in SimpleTypeMapper.java while handling date attribute of Java bean. 
> I convert a Javabean into an OMElement using BeanUtil.getPullParser() which internally uses the SimpleTypeMapper.getStringValue(). Below is the exception stack trace:
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getStringValue(SimpleTypeMapper.java:297)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPropertyQnameList(BeanUtil.java:154)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:67)
> All this occurs from here of SimpleTypeMapper.java:
> MessageContext messageContext = MessageContext.getCurrentMessageContext();
>             AxisService axisServce = messageContext.getAxisService();
>             // if the user has given a pirticualr timezone we use it.
>             if (axisServce.getParameter("TimeZone") != null){
>                zulu.setTimeZone(TimeZone.getTimeZone((String)axisServce.getParameter("TimeZone").getValue()));
>             }
> see? If your MessageContext.getCurrentMessageContext() is null then axisService is null too.
> Can you please fix this ASAP in axis2-1.5.1?
> Thanks in advance,
> Vasant

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Updated: (AXIS2-4641) NullPointerException while handling date in SimpleTypeMapper.java

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated AXIS2-4641:
-----------------------------------

    Fix Version/s: 1.6
                       (was: 1.5.1)

> NullPointerException while handling date in SimpleTypeMapper.java 
> ------------------------------------------------------------------
>
>                 Key: AXIS2-4641
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4641
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.5.1
>         Environment: WIndows/Solaris
>            Reporter: Vasant Shirol
>            Priority: Blocker
>             Fix For: 1.6
>
>
> NPE in SimpleTypeMapper.java while handling date attribute of Java bean. 
> I convert a Javabean into an OMElement using BeanUtil.getPullParser() which internally uses the SimpleTypeMapper.getStringValue(). Below is the exception stack trace:
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getStringValue(SimpleTypeMapper.java:297)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPropertyQnameList(BeanUtil.java:154)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:67)
> All this occurs from here of SimpleTypeMapper.java:
> MessageContext messageContext = MessageContext.getCurrentMessageContext();
>             AxisService axisServce = messageContext.getAxisService();
>             // if the user has given a pirticualr timezone we use it.
>             if (axisServce.getParameter("TimeZone") != null){
>                zulu.setTimeZone(TimeZone.getTimeZone((String)axisServce.getParameter("TimeZone").getValue()));
>             }
> see? If your MessageContext.getCurrentMessageContext() is null then axisService is null too.
> Can you please fix this ASAP in axis2-1.5.1?
> Thanks in advance,
> Vasant

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Resolved: (AXIS2-4641) NullPointerException while handling date in SimpleTypeMapper.java

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-4641.
-------------------------------------------------

    Resolution: Fixed

fixed in the revision 919967.

> NullPointerException while handling date in SimpleTypeMapper.java 
> ------------------------------------------------------------------
>
>                 Key: AXIS2-4641
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4641
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.5.1
>         Environment: WIndows/Solaris
>            Reporter: Vasant Shirol
>            Priority: Blocker
>             Fix For: 1.5.1
>
>
> NPE in SimpleTypeMapper.java while handling date attribute of Java bean. 
> I convert a Javabean into an OMElement using BeanUtil.getPullParser() which internally uses the SimpleTypeMapper.getStringValue(). Below is the exception stack trace:
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getStringValue(SimpleTypeMapper.java:297)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPropertyQnameList(BeanUtil.java:154)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:67)
> All this occurs from here of SimpleTypeMapper.java:
> MessageContext messageContext = MessageContext.getCurrentMessageContext();
>             AxisService axisServce = messageContext.getAxisService();
>             // if the user has given a pirticualr timezone we use it.
>             if (axisServce.getParameter("TimeZone") != null){
>                zulu.setTimeZone(TimeZone.getTimeZone((String)axisServce.getParameter("TimeZone").getValue()));
>             }
> see? If your MessageContext.getCurrentMessageContext() is null then axisService is null too.
> Can you please fix this ASAP in axis2-1.5.1?
> Thanks in advance,
> Vasant

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Updated: (AXIS2-4641) NullPointerException while handling date in SimpleTypeMapper.java

Posted by "Vasant Shirol (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vasant Shirol updated AXIS2-4641:
---------------------------------

    Component/s:     (was: adb)
                 databinding

adjusted component to databinding.

> NullPointerException while handling date in SimpleTypeMapper.java 
> ------------------------------------------------------------------
>
>                 Key: AXIS2-4641
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4641
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.5.1
>         Environment: WIndows/Solaris
>            Reporter: Vasant Shirol
>            Priority: Blocker
>             Fix For: 1.5.1
>
>
> NPE in SimpleTypeMapper.java while handling date attribute of Java bean. 
> I convert a Javabean into an OMElement using BeanUtil.getPullParser() which internally uses the SimpleTypeMapper.getStringValue(). Below is the exception stack trace:
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getStringValue(SimpleTypeMapper.java:297)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPropertyQnameList(BeanUtil.java:154)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:67)
> All this occurs from here of SimpleTypeMapper.java:
> MessageContext messageContext = MessageContext.getCurrentMessageContext();
>             AxisService axisServce = messageContext.getAxisService();
>             // if the user has given a pirticualr timezone we use it.
>             if (axisServce.getParameter("TimeZone") != null){
>                zulu.setTimeZone(TimeZone.getTimeZone((String)axisServce.getParameter("TimeZone").getValue()));
>             }
> see? If your MessageContext.getCurrentMessageContext() is null then axisService is null too.
> Can you please fix this ASAP in axis2-1.5.1?
> Thanks in advance,
> Vasant

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Updated: (AXIS2-4641) NullPointerException while handling date in SimpleTypeMapper.java

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated AXIS2-4641:
-----------------------------------

    Fix Version/s: 1.6
                       (was: 1.5.1)

> NullPointerException while handling date in SimpleTypeMapper.java 
> ------------------------------------------------------------------
>
>                 Key: AXIS2-4641
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4641
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.5.1
>         Environment: WIndows/Solaris
>            Reporter: Vasant Shirol
>            Priority: Blocker
>             Fix For: 1.6
>
>
> NPE in SimpleTypeMapper.java while handling date attribute of Java bean. 
> I convert a Javabean into an OMElement using BeanUtil.getPullParser() which internally uses the SimpleTypeMapper.getStringValue(). Below is the exception stack trace:
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getStringValue(SimpleTypeMapper.java:297)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPropertyQnameList(BeanUtil.java:154)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:67)
> All this occurs from here of SimpleTypeMapper.java:
> MessageContext messageContext = MessageContext.getCurrentMessageContext();
>             AxisService axisServce = messageContext.getAxisService();
>             // if the user has given a pirticualr timezone we use it.
>             if (axisServce.getParameter("TimeZone") != null){
>                zulu.setTimeZone(TimeZone.getTimeZone((String)axisServce.getParameter("TimeZone").getValue()));
>             }
> see? If your MessageContext.getCurrentMessageContext() is null then axisService is null too.
> Can you please fix this ASAP in axis2-1.5.1?
> Thanks in advance,
> Vasant

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Updated: (AXIS2-4641) NullPointerException while handling date in SimpleTypeMapper.java

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated AXIS2-4641:
-----------------------------------

    Fix Version/s: 1.6
                       (was: 1.5.1)

> NullPointerException while handling date in SimpleTypeMapper.java 
> ------------------------------------------------------------------
>
>                 Key: AXIS2-4641
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4641
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.5.1
>         Environment: WIndows/Solaris
>            Reporter: Vasant Shirol
>            Priority: Blocker
>             Fix For: 1.6
>
>
> NPE in SimpleTypeMapper.java while handling date attribute of Java bean. 
> I convert a Javabean into an OMElement using BeanUtil.getPullParser() which internally uses the SimpleTypeMapper.getStringValue(). Below is the exception stack trace:
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getStringValue(SimpleTypeMapper.java:297)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPropertyQnameList(BeanUtil.java:154)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:67)
> All this occurs from here of SimpleTypeMapper.java:
> MessageContext messageContext = MessageContext.getCurrentMessageContext();
>             AxisService axisServce = messageContext.getAxisService();
>             // if the user has given a pirticualr timezone we use it.
>             if (axisServce.getParameter("TimeZone") != null){
>                zulu.setTimeZone(TimeZone.getTimeZone((String)axisServce.getParameter("TimeZone").getValue()));
>             }
> see? If your MessageContext.getCurrentMessageContext() is null then axisService is null too.
> Can you please fix this ASAP in axis2-1.5.1?
> Thanks in advance,
> Vasant

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Updated: (AXIS2-4641) NullPointerException while handling date in SimpleTypeMapper.java

Posted by "Vasant Shirol (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vasant Shirol updated AXIS2-4641:
---------------------------------

    Component/s:     (was: adb)
                 databinding

adjusted component to databinding.

> NullPointerException while handling date in SimpleTypeMapper.java 
> ------------------------------------------------------------------
>
>                 Key: AXIS2-4641
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4641
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.5.1
>         Environment: WIndows/Solaris
>            Reporter: Vasant Shirol
>            Priority: Blocker
>             Fix For: 1.5.1
>
>
> NPE in SimpleTypeMapper.java while handling date attribute of Java bean. 
> I convert a Javabean into an OMElement using BeanUtil.getPullParser() which internally uses the SimpleTypeMapper.getStringValue(). Below is the exception stack trace:
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getStringValue(SimpleTypeMapper.java:297)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPropertyQnameList(BeanUtil.java:154)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:67)
> All this occurs from here of SimpleTypeMapper.java:
> MessageContext messageContext = MessageContext.getCurrentMessageContext();
>             AxisService axisServce = messageContext.getAxisService();
>             // if the user has given a pirticualr timezone we use it.
>             if (axisServce.getParameter("TimeZone") != null){
>                zulu.setTimeZone(TimeZone.getTimeZone((String)axisServce.getParameter("TimeZone").getValue()));
>             }
> see? If your MessageContext.getCurrentMessageContext() is null then axisService is null too.
> Can you please fix this ASAP in axis2-1.5.1?
> Thanks in advance,
> Vasant

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Resolved: (AXIS2-4641) NullPointerException while handling date in SimpleTypeMapper.java

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-4641.
-------------------------------------------------

    Resolution: Fixed

fixed in the revision 919967.

> NullPointerException while handling date in SimpleTypeMapper.java 
> ------------------------------------------------------------------
>
>                 Key: AXIS2-4641
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4641
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.5.1
>         Environment: WIndows/Solaris
>            Reporter: Vasant Shirol
>            Priority: Blocker
>             Fix For: 1.5.1
>
>
> NPE in SimpleTypeMapper.java while handling date attribute of Java bean. 
> I convert a Javabean into an OMElement using BeanUtil.getPullParser() which internally uses the SimpleTypeMapper.getStringValue(). Below is the exception stack trace:
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getStringValue(SimpleTypeMapper.java:297)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPropertyQnameList(BeanUtil.java:154)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:67)
> All this occurs from here of SimpleTypeMapper.java:
> MessageContext messageContext = MessageContext.getCurrentMessageContext();
>             AxisService axisServce = messageContext.getAxisService();
>             // if the user has given a pirticualr timezone we use it.
>             if (axisServce.getParameter("TimeZone") != null){
>                zulu.setTimeZone(TimeZone.getTimeZone((String)axisServce.getParameter("TimeZone").getValue()));
>             }
> see? If your MessageContext.getCurrentMessageContext() is null then axisService is null too.
> Can you please fix this ASAP in axis2-1.5.1?
> Thanks in advance,
> Vasant

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Resolved: (AXIS2-4641) NullPointerException while handling date in SimpleTypeMapper.java

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-4641.
-------------------------------------------------

    Resolution: Fixed

fixed in the revision 919967.

> NullPointerException while handling date in SimpleTypeMapper.java 
> ------------------------------------------------------------------
>
>                 Key: AXIS2-4641
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4641
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.5.1
>         Environment: WIndows/Solaris
>            Reporter: Vasant Shirol
>            Priority: Blocker
>             Fix For: 1.5.1
>
>
> NPE in SimpleTypeMapper.java while handling date attribute of Java bean. 
> I convert a Javabean into an OMElement using BeanUtil.getPullParser() which internally uses the SimpleTypeMapper.getStringValue(). Below is the exception stack trace:
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getStringValue(SimpleTypeMapper.java:297)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPropertyQnameList(BeanUtil.java:154)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:67)
> All this occurs from here of SimpleTypeMapper.java:
> MessageContext messageContext = MessageContext.getCurrentMessageContext();
>             AxisService axisServce = messageContext.getAxisService();
>             // if the user has given a pirticualr timezone we use it.
>             if (axisServce.getParameter("TimeZone") != null){
>                zulu.setTimeZone(TimeZone.getTimeZone((String)axisServce.getParameter("TimeZone").getValue()));
>             }
> see? If your MessageContext.getCurrentMessageContext() is null then axisService is null too.
> Can you please fix this ASAP in axis2-1.5.1?
> Thanks in advance,
> Vasant

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Resolved: (AXIS2-4641) NullPointerException while handling date in SimpleTypeMapper.java

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-4641.
-------------------------------------------------

    Resolution: Fixed

fixed in the revision 919967.

> NullPointerException while handling date in SimpleTypeMapper.java 
> ------------------------------------------------------------------
>
>                 Key: AXIS2-4641
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4641
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.5.1
>         Environment: WIndows/Solaris
>            Reporter: Vasant Shirol
>            Priority: Blocker
>             Fix For: 1.5.1
>
>
> NPE in SimpleTypeMapper.java while handling date attribute of Java bean. 
> I convert a Javabean into an OMElement using BeanUtil.getPullParser() which internally uses the SimpleTypeMapper.getStringValue(). Below is the exception stack trace:
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getStringValue(SimpleTypeMapper.java:297)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPropertyQnameList(BeanUtil.java:154)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:67)
> All this occurs from here of SimpleTypeMapper.java:
> MessageContext messageContext = MessageContext.getCurrentMessageContext();
>             AxisService axisServce = messageContext.getAxisService();
>             // if the user has given a pirticualr timezone we use it.
>             if (axisServce.getParameter("TimeZone") != null){
>                zulu.setTimeZone(TimeZone.getTimeZone((String)axisServce.getParameter("TimeZone").getValue()));
>             }
> see? If your MessageContext.getCurrentMessageContext() is null then axisService is null too.
> Can you please fix this ASAP in axis2-1.5.1?
> Thanks in advance,
> Vasant

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Updated: (AXIS2-4641) NullPointerException while handling date in SimpleTypeMapper.java

Posted by "Vasant Shirol (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vasant Shirol updated AXIS2-4641:
---------------------------------

    Component/s:     (was: adb)
                 databinding

adjusted component to databinding.

> NullPointerException while handling date in SimpleTypeMapper.java 
> ------------------------------------------------------------------
>
>                 Key: AXIS2-4641
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4641
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.5.1
>         Environment: WIndows/Solaris
>            Reporter: Vasant Shirol
>            Priority: Blocker
>             Fix For: 1.5.1
>
>
> NPE in SimpleTypeMapper.java while handling date attribute of Java bean. 
> I convert a Javabean into an OMElement using BeanUtil.getPullParser() which internally uses the SimpleTypeMapper.getStringValue(). Below is the exception stack trace:
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getStringValue(SimpleTypeMapper.java:297)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPropertyQnameList(BeanUtil.java:154)
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:67)
> All this occurs from here of SimpleTypeMapper.java:
> MessageContext messageContext = MessageContext.getCurrentMessageContext();
>             AxisService axisServce = messageContext.getAxisService();
>             // if the user has given a pirticualr timezone we use it.
>             if (axisServce.getParameter("TimeZone") != null){
>                zulu.setTimeZone(TimeZone.getTimeZone((String)axisServce.getParameter("TimeZone").getValue()));
>             }
> see? If your MessageContext.getCurrentMessageContext() is null then axisService is null too.
> Can you please fix this ASAP in axis2-1.5.1?
> Thanks in advance,
> Vasant

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org