Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Noobest
, 1 year ago
java.lang.reflect.InvocationTargetException
via Stack Overflow by Noobest
, 1 year ago
java.lang.reflect.InvocationTargetException
via Stack Overflow by gujoheco
, 1 year ago
java.lang.reflect.InvocationTargetException
via GitHub by dmth
, 1 year ago
via Stack Overflow by The Boogie Man
, 2 years ago
java.lang.reflect.InvocationTargetException
via Stack Overflow by Sam
, 2 years ago
java.lang.reflect.InvocationTargetException
java.lang.NullPointerException: 	at order.controllers.OrderController.loadCbProductRatings(OrderController.java:131)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)	at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)	at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1769)	at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1657)	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.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)	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.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)	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:49)	at javafx.event.Event.fireEvent(Event.java:198)	at javafx.scene.Node.fireEvent(Node.java:8411)	at com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.handleControlPropertyChanged(ComboBoxListViewSkin.java:179)	at com.sun.javafx.scene.control.skin.BehaviorSkinBase.lambda$registerChangeListener$61(BehaviorSkinBase.java:197)	at com.sun.javafx.scene.control.MultiplePropertyChangeListenerHandler$1.changed(MultiplePropertyChangeListenerHandler.java:55)	at javafx.beans.value.WeakChangeListener.changed(WeakChangeListener.java:89)	at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:361)	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.scene.control.ComboBoxBase.setValue(ComboBoxBase.java:150)	at javafx.scene.control.ComboBox.updateValue(ComboBox.java:463)	at javafx.scene.control.ComboBox.access$200(ComboBox.java:192)	at javafx.scene.control.ComboBox$3.changed(ComboBox.java:446)	at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:361)	at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)	at javafx.beans.property.ReadOnlyObjectPropertyBase.fireValueChangedEvent(ReadOnlyObjectPropertyBase.java:74)	at javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent(ReadOnlyObjectWrapper.java:102)	at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:112)	at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146)	at javafx.scene.control.SelectionModel.setSelectedItem(SelectionModel.java:102)	at javafx.scene.control.ComboBox$ComboBoxSelectionModel.lambda$new$154(ComboBox.java:494)	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.ReadOnlyIntegerPropertyBase.fireValueChangedEvent(ReadOnlyIntegerPropertyBase.java:72)	at javafx.beans.property.ReadOnlyIntegerWrapper.fireValueChangedEvent(ReadOnlyIntegerWrapper.java:102)	at javafx.beans.property.IntegerPropertyBase.markInvalid(IntegerPropertyBase.java:113)	at javafx.beans.property.IntegerPropertyBase.set(IntegerPropertyBase.java:147)	at javafx.scene.control.SelectionModel.setSelectedIndex(SelectionModel.java:68)	at javafx.scene.control.ComboBox$ComboBoxSelectionModel$2.onChanged(ComboBox.java:524)	at javafx.collections.WeakListChangeListener.onChanged(WeakListChangeListener.java:88)	at com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:329)	at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:73)	at javafx.collections.ObservableListBase.fireChange(ObservableListBase.java:233)	at javafx.collections.ListChangeBuilder.commit(ListChangeBuilder.java:482)	at javafx.collections.ListChangeBuilder.endChange(ListChangeBuilder.java:541)	at javafx.collections.ObservableListBase.endChange(ObservableListBase.java:205)	at com.sun.javafx.collections.ObservableListWrapper.clear(ObservableListWrapper.java:157)	at order.controllers.OrderController.loadCbProducts(OrderController.java:93)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)	at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)	at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1769)	at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1657)	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.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)	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.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)	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:49)	at javafx.event.Event.fireEvent(Event.java:198)	at javafx.scene.Node.fireEvent(Node.java:8411)	at com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.handleControlPropertyChanged(ComboBoxListViewSkin.java:179)	at com.sun.javafx.scene.control.skin.BehaviorSkinBase.lambda$registerChangeListener$61(BehaviorSkinBase.java:197)	at com.sun.javafx.scene.control.MultiplePropertyChangeListenerHandler$1.changed(MultiplePropertyChangeListenerHandler.java:55)	at javafx.beans.value.WeakChangeListener.changed(WeakChangeListener.java:89)	at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:361)	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.scene.control.ComboBoxBase.setValue(ComboBoxBase.java:150)	at javafx.scene.control.ComboBox.updateValue(ComboBox.java:463)	at javafx.scene.control.ComboBox.access$200(ComboBox.java:192)	at javafx.scene.control.ComboBox$3.changed(ComboBox.java:446)	at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:361)	at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)	at javafx.beans.property.ReadOnlyObjectPropertyBase.fireValueChangedEvent(ReadOnlyObjectPropertyBase.java:74)	at javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent(ReadOnlyObjectWrapper.java:102)	at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:112)	at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146)	at javafx.scene.control.SelectionModel.setSelectedItem(SelectionModel.java:102)	at javafx.scene.control.ComboBox$ComboBoxSelectionModel.lambda$new$154(ComboBox.java:494)	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.ReadOnlyIntegerPropertyBase.fireValueChangedEvent(ReadOnlyIntegerPropertyBase.java:72)	at javafx.beans.property.ReadOnlyIntegerWrapper.fireValueChangedEvent(ReadOnlyIntegerWrapper.java:102)	at javafx.beans.property.IntegerPropertyBase.markInvalid(IntegerPropertyBase.java:113)	at javafx.beans.property.IntegerPropertyBase.set(IntegerPropertyBase.java:147)	at javafx.scene.control.SelectionModel.setSelectedIndex(SelectionModel.java:68)	at javafx.scene.control.SingleSelectionModel.updateSelectedIndex(SingleSelectionModel.java:215)	at javafx.scene.control.SingleSelectionModel.select(SingleSelectionModel.java:149)	at com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.lambda$createListView$323(ComboBoxListViewSkin.java:484)	at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:349)	at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)	at javafx.beans.property.ReadOnlyIntegerPropertyBase.fireValueChangedEvent(ReadOnlyIntegerPropertyBase.java:72)	at javafx.beans.property.ReadOnlyIntegerWrapper.fireValueChangedEvent(ReadOnlyIntegerWrapper.java:102)	at javafx.beans.property.IntegerPropertyBase.markInvalid(IntegerPropertyBase.java:113)	at javafx.beans.property.IntegerPropertyBase.set(IntegerPropertyBase.java:147)	at javafx.scene.control.SelectionModel.setSelectedIndex(SelectionModel.java:68)	at javafx.scene.control.MultipleSelectionModelBase.select(MultipleSelectionModelBase.java:404)	at javafx.scene.control.MultipleSelectionModelBase.clearAndSelect(MultipleSelectionModelBase.java:356)	at javafx.scene.control.ListView$ListViewBitSetSelectionModel.clearAndSelect(ListView.java:1403)	at com.sun.javafx.scene.control.behavior.CellBehaviorBase.simpleSelect(CellBehaviorBase.java:256)	at com.sun.javafx.scene.control.behavior.CellBehaviorBase.doSelect(CellBehaviorBase.java:220)	at com.sun.javafx.scene.control.behavior.CellBehaviorBase.mousePressed(CellBehaviorBase.java:150)	at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:95)	at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:89)	at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)	at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)	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.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)	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.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)	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.scene.Scene$MouseHandler.process(Scene.java:3757)	at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)	at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)	at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)	at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:380)	at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:294)	at java.security.AccessController.doPrivileged(Native Method)	at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$354(GlassViewEventHandler.java:416)	at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)	at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:415)	at com.sun.glass.ui.View.handleMouseEvent(View.java:555)	at com.sun.glass.ui.View.notifyMouse(View.java:937)	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)