{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/californium/issues/76","repository_url":"https://api.github.com/repos/eclipse/californium","labels_url":"https://api.github.com/repos/eclipse/californium/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/californium/issues/76/comments","events_url":"https://api.github.com/repos/eclipse/californium/issues/76/events","html_url":"https://github.com/eclipse/californium/issues/76","id":166603041,"number":76,"title":"When BlockwiseLayer is manually turned off, NullPointerException is thrown.","user":{"login":"wiinguyen","id":3740071,"avatar_url":"https://avatars.githubusercontent.com/u/3740071?v=3","gravatar_id":"","url":"https://api.github.com/users/wiinguyen","html_url":"https://github.com/wiinguyen","followers_url":"https://api.github.com/users/wiinguyen/followers","following_url":"https://api.github.com/users/wiinguyen/following{/other_user}","gists_url":"https://api.github.com/users/wiinguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/wiinguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiinguyen/subscriptions","organizations_url":"https://api.github.com/users/wiinguyen/orgs","repos_url":"https://api.github.com/users/wiinguyen/repos","events_url":"https://api.github.com/users/wiinguyen/events{/privacy}","received_events_url":"https://api.github.com/users/wiinguyen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eclipse/californium/labels/core","name":"core","color":"207de5"},{"url":"https://api.github.com/repos/eclipse/californium/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"sophokles73","id":5682135,"avatar_url":"https://avatars.githubusercontent.com/u/5682135?v=3","gravatar_id":"","url":"https://api.github.com/users/sophokles73","html_url":"https://github.com/sophokles73","followers_url":"https://api.github.com/users/sophokles73/followers","following_url":"https://api.github.com/users/sophokles73/following{/other_user}","gists_url":"https://api.github.com/users/sophokles73/gists{/gist_id}","starred_url":"https://api.github.com/users/sophokles73/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sophokles73/subscriptions","organizations_url":"https://api.github.com/users/sophokles73/orgs","repos_url":"https://api.github.com/users/sophokles73/repos","events_url":"https://api.github.com/users/sophokles73/events{/privacy}","received_events_url":"https://api.github.com/users/sophokles73/received_events","type":"User","site_admin":false},"assignees":[{"login":"sophokles73","id":5682135,"avatar_url":"https://avatars.githubusercontent.com/u/5682135?v=3","gravatar_id":"","url":"https://api.github.com/users/sophokles73","html_url":"https://github.com/sophokles73","followers_url":"https://api.github.com/users/sophokles73/followers","following_url":"https://api.github.com/users/sophokles73/following{/other_user}","gists_url":"https://api.github.com/users/sophokles73/gists{/gist_id}","starred_url":"https://api.github.com/users/sophokles73/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sophokles73/subscriptions","organizations_url":"https://api.github.com/users/sophokles73/orgs","repos_url":"https://api.github.com/users/sophokles73/repos","events_url":"https://api.github.com/users/sophokles73/events{/privacy}","received_events_url":"https://api.github.com/users/sophokles73/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-07-20T14:59:03Z","updated_at":"2016-07-21T09:46:18Z","closed_at":null,"body":"When BlockwiseLayer is manually turned off, NullPointerException is thrown.\r\n\r\nA proposed quick fix is to check for \"response != null\" in Matcher.java.\r\n\r\nJul 20, 2016 10:26:19 AM org.eclipse.californium.core.network.CoapEndpoint$5 run\r\nSEVERE: Exception in protocol stage thread: null\r\njava.lang.NullPointerException\r\n\tat org.eclipse.californium.core.network.Matcher$ExchangeObserverImpl.completed(Matcher.java:535)\r\n\tat org.eclipse.californium.core.network.Exchange.setComplete(Exchange.java:449)\r\n\tat org.eclipse.californium.core.network.Matcher.sendResponse(Matcher.java:225)\r\n\tat org.eclipse.californium.core.network.CoapEndpoint$OutboxImpl.sendResponse(CoapEndpoint.java:530)\r\n\tat org.eclipse.californium.core.network.stack.CoapStack$StackBottomAdapter.sendResponse(CoapStack.java:217)\r\n\tat org.eclipse.californium.core.network.stack.AbstractLayer.sendResponse(AbstractLayer.java:71)\r\n\tat org.eclipse.californium.core.network.stack.ReliabilityLayer.sendResponse(ReliabilityLayer.java:162)\r\n\tat org.eclipse.californium.core.network.stack.AbstractLayer.sendResponse(AbstractLayer.java:71)\r\n\tat org.eclipse.californium.core.network.stack.ObserveLayer.sendResponse(ObserveLayer.java:120)\r\n\tat org.eclipse.californium.core.network.stack.AbstractLayer.sendResponse(AbstractLayer.java:71)\r\n\tat org.eclipse.californium.core.network.stack.CoapStack$StackTopAdapter.sendResponse(CoapStack.java:176)\r\n\tat org.eclipse.californium.core.network.stack.CoapStack.sendResponse(CoapStack.java:123)\r\n\tat org.eclipse.californium.core.network.CoapEndpoint.sendResponse(CoapEndpoint.java:443)\r\n\tat org.eclipse.californium.core.network.Exchange.sendResponse(Exchange.java:199)\r\n\tat org.eclipse.californium.core.server.resources.CoapExchange.respond(CoapExchange.java:290)\r\n\tat org.eclipse.californium.core.server.resources.CoapExchange.respond(CoapExchange.java:211)\r\n\tat org.eclipse.californium.core.server.resources.CoapExchange.respond(CoapExchange.java:192)\r\n\tat org.eclipse.californium.examples.HelloWorldServer$HelloWorldResource.handlePOST(HelloWorldServer.java:152)\r\n\tat org.eclipse.californium.core.CoapResource.handleRequest(CoapResource.java:217)\r\n\tat org.eclipse.californium.core.server.ServerMessageDeliverer.deliverRequest(ServerMessageDeliverer.java:86)\r\n\tat org.eclipse.californium.core.network.stack.CoapStack$StackTopAdapter.receiveRequest(CoapStack.java:185)\r\n\tat org.eclipse.californium.core.network.stack.AbstractLayer.receiveRequest(AbstractLayer.java:91)\r\n\tat org.eclipse.californium.core.network.stack.AbstractLayer.receiveRequest(AbstractLayer.java:91)\r\n\tat \r\norg.eclipse.californium.core.network.stack.ReliabilityLayer.receiveRequest(ReliabilityLayer.java:236)\r\n\tat org.eclipse.californium.core.network.stack.AbstractLayer.receiveRequest(AbstractLayer.java:91)\r\n\tat org.eclipse.californium.core.network.stack.CoapStack.receiveRequest(CoapStack.java:133)\r\n\tat org.eclipse.californium.core.network.CoapEndpoint$InboxImpl.receiveMessage(CoapEndpoint.java:654)\r\n\tat org.eclipse.californium.core.network.CoapEndpoint$InboxImpl.access$700(CoapEndpoint.java:583)\r\n\tat org.eclipse.californium.core.network.CoapEndpoint$InboxImpl$1.run(CoapEndpoint.java:597)\r\n\tat org.eclipse.californium.core.network.CoapEndpoint$5.run(CoapEndpoint.java:746)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n\r\n[cf-coap-blockwise-bug.txt](https://github.com/eclipse/californium/files/373971/cf-coap-blockwise-bug.txt)\r\n"},"comment":{"url":"https://api.github.com/repos/eclipse/californium/issues/comments/234207113","html_url":"https://github.com/eclipse/californium/issues/76#issuecomment-234207113","issue_url":"https://api.github.com/repos/eclipse/californium/issues/76","id":234207113,"user":{"login":"wiinguyen","id":3740071,"avatar_url":"https://avatars.githubusercontent.com/u/3740071?v=3","gravatar_id":"","url":"https://api.github.com/users/wiinguyen","html_url":"https://github.com/wiinguyen","followers_url":"https://api.github.com/users/wiinguyen/followers","following_url":"https://api.github.com/users/wiinguyen/following{/other_user}","gists_url":"https://api.github.com/users/wiinguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/wiinguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiinguyen/subscriptions","organizations_url":"https://api.github.com/users/wiinguyen/orgs","repos_url":"https://api.github.com/users/wiinguyen/repos","events_url":"https://api.github.com/users/wiinguyen/events{/privacy}","received_events_url":"https://api.github.com/users/wiinguyen/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T09:46:18Z","updated_at":"2016-07-21T09:46:18Z","body":"Hi Kai,\n\nPlease see inline.\n\n> On Jul 21, 2016, at 9:40 AM, Kai Hudalla <notifications@github.com> wrote:\n> \n> Hi @wiinguyen,\n> \n> I am not really sure about the intent of your issue report. Are you asking for help regarding how to disable blockwise support?\n> \n\n> Yes, I'm integrating a reliable transport solution which has its own alternative blockwise protocol. Thus, blockwise is not needed in this case. \n\nI'm not convinced that the blockwise would be needed either for CoAP+TCP <--> CoAP+TCP.  This needs to be evaluated.\n\n> I am asking because this is not a configurable option in Californium (yet).\n> May I also ask why you want to disable the blockwise layer in the first place?\n> \n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub, or mute the thread.\n> \n"}}
{"actor":{"display_login":"wiinguyen"}}