archanach313 Posted April 17, 2019 Share Posted April 17, 2019 Hello ,I am using jasper report server 7.1.1(community version).Everything is fine except report schedulingafter right click on report -> click on schedule it throw the following exception2019-04-17 16:03:45,688 ERROR DiskStorageFactory,attribute%0043ache.data:495 - Disk Write of com.jaspersoft.jasperserver.api.metadata.user.service.impl.ProfileAttributeCacheKey@3783263e failed:java.io.NotSerializableException: com.jaspersoft.jasperserver.api.metadata.user.service.impl.ProfileAttributeCacheKey at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:441) at net.sf.ehcache.Element.writeObject(Element.java:835) 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 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1128) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) at net.sf.ehcache.util.MemoryEfficientByteArrayOutputStream.serialize(MemoryEfficientByteArrayOutputStream.java:97) at net.sf.ehcache.store.disk.DiskStorageFactory.serializeElement(DiskStorageFactory.java:405) at net.sf.ehcache.store.disk.DiskStorageFactory.write(DiskStorageFactory.java:384) at net.sf.ehcache.store.disk.DiskStorageFactory$DiskWriteTask.call(DiskStorageFactory.java:485) at net.sf.ehcache.store.disk.DiskStorageFactory$PersistentDiskWriteTask.call(DiskStorageFactory.java:1088) at net.sf.ehcache.store.disk.DiskStorageFactory$PersistentDiskWriteTask.call(DiskStorageFactory.java:1072) 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) I could not find the exact reason , on 7.1.0 also got same errorKindly help Link to comment Share on other sites More sharing options...
arnaud.lemoine Posted May 21, 2019 Share Posted May 21, 2019 Hello! I'm getting the same error on the same version of JasperServer. Did you find out how to solve it?Thanks, Arnaud Link to comment Share on other sites More sharing options...
thomas.hontele Posted May 24, 2019 Share Posted May 24, 2019 Same issue here, I think it happens when Jasperserver is trying to retrieve an attribute from the user we passed via the Basic Auth to the rest_v2 GET reports call... We stored the database host as a profile attribute in the user properties. That should be resolved at runtime, to connect to the correct database server. Link to comment Share on other sites More sharing options...
mdgimm Posted September 18, 2019 Share Posted September 18, 2019 I am running th same version and have the same problem. Link to comment Share on other sites More sharing options...
bulletforyou11 Posted June 24, 2020 Share Posted June 24, 2020 hi, was someone able to solve the problem? Link to comment Share on other sites More sharing options...
pravjaisjasper Posted March 20, 2022 Share Posted March 20, 2022 Hi, Even I'm facing the same issue. Please Suggest the solution Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now