You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Archibald <ar...@gmx.net> on 2018/05/11 11:18:37 UTC

[Artemis] NPE on server (re)start

Hi, 

Yesterday the server (version 2.5.0) was processing > 2m messages, today I
needed to restart the broker but it failed with
an NPE.

Here's the log.

2018-05-11 10:19:22,898 INFO 
[org.apache.activemq.artemis.integration.bootstrap] AMQ101000: Starting
ActiveMQ Artemis Server
2018-05-11 10:19:23,017 INFO  [org.apache.activemq.artemis.core.server]
AMQ221000: live Message Broker is starting with configuration Broker
Configuration
(clustered=true,journalDirectory=data/journal,bindingsDirectory=data/bindings,largeMessagesDirectory=data/large-messages,pagingDirectory=data/paging)
2018-05-11 10:19:23,063 INFO  [org.apache.activemq.artemis.core.server]
AMQ221012: Using AIO Journal
2018-05-11 10:19:23,134 INFO  [org.apache.activemq.artemis.core.server]
AMQ221057: Global Max Size is being adjusted to 1/2 of the JVM max size
(-Xmx). being defined as 1,342,177,280
2018-05-11 10:19:23,249 INFO  [org.apache.activemq.artemis.core.server]
AMQ221043: Protocol module found: [artemis-server]. Adding protocol support
for: CORE
2018-05-11 10:19:23,253 INFO  [org.apache.activemq.artemis.core.server]
AMQ221043: Protocol module found: [artemis-amqp-protocol]. Adding protocol
support for: AMQP
2018-05-11 10:19:23,253 INFO  [org.apache.activemq.artemis.core.server]
AMQ221043: Protocol module found: [artemis-hornetq-protocol]. Adding
protocol support for: HORNETQ
2018-05-11 10:19:23,254 INFO  [org.apache.activemq.artemis.core.server]
AMQ221043: Protocol module found: [artemis-mqtt-protocol]. Adding protocol
support for: MQTT
2018-05-11 10:19:23,254 INFO  [org.apache.activemq.artemis.core.server]
AMQ221043: Protocol module found: [artemis-openwire-protocol]. Adding
protocol support for: OPENWIRE
2018-05-11 10:19:23,255 INFO  [org.apache.activemq.artemis.core.server]
AMQ221043: Protocol module found: [artemis-stomp-protocol]. Adding protocol
support for: STOMP
2018-05-11 10:19:23,626 INFO  [org.apache.activemq.artemis.core.server]
AMQ221034: Waiting indefinitely to obtain live lock
2018-05-11 10:19:23,627 INFO  [org.apache.activemq.artemis.core.server]
AMQ221035: Live Server Obtained live lock
2018-05-11 10:19:34,878 ERROR [org.apache.activemq.artemis.core.server]
AMQ224000: Failure in initialisation: java.lang.NullPointerException
        at
org.apache.activemq.artemis.core.paging.cursor.impl.PageSubscriptionImpl.installTXCallback(PageSubscriptionImpl.java:848)
[artemis-server-2.5.0.jar:2.5.0]
        at
org.apache.activemq.artemis.core.paging.cursor.impl.PageSubscriptionImpl.reloadPreparedACK(PageSubscriptionImpl.java:582)
[artemis-server-2.5.0.jar:2.5.0]
        at
org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.loadPreparedTransactions(AbstractJournalStorageManager.java:1774)
[artemis-server-2.5.0.jar:2.5.0]
        at
org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.loadMessageJournal(AbstractJournalStorageManager.java:1169)
[artemis-server-2.5.0.jar:2.5.0]
        at
org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals(ActiveMQServerImpl.java:2588)
[artemis-server-2.5.0.jar:2.5.0]
        at
org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:2346)
[artemis-server-2.5.0.jar:2.5.0]
        at
org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.run(LiveOnlyActivation.java:71)
[artemis-server-2.5.0.jar:2.5.0]
        at
org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart(ActiveMQServerImpl.java:522)
[artemis-server-2.5.0.jar:2.5.0]
        at
org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start(ActiveMQServerImpl.java:461)
[artemis-server-2.5.0.jar:2.5.0]
        at
org.apache.activemq.artemis.integration.FileBroker.start(FileBroker.java:111)
[artemis-cli-2.5.0.jar:2.5.0]
        at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:82)
