Hi, a while ago I wrote some code to file an issue via the GData API
and OAuth. I haven't tried the code in a while and now it doesn't seem
to work. I send the HTTP request below, and get a simple "500 Internal
Server Error" response with no explanation. What's going on? Thanks!

----------------

<?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/
2005/Atom' xmlns:issues='http://schemas.google.com/projecthosting/
issues/2009'><title>Impossible cast from javax.naming.CompositeName to
com.sun.jndi.dns.DnsName in addAll(int, Name) in DnsName.java</
title><atom:content xmlns:atom='http://www.w3.org/2005/Atom'
type='html'>Bug report generated from FindBugs
Impossible cast from javax.naming.CompositeName to
com.sun.jndi.dns.DnsName in addAll(int, Name)

In class com.sun.jndi.dns.DnsName
  In method addAll(int, Name)
  Actual type javax.naming.CompositeName
  Expected com.sun.jndi.dns.DnsName
  Value loaded from n
  At DnsName.java:[line 363]

Relevant source code:
  359:           domain = null;
  360:       }
  361:
  362:   } else if (n instanceof CompositeName) {
  363:       n = (DnsName) n;            // force ClassCastException

Bug pattern explanation:
This cast will always throw a ClassCastException. FindBugs tracks
type
information from instanceof checks, and also uses more precise
information
about the types of values returned from methods and loaded from
fields. Thus,
it may have more precise information that just the declared type of a
variable, and can use this to determine that a cast will always throw
an
exception at runtime.



FindBugs issue identifier (do not modify or remove):
9f539f18993066f5fa629c57f23a982c</atom:content><atom:author
xmlns:atom='http://www.w3.org/2005/Atom'/><issues:status>New</
issues:status><issues:sendEmail>True</
issues:sendEmail><issues:label>FindBugsGenerated</issues:label></entry>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Hosting on Google Code" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-code-hosting?hl=en.

Reply via email to