Bug 1391840

Summary: [GSS](6.4.z) HQ224000: Failure in initialisation: java.lang.NullPointerException
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Tom Ross <tom.ross>
Component: JMSAssignee: Tom Ross <tom.ross>
Status: CLOSED CURRENTRELEASE QA Contact: Peter Mackay <pmackay>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.11CC: bmaxwell, jmesnil, pmackay, rstancel
Target Milestone: CR1   
Target Release: EAP 6.4.13   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1392870 (view as bug list) Environment:
Last Closed: 2017-02-03 16:41:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1386335, 1390788, 1392870    

Description Tom Ross 2016-11-04 08:33:59 UTC
HornetQ message broker thrown java.lang.NullPointerException when trying to load page from disk:

11:00:49,821 ERROR [org.hornetq.core.server] (ServerService Thread Pool -- 60) HQ224000: Failure in initialisation: java.lang.NullPointerException
	at org.hornetq.core.paging.cursor.impl.PageSubscriptionImpl.reloadPageCompletion(PageSubscriptionImpl.java:208) [hornetq-server-2.3.25.SP14-redhat-1.jar:2.3.25.SP14-redhat-1]
	at org.hornetq.core.persistence.impl.journal.JournalStorageManager.loadMessageJournal(JournalStorageManager.java:1883) [hornetq-server-2.3.25.SP14-redhat-1.jar:2.3.25.SP14-redhat-1]
	at org.hornetq.core.server.impl.HornetQServerImpl.loadJournals(HornetQServerImpl.java:1806) [hornetq-server-2.3.25.SP14-redhat-1.jar:2.3.25.SP14-redhat-1]
	at org.hornetq.core.server.impl.HornetQServerImpl.initialisePart2(HornetQServerImpl.java:1610) [hornetq-server-2.3.25.SP14-redhat-1.jar:2.3.25.SP14-redhat-1]
	at org.hornetq.core.server.impl.HornetQServerImpl.access$1400(HornetQServerImpl.java:182) [hornetq-server-2.3.25.SP14-redhat-1.jar:2.3.25.SP14-redhat-1]
	at org.hornetq.core.server.impl.HornetQServerImpl$SharedStoreLiveActivation.run(HornetQServerImpl.java:2331) [hornetq-server-2.3.25.SP14-redhat-1.jar:2.3.25.SP14-redhat-1]
	at org.hornetq.core.server.impl.HornetQServerImpl.start(HornetQServerImpl.java:452) [hornetq-server-2.3.25.SP14-redhat-1.jar:2.3.25.SP14-redhat-1]
	at org.hornetq.jms.server.impl.JMSServerManagerImpl.start(JMSServerManagerImpl.java:490) [hornetq-jms-server-2.3.25.SP14-redhat-1.jar:2.3.25.SP14-redhat-1]
	at org.jboss.as.messaging.jms.JMSService.doStart(JMSService.java:158) [jboss-as-messaging-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
	at org.jboss.as.messaging.jms.JMSService.access$000(JMSService.java:60) [jboss-as-messaging-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
	at org.jboss.as.messaging.jms.JMSService$1.run(JMSService.java:96) [jboss-as-messaging-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_112]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_112]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_112]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_112]
	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_112]
	at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.2.Final-redhat-1.jar:2.1.2.Final-redhat-1]

Comment 1 Radovan STANCEL 2016-12-06 08:07:25 UTC
PR https://github.com/hornetq/hornetq/pull/2106

PR was also merged

Comment 2 Radovan STANCEL 2016-12-09 11:05:26 UTC
7.1 and WF branch are solved by ARTEMIS-822.
7.0 is not containing the issue - confirmed by Tom Ross and Clebert

Comment 3 Peter Mackay 2017-01-30 08:07:45 UTC
Verified with EAP 6.4.13.CP.CR2

Comment 4 Petr Penicka 2017-02-03 16:41:40 UTC
Released with EAP 6.4.13 on Feb 02 2017.