Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-2344

New labels are being created with label codes of zero instead of null in the db

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • Bug fixes, 2011-08-01
    • None
    • None
    • None

      Search for 'Dark Prisma' label

      get the following error:


      Search Error

      The search server could not fulfill your request due to an internal error. This is usually only temporary, so please retry your search again later.

      Below is the error information. If you wish to file a bug report, you may do so at our bug tracker. The below information will help, so please be sure to include it!

      HTTP Status 500 -

      type Exception report

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      java.lang.NumberFormatException: Zero length BigInteger
      java.math.BigInteger.<init>(BigInteger.java:296)
      java.math.BigInteger.<init>(BigInteger.java:470)
      org.musicbrainz.search.servlet.mmd2.LabelWriter.write(LabelWriter.java:67)
      org.musicbrainz.search.servlet.mmd2.ResultsWriter.write(ResultsWriter.java:115)
      org.musicbrainz.search.servlet.SearchServerServlet.doGet(SearchServerServlet.java:287)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
      org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
      org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
      org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
      org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)

      note The full stack trace of the root cause is available in the Apache Tomcat/6.0.24 logs.


      • incidentally, "bug tracker" link in the above error, goes to bugs.musicbrainz.org. Probably should go to tickets.musicbrainz.org, and bugs.musicbrainz maybe should redirect as well?

            acid2 Oliver Charles
            aeontech Anton Stroganov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                Bug fixes, 2011-08-01