Cannot Delete Function Field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2024 11:00 AM - edited ‎12-04-2024 11:01 AM
I was trying to create a function field for a database view but it broke things and I can't delete it now. When I try to delete the Dictionary Entry from the list view, nothing happens and the record remains there. When I try to open the record it just loads a blank white screen and stops. I can't even load the database view anymore either. What do I do?
I also keep getting this error:
Internal Server Error (500)
Cannot invoke "com.glide.db.functions.ADBFunction.toString()" because the return value of "com.glide.db.functions.DBFunctionUtil.parseFunction(String, String)" is null Check logs for error trace or enable glide.rest.debug property to verify REST request processing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2024 06:05 PM
Have you tried deleting the created record (I'm assuming it is a sys_dictionary record) through Scripts - Background?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2024 08:04 AM - edited ‎12-05-2024 08:10 AM
I have, it gives me an error
Couldn't decipher the stack trace resulting from the following JavaScriptException:
java.lang.NullPointerException: Cannot invoke "com.glide.db.functions.ADBFunction.toString()" because the return value of "com.glide.db.functions.DBFunctionUtil.parseFunction(String, String)" is null: org.mozilla.javascript.JavaScriptException: java.lang.NullPointerException: Cannot invoke "com.glide.db.functions.ADBFunction.toString()" because the return value of "com.glide.db.functions.DBFunctionUtil.parseFunction(String, String)" is null: org.mozilla.javascript.Context.makeJavaScriptException(Context.java:2248) org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:2230) org.mozilla.javascript.MemberBox.invoke(MemberBox.java:163) org.mozilla.javascript.FunctionObject.doInvoke(FunctionObject.java:717) org.mozilla.javascript.FunctionObject.call(FunctionObject.java:654) org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2973) org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1720) org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1030) org.mozilla.javascript.InterpretedFunction.lambda$call$0(InterpretedFunction.java:161) com.glide.caller.gen.null_null_script.call(Unknown Source) com.glide.script.ScriptCaller.call(ScriptCaller.java:22) org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:160) org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:731) org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:4027) org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:173) com.glide.script.ScriptEvaluator.execute(ScriptEvaluator.java:419) com.glide.script.ScriptEvaluator.evaluateString(ScriptEvaluator.java:230) com.glide.script.ScriptEvaluator.evaluateString(ScriptEvaluator.java:147) com.glide.script.fencing.GlideScopedEvaluator.evaluateScript(GlideScopedEvaluator.java:364) com.glide.script.fencing.GlideScopedEvaluator.evaluateScript(GlideScopedEvaluator.java:251) com.glide.script.fencing.GlideScopedEvaluator.evaluateScript(GlideScopedEvaluator.java:230) com.glide.processors.ScriptProcessor.evaluateScript0(ScriptProcessor.java:412) com.glide.processors.ScriptProcessor.lambda$evaluateScriptWithRecordingOption$0(ScriptProcessor.java:395) com.glide.rollback.recording.RollbackRecorder.execute(RollbackRecorder.java:67) com.glide.processors.ScriptProcessor.evaluateScriptWithRecordingOption(ScriptProcessor.java:395) com.glide.processors.ScriptProcessor.evaluateScript(ScriptProcessor.java:375) com.glide.processors.ScriptProcessor.runScript(ScriptProcessor.java:274) com.glide.processors.ScriptProcessor.process(ScriptProcessor.java:232) com.glide.processors.AProcessor.runProcessor(AProcessor.java:762) com.glide.processors.AProcessor.processTransaction(AProcessor.java:313) com.glide.processors.ProcessorRegistry.process0(ProcessorRegistry.java:187) com.glide.processors.ProcessorRegistry.process(ProcessorRegistry.java:175) com.glide.ui.GlideServletTransaction.process(GlideServletTransaction.java:58) com.glide.sys.Transaction.run(Transaction.java:2734) com.glide.ui.HTTPTransaction.run(HTTPTransaction.java:35) java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) java.base/java.lang.Thread.run(Thread.java:840)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2025 02:39 PM
Hi! This same thing happened to me. How did you end up fixing it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2025 10:32 AM
We cloned our subprod instance so it got wiped in that process, was not able to figure out how to delete it