question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invalid assign `memory` to NULL'

See original GitHub issue
Fatal error: Uncaught exception 'php\lang\JavaException' with message 'java.lang.RuntimeException: Invalid assign `memory` to NULL' in res://php/gui/framework/Application.php on line 606, position 17
Stack Trace:
#0 {closure}() called at [res://php/gui/framework/Application.php:670]
#1 {closure}() called at [res://php/gui/framework/Application.php:606]
#2 {main}
  thrown in res://php/gui/framework/Application.php on line 606

JVM Stack trace:
  php.runtime.Memory.assign(Memory.java:538)
  <Closure>(res://index.php:14)
  java.lang.reflect.Method.invoke(Unknown Source)
  php.runtime.reflection.MethodEntity.invokeDynamic(MethodEntity.java:239)
  php.runtime.invoke.ObjectInvokeHelper.invokeMethod(ObjectInvokeHelper.java:215)
  php.runtime.invoke.InvokeHelper.callAny(InvokeHelper.java:99)
  <Closure>(res://php/gui/framework/Application.php:618)
  java.lang.reflect.Method.invoke(Unknown Source)
  php.runtime.reflection.MethodEntity.invokeDynamic(MethodEntity.java:239)
  php.runtime.invoke.ObjectInvokeHelper.invokeMethod(ObjectInvokeHelper.java:275)
  php.runtime.invoke.DynamicMethodInvoker.invoke(DynamicMethodInvoker.java:57)
  php.runtime.invoke.Invoker.call(Invoker.java:80)
  php.runtime.invoke.Invoker.callNoThrow(Invoker.java:115)
  php.runtime.invoke.Invoker.callAny(Invoker.java:107)
  org.develnext.jphp.ext.javafx.classes.UXApplication$CustomApplication.start(UXApplication.java:238)
  com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$161(LauncherImpl.java:863)
  com.sun.javafx.application.PlatformImpl.lambda$runAndWait$174(PlatformImpl.java:326)
  com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295)
  java.security.AccessController.doPrivileged(Unknown Source)
  com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294)
  com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
  com.sun.glass.ui.win.WinApplication._runLoop(WinApplication.java)
  com.sun.glass.ui.win.WinApplication.lambda$null$147(WinApplication.java:177)
  java.lang.Thread.run(Unknown Source)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
dim-scommented, May 25, 2018

@MWGuy Для фикса данного бага обязательно нужен исходник index.php

0reactions
dim-scommented, May 25, 2018

Исправлено.

Read more comments on GitHub >

github_iconTop Results From Across the Web

2.10: Invalid and NULL Pointers - Engineering LibreTexts
Null pointer is a pointer which point nowhere and not just an invalid address. Following are 2 methods to assign a pointer as...
Read more >
Is setting pointer to null an allocated memory? - c++
NULL is a "known invalid" value. It's a valid value for the pointer, but it's generally not safe to dereference a pointer with...
Read more >
Memory Management, C++ FAQ - Standard C++
A problem with both NULL and 0 as a null pointer value is that 0 is a special ... void f(int n); {;...
Read more >
MEM01-C. Store a new value in pointers immediately after free()
Setting pointers to NULL or to another valid value after memory is freed is a simple and easily implemented solution for reducing dangling...
Read more >
Memory management - JavaScript - MDN Web Docs
Allocate the memory you need; Use the allocated memory (read, write) ... b: null, }; // allocates memory for an object and contained...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found