java.lang.RuntimeException: Unable to perform DB migrations

GitHub | akmal1999 | 2 months ago
  1. 0

    GitHub comment 2379#254023138

    GitHub | 2 months ago | akmal1999
    java.lang.RuntimeException: Unable to perform DB migrations
  2. 0

    Installation of server for traccar-web.

    GitHub | 2 months ago | akmal1999
    java.lang.RuntimeException: Unable to perform DB migrations
  3. 0

    GitHub comment 3714#226139846

    GitHub | 6 months ago | sabrineZhr
    com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near '-'.** at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:216)**
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 669#217913951

    GitHub | 7 months ago | cabreu1981
    java.lang.RuntimeException: Unable to perform DB migrations
  6. 0

    Problemas de merge entre entidades: Teste Automatizado - Curso JEE e JSE – Loja Virtual Completa – Parte 25

    com.br | 1 year ago
    com.microsoft.sqlserver.jdbc.SQLServerException: The DELETE statement conflicted with the REFERENCE constraint "CLLNAVAILIABLEPRDUCTid". The conflict occurred in database "ecommerce", table "dbo.CALLONAVAILIABLE", column 'PRODUCT_id'. Error Code: 547 Call: DELETE FROM PRODUCT WHERE (id = ?) bind => [1 parameter bound] Query: DeleteObjectQuery(br.com.devmedia.entity.Product[ id=3 ])

  1. abrazeneb 2 times, last 3 months ago
19 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.microsoft.sqlserver.jdbc.SQLServerException

    Invalid object name 'events'.

    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError()
  2. com.microsoft.sqlserver
    SQLServerPreparedStatement.executeUpdate
    1. com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:217)
    2. com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1655)
    3. com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:440)
    4. com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:385)
    5. com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7505)
    6. com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2444)
    7. com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:191)
    8. com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:166)
    9. com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeUpdate(SQLServerPreparedStatement.java:328)
    9 frames
  3. HikariCP-java6
    HikariProxyPreparedStatement.executeUpdate
    1. com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61)
    2. com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java)
    2 frames
  4. Hibernate
    QueryImpl.executeUpdate
    1. org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:208)
    2. org.hibernate.hql.internal.ast.exec.BasicExecutor.doExecute(BasicExecutor.java:109)
    3. org.hibernate.hql.internal.ast.exec.BasicExecutor.execute(BasicExecutor.java:78)
    4. org.hibernate.hql.internal.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:445)
    5. org.hibernate.engine.query.spi.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:379)
    6. org.hibernate.internal.SessionImpl.executeUpdate(SessionImpl.java:1286)
    7. org.hibernate.internal.QueryImpl.executeUpdate(QueryImpl.java:118)
    7 frames
  5. org.hibernate.jpa
    AbstractQueryImpl.executeUpdate
    1. org.hibernate.jpa.internal.QueryImpl.internalExecuteUpdate(QueryImpl.java:371)
    2. org.hibernate.jpa.spi.AbstractQueryImpl.executeUpdate(AbstractQueryImpl.java:78)
    2 frames
  6. org.traccar.web
    DataServiceImpl.init
    1. org.traccar.web.server.model.DBMigrations$SetDefaultExpiredFlagForEvents.migrate(DBMigrations.java:406)
    2. org.traccar.web.server.model.DBMigrations.migrate(DBMigrations.java:72)
    3. org.traccar.web.server.model.DataServiceImpl.init(DataServiceImpl.java:75)
    3 frames
  7. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:244)
    1 frame
  8. Jetty Contrib :: jetty-gwt RemoteServiceServlet
    RemoteServiceServlet.init
    1. com.google.gwt.user.server.rpc.RemoteServiceServlet.init(RemoteServiceServlet.java:168)
    1 frame
  9. Guice - Servlet
    GuiceFilter.init
    1. com.google.inject.servlet.ServletDefinition.init(ServletDefinition.java:117)
    2. com.google.inject.servlet.ManagedServletPipeline.init(ManagedServletPipeline.java:82)
    3. com.google.inject.servlet.ManagedFilterPipeline.initPipeline(ManagedFilterPipeline.java:102)
    4. com.google.inject.servlet.GuiceFilter.init(GuiceFilter.java:172)
    4 frames
  10. Jetty
    AbstractLifeCycle.start
    1. org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:138)
    2. org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:852)
    3. org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)
    4. org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
    5. org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
    6. org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
    7. org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
    8. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    9. org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
    10. org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
    11. org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
    12. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    13. org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
    14. org.eclipse.jetty.server.Server.start(Server.java:387)
    15. org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
    16. org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
    17. org.eclipse.jetty.server.Server.doStart(Server.java:354)
    18. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    18 frames
  11. org.traccar.web
    WebServer.start
    1. org.traccar.web.WebServer.start(WebServer.java:179)
    1 frame
  12. org.traccar
    Main.main
    1. org.traccar.Main.main(Main.java:40)
    1 frame
  13. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  14. Java Service Wrapper
    WrapperSimpleApp.run
    1. org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:325)
    1 frame
  15. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame