appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.52k stars 3.73k forks source link

[Bug]: CI: Internal server error while editing JSObject #27896

Open Parthvi12 opened 1 year ago

Parthvi12 commented 1 year ago

Is there an existing issue for this?

Description

This isuse is being observed in cypress spec fileDSCrudAndBindings_Spec.ts's 4th test:4. Edit JSObject & Check Updated Data, where when we edit jsObject it throws internal server error causing test to fail. Attaching run , dockerlogs.zip and instance 44

Steps To Reproduce

Attaching video to replicate issue: https://internal.appsmith.com/app/cypressdashboard/rundetails-64ec3df0c632e24c00764938?branch=master&workflowId=6451033088&attempt=2&selectiontype=test&testsstatus=failed&specsstatus=fail

Public Sample App

No response

Environment

Release

Issue video log

No response

Version

Release

Parthvi12 commented 1 year ago

Logs: java.lang.NullPointerException: Cannot invoke "java.util.Collection.iterator()" because "c" is null backend stdout | at java.base/java.util.AbstractCollection.containsAll(AbstractCollection.java:308) backend stdout | Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: backend stdout | Error has been observed at the following site(s): backend stdout | *__checkpoint ⇢ Handler com.appsmith.server.controllers.ActionCollectionController#updateActionCollection(String, ActionCollectionDTO, String) [DispatcherHandler] backend stdout | Original Stack Trace: backend stdout | at java.base/java.util.AbstractCollection.containsAll(AbstractCollection.java:308) backend stdout | at com.appsmith.server.onpageload.internal.PageLoadExecutablesUtilCEImpl.extractAndSetExecutableBindingsInGraphEdges(PageLoadExecutablesUtilCEImpl.java:995) backend stdout | at com.appsmith.server.onpageload.internal.PageLoadExecutablesUtilCEImpl.lambda$addDirectlyReferencedExecutablesToGraph$18(PageLoadExecutablesUtilCEImpl.java:589) backend stdout | at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:132) backend stdout | at com.appsmith.server.configurations.MDCConfig$MdcContextLifter.onNext(MDCConfig.java:53) backend stdout | at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) backend stdout | at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) backend stdout | at com.appsmith.server.configurations.MDCConfig$MdcContextLifter.onNext(MDCConfig.java:53)

Aishwarya-U-R commented 1 year ago

Another recent run wit logs dockerlogs.zip failing in instance 45

rohan-arthur commented 2 months ago

relevant slack conversation