[artemis-cli-2.5.0.jar:2.5.0]
        at
org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:149)
[artemis-cli-2.5.0.jar:2.5.0]
        at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:97)
[artemis-cli-2.5.0.jar:2.5.0]
        at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:124)
[artemis-cli-2.5.0.jar:2.5.0]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[rt.jar:1.8.0_151]
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[rt.jar:1.8.0_151]
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.8.0_151]
        at java.lang.reflect.Method.invoke(Method.java:498)
[rt.jar:1.8.0_151]
        at
org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:129)
[artemis-boot.jar:2.5.0]
        at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:49)
[artemis-boot.jar:2.5.0]

What is it about?

Thanks,
Archibald



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [Artemis] NPE on server (re)start

Posted by Clebert Suconic <cl...@gmail.com>.
Did you remove the paging directory?

Perhaps you could share your data with us? if you download a snapshot
of master, you can do:

./artemis data print --safe

(that will hide anything specific for your data itself.. only showing
the structure of messages and transactions).


I work with Francesco Nigro (not on the same office.. but we work
together virtually).. and he showed me a possible fix.


On Fri, May 11, 2018 at 7:18 AM, Archibald <ar...@gmx.net> wrote:
> Hi,
>
> Yesterday the server (version 2.5.0) was processing > 2m messages, today I
> needed to restart the broker but it failed with
> an NPE.
>
> Here's the log.
>
> 2018-05-11 10:19:22,898 INFO
> [org.apache.activemq.artemis.integration.bootstrap] AMQ101000: Starting
> ActiveMQ Artemis Server
> 2018-05-11 10:19:23,017 INFO  [org.apache.activemq.artemis.core.server]
> AMQ221000: live Message Broker is starting with configuration Broker
> Configuration
> (clustered=true,journalDirectory=data/journal,bindingsDirectory=data/bindings,largeMessagesDirectory=data/large-messages,pagingDirectory=data/paging)
> 2018-05-11 10:19:23,063 INFO  [org.apache.activemq.artemis.core.server]
> AMQ221012: Using AIO Journal
> 2018-05-11 10:19:23,134 INFO  [org.apache.activemq.artemis.core.server]
> AMQ221057: Global Max Size is being adjusted to 1/2 of the JVM max size
> (-Xmx). being defined as 1,342,177,280
> 2018-05-11 10:19:23,249 INFO  [org.apache.activemq.artemis.core.server]
> AMQ221043: Protocol module found: [artemis-server]. Adding protocol support
> for: CORE
> 2018-05-11 10:19:23,253 INFO  [org.apache.activemq.artemis.core.server]
> AMQ221043: Protocol module found: [artemis-amqp-protocol]. Adding protocol
> support for: AMQP
> 2018-05-11 10:19:23,253 INFO  [org.apache.activemq.artemis.core.server]
> AMQ221043: Protocol module found: [artemis-hornetq-protocol]. Adding
> protocol support for: HORNETQ
> 2018-05-11 10:19:23,254 INFO  [org.apache.activemq.artemis.core.server]
> AMQ221043: Protocol module found: [artemis-mqtt-protocol]. Adding protocol
> support for: MQTT
> 2018-05-11 10:19:23,254 INFO  [org.apache.activemq.artemis.core.server]
> AMQ221043: Protocol module found: [artemis-openwire-protocol]. Adding
> protocol support for: OPENWIRE
> 2018-05-11 10:19:23,255 INFO  [org.apache.activemq.artemis.core.server]
> AMQ221043: Protocol module found: [artemis-stomp-protocol]. Adding protocol
> support for: STOMP
> 2018-05-11 10:19:23,626 INFO  [org.apache.activemq.artemis.core.server]
> AMQ221034: Waiting indefinitely to obtain live lock
> 2018-05-11 10:19:23,627 INFO  [org.apache.activemq.artemis.core.server]
> AMQ221035: Live Server Obtained live lock
> 2018-05-11 10:19:34,878 ERROR [org.apache.activemq.artemis.core.server]
> AMQ224000: Failure in initialisation: java.lang.NullPointerException
>         at
> org.apache.activemq.artemis.core.paging.cursor.impl.PageSubscriptionImpl.installTXCallback(PageSubscriptionImpl.java:848)
> [artemis-server-2.5.0.jar:2.5.0]
>         at
> org.apache.activemq.artemis.core.paging.cursor.impl.PageSubscriptionImpl.reloadPreparedACK(PageSubscriptionImpl.java:582)
> [artemis-server-2.5.0.jar:2.5.0]
>         at
> org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.loadPreparedTransactions(AbstractJournalStorageManager.java:1774)
> [artemis-server-2.5.0.jar:2.5.0]
>         at
> org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.loadMessageJournal(AbstractJournalStorageManager.java:1169)
> [artemis-server-2.5.0.jar:2.5.0]
>         at
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals(ActiveMQServerImpl.java:2588)
> [artemis-server-2.5.0.jar:2.5.0]
>         at
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:2346)
> [artemis-server-2.5.0.jar:2.5.0]
>         at
> org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.run(LiveOnlyActivation.java:71)
> [artemis-server-2.5.0.jar:2.5.0]
>         at
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart(ActiveMQServerImpl.java:522)
> [artemis-server-2.5.0.jar:2.5.0]
>         at
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start(ActiveMQServerImpl.java:461)
> [artemis-server-2.5.0.jar:2.5.0]
>         at
> org.apache.activemq.artemis.integration.FileBroker.start(FileBroker.java:111)
> [artemis-cli-2.5.0.jar:2.5.0]
>         at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:82)
> [artemis-cli-2.5.0.jar:2.5.0]
>         at
> org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:149)
> [artemis-cli-2.5.0.jar:2.5.0]
>         at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:97)
> [artemis-cli-2.5.0.jar:2.5.0]
>         at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:124)
> [artemis-cli-2.5.0.jar:2.5.0]
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [rt.jar:1.8.0_151]
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> [rt.jar:1.8.0_151]
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [rt.jar:1.8.0_151]
>         at java.lang.reflect.Method.invoke(Method.java:498)
> [rt.jar:1.8.0_151]
>         at
> org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:129)
> [artemis-boot.jar:2.5.0]
>         at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:49)
> [artemis-boot.jar:2.5.0]
>
> What is it about?
>
> Thanks,
> Archibald
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html



