[Crash] Trying to make a new entry in my Music database crashes memento with java.lang.NullPointerException

44 views
Skip to first unread message

Bikram Agarwal

unread,
Jan 22, 2017, 2:43:27 AM1/22/17
to mementodatabase


Hi,

I created a new library in Memento for my Music. This is how the setup looks - 


Now, when I try to make a new entry in the library, I enter the name of the album and click one of the suggestions from the dropdown. Within 1 or 2 seconds, Memento crashes with this error - 


java.lang.NullPointerException



 at com
.luckydroid.mementofx.ui.EntryLayoutBuilder.autoFill(EntryLayoutBuilder.java:464)

 at com
.luckydroid.mementofx.stages.IEditEntryLayoutBuilderStage.lambda$autofill$2(IEditEntryLayoutBuilderStage.java:36)

 at com
.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)

 at com
.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)

 at com
.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)

 at com
.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)

 at com
.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)

 at com
.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)

 at com
.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)

 at javafx
.event.Event.fireEvent(Event.java:198)

 at javafx
.concurrent.EventHelper.fireEvent(EventHelper.java:219)

 at javafx
.concurrent.Service.fireEvent(Service.java:853)

 at javafx
.concurrent.Service.lambda$new$490(Service.java:554)

 at com
.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:182)

 at com
.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)

 at javafx
.beans.property.ObjectPropertyBase.fireValueChangedEvent(ObjectPropertyBase.java:105)

 at javafx
.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:112)

 at javafx
.beans.property.ObjectPropertyBase.access$000(ObjectPropertyBase.java:51)

 at javafx
.beans.property.ObjectPropertyBase$Listener.invalidated(ObjectPropertyBase.java:233)

 at com
.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(ExpressionHelper.java:137)

 at com
.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)

 at javafx
.beans.property.ObjectPropertyBase.fireValueChangedEvent(ObjectPropertyBase.java:105)

 at javafx
.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:112)

 at javafx
.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146)

 at javafx
.concurrent.Task.setState(Task.java:696)

 at javafx
.concurrent.Task$TaskCallable.lambda$call$500(Task.java:1434)

 at com
.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)

 at java
.security.AccessController.doPrivileged(Native Method)

 at com
.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)

 at com
.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)

 at com
.sun.glass.ui.win.WinApplication._runLoop(Native Method)

 at com
.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)

 at java
.lang.Thread.run(Thread.java:745)



I've tried with different album names. It always does the same. Can anyone help with this please?

Bill Crews

unread,
Jan 22, 2017, 3:31:51 AM1/22/17
to mementodatabase
Please let the developer know at sup...@MementoDatabase.com. They may already have a fix, but regardless, they need to know about it.

Bikram Agarwal

unread,
Jan 24, 2017, 2:00:04 AM1/24/17
to mementodatabase
Mailed them yesterday. Yet to get a response though.

Bill Crews

unread,
Jan 24, 2017, 2:22:16 AM1/24/17
to mementodatabase
Thanks for reporting. I hope you can report a response from them soon.

Der Hof 2007

unread,
Jan 25, 2017, 7:59:13 PM1/25/17
to mementodatabase
Well, while I can't help you solve your issue I'd like to thank you for this post. I was under the impression that the only way to auto-fill was if you were scanning bar codes.
I'm also in the process of logging a music collection... Scans didn't always work and some cd's like promo discs have no bar code at all.
I can say this.... the autofill using either title or artist are both working fine for me. Although I am doing this on my phone as opposed to a PC as it appears you are.
Reply all
Reply to author
Forward
0 new messages