Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#438 closed bug (fixed)

TagCloud computation

Reported by: ales.list Owned by:
Priority: minor Milestone: 7.1
Component: Core Version: 7.0.1
Keywords: tag Cc:

Description

Hello,

  • tag cloud does not refresh
  • it is displaying old data and does not pick up new tags
  • TagCloud? computation job is logging error

---
java.lang.NullPointerException?

at com.logicaldoc.core.document.TagCloudGenerator?.runTask(TagCloudGenerator?.java:71)
at com.logicaldoc.core.task.Task.run(Task.java:188)
at java.lang.Thread.run(Thread.java:744)

---

thank you,

Ales

Change History (8)

comment:1 Changed 10 years ago by car031

  • Resolution set to fixed
  • Status changed from new to closed

Download the atached file into tomcat/webapps/ROOT/WEB-INF/classes/context and restart LogicalDOC.

comment:2 Changed 10 years ago by ales.list

  • Resolution fixed deleted
  • Status changed from closed to reopened

Hello,

File was placed:

[logicaldoc@pdo01 context]$ pwd
/opt/logicaldoc/tomcat/webapps/ROOT/WEB-INF/classes/context

[logicaldoc@pdo01 context]$ ls -la
total 36
drwxrwxr-x 2 logicaldoc logicaldoc  4096 Jul 23 15:57 .
drwxrwxr-x 4 logicaldoc logicaldoc  4096 Jul 23 15:57 ..
-rw-rw-rw- 1 logicaldoc logicaldoc 25000 Jul 23 15:59 context-core.xml

[logicaldoc@pdo01 context]$ md5sum context-core.xml
6894df38c8dc9a6eacdc1a420ad6ac6d  context-core.xml

symptoms remain same:

23.07.2014 16:05:15,303 ERROR  (com.logicaldoc.core.document.TagCloudGenerator: 190) -- Error caught null
java.lang.NullPointerException
        at com.logicaldoc.core.document.TagCloudGenerator.runTask(TagCloudGenerator.java:71)
        at com.logicaldoc.core.task.Task.run(Task.java:188)
        at java.lang.Thread.run(Thread.java:744)
23.07.2014 16:05:15,303 ERROR  (com.logicaldoc.core.document.TagCloudGenerator: 191) -- The task is stopped

thank you,

Ales

comment:3 Changed 10 years ago by car031

Do this, locate the file logicaldoc-core-7.0.1-plugin.jar, open it with a zip utility and just remove the contained file context/context-core.xml

restart logicaldoc

comment:4 Changed 10 years ago by car031

Do this, locate the file logicaldoc-core-7.0.1-plugin.jar in tomcat/webapps/ROOT/WEB-INF/lib, open it with a zip utility and just remove the contained file context/context-core.xml

comment:5 Changed 10 years ago by ales.list

Hello,

tagcloud computation runs now ok
output of run

24.07.2014 11:06:55,121 INFO   (com.logicaldoc.core.document.TagCloudGenerator: 175) -- Task TagCloudGenerator started
24.07.2014 11:06:55,123 INFO   (com.logicaldoc.core.document.TagCloudGenerator:  69) -- Start tag clouds generation
24.07.2014 11:06:55,139 INFO   (com.logicaldoc.core.document.TagCloudGenerator:  74) -- Generating tag vloud for tenant Acme Inc.
24.07.2014 11:06:55,181 INFO   (com.logicaldoc.core.document.TagCloudGenerator:  93) -- End tag clouds generation
24.07.2014 11:06:55,196 INFO   (com.logicaldoc.core.document.TagCloudGenerator: 204) -- Task TagCloudGenerator finished

symptoms are:

  • tagcloud dashboard does not get populated
  • most used tags dashboard is empty

thank you,

Ales

comment:6 Changed 10 years ago by car031

Ok, now stop LogicalDOC, unpack the new patch into tomcat/webapps/ROOT/WEB-INF/classes
and start Logicaldoc again

comment:7 Changed 10 years ago by ales.list

  • Resolution set to fixed
  • Status changed from reopened to closed

Hello,

  • all reported issues are closed by aplying provided fix/patch

thank you

Ales

Version 0, edited 10 years ago by ales.list (next)

comment:8 Changed 10 years ago by car031

  • Milestone changed from 7.0.2 to 7.1

Milestone 7.0.2 deleted

Note: See TracTickets for help on using tickets.