-- 
Clebert Suconic

Re: [Artemis] NPE on server (re)start

Posted by Archibald <ar...@gmx.net>.
@Justin: Bingo! Disk usage was above the threshold of 90%.

Thank you so much!

Br, 
A.



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [Artemis] NPE on server (re)start

Posted by Justin Bertram <jb...@apache.org>.
Did you see my previous message about <max-disk-usage>?  What value do you
have set for this in your broker.xml?


Justin

On Mon, May 14, 2018 at 8:51 AM, Archibald <ar...@gmx.net> wrote:

> Strange,
>
> artemis address show reads
>
> 2018-05-14 13:43:50,777 WARN  [org.apache.activemq.artemis.core.client]
> AMQ212054: Destination address=activemq.management is blocked. If the
> system
> is configured to block make sure you consume messages on this
> configuration.
>
> But the queue is (also) empty.
>
>
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-
> f2341805.html
>

Re: [Artemis] NPE on server (re)start

Posted by Francesco Nigro <ni...@gmail.com>.
Please Archibald could you check if it is happening with 2.6 upstream as
well?
If you could

Il giorno lun 14 mag 2018 alle ore 15:52 Archibald <ar...@gmx.net> ha
scritto:

> Strange,
>
> artemis address show reads
>
> 2018-05-14 13:43:50,777 WARN  [org.apache.activemq.artemis.core.client]
> AMQ212054: Destination address=activemq.management is blocked. If the
> system
> is configured to block make sure you consume messages on this
> configuration.
>
> But the queue is (also) empty.
>
>
>
>
>
> --
> Sent from:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
>

Re: [Artemis] NPE on server (re)start

Posted by Archibald <ar...@gmx.net>.
Strange, 

artemis address show reads

2018-05-14 13:43:50,777 WARN  [org.apache.activemq.artemis.core.client]
AMQ212054: Destination address=activemq.management is blocked. If the system
is configured to block make sure you consume messages on this configuration.

But the queue is (also) empty.





--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [Artemis] NPE on server (re)start

Posted by Justin Bertram <jb...@apache.org>.
> What is this about...

As the message indicates, this is about your disk being full. Specifically,
it's about the contents of your disk exceeding the threshold you've
configured in broker.xml via <max-disk-usage> (100% by default). The
documentation [1] describes this setting:

  > The System will perform scans on the disk to determine if the disk is
beyond a configured limit.
  > These are configured through 'max-disk-usage' in percentage. Once that
limit is reached any
  > message will be blocked. (unless the protocol doesn't support flow
control on which case there
  > will be an exception thrown and the connection for those clients
dropped).

> ...how can I resolve it?

You can either reduce your disk utilization (i.e. delete some data) or
change the <max-disk-usage>.


Justin

[1]
https://activemq.apache.org/artemis/docs/latest/paging.html#max-disk-usage

On Mon, May 14, 2018 at 8:37 AM, Archibald <ar...@gmx.net> wrote:

> Hi,
>
> Last time I removed the perstint, so I cannot help with internal data for
> debugging.
>
> But now I get another strange issue regarding paging (I suppose).
>
> Broker is complaining about Disk being full.
>
> 2018-05-14 13:12:36,431 WARN  [org.apache.activemq.artemis.core.server]
> AMQ222212: Disk Full! Blocking message production on address '<TOPIC>'.
> Clients will report blocked.
>
> The broker itself is doing rather nothing (no traffic at all), nothing
> enqueued.
>
> artemis print data says:
>      _        _               _
>     / \  ____| |_  ___ __  __(_) _____
>    / _ \|  _ \ __|/ _ \  \/  | |/  __/
>   / ___ \ | \/ |_/  __/ |\/| | |\___ \
>  /_/   \_\|   \__\____|_|  |_|_|/___ /
>  Apache ActiveMQ Artemis 2.5.0
>
>
>
> ********************************************
> Server's ID=aa9cf610-552e-11e8-8f53-0242ac120004
> ********************************************
>
> ********************************************
> B I N D I N G S  J O U R N A L
> ********************************************
> Journal path: /var/lib/artemis/data/bindings
> #JournalFileImpl: (activemq-bindings-1.bindings id = 1, recordID = 1)
> (size=1048576)
> operation@AddRecord;recordID=1;userRecordType=24;isUpdate=
> false;compactCount=0;IDCounterEncoding
> [id=2147483647]
> operation@AddRecordTX;txID=0,recordID=2;userRecordType=44;
> isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
> data)
> operation@Commit;txID=0,numberOfRecords=1
> operation@AddRecordTX;txID=3,recordID=4;userRecordType=21;
> isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
> data)
> operation@Commit;txID=3,numberOfRecords=1
> operation@AddRecordTX;txID=5,recordID=6;userRecordType=44;
> isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
> data)
> operation@Commit;txID=5,numberOfRecords=1
> operation@AddRecordTX;txID=7,recordID=8;userRecordType=21;
> isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
> data)
> operation@Commit;txID=7,numberOfRecords=1
> operation@AddRecordTX;txID=9,recordID=10;userRecordType=44;
> isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
> data)
> operation@Commit;txID=9,numberOfRecords=1
> operation@AddRecordTX;txID=11,recordID=12;userRecordType=44;
> isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
> data)
> operation@Commit;txID=11,numberOfRecords=1
> operation@AddRecordTX;txID=13,recordID=14;userRecordType=21;
> isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
> data)
> operation@Commit;txID=13,numberOfRecords=1
> operation@AddRecordTX;txID=15,recordID=16;userRecordType=44;
> isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
> data)
> operation@Commit;txID=15,numberOfRecords=1
> operation@AddRecordTX;txID=17,recordID=18;userRecordType=21;
> isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
> data)
> operation@Commit;txID=17,numberOfRecords=1
> operation@AddRecordTX;txID=19,recordID=20;userRecordType=44;
> isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
> data)
> operation@Commit;txID=19,numberOfRecords=1
> operation@AddRecordTX;txID=21,recordID=22;userRecordType=21;
> isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
> data)
> operation@Commit;txID=21,numberOfRecords=1
> operation@AddRecordTX;txID=23,recordID=24;userRecordType=44;
> isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
> data)
> operation@Commit;txID=23,numberOfRecords=1
> operation@AddRecordTX;txID=25,recordID=26;userRecordType=21;
> isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
> data)
> operation@Commit;txID=25,numberOfRecords=1
> operation@AddRecordTX;txID=27,recordID=28;userRecordType=44;
> isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
> data)
> operation@Commit;txID=27,numberOfRecords=1
> operation@AddRecordTX;txID=29,recordID=30;userRecordType=21;
> isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
> data)
> operation@Commit;txID=29,numberOfRecords=1
> operation@AddRecordTX;txID=31,recordID=32;userRecordType=44;
> isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
> data)
> operation@Commit;txID=31,numberOfRecords=1
> operation@AddRecordTX;txID=33,recordID=34;userRecordType=21;
> isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
> data)
> operation@Commit;txID=33,numberOfRecords=1
> operation@AddRecordTX;txID=35,recordID=36;userRecordType=44;
> isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
> data)
> operation@Commit;txID=35,numberOfRecords=1
> operation@AddRecordTX;txID=37,recordID=38;userRecordType=21;
> isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
> data)
> operation@Commit;txID=37,numberOfRecords=1
> operation@AddRecordTX;txID=39,recordID=40;userRecordType=44;
> isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
> data)
> operation@Commit;txID=39,numberOfRecords=1
> operation@AddRecord;recordID=749406;userRecordType=24;
> isUpdate=false;compactCount=0;IDCounterEncoding
> [id=749406]
> operation@DeleteRecord;recordID=1
> operation@AddRecord;recordID=749408;userRecordType=24;
> isUpdate=false;compactCount=0;IDCounterEncoding
> [id=2148233054]
> #JournalFileImpl: (activemq-bindings-2.bindings id = 3, recordID = 3)
> (size=1048576)
>
> ### Surviving Records Summary ###
> recordID=2;userRecordType=44;isUpdate=false;compactCount=0;
> PersistentAddressBindingEncoding(safe
> data)
> recordID=4;userRecordType=21;isUpdate=false;compactCount=0;
> PersistentQueueBindingEncoding(safe
> data)
> recordID=6;userRecordType=44;isUpdate=false;compactCount=0;
> PersistentAddressBindingEncoding(safe
> data)
> recordID=8;userRecordType=21;isUpdate=false;compactCount=0;
> PersistentQueueBindingEncoding(safe
> data)
> recordID=10;userRecordType=44;isUpdate=false;compactCount=0;
> PersistentAddressBindingEncoding(safe
> data)
> recordID=12;userRecordType=44;isUpdate=false;compactCount=0;
> PersistentAddressBindingEncoding(safe
> data)
> recordID=14;userRecordType=21;isUpdate=false;compactCount=0;
> PersistentQueueBindingEncoding(safe
> data)
> recordID=16;userRecordType=44;isUpdate=false;compactCount=0;
> PersistentAddressBindingEncoding(safe
> data)
> recordID=18;userRecordType=21;isUpdate=false;compactCount=0;
> PersistentQueueBindingEncoding(safe
> data)
> recordID=20;userRecordType=44;isUpdate=false;compactCount=0;
> PersistentAddressBindingEncoding(safe
> data)
> recordID=22;userRecordType=21;isUpdate=false;compactCount=0;
> PersistentQueueBindingEncoding(safe
> data)
> recordID=24;userRecordType=44;isUpdate=false;compactCount=0;
> PersistentAddressBindingEncoding(safe
> data)
> recordID=26;userRecordType=21;isUpdate=false;compactCount=0;
> PersistentQueueBindingEncoding(safe
> data)
> recordID=28;userRecordType=44;isUpdate=false;compactCount=0;
> PersistentAddressBindingEncoding(safe
> data)
> recordID=30;userRecordType=21;isUpdate=false;compactCount=0;
> PersistentQueueBindingEncoding(safe
> data)
> recordID=32;userRecordType=44;isUpdate=false;compactCount=0;
> PersistentAddressBindingEncoding(safe
> data)
> recordID=34;userRecordType=21;isUpdate=false;compactCount=0;
> PersistentQueueBindingEncoding(safe
> data)
> recordID=36;userRecordType=44;isUpdate=false;compactCount=0;
> PersistentAddressBindingEncoding(safe
> data)
> recordID=38;userRecordType=21;isUpdate=false;compactCount=0;
> PersistentQueueBindingEncoding(safe
> data)
> recordID=40;userRecordType=44;isUpdate=false;compactCount=0;
> PersistentAddressBindingEncoding(safe
> data)
> recordID=749406;userRecordType=24;isUpdate=false;compactCount=0;
> IDCounterEncoding
> [id=749406]
> recordID=749408;userRecordType=24;isUpdate=false;compactCount=0;
> IDCounterEncoding
> [id=2148233054]
>
> ### Prepared TX ###
>
> ### Message Counts ###
> message count=0
> message reference count
> prepared message count=0
>
> ********************************************
> M E S S A G E S   J O U R N A L
> ********************************************
> Journal path: /var/lib/artemis/data/journal
> #JournalFileImpl: (activemq-data-1.amq id = 3, recordID = 3)
> (size=10485760)
> #JournalFileImpl: (activemq-data-2.amq id = 4, recordID = 4)
> (size=10485760)
>
> ### Surviving Records Summary ###
>
> ### Prepared TX ###
>
> ### Message Counts ###
> message count=0
> message reference count
> prepared message count=0
>
> ********************************************
> P A G I N G
> ********************************************
>
> What is this about and how can I resolve it?
>
> Thanks, Niels
>
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-
> f2341805.html
>

