Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Error deserialising blacklisted class `javax.management.Notification`(Error deserialising blacklisted class `javax.management.Notification`)
Error deserialising blacklisted class `javax.management.Notification` [message #1851070] Sat, 26 March 2022 17:03
Seydou Zakou is currently offline Seydou ZakouFriend
Messages: 43
Registered: May 2020
Member
We are having the following error and We didn't understand what is suggested by the message.
ERROR [scout-model-thread-12] org.eclipse.scout.rt.platform.exception.ExceptionHandler -  - MDC[principal=absa, uiSession=1:dobecgvrr4kavqgl7flmp0tvsvr2bsjmmda9g1vfumbck8nm9i, scoutSession=rl4eogqc37vno85b1ba4h7h8gdj3npaehk4uuavk8naje9tfv62, jobName=Processing JSON request, cid=Nt5xD9UT5Vf/136]
org.eclipse.scout.rt.platform.exception.ProcessingException: Security check: deseserialization of class 'javax.management.Notification'. This class is blacklisted. To change the blacklist use config property 'scout.serial.blacklistAppend' or 'scout.serial.blacklistReplace' and consider class org.eclipse.scout.rt.platform.serialization.DefaultSerializerBlacklist [severity=ERROR, user=system, user=absa, calling-thread=scout-model-thread-12, job=Tunneling service request [seq=1676, submitter=Processing JSON request], ui.event=click, ui.adapter=Button[id=301, modelClass=com.groupesepro.bp.contract.client.ContractViewForm$MainBox$ValidateContractButton, parentId=277]]
        at org.eclipse.scout.rt.platform.serialization.AbstractObjectSerializer$ResolvingObjectInputStream.resolveClass(AbstractObjectSerializer.java:189)
        at at java.base/java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1997)
        at java.base/java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1864)
        at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2195)
        at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1681)
        at java.base/java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2490)
        at java.base/java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2384)
        at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2222)
        at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1681)
        at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:493)
        at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:451)
        at java.base/java.util.ArrayList.readObject(ArrayList.java:929)
        at java.base/jdk.internal.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
        at java.base/java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2490)
        at java.base/java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2384)
        at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2222)
        at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1681)
        at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:493)
        at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:451)
        at java.base/java.util.ArrayList.readObject(ArrayList.java:929)
        at java.base/jdk.internal.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at java.base/java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1175)
        at java.base/java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2351)
        at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2222)
        at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1681)
        at java.base/java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2490)
        at java.base/java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2384)
        at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2222)
        at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1681)
        at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:493)
        at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:451)
        at org.eclipse.scout.rt.platform.serialization.AbstractObjectSerializer.deserialize(AbstractObjectSerializer.java:110)
        at org.eclipse.scout.rt.shared.servicetunnel.BinaryServiceTunnelContentHandler.readData(BinaryServiceTunnelContentHandler.java:101)
        at org.eclipse.scout.rt.shared.servicetunnel.BinaryServiceTunnelContentHandler.readResponse(BinaryServiceTunnelContentHandler.java:59)
        at org.eclipse.scout.rt.shared.servicetunnel.http.RemoteServiceInvocationCallable.call(RemoteServiceInvocationCallable.java:87)
        at org.eclipse.scout.rt.shared.servicetunnel.http.RemoteServiceInvocationCallable.call(RemoteServiceInvocationCallable.java:1)
        at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:227)
        at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:227)
        at org.eclipse.scout.rt.platform.transaction.TransactionProcessor.runTxMandatory(TransactionProcessor.java:156)
        at org.eclipse.scout.rt.platform.transaction.TransactionProcessor.runTxRequired(TransactionProcessor.java:139)
        at org.eclipse.scout.rt.platform.transaction.TransactionProcessor.intercept(TransactionProcessor.java:78)
        at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:222)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/javax.security.auth.Subject.doAs(Subject.java:423)
        at org.eclipse.scout.rt.platform.security.SubjectProcessor.intercept(SubjectProcessor.java:43)
        at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:222)
        at org.eclipse.scout.rt.platform.chain.callable.CallableChain.call(CallableChain.java:170)
        at org.eclipse.scout.rt.platform.context.RunContext.call(RunContext.java:158)
        at org.eclipse.scout.rt.platform.context.RunContextRunner.intercept(RunContextRunner.java:38)
        at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:222)
        at org.eclipse.scout.rt.platform.job.internal.CallableChainExceptionHandler.intercept(CallableChainExceptionHandler.java:33)
        at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:222)
        at org.eclipse.scout.rt.platform.chain.callable.CallableChain.call(CallableChain.java:170)
        at org.eclipse.scout.rt.platform.job.internal.JobFutureTask.lambda$0(JobFutureTask.java:106)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at org.eclipse.scout.rt.platform.job.internal.JobFutureTask.run(JobFutureTask.java:175)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
        at org.eclipse.scout.rt.platform.job.internal.NamedThreadFactory$1.run(NamedThreadFactory.java:63)


Note that we didn't encounter this error in development nor in test doing the same action.
So I'am wondering what can be wrong with my configration in production which is exactly the same as in test.

Does anyone has an idea about ?

Thanks

[Updated on: Sat, 26 March 2022 17:06]

Report message to a moderator

Previous Topic:Uploading File chooser form to derby or computer
Next Topic:Migration from Scout 10 to 22
Goto Forum:
  


Current Time: Sat Feb 24 11:03:02 GMT 2024

Powered by FUDForum. Page generated in 0.03319 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top