tracker issue : CFB-4166921

select a category, or use search below
(searches all categories and all time range)
Title:

java.lang.NullPointerException: Failed to create the part's controls

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): e-domizil License Team / Firstname Lastname (Alexander Hass)

Created: 06/22/2016

Components: General - IDE

Versions: 2016

Failure Type: Crash

Found In Build/Fixed In Build: CFB2016_Update2 / CFB2016_Update3

Priority/Frequency: Normal / All users will encounter

Locale/System: ALL / Win 2012 Server x64

Vote Count: 0

Problem Description:

java.lang.NullPointerException
	at com.adobe.ide.coldfusion.server.util.ImportLocalServerUtils.addDefaultServer(ImportLocalServerUtils.java:285)
	at com.adobe.coldfusion.server.ui.view.ServerView.createPartControl(ServerView.java:193)
	at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:151)
	at org.eclipse.ui.internal.e4.compatibility.CompatibilityView.createPartControl(CompatibilityView.java:143)
	at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:341)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
	at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:898)
	at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:879)
	at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:121)
	at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:345)
	at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:264)
	at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:104)
	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:73)
	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:55)
	at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:971)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:640)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$1.run(PartRenderingEngine.java:525)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:509)
	at org.eclipse.e4.ui.workbench.renderers.swt.ElementReferenceRenderer.createWidget(ElementReferenceRenderer.java:69)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:971)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:640)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)



Steps to Reproduce: 

1. Install Builder from https://cfdownload.adobe.com/pub/adobe/coldfusion/cfb31pluginsrepo/ into Maven
2. Open CF view
3. See CF Server tab (screeshot)

Actual Result: Crash, buttons are missing

Expected Result: No missing buttons, no crash

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4166921

External Customer Info:
External Company:  
External Customer Name: Firstname Lastname
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

Install Eclipse to "C:\Program Files\Eclipse"
Comment by External U.
26180 | June 22, 2016 07:45:06 AM GMT
Base of Eclipse is 4.5.2 JEE package
Comment by External U.
26181 | June 22, 2016 07:56:56 AM GMT
I think the KEY reason why this happens is the installation folder. I tried to grant full permission to the user to Eclipse and all subfolder, but it has still not worked. It need to be read-only, but this was just may last try to workaround the issue. No idea what I can do here now.
Comment by External U.
26182 | June 22, 2016 08:45:49 AM GMT
Thanks for pointing this out. Just Checked in with a fix.
Comment by Nikhil D.
26183 | June 28, 2016 06:10:25 AM GMT
Fix will be available as part of update 3 .
Comment by Mukesh K.
26184 | July 20, 2016 04:03:31 AM GMT