java.lang.NullPointerException: This exception has no message.

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 eclipse.org by Unknown author, 1 year ago
java.lang.NullPointerException:
at org.eclipse.php.internal.core.phpModel.parser.PHPWorkspaceModelManager.getProjectForModel(Unknown Source)
at org.eclipse.php.internal.core.format.FormatPreferencesSupport.verifyValidity(Unknown Source)
at org.eclipse.php.internal.core.format.FormatPreferencesSupport.getIndentationSize(Unknown Source)
at org.eclipse.php.internal.core.format.CaseDefaultIndentationStrategy.placeMatchingBlanks(Unknown Source)
at org.eclipse.php.internal.core.format.PhpFormatter.formatLine(Unknown Source)
at org.eclipse.php.internal.core.format.PhpFormatter.format(Unknown Source)
at org.eclipse.php.internal.core.format.PhpFormatter.formatNode(Unknown Source)
at org.eclipse.php.internal.core.format.PhpFormatter.format(Unknown Source)
at org.eclipse.php.internal.core.format.PhpFormatter.format(Unknown Source)
at org.eclipse.php.internal.core.format.htmlFormatters.HTMLElementFormatterNoPHP.formatChildNodes(Unknown Source)
at org.eclipse.wst.html.core.internal.format.HTMLElementFormatter.formatNode(HTMLElementFormatter.java:123)
at org.eclipse.php.internal.core.format.htmlFormatters.HTMLElementFormatterNoPHP.formatNode(Unknown Source)
at org.eclipse.wst.html.core.internal.format.HTMLFormatter.format(HTMLFormatter.java:233)
at org.eclipse.wst.html.core.internal.format.HTMLFormatter.format(HTMLFormatter.java:219)
at org.eclipse.wst.html.core.internal.format.HTMLFormatter.format(HTMLFormatter.java:212)
at org.eclipse.php.internal.core.format.htmlFormatters.HTMLElementFormatterNoPHP.formatChildNodes(Unknown Source)
at org.eclipse.php.internal.core.format.htmlFormatters.HTMLElementFormatterNoPHP.insertBreakBefore(Unknown Source)
at org.eclipse.wst.html.core.internal.format.HTMLFormatter.format(HTMLFormatter.java:231)
at org.eclipse.wst.html.core.internal.format.HTMLFormatter.format(HTMLFormatter.java:219)
at org.eclipse.wst.sse.core.internal.format.AbstractStructuredFormatProcessor.formatNode(AbstractStructuredFormatProcessor.java:405)
at org.eclipse.php.internal.core.format.PhpFormatProcessorImpl.formatModel(Unknown Source)
at org.eclipse.php.internal.core.format.PhpFormatProcessorImpl.formatDocument(Unknown Source)
at org.eclipse.jface.text.formatter.MultiPassContentFormatter.formatMaster(MultiPassContentFormatter.java:192)
at org.eclipse.php.internal.ui.editor.PHPStructuredTextViewer.doOperation(Unknown Source)
at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:131)
at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:129)
at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:461)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:160)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:466)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:799)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:846)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:564)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:506)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1357)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1084)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1109)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1094)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1121)
at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:655)
at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:2090)
at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:637)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1434)
at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:5291)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1437)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.