Re: [Artemis] NPE on server (re)start

Posted by Archibald <ar...@gmx.net>.
Hi, 

Last time I removed the perstint, so I cannot help with internal data for
debugging.

But now I get another strange issue regarding paging (I suppose).

Broker is complaining about Disk being full.

2018-05-14 13:12:36,431 WARN  [org.apache.activemq.artemis.core.server]
AMQ222212: Disk Full! Blocking message production on address '<TOPIC>'.
Clients will report blocked.

The broker itself is doing rather nothing (no traffic at all), nothing
enqueued.

artemis print data says:
     _        _               _
    / \  ____| |_  ___ __  __(_) _____
   / _ \|  _ \ __|/ _ \  \/  | |/  __/
  / ___ \ | \/ |_/  __/ |\/| | |\___ \
 /_/   \_\|   \__\____|_|  |_|_|/___ /
 Apache ActiveMQ Artemis 2.5.0



********************************************
Server's ID=aa9cf610-552e-11e8-8f53-0242ac120004
********************************************

********************************************
B I N D I N G S  J O U R N A L
********************************************
Journal path: /var/lib/artemis/data/bindings
#JournalFileImpl: (activemq-bindings-1.bindings id = 1, recordID = 1)
(size=1048576)
operation@AddRecord;recordID=1;userRecordType=24;isUpdate=false;compactCount=0;IDCounterEncoding
[id=2147483647]
operation@AddRecordTX;txID=0,recordID=2;userRecordType=44;isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
data)
operation@Commit;txID=0,numberOfRecords=1
operation@AddRecordTX;txID=3,recordID=4;userRecordType=21;isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
data)
operation@Commit;txID=3,numberOfRecords=1
operation@AddRecordTX;txID=5,recordID=6;userRecordType=44;isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
data)
operation@Commit;txID=5,numberOfRecords=1
operation@AddRecordTX;txID=7,recordID=8;userRecordType=21;isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
data)
operation@Commit;txID=7,numberOfRecords=1
operation@AddRecordTX;txID=9,recordID=10;userRecordType=44;isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
data)
operation@Commit;txID=9,numberOfRecords=1
operation@AddRecordTX;txID=11,recordID=12;userRecordType=44;isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
data)
operation@Commit;txID=11,numberOfRecords=1
operation@AddRecordTX;txID=13,recordID=14;userRecordType=21;isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
data)
operation@Commit;txID=13,numberOfRecords=1
operation@AddRecordTX;txID=15,recordID=16;userRecordType=44;isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
data)
operation@Commit;txID=15,numberOfRecords=1
operation@AddRecordTX;txID=17,recordID=18;userRecordType=21;isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
data)
operation@Commit;txID=17,numberOfRecords=1
operation@AddRecordTX;txID=19,recordID=20;userRecordType=44;isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
data)
operation@Commit;txID=19,numberOfRecords=1
operation@AddRecordTX;txID=21,recordID=22;userRecordType=21;isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
data)
operation@Commit;txID=21,numberOfRecords=1
operation@AddRecordTX;txID=23,recordID=24;userRecordType=44;isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
data)
operation@Commit;txID=23,numberOfRecords=1
operation@AddRecordTX;txID=25,recordID=26;userRecordType=21;isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
data)
operation@Commit;txID=25,numberOfRecords=1
operation@AddRecordTX;txID=27,recordID=28;userRecordType=44;isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
data)
operation@Commit;txID=27,numberOfRecords=1
operation@AddRecordTX;txID=29,recordID=30;userRecordType=21;isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
data)
operation@Commit;txID=29,numberOfRecords=1
operation@AddRecordTX;txID=31,recordID=32;userRecordType=44;isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
data)
operation@Commit;txID=31,numberOfRecords=1
operation@AddRecordTX;txID=33,recordID=34;userRecordType=21;isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
data)
operation@Commit;txID=33,numberOfRecords=1
operation@AddRecordTX;txID=35,recordID=36;userRecordType=44;isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
data)
operation@Commit;txID=35,numberOfRecords=1
operation@AddRecordTX;txID=37,recordID=38;userRecordType=21;isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
data)
operation@Commit;txID=37,numberOfRecords=1
operation@AddRecordTX;txID=39,recordID=40;userRecordType=44;isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
data)
operation@Commit;txID=39,numberOfRecords=1
operation@AddRecord;recordID=749406;userRecordType=24;isUpdate=false;compactCount=0;IDCounterEncoding
[id=749406]
operation@DeleteRecord;recordID=1
operation@AddRecord;recordID=749408;userRecordType=24;isUpdate=false;compactCount=0;IDCounterEncoding
[id=2148233054]
#JournalFileImpl: (activemq-bindings-2.bindings id = 3, recordID = 3)
(size=1048576)

