My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions

Issue 1238 attachment: bug-report (2.9 KB)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Exception in thread "main" com.google.gwtorm.client.OrmException: Cannot apply SQL
CREATE TABLE account_project_watches (
notify_new_changes CHAR(1) DEFAULT 'N' NOT NULL CHECK (notify_new_changes IN ('Y','N')),
notify_all_comments CHAR(1) DEFAULT 'N' NOT NULL CHECK (notify_all_comments IN ('Y','N')),
notify_submitted_changes CHAR(1) DEFAULT 'N' NOT NULL CHECK (notify_submitted_changes IN ('Y','N')),
account_id INT DEFAULT 0 NOT NULL,
project_name VARCHAR(255) DEFAULT '' NOT NULL,
filter VARCHAR(255) DEFAULT '' NOT NULL
,PRIMARY KEY(account_id,project_name,filter)
)
at com.google.gwtorm.jdbc.JdbcExecutor.execute(JdbcExecutor.java:44)
at com.google.gwtorm.jdbc.JdbcSchema.createRelations(JdbcSchema.java:108)
at com.google.gwtorm.jdbc.JdbcSchema.updateSchema(JdbcSchema.java:78)
at com.google.gerrit.server.schema.SchemaCreator.create(SchemaCreator.java:106)
at com.google.gerrit.server.schema.SchemaUpdater.update(SchemaUpdater.java:55)
at com.google.gerrit.pgm.Init$SiteRun.upgradeSchema(Init.java:181)
at com.google.gerrit.pgm.Init.run(Init.java:79)
at com.google.gerrit.pgm.util.AbstractProgram.main(AbstractProgram.java:76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.google.gerrit.launcher.GerritLauncher.invokeProgram(GerritLauncher.java:165)
at com.google.gerrit.launcher.GerritLauncher.mainImpl(GerritLauncher.java:89)
at com.google.gerrit.launcher.GerritLauncher.main(GerritLauncher.java:47)
at Main.main(Main.java:25)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key length is 1000 bytes
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.Util.getInstance(Util.java:381)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1030)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3558)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3490)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2109)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2642)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2571)
at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:782)
at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:625)
at com.google.gwtorm.jdbc.JdbcExecutor.execute(JdbcExecutor.java:42)
... 15 more

Powered by Google Project Hosting