We're updating the issue view to help you get more done. 

NPE in CheckCoverage

Description

(couldn't reproduce yet, but I saw this under `aa_DJ` locale display names)

The basic issue is that `coverageLevel` is a STATIC but is only initialized the first time a "language + script" locale is set ( in `CheckCoverage.setCldrFileToCheck()` ).

Internal error in org.unicode.cldr.test.CheckCoverage. Exception: java.lang.NullPointerException, Message: java.lang.NullPointerException, Trace: [org.unicode.cldr.test.CheckCLDR$CompoundCheckCLDR.handleCheck(CheckCLDR.java:1221), org.unicode.cldr.test.CheckCLDR.check(CheckCLDR.java:1116), org.unicode.cldr.test.TestCache$TestResultBundle.check(TestCache.java:39), org.unicode.cldr.web.DataSection$DataRow.updateInheritedValue(DataSection.java:1640), org.unicode.cldr.web.DataSection.populateFrom(DataSection.java:3070), org.unicode.cldr.web.DataSection.make(DataSection.java:2339), org.unicode.cldr.web.WebContext.getSection(WebContext.java:1573), org.unicode.cldr.web.WebContext.getSection(WebContext.java:1510), org.apache.jsp.RefreshRow_jsp._jspService(RefreshRow_jsp.java:235), org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70), javax.servlet.http.HttpServlet.service(HttpServlet.java:729), org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431), org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396), org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340), javax.servlet.http.HttpServlet.service(HttpServlet.java:729), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206), org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206), org.apache.catalina.filters.ExpiresFilter.doFilter(ExpiresFilter.java:1201), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206), org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219), org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106), org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502), org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142), org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79), org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610), org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88), org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518), org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091), org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668), org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223), org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1517), org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1474), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615), org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61), java.lang.Thread.run(Thread.java:745)|org.unicode.cldr.test.CheckCoverage.handleCheck(CheckCoverage.java:81),]; null

Environment

xpath

None

locale

None

Status

Assignee

Steven R. Loomis

Reporter

Steven R. Loomis

tracReporter

srl

tracOwner

srl

tracStatus

accepted

phase

dsub

tracCreated

Apr 23, 2015, 11:14 PM

Components

Priority

medium