Unable to View Journals After Applying Patch 18310603 and 'NoSuchElementException' Error Appears in Log When Jnlindex.txt Contains Spaces (Doc ID 2026946.1)

Last updated on AUGUST 17, 2016

Applies to:

Oracle Retail Point-of-Service - Version 13.3.3 to 13.3.8 [Release 13.3]
Information in this document applies to any platform.

Symptoms

After applying <Patch 18310603>, Journals cannot be viewed, and a 'NoSuchElementException' shows in the log when the jnlindex.txt file contains spaces at the beginning of one of its entries.  Such a file used to work before applying the patch.


Steps to Reproduce:

  1. Make sure that <Patch 18310603> is not applied in the test environment.
  2. Have a jnlindex.txt file that has spaces at the beginning of one of its entries.
  3. POS Main > Administration > E-Journal > Check logs to find no error.
  4. Shut down the client and apply <Patch 18310603> to client patch folder.
  5. Start the client and repeat steps 2 and 3.  Note the following error in client orpos.log:
WARN  2014-04-17 22:56:51,907 69505993  (StaticCacheThread-5:oracle.retail.stores.foundation.tour.manager.Technician):
     [oracle.retail.stores.foundation.tour.manager.Technician.receiveValet(Technician.java:721)]
     Technician LocalJournalTechnician was unable to complete its task.

java.util.NoSuchElementException
               at java.util.StringTokenizer.nextToken(StringTokenizer.java:332)
               at oracle.retail.stores.foundation.manager.journal.JournalTechnician.searchJournal(JournalTechnician.java:931)
               at oracle.retail.stores.foundation.manager.journal.JournalSearchValet.execute(JournalSearchValet.java:123)
               at oracle.retail.stores.foundation.tour.manager.Technician.receiveValet(Technician.java:708)
               at oracle.retail.stores.foundation.manager.journal.QueuedJournalMonitor.searchJournal(QueuedJournalMonitor.java:387)
               at oracle.retail.stores.foundation.manager.journal.QueuedJournalManager.searchJournal(QueuedJournalManager.java:421)
               at oracle.retail.stores.pos.services.admin.ejournal.DisplayDataSite.depart(DisplayDataSite.java:500)
               at oracle.retail.stores.foundation.tour.engine.Site.depart(Site.java:279)
               at oracle.retail.stores.foundation.tour.engine.Road.traverseForward(Road.java:801)
               at oracle.retail.stores.foundation.tour.engine.Road.traverse(Road.java:634)
               at oracle.retail.stores.foundation.tour.engine.SiteVertex.driveSite(SiteVertex.java:311)
               at oracle.retail.stores.foundation.tour.engine.AbstractSite.driveSite(AbstractSite.java:131)
               at oracle.retail.stores.foundation.tour.service.BusDriver.processLetter(BusDriver.java:298)

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms