{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/jetty.project/issues/720","repository_url":"https://api.github.com/repos/eclipse/jetty.project","labels_url":"https://api.github.com/repos/eclipse/jetty.project/issues/720/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/jetty.project/issues/720/comments","events_url":"https://api.github.com/repos/eclipse/jetty.project/issues/720/events","html_url":"https://github.com/eclipse/jetty.project/issues/720","id":165233827,"number":720,"title":"asciiToLowerCase throws NullPointerException","user":{"login":"xzxevil","id":5471028,"avatar_url":"https://avatars.githubusercontent.com/u/5471028?v=3","gravatar_id":"","url":"https://api.github.com/users/xzxevil","html_url":"https://github.com/xzxevil","followers_url":"https://api.github.com/users/xzxevil/followers","following_url":"https://api.github.com/users/xzxevil/following{/other_user}","gists_url":"https://api.github.com/users/xzxevil/gists{/gist_id}","starred_url":"https://api.github.com/users/xzxevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xzxevil/subscriptions","organizations_url":"https://api.github.com/users/xzxevil/orgs","repos_url":"https://api.github.com/users/xzxevil/repos","events_url":"https://api.github.com/users/xzxevil/events{/privacy}","received_events_url":"https://api.github.com/users/xzxevil/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"janbartel","id":342406,"avatar_url":"https://avatars.githubusercontent.com/u/342406?v=3","gravatar_id":"","url":"https://api.github.com/users/janbartel","html_url":"https://github.com/janbartel","followers_url":"https://api.github.com/users/janbartel/followers","following_url":"https://api.github.com/users/janbartel/following{/other_user}","gists_url":"https://api.github.com/users/janbartel/gists{/gist_id}","starred_url":"https://api.github.com/users/janbartel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janbartel/subscriptions","organizations_url":"https://api.github.com/users/janbartel/orgs","repos_url":"https://api.github.com/users/janbartel/repos","events_url":"https://api.github.com/users/janbartel/events{/privacy}","received_events_url":"https://api.github.com/users/janbartel/received_events","type":"User","site_admin":false},"assignees":[{"login":"janbartel","id":342406,"avatar_url":"https://avatars.githubusercontent.com/u/342406?v=3","gravatar_id":"","url":"https://api.github.com/users/janbartel","html_url":"https://github.com/janbartel","followers_url":"https://api.github.com/users/janbartel/followers","following_url":"https://api.github.com/users/janbartel/following{/other_user}","gists_url":"https://api.github.com/users/janbartel/gists{/gist_id}","starred_url":"https://api.github.com/users/janbartel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janbartel/subscriptions","organizations_url":"https://api.github.com/users/janbartel/orgs","repos_url":"https://api.github.com/users/janbartel/repos","events_url":"https://api.github.com/users/janbartel/events{/privacy}","received_events_url":"https://api.github.com/users/janbartel/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-07-13T04:16:10Z","updated_at":"2016-09-05T13:16:17Z","closed_at":"2016-07-13T05:31:30Z","body":"hello \r\n\r\nHere is a crash stack trace.\r\n\r\nCaused by java.lang.NullPointerException\r\n       at org.eclipse.jetty.util.StringUtil.asciiToLowerCase(SourceFile:106)\r\n       at org.eclipse.jetty.http.MimeTypes.(SourceFile)\r\n       at org.eclipse.jetty.server.handler.ContextHandler.doStart(SourceFile:711)\r\n       at org.eclipse.jetty.util.component.AbstractLifeCycle.start(SourceFile:64)\r\n       at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(SourceFile:95)\r\n       at org.eclipse.jetty.server.Server.doStart(SourceFile:282)\r\n       at org.eclipse.jetty.util.component.AbstractLifeCycle.start(SourceFile:64)\r\n       at org.fourthline.cling.transport.impl.jetty.JettyServletContainer.startIfNotRunning(SourceFile:141)\r\n       at org.fourthline.cling.transport.impl.AsyncServletStreamServerImpl.run(SourceFile:92)\r\n\r\nWhich was caused by null pointer, In source code below, param ext may be null, so the crash occurred. Can you please take a look of this issue?\r\n\r\n```\r\n            ResourceBundle mime = ResourceBundle.getBundle(\"org/eclipse/jetty/http/mime\");\r\n            Enumeration i = mime.getKeys();\r\n            while(i.hasMoreElements())\r\n            {\r\n                String ext = (String)i.nextElement();\r\n                String m = mime.getString(ext);\r\n                __dftMimeMap.put(StringUtil.asciiToLowerCase(ext),normalizeMimeType(m));\r\n            }\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/eclipse/jetty.project/issues/comments/244744543","html_url":"https://github.com/eclipse/jetty.project/issues/720#issuecomment-244744543","issue_url":"https://api.github.com/repos/eclipse/jetty.project/issues/720","id":244744543,"user":{"login":"zayass","id":1008679,"avatar_url":"https://avatars.githubusercontent.com/u/1008679?v=3","gravatar_id":"","url":"https://api.github.com/users/zayass","html_url":"https://github.com/zayass","followers_url":"https://api.github.com/users/zayass/followers","following_url":"https://api.github.com/users/zayass/following{/other_user}","gists_url":"https://api.github.com/users/zayass/gists{/gist_id}","starred_url":"https://api.github.com/users/zayass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zayass/subscriptions","organizations_url":"https://api.github.com/users/zayass/orgs","repos_url":"https://api.github.com/users/zayass/repos","events_url":"https://api.github.com/users/zayass/events{/privacy}","received_events_url":"https://api.github.com/users/zayass/received_events","type":"User","site_admin":false},"created_at":"2016-09-05T13:16:17Z","updated_at":"2016-09-05T13:16:17Z","body":"We have same issue on android with version 8.1.8\r\nbut line 106 it is not null input parameter\r\nif input is null NullPointerException was attempt earlier on line 86\r\n\r\nhttps://github.com/eclipse/jetty.project/blob/00ed5498988062d768ee306da708d338a96253dc/jetty-util/src/main/java/org/eclipse/jetty/util/StringUtil.java#L106\r\n\r\n\r\nsame issue http://stackoverflow.com/questions/31769747/how-to-checkout-jetty-util-jetty-util-8-1-17-v20150415-from-git with line 106 android and cling"}}
{"actor":{"display_login":"zayass"}}