{"action":"reopened","issue":{"url":"https://api.github.com/repos/confluentinc/schema-registry/issues/749","repository_url":"https://api.github.com/repos/confluentinc/schema-registry","labels_url":"https://api.github.com/repos/confluentinc/schema-registry/issues/749/labels{/name}","comments_url":"https://api.github.com/repos/confluentinc/schema-registry/issues/749/comments","events_url":"https://api.github.com/repos/confluentinc/schema-registry/issues/749/events","html_url":"https://github.com/confluentinc/schema-registry/issues/749","id":301707347,"number":749,"title":"Get NullPointerException when restarting the Schema-registry after deleting _schema topic logs","user":{"login":"qgeffard","id":1512385,"avatar_url":"https://avatars1.githubusercontent.com/u/1512385?v=4","gravatar_id":"","url":"https://api.github.com/users/qgeffard","html_url":"https://github.com/qgeffard","followers_url":"https://api.github.com/users/qgeffard/followers","following_url":"https://api.github.com/users/qgeffard/following{/other_user}","gists_url":"https://api.github.com/users/qgeffard/gists{/gist_id}","starred_url":"https://api.github.com/users/qgeffard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qgeffard/subscriptions","organizations_url":"https://api.github.com/users/qgeffard/orgs","repos_url":"https://api.github.com/users/qgeffard/repos","events_url":"https://api.github.com/users/qgeffard/events{/privacy}","received_events_url":"https://api.github.com/users/qgeffard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-02T09:41:28Z","updated_at":"2018-03-02T09:54:00Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nSchema-registry -> 3.3.0\r\n\r\n`\r\n[2018-03-02 10:08:42,377] INFO Initializing KafkaStore with broker endpoints: SASL_PLAINTEXT://HOST:9092,SASL_PLAINTEXT://HOST:9092,SASL_PLAINTEXT://HOST2:9092 (io.confluent.kafka.schemaregistry.storage.KafkaStore)\r\n[2018-03-02 10:08:43,112] INFO Initialized last consumed offset to -1 (io.confluent.kafka.schemaregistry.storage.KafkaStoreReaderThread)\r\n[2018-03-02 10:08:43,114] INFO [kafka-store-reader-thread-_schemas]: Starting (io.confluent.kafka.schemaregistry.storage.KafkaStoreReaderThread)\r\n[2018-03-02 10:08:43,376] ERROR KafkaStoreReader thread has died for an unknown reason. (io.confluent.kafka.schemaregistry.storage.KafkaStoreReaderThread)\r\n[2018-03-02 10:08:43,377] ERROR [kafka-store-reader-thread-_schemas]: Error due to (io.confluent.kafka.schemaregistry.storage.KafkaStoreReaderThread)\r\njava.lang.RuntimeException: java.lang.NullPointerException\r\n        at io.confluent.kafka.schemaregistry.storage.KafkaStoreReaderThread.doWork(KafkaStoreReaderThread.java:215)\r\n        at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:64)\r\nCaused by: java.lang.NullPointerException\r\n        at io.confluent.kafka.schemaregistry.storage.KafkaStoreMessageHandler.handleDeleteSubject(KafkaStoreMessageHandler.java:62)\r\n        at io.confluent.kafka.schemaregistry.storage.KafkaStoreMessageHandler.handleUpdate(KafkaStoreMessageHandler.java:49)\r\n        at io.confluent.kafka.schemaregistry.storage.KafkaStoreMessageHandler.handleUpdate(KafkaStoreMessageHandler.java:24)\r\n        at io.confluent.kafka.schemaregistry.storage.KafkaStoreReaderThread.doWork(KafkaStoreReaderThread.java:192)\r\n        ... 1 more\r\n[2018-03-02 10:08:43,381] INFO [kafka-store-reader-thread-_schemas]: Stopped (io.confluent.kafka.schemaregistry.storage.KafkaStoreReaderThread)\r\n`\r\n\r\nWhen i tried to restart the schema-registry after deleting log from _schemas topic.\r\n\r\n`        SchemaKey schemaKey = new SchemaKey(subject, version);\r\n        SchemaValue schemaValue = (SchemaValue) this.store.get(schemaKey);\r\n        schemaValue.setDeleted(true);\r\n`\r\nthe schemaValue is null here -> KafkaStoreMessageHandler.java:62\r\n\r\n\r\nis it already fixed in greater version ? \r\n\r\nThanks"}}
{"actor":{"display_login":"qgeffard"}}