Jump to content
We've recently updated our Privacy Statement, available here ×

ERROR DiskStorageFactory,attribute%0043ache.data:495 - Disk Write of com.jaspersoft.jasperserver.api.metadata.user.service.impl.ProfileAttributeCacheKey@3783263e failed


archanach313

Recommended Posts

Hello ,

I am using jasper report server 7.1.1(community version).Everything is fine except report scheduling

after right click on report -> click on schedule  it throw the following exception

2019-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 error

Kindly help

 

Link to comment
Share on other sites

  • 1 month later...
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

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

  • 3 months later...
  • 9 months later...
  • 1 year later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...