### Surviving Records Summary ###
recordID=2;userRecordType=44;isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
data)
recordID=4;userRecordType=21;isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
data)
recordID=6;userRecordType=44;isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
data)
recordID=8;userRecordType=21;isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
data)
recordID=10;userRecordType=44;isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
data)
recordID=12;userRecordType=44;isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
data)
recordID=14;userRecordType=21;isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
data)
recordID=16;userRecordType=44;isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
data)
recordID=18;userRecordType=21;isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
data)
recordID=20;userRecordType=44;isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
data)
recordID=22;userRecordType=21;isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
data)
recordID=24;userRecordType=44;isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
data)
recordID=26;userRecordType=21;isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
data)
recordID=28;userRecordType=44;isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
data)
recordID=30;userRecordType=21;isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
data)
recordID=32;userRecordType=44;isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
data)
recordID=34;userRecordType=21;isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
data)
recordID=36;userRecordType=44;isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
data)
recordID=38;userRecordType=21;isUpdate=false;compactCount=0;PersistentQueueBindingEncoding(safe
data)
recordID=40;userRecordType=44;isUpdate=false;compactCount=0;PersistentAddressBindingEncoding(safe
data)
recordID=749406;userRecordType=24;isUpdate=false;compactCount=0;IDCounterEncoding
[id=749406]
recordID=749408;userRecordType=24;isUpdate=false;compactCount=0;IDCounterEncoding
[id=2148233054]

### Prepared TX ###

### Message Counts ###
message count=0
message reference count
prepared message count=0

********************************************
M E S S A G E S   J O U R N A L
********************************************
Journal path: /var/lib/artemis/data/journal
#JournalFileImpl: (activemq-data-1.amq id = 3, recordID = 3) (size=10485760)
#JournalFileImpl: (activemq-data-2.amq id = 4, recordID = 4) (size=10485760)

### Surviving Records Summary ###

### Prepared TX ###

### Message Counts ###
message count=0
message reference count
prepared message count=0

********************************************
P A G I N G
********************************************

What is this about and how can I resolve it?

Thanks, Niels 




--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [Artemis] NPE on server (re)start

Posted by nigro_franz <ni...@gmail.com>.
HI Archibald!

looking at the code it seems a simple fix but maybe it has been already
addressed on upstream (https://github.com/apache/activemq-artemis/pull/2075)
due tue uncleaned pages.
Can you check vs the last master version too?



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html