Projects tigase _server server-core Issues #744
Severe uncaught errors when starting Tigase on latest build (#744)
Won't Fix
Daniel Wisnewski opened 8 years ago
Due Date
2017-01-18

b4730

During early startup

2017-01-18 09:46:42.706 [sess-man tasks]   ThreadExceptionHandler.uncaughtException()  SEVERE: Uncaught thread: "sess-man tasks" exception
java.lang.NoSuchMethodError: tigase.stats.MaxDailyCounterQueue.add(Ljava/lang/Number;)Z
	at tigase.server.cluster.strategy.OnlineUsersCachingStrategy.everySecond(SourceFile:433)
	at tigase.cluster.SessionManagerClustered.everySecond(SessionManagerClustered.java:116)
	at tigase.server.AbstractMessageReceiver$4.run(AbstractMessageReceiver.java:1342)
	at java.util.TimerThread.mainLoop(Unknown Source)
	at java.util.TimerThread.run(Unknown Source)

and another shows just after startup is finished

2017/01/18 09:46:43 | == Wed Jan 18 09:46:43 PST 2017 Server finished starting up and (if there wasn't any error) is ready to use
2017-01-18 09:46:53.845 [stats-cache]      ThreadExceptionHandler.uncaughtException()  SEVERE: Uncaught thread: "stats-cache" exception
java.lang.NoSuchFieldError: comp
	at tigase.server.cluster.strategy.OnlineUsersCachingStrategy.getStatistics(SourceFile:452)
	at tigase.cluster.SessionManagerClustered.getStatistics(SessionManagerClustered.java:380)
	at tigase.stats.StatisticsCollector.getComponentStats(StatisticsCollector.java:361)
	at tigase.stats.StatisticsCollector.getAllStats(StatisticsCollector.java:339)
	at tigase.stats.StatisticsProvider$StatisticsCache.update(StatisticsProvider.java:726)
	at tigase.stats.StatisticsProvider$StatisticsCache.access$3500(StatisticsProvider.java:586)
	at tigase.stats.StatisticsProvider$StatisticsCache$1.run(StatisticsProvider.java:685)
	at java.util.TimerThread.mainLoop(Unknown Source)
	at java.util.TimerThread.run(Unknown Source)

Both occur after setup, or if upgrading an existing installation (seems to be configuration independant)

Daniel Wisnewski commented 8 years ago

Reassigning to self, may be related to old build of Tigase-utils, will reattempt testing with latest build from build.xmpp-test.net

wojciech.kapcia@tigase.net commented 8 years ago

Tested with the latest:

wojtek@atlantiscity.local ~/dev/tmps/tigase-server-dists $ wget http://build.tigase.org/nightlies/dists/2017-01-19/tigase-issue #7.1.0-SNAPSHOT-b4374-dist-max.tar.gz
--2017-01-19 13:02:49--  http://build.tigase.org/nightlies/dists/2017-01-19/tigase-issue #7.1.0-SNAPSHOT-b4374-dist-max.tar.gz
Resolving build.tigase.org... 198.27.120.211
Connecting to build.tigase.org|198.27.120.211|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 36475738 (35M) [application/x-gzip]
Saving to: ‘tigase-issue #7.1.0-SNAPSHOT-b4374-dist-max.tar.gz’

tigase-issue #7.1.0-SNAPSHOT-b4374-dist-max. 100%[=============================================================================================>]  34.79M   577KB/s    in 78s

2017-01-19 13:04:07 (460 KB/s) - ‘tigase-issue #7.1.0-SNAPSHOT-b4374-dist-max.tar.gz’ saved [36475738/36475738]

wojtek@atlantiscity.local ~/dev/tmps/tigase-server-dists $ tar -xvf tigase-issue #7.1.0-SNAPSHOT-b4374-dist-max.tar.gz

And it works just fine:

wojtek@atlantiscity.local ~/dev/tmps/tigase-server-dists/tigase-issue #7.1.0-SNAPSHOT-b4374 $ grep -i "NoSuchMethodError" ./logs/*
wojtek@atlantiscity.local ~/dev/tmps/tigase-server-dists/tigase-issue #7.1.0-SNAPSHOT-b4374 $
Daniel Wisnewski commented 8 years ago

Error does not occur after updating tigase-utils package and building locally, nor does it arrive on builds made on build.xmpp-test.net. Rejecting issue.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
4824
Version
tigase-server-7.1.0
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#744
Please wait...
Page is in error, reload to recover