Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.IllegalStateException: No custom IdGenerator registered with name xxx #24

Open
flyingbeecd opened this issue Mar 23, 2020 · 0 comments

Comments

@flyingbeecd
Copy link


|) /\ ( |_ __ |_ |) /\ |/| | \ / / \ |) |/
|
) /--\ ) | | | \ /--\ | | | // _/ | \ |\

                               powered by ActFramework r1.8.32-2cd1

version: v1.0-SNAPSHOT
scan pkg: com.base
base dir: D:\MyTest\base-framework
pid: 12488
profile: dev
mode: DEV
OS: WINDOWS
jdk: Java HotSpot(TM) 64-Bit Server VM 1.8

 zen: Beautiful is better than ugly.

2020-03-23 11:45:52,480 INFO a.Act@[main] - loading application(s) ...
2020-03-23 11:45:52,522 INFO a.a.App@[main] - App starting ....
2020-03-23 11:45:52,552 INFO o.xnio@[Thread-1] - XNIO version 3.3.8.Final
2020-03-23 11:45:52,625 INFO o.x.nio@[Thread-1] - XNIO NIO Implementation Version 3.3.8.Final
2020-03-23 11:45:54,093 INFO a.a.DbServiceManager@[main] - db service[default] initialized
java.lang.IllegalArgumentException
at io.ebean.enhance.asm.ClassReader.readVerificationTypeInfo(ClassReader.java:3177)
at io.ebean.enhance.asm.ClassReader.readStackMapFrame(ClassReader.java:3104)
at io.ebean.enhance.asm.ClassReader.readCode(ClassReader.java:1854)
at io.ebean.enhance.asm.ClassReader.readMethod(ClassReader.java:1283)
at io.ebean.enhance.asm.ClassReader.accept(ClassReader.java:688)
at io.ebean.enhance.asm.ClassReader.accept(ClassReader.java:400)
at io.ebean.enhance.Transformer.enhanceQueryBean(Transformer.java:341)
at io.ebean.enhance.Transformer.transform(Transformer.java:182)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.esotericsoftware.reflectasm.AccessClassLoader.defineClass(AccessClassLoader.java:73)
at com.esotericsoftware.reflectasm.AccessClassLoader.defineAccessClass(AccessClassLoader.java:57)
at com.esotericsoftware.reflectasm.MethodAccess.get(MethodAccess.java:276)
at act.job.bytecode.ReflectedJobInvoker.init(ReflectedJobInvoker.java:92)
at act.job.bytecode.ReflectedJobInvoker.apply(ReflectedJobInvoker.java:102)
at act.job.Job.doJob(Job.java:413)
at act.job.Job.run(Job.java:337)
at act.job.JobManager$ContextualJob$1.apply(JobManager.java:543)
at act.job.Job.doJob(Job.java:413)
at act.job.Job.run(Job.java:337)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2020-03-23 11:45:57,481 INFO a.m.MailerConfig@[jobs-thread-1] - smtp host configuration not found, will use mock smtp to send email
2020-03-23 11:45:57,517 INFO c.z.h.HikariDataSource@[jobs-thread-2] - HikariPool-1 - Starting...
2020-03-23 11:45:57,904 INFO a.Act@[main] - network client hooked on port: 8080
2020-03-23 11:45:57,905 INFO a.Act@[main] - network client hooked on port: 8082
2020-03-23 11:45:57,907 INFO a.Act@[main] - network client hooked on port: 8083
2020-03-23 11:45:57,908 INFO a.Act@[main] - CLI server started on port: 8081
java.lang.IllegalArgumentException: JSR/RET are not supported with computeFrames option
at io.ebean.enhance.asm.Frame.execute(Frame.java:1023)
at io.ebean.enhance.asm.MethodWriter.visitJumpInsn(MethodWriter.java:1142)
at io.ebean.enhance.asm.MethodVisitor.visitJumpInsn(MethodVisitor.java:467)
at io.ebean.enhance.asm.ClassReader.readCode(ClassReader.java:2048)
at io.ebean.enhance.asm.ClassReader.readMethod(ClassReader.java:1283)
at io.ebean.enhance.asm.ClassReader.accept(ClassReader.java:688)
at io.ebean.enhance.asm.ClassReader.accept(ClassReader.java:400)
at io.ebean.enhance.Transformer.enhanceQueryBean(Transformer.java:341)
at io.ebean.enhance.Transformer.transform(Transformer.java:182)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.stevesoft.pat.Regex.mkMulti(Regex.java:1126)
at com.stevesoft.pat.Regex.addMulti(Regex.java:1120)
at com.stevesoft.pat.Regex.compile1(Regex.java:1002)
at com.stevesoft.pat.Regex._compile(Regex.java:1079)
at com.stevesoft.pat.Regex._compile(Regex.java:1070)
at com.stevesoft.pat.Regex.compile(Regex.java:480)
at com.stevesoft.pat.Regex.(Regex.java:295)
at org.rythmengine.internal.parser.build_in.ExtendsParser.(ExtendsParser.java:83)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.rythmengine.internal.dialect.DialectBase.registerBuildInParsers(DialectBase.java:49)
at org.rythmengine.internal.dialect.DialectBase.(DialectBase.java:20)
at org.rythmengine.internal.dialect.Rythm.(Rythm.java:21)
at org.rythmengine.internal.dialect.Rythm.(Rythm.java:19)
at org.rythmengine.internal.dialect.DialectManager.(DialectManager.java:20)
at org.rythmengine.RythmEngine.(RythmEngine.java:296)
at org.rythmengine.RythmEngine.(RythmEngine.java:544)
at act.view.rythm.RythmView.createEngine(RythmView.java:172)
at act.view.rythm.RythmView.getEngine(RythmView.java:105)
at act.view.rythm.RythmView.registerBuiltInTransformer(RythmView.java:194)
at act.app.App.registerBuiltInRythmTransformers(App.java:1822)
at act.app.App.initViewManager(App.java:1817)
at act.app.App.access$700(App.java:109)
at act.app.App$4.run(App.java:813)
at act.job.JobManager$ContextualJob$1.apply(JobManager.java:543)
at act.job.Job.doJob(Job.java:413)
at act.job.Job.run(Job.java:337)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2020-03-23 11:45:58,500 INFO c.z.h.HikariDataSource@[jobs-thread-2] - HikariPool-1 - Start completed.
2020-03-23 11:45:58,694 INFO i.e.EbeanVersion@[jobs-thread-2] - ebean version: 11.45.1
2020-03-23 11:45:59,046 INFO i.e.c.p.LoadContext@[jobs-thread-2] - loaded properties from []
2020-03-23 11:45:59,211 INFO i.e.i.DefaultContainer@[jobs-thread-2] - DatabasePlatform name:default platform:mysql
2020-03-23 11:46:00,086 ERROR i.e.s.d.BeanDescriptorManager@[jobs-thread-2] - Error in deployment
java.lang.RuntimeException: Error reading annotations for com.base.entity.User
at io.ebeaninternal.server.deploy.parse.ReadAnnotations.readInitial(ReadAnnotations.java:31)
at io.ebeaninternal.server.deploy.BeanDescriptorManager.createDeployBeanInfo(BeanDescriptorManager.java:1327)
at io.ebeaninternal.server.deploy.BeanDescriptorManager.readEntityDeploymentInitial(BeanDescriptorManager.java:715)
at io.ebeaninternal.server.deploy.BeanDescriptorManager.deploy(BeanDescriptorManager.java:371)
at io.ebeaninternal.server.core.InternalConfiguration.(InternalConfiguration.java:198)
at io.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:124)
at io.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:35)
at io.ebean.EbeanServerFactory.createInternal(EbeanServerFactory.java:109)
at io.ebean.EbeanServerFactory.create(EbeanServerFactory.java:70)
at act.db.ebean.EbeanService.dataSourceProvided(EbeanService.java:118)
at act.db.sql.SqlDbService.doInitDataSource(SqlDbService.java:275)
at act.db.sql.SqlDbService.initDataSource(SqlDbService.java:257)
at act.db.sql.SqlDbService.init(SqlDbService.java:118)
at act.db.sql.SqlDbService$1.run(SqlDbService.java:76)
at act.job.Job$4.apply(Job.java:455)
at act.job.Job.doJob(Job.java:413)
at act.job.Job.run(Job.java:337)
at act.job.Job$LockableJobList$1.run(Job.java:109)
at act.job.JobManager$ContextualJob$1.apply(JobManager.java:543)
at act.job.Job.doJob(Job.java:413)
at act.job.Job.run(Job.java:337)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: No custom IdGenerator registered with name shortUid
at io.ebeaninternal.server.deploy.parse.AnnotationFields.readGenValue(AnnotationFields.java:556)
at io.ebeaninternal.server.deploy.parse.AnnotationFields.readField(AnnotationFields.java:208)
at io.ebeaninternal.server.deploy.parse.AnnotationFields.parse(AnnotationFields.java:114)
at io.ebeaninternal.server.deploy.parse.ReadAnnotations.readInitial(ReadAnnotations.java:29)
... 27 common frames omitted
2020-03-23 11:46:00,087 ERROR a.a.App@[jobs-thread-2] - Block issue encountered
org.osgl.exception.ConfigurationException: Error init SQL db service
at org.osgl.util.E.invalidConfiguration(E.java:328)
at act.db.sql.SqlDbService.init(SqlDbService.java:149)
at act.db.sql.SqlDbService$1.run(SqlDbService.java:76)
at act.job.Job$4.apply(Job.java:455)
at act.job.Job.doJob(Job.java:413)
at act.job.Job.run(Job.java:337)
at act.job.Job$LockableJobList$1.run(Job.java:109)
at act.job.JobManager$ContextualJob$1.apply(JobManager.java:543)
at act.job.Job.doJob(Job.java:413)
at act.job.Job.run(Job.java:337)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: Error reading annotations for com.base.entity.User
at io.ebeaninternal.server.deploy.parse.ReadAnnotations.readInitial(ReadAnnotations.java:31)
at io.ebeaninternal.server.deploy.BeanDescriptorManager.createDeployBeanInfo(BeanDescriptorManager.java:1327)
at io.ebeaninternal.server.deploy.BeanDescriptorManager.readEntityDeploymentInitial(BeanDescriptorManager.java:715)
at io.ebeaninternal.server.deploy.BeanDescriptorManager.deploy(BeanDescriptorManager.java:371)
at io.ebeaninternal.server.core.InternalConfiguration.(InternalConfiguration.java:198)
at io.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:124)
at io.ebeaninternal.server.core.DefaultContainer.createServer(DefaultContainer.java:35)
at io.ebean.EbeanServerFactory.createInternal(EbeanServerFactory.java:109)
at io.ebean.EbeanServerFactory.create(EbeanServerFactory.java:70)
at act.db.ebean.EbeanService.dataSourceProvided(EbeanService.java:118)
at act.db.sql.SqlDbService.doInitDataSource(SqlDbService.java:275)
at act.db.sql.SqlDbService.initDataSource(SqlDbService.java:257)
at act.db.sql.SqlDbService.init(SqlDbService.java:118)
... 15 common frames omitted
Caused by: java.lang.IllegalStateException: No custom IdGenerator registered with name shortUid
at io.ebeaninternal.server.deploy.parse.AnnotationFields.readGenValue(AnnotationFields.java:556)
at io.ebeaninternal.server.deploy.parse.AnnotationFields.readField(AnnotationFields.java:208)
at io.ebeaninternal.server.deploy.parse.AnnotationFields.parse(AnnotationFields.java:114)
at io.ebeaninternal.server.deploy.parse.ReadAnnotations.readInitial(ReadAnnotations.java:29)
... 27 common frames omitted
2020-03-23 11:46:00,092 WARN a.j.JobExceptionListenerManager@[jobs-thread-2] - Job exception encountered on running job[2CmSJ-x1JcoF]
act.boot.app.BlockIssueSignal: null
2020-03-23 11:46:00,635 INFO a.Act@[main] - app is ready in 7945ms at: http://10.206.13.66:8080

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant