Another 4.0->4.1 problem

renaud6 years ago

I first had to remove the loglevel=debug to be able to start.
Then it failed again:
traccar log:

2018-10-22 00:02:28 ERROR: Main method error - 1 - ArrayIndexOutOfBoundsException (... < DataManager:306 < *:91 < Context:382 < Main:110 < ...)

nohup log

Exception in thread "main" java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: 1                  
        at org.traccar.Main.run(Main.java:152)
        at org.traccar.Main.main(Main.java:104)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
        at liquibase.datatype.DataTypeFactory.fromDescription(DataTypeFactory.java:251)                             
        at liquibase.change.core.CreateTableChange.generateStatements(CreateTableChange.java:70)                    
        at liquibase.change.AbstractChange.generateStatementsVolatile(AbstractChange.java:287)                      
        at liquibase.change.AbstractChange.warn(AbstractChange.java:358)                                            
        at liquibase.changelog.visitor.ValidatingVisitor.visit(ValidatingVisitor.java:109)                          
        at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:78)                                     
        at liquibase.changelog.DatabaseChangeLog.validate(DatabaseChangeLog.java:269)                               
        at liquibase.Liquibase.update(Liquibase.java:198)
        at liquibase.Liquibase.update(Liquibase.java:179)
        at liquibase.Liquibase.update(Liquibase.java:175)
        at org.traccar.database.DataManager.initDatabaseSchema(DataManager.java:306)                                
        at org.traccar.database.DataManager.<init>(DataManager.java:91)                                             
        at org.traccar.Context.init(Context.java:382)
        at org.traccar.Main.run(Main.java:110)
        ... 1 more
renaud6 years ago

Running on OpenBSD 6.4, OpenJDK Runtime Environment v1.8.0.172 and so obviously using the manual install

Anton Tananaev6 years ago

Seems like a duplicate of this issue:

https://github.com/traccar/traccar/issues/4113

I need a way to reproduce the issue locally.

renaud6 years ago

Commit e4bbd04 solved the issue