View Issue Details

IDProjectCategoryView StatusLast Update
0006195SymmetricDSBugpublic2024-02-15 20:28
Reporterelong Assigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.15.0 
Target Version3.15.3Fixed in Version3.15.3 
Summary0006195: symadmin module error when file exists without a dot
DescriptionUsing "symadmin module" commands can result in an error if there is a file in the "lib" directory without a dot in its name.

ERROR [SymmetricDS] [AbstractSymmetricEngine] [symmetric-engine-startup-1] An error occurred while starting SymmetricDS java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 4
    at java.base/java.lang.String.checkBoundsBeginEnd(String.java:4606)
    at java.base/java.lang.String.substring(String.java:2709)
    at org.jumpmind.symmetric.util.ModuleManager$1.accept(ModuleManager.java:344)
    at java.base/java.io.File.list(File.java:1223)
    at org.jumpmind.symmetric.util.ModuleManager.getPropFileNames(ModuleManager.java:348)
    at org.jumpmind.symmetric.util.ModuleManager.list(ModuleManager.java:353)
    at org.jumpmind.symmetric.util.ModuleManager.upgradeAll(ModuleManager.java:238)
    at org.jumpmind.symmetric.db.SoftwareUpgradeListener.upgrade(SoftwareUpgradeListener.java:57)
    at org.jumpmind.symmetric.AbstractSymmetricEngine.setup(AbstractSymmetricEngine.java:430)
    at org.jumpmind.symmetric.AbstractSymmetricEngine.start(AbstractSymmetricEngine.java:606)
    at org.jumpmind.symmetric.AbstractSymmetricEngine.start(AbstractSymmetricEngine.java:594)
    at org.jumpmind.symmetric.ClientSymmetricEngine.start(ClientSymmetricEngine.java:255)
    at org.jumpmind.symmetric.web.SymmetricEngineStarter.run(SymmetricEngineStarter.java:42)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:840)
Tagssymadmin

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.15 de7d080b

2024-01-22 13:43:49

admin

Details Diff
0006195: symadmin module error when file exists without a dot Affected Issues
0006195
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/util/ModuleManager.java Diff File

Issue History

Date Modified Username Field Change
2024-01-22 13:39 elong New Issue
2024-01-22 13:39 elong Status new => assigned
2024-01-22 13:39 elong Assigned To => elong
2024-01-22 13:39 elong Tag Attached: symadmin
2024-01-22 13:45 elong Status assigned => resolved
2024-01-22 13:45 elong Resolution open => fixed
2024-01-22 13:45 elong Fixed in Version => 3.15.3
2024-02-05 18:58 admin Status resolved => closed
2024-02-15 20:28 admin Changeset attached => SymmetricDS 3.15 de7d080b