85 words

ClassNotFoundException messages in the log file

#1
2017-11-06 11:13

In the ObjectDB log file, I still see one ClassNotFoundException.  Is this to be expected, or do I have another issue I need to correct?

[2017-11-03 13:52:01 #18 type.loader]
java.lang.ClassNotFoundException: String
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
at com.objectdb/com.objectdb.o.RCL.j(RCL.java:299)
at com.objectdb/com.objectdb.o.ACL.loadClass(ACL.java:101)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
at com.objectdb/com.objectdb.o.TYM.ay(TYM.java:1045)
at com.objectdb/com.objectdb.o.TRS.g(TRS.java:177)
at com.objectdb/com.objectdb.o.SYR.m(SYR.java:119)
at com.objectdb/com.objectdb.o.QRC.<init>(QRC.java:154)
at com.objectdb/com.objectdb.o.QRR.e(QRR.java:86)
at com.objectdb/com.objectdb.jdo.JdoQuery.compile(JdoQuery.java:728)
at com.unilogical.moxydox.server/com.unilogical.moxydox.server.database.Database.getPersistenceManager(Database.java:1649)
at com.unilogical.moxydox.server/com.unilogical.moxydox.server.database.Database.mayUpdateDatabaseSchema(Database.java:1726)
at com.unilogical.moxydox.server/com.unilogical.moxydox.server.database.Database.startup(Database.java:1564)
at com.unilogical.moxydox.server/com.unilogical.moxydox.server.Main.startOffloadJavaFx(Main.java:511)
at com.unilogical.moxydox.server/com.unilogical.moxydox.server.Main.lambda$start$3(Main.java:326)
at com.unilogical.moxydox.server/com.unilogical.moxydox.server.BackgroundThread.run(BackgroundThread.java:148)
BoydEdmondson
BoydEdmondson's picture
Joined on 2016-07-08
User Post #69
#2
2017-11-06 11:16

This stack trace is normal when logging is enabled at DEBUG level.

You can reduce the logging level of "type.loader" to WARNING to avoid these messages.

Add the following line to the configuration:

    <logger name="type.loader" level="warning" />

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
support
support's picture
Joined on 2010-05-03
User Post #2,882

Post Reply

Please read carefully the posting instructions - before posting to the ObjectDB website.

  • You may have to disable pop up blocking in order to use the toolbar (e.g. in Chrome).
  • Use ctrl + right click to open the browser context menu in the editing area (e.g. for using a browser spell checker).
  • To insert formatted lines (e.g. Java code, stack trace) - select a style in the toolbar and then insert the text in the new created block.
  • Avoid overflow of published source code examples by breaking long lines.
  • You may mark in paragraph code words (e.g. class names) with the code style (can be applied by ctrl + D).
  • Long stack traces (> 50 lines) and complex source examples (> 100 lines) should be posted as attachments.
Attachments:
Maximum file size: 32 MB
Cancel