You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/07/11 13:15:03 UTC

DO NOT REPLY [Bug 35684] New: - FeedParser NullpointerException in WebSphere Portal 5.1

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35684>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35684

           Summary: FeedParser NullpointerException in WebSphere Portal 5.1
           Product: Commons
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: FeedParser
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: peter.bijl@freeler.nl


When I parse a feed I get a NullpointerException in the doView method of a 
simple WebSphere 5.1 JSR168 portlet. When I create a regular Java program with 
the same JRE and libraries I do not get this exception.

// Parsing the example:
parser.parse( listener, is, resource );

I goes wrong in:
MetaFeedParser.java :
if ( parseDate( "pubDate", null, mfp, state, false ) )
   return;

The nullpointer exception is in the first line of this method:
String v = state.current.getChildText( name, ns );

This crashes in WebSphere Portal 5.1 but strangely not in the Java program 
with the same 5.1 JRE and libraries. Could we solve this to put this statement 
also in the try/catch block?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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