Hi everyone,
first of all, I’m not sure where this belongs, so please move my topic if necessary.
I’m having an issue deleting a property from an object type. The object type was already in use, so I get a warning when trying to remove it:
After confirming the error, I get the following error when trying to save the changes (full stack trace). Is there potentially something I could do differently to resolve this issue? Thank you for your support!
NaN : * (Context: [updating relation entity-type-property-type (1/1) {
"entity" : {
"class" : "SampleTypePE",
"id" : 15,
"permId" : "CONDUCTIVE",
"identifier" : "CONDUCTIVE"
},
"update" : {
"@type" : "as.dto.sample.update.SampleTypeUpdate",
"@id" : 1,
"typeId" : {
"@type" : "as.dto.entitytype.id.EntityTypePermId",
"@id" : 2,
"permId" : "CONDUCTIVE",
"entityKind" : "SAMPLE"
},
"propertyAssignments" : {
"@type" : "as.dto.entitytype.update.PropertyAssignmentListUpdateValue",
"@id" : 3,
"actions" : [ {
"@type" : "as.dto.common.update.ListUpdateActionRemove",
"@id" : 4,
"items" : [ {
"@type" : "as.dto.property.id.PropertyAssignmentPermId",
"@id" : 5,
"entityTypeId" : {
"@type" : "as.dto.entitytype.id.EntityTypePermId",
"@id" : 6,
"permId" : "CONDUCTIVE",
"entityKind" : "SAMPLE"
},
"propertyTypeId" : {
"@type" : "as.dto.property.id.PropertyTypePermId",
"@id" : 7,
"permId" : "PASTE.CURING_TEMP"
}
} ]
} ],
"forceRemovingAssignments" : true
}
}
}])
Hide stack trace
java.lang.RuntimeException: NaN : * (Context: [updating relation entity-type-property-type (1/1) {
"entity" : {
"class" : "SampleTypePE",
"id" : 15,
"permId" : "CONDUCTIVE",
"identifier" : "CONDUCTIVE"
},
"update" : {
"@type" : "as.dto.sample.update.SampleTypeUpdate",
"@id" : 1,
"typeId" : {
"@type" : "as.dto.entitytype.id.EntityTypePermId",
"@id" : 2,
"permId" : "CONDUCTIVE",
"entityKind" : "SAMPLE"
},
"propertyAssignments" : {
"@type" : "as.dto.entitytype.update.PropertyAssignmentListUpdateValue",
"@id" : 3,
"actions" : [ {
"@type" : "as.dto.common.update.ListUpdateActionRemove",
"@id" : 4,
"items" : [ {
"@type" : "as.dto.property.id.PropertyAssignmentPermId",
"@id" : 5,
"entityTypeId" : {
"@type" : "as.dto.entitytype.id.EntityTypePermId",
"@id" : 6,
"permId" : "CONDUCTIVE",
"entityKind" : "SAMPLE"
},
"propertyTypeId" : {
"@type" : "as.dto.property.id.PropertyTypePermId",
"@id" : 7,
"permId" : "PASTE.CURING_TEMP"
}
} ]
} ],
"forceRemovingAssignments" : true
}
}
}])
at ch.ethz.sis.openbis.generic.server.asapi.v3.utils.ExceptionUtils.create(ExceptionUtils.java:29)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.operation.OperationsExecutor.doExecute(OperationsExecutor.java:707)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.operation.OperationsExecutor.execute(OperationsExecutor.java:664)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.operation.SynchronousOperationExecutor.execute(SynchronousOperationExecutor.java:82)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.operation.ExecuteOperationExecutor.execute(ExecuteOperationExecutor.java:56)
at jdk.internal.reflect.GeneratedMethodAccessor426.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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy147.execute(Unknown Source)
at ch.ethz.sis.openbis.generic.server.asapi.v3.ApplicationServerApi.executeOperations(ApplicationServerApi.java:1670)
at jdk.internal.reflect.GeneratedMethodAccessor1261.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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at ch.systemsx.cisd.openbis.generic.server.ServerExceptionTranslatingAdvisor$UserFailureExceptionTranslatingInterceptor.invoke(ServerExceptionTranslatingAdvisor.java:78)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at ch.systemsx.cisd.openbis.generic.server.OptimisticLockingRetryAdvisor$RetryInterceptor.invoke(OptimisticLockingRetryAdvisor.java:85)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at ch.systemsx.cisd.openbis.common.spring.LogInterceptor.invoke(LogInterceptor.java:115)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at ch.systemsx.cisd.openbis.common.pat.PersonalAccessTokenInterceptor$PersonalAccessTokenInvocation.proceedWithNewFirstArgument(PersonalAccessTokenInterceptor.java:82)
at ch.ethz.sis.openbis.generic.server.asapi.v3.ApplicationServerApiPersonalAccessTokenInvocationHandler.executeOperations(ApplicationServerApiPersonalAccessTokenInvocationHandler.java:1218)
at jdk.internal.reflect.GeneratedMethodAccessor1261.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 ch.systemsx.cisd.openbis.common.pat.PersonalAccessTokenInterceptor.invoke(PersonalAccessTokenInterceptor.java:41)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at ch.systemsx.cisd.openbis.generic.server.LongRunningThreadInterceptor.invoke(LongRunningThreadInterceptor.java:50)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy135.executeOperations(Unknown Source)
at jdk.internal.reflect.GeneratedMethodAccessor1261.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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.adapter.ThrowsAdviceInterceptor.invoke(ThrowsAdviceInterceptor.java:112)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy186.executeOperations(Unknown Source)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.googlecode.jsonrpc4j.JsonRpcBasicServer.invoke(JsonRpcBasicServer.java:491)
at com.googlecode.jsonrpc4j.JsonRpcBasicServer.handleObject(JsonRpcBasicServer.java:362)
at com.googlecode.jsonrpc4j.JsonRpcBasicServer.handleJsonNodeRequest(JsonRpcBasicServer.java:278)
at com.googlecode.jsonrpc4j.JsonRpcBasicServer.handleRequest(JsonRpcBasicServer.java:243)
at com.googlecode.jsonrpc4j.JsonRpcServer.handleRequest0(JsonRpcServer.java:185)
at com.googlecode.jsonrpc4j.JsonRpcServer.handle(JsonRpcServer.java:144)
at com.googlecode.jsonrpc4j.spring.JsonServiceExporter.handleRequest(JsonServiceExporter.java:33)
at ch.ethz.sis.openbis.generic.server.asapi.v3.ApplicationServerApiJsonServer.handleRequest(ApplicationServerApiJsonServer.java:63)
at jdk.internal.reflect.GeneratedMethodAccessor402.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 org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:871)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:777)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:978)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:881)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:855)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1459)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631)
at ch.systemsx.cisd.common.servlet.AbstractCrossOriginFilter.doFilter(AbstractCrossOriginFilter.java:124)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at ch.systemsx.cisd.openbis.generic.server.CacheFilter.doFilter(CacheFilter.java:69)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at ch.systemsx.cisd.common.servlet.HeaderFilter.doFilter(HeaderFilter.java:65)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at ch.systemsx.cisd.common.servlet.MethodFilter.doFilter(MethodFilter.java:63)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:201)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:763)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:400)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:645)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:392)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.IllegalArgumentException: NaN : *
at ch.systemsx.cisd.openbis.generic.server.dataaccess.db.HibernateSearchDAOV3Adaptor.getNumber(HibernateSearchDAOV3Adaptor.java:1233)
at ch.systemsx.cisd.openbis.generic.server.dataaccess.db.HibernateSearchDAOV3Adaptor.adapt(HibernateSearchDAOV3Adaptor.java:628)
at ch.systemsx.cisd.openbis.generic.server.dataaccess.db.HibernateSearchDAOV3Adaptor.searchForEntityIds(HibernateSearchDAOV3Adaptor.java:291)
at ch.systemsx.cisd.openbis.generic.server.business.search.SampleSearchManager.findSampleIds(SampleSearchManager.java:180)
at ch.systemsx.cisd.openbis.generic.server.business.search.SampleSearchManager.searchForSampleIDs(SampleSearchManager.java:123)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.sample.SearchSampleExecutor.doSearch(SearchSampleExecutor.java:51)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.common.search.AbstractSearchObjectExecutor.search(AbstractSearchObjectExecutor.java:161)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.common.search.AbstractSearchObjectExecutor.search(AbstractSearchObjectExecutor.java:93)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.entity.AbstractUpdateEntityTypePropertyTypesExecutor.removeAssignments(AbstractUpdateEntityTypePropertyTypesExecutor.java:259)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.entity.AbstractUpdateEntityTypePropertyTypesExecutor.remove(AbstractUpdateEntityTypePropertyTypesExecutor.java:145)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.entity.AbstractUpdateEntityTypePropertyTypesExecutor.update(AbstractUpdateEntityTypePropertyTypesExecutor.java:124)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.entity.AbstractUpdateEntityTypePropertyTypesExecutor.access$000(AbstractUpdateEntityTypePropertyTypesExecutor.java:64)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.entity.AbstractUpdateEntityTypePropertyTypesExecutor$1.process(AbstractUpdateEntityTypePropertyTypesExecutor.java:100)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.entity.AbstractUpdateEntityTypePropertyTypesExecutor$1.process(AbstractUpdateEntityTypePropertyTypesExecutor.java:94)
at ch.ethz.sis.openbis.generic.server.asapi.v3.helper.common.batch.MapBatchProcessor.<init>(MapBatchProcessor.java:43)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.entity.AbstractUpdateEntityTypePropertyTypesExecutor$1.<init>(AbstractUpdateEntityTypePropertyTypesExecutor.java:94)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.entity.AbstractUpdateEntityTypePropertyTypesExecutor.update(AbstractUpdateEntityTypePropertyTypesExecutor.java:93)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.entity.AbstractUpdateEntityTypeExecutor.updateAll(AbstractUpdateEntityTypeExecutor.java:163)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.entity.AbstractUpdateEntityExecutor.update(AbstractUpdateEntityExecutor.java:88)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.sample.UpdateSampleTypesOperationExecutor.doExecute(UpdateSampleTypesOperationExecutor.java:54)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.sample.UpdateSampleTypesOperationExecutor.doExecute(UpdateSampleTypesOperationExecutor.java:36)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.common.OperationExecutor$2.execute(OperationExecutor.java:96)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.common.OperationExecutor$2.execute(OperationExecutor.java:88)
at ch.systemsx.cisd.openbis.generic.server.ConcurrentOperationLimiter.executeLimited(ConcurrentOperationLimiter.java:108)
at ch.systemsx.cisd.openbis.generic.server.ConcurrentOperationLimiter.executeLimitedWithTimeout(ConcurrentOperationLimiter.java:85)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.common.OperationExecutor.execute(OperationExecutor.java:87)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.operation.OperationsExecutor.executeUpdates(OperationsExecutor.java:827)
at ch.ethz.sis.openbis.generic.server.asapi.v3.executor.operation.OperationsExecutor.doExecute(OperationsExecutor.java:683)
... 128 more