tracker issue : CF-3819753

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

ColdFusion 11 on OS X 10.10 Yosemite/Java 8

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce

Reporter/Name(from Bugbase): Philipp Cielen / Philipp Cielen (Philipp Cielen)

Created: 09/07/2014

Components: Platform Support

Versions: 11.0

Failure Type: Crash

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Mac 10.10 64 bit

Vote Count: 1

Problem Description: CF 11 does not run on OS X 10.10

Steps to Reproduce: Installed CF 11 on OS X 10.10 and I get the the below error message. Probably caused by OS X 10.10 not supporting Java 7. Just to let you guys know so that this does not come as a surprise. CF Builder 3 runs fine so far. 

Actual Result:

HTTP Status 500 - java.lang.NullPointerException

type Exception report

message java.lang.NullPointerException

description The server encountered an internal error that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: java.lang.NullPointerException
	coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:129)
	coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59)
	org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:422)
	org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:198)
	org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
	org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
	java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	java.lang.Thread.run(Thread.java:745)
root cause

java.lang.NullPointerException
	coldfusion.CfmServlet.init(CfmServlet.java:97)
	coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:121)
	coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59)
	org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:422)
	org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:198)
	org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
	org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
	java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	java.lang.Thread.run(Thread.java:745)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.52 logs.

Apache Tomcat/7.0.52

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

Watson Bug ID:	3819753

External Customer Info:
External Company:  
External Customer Name: cielen.com
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

  1. November 01, 2014 00:00:00: 1_log-files.zip

Comments:

Can you please let us know the following information: 1) ColdFusion build number ? 2) Which update of JDK 1.8 and what 'java.home' you had set in jvm.config file? 3) Any web server is configured with CF, if yes web server details ? (Comment added from ex-user id:prk)
Comment by Adobe D.
10985 | September 09, 2014 07:24:09 AM GMT
Would be nice if this worked on release day for once. I realize its not a huge marked for production systems, but many, many developers use it for their dev environment and we like to upgrade sooner rather than later. Pre-releases have been available for a while and it usually does not take much to get support for the new OS version.
Vote by External U.
11013 | September 10, 2014 08:14:48 AM GMT
Can you please attach the ColdFusion error log files. (Comment added from ex-user id:prk)
Comment by Adobe D.
10986 | September 11, 2014 06:49:34 AM GMT
sorry for the late reply, e-mail notifications were disabled for my account so I did not see your comments. I have already uninstalled CF from my test machine so there are no error logs other than what I have pasted into the bug report. to answer your other questions: 1) I have downloaded the latest installer for OS X from Adobe.com two weeks ago and installed on Yosemite Beta. 2) java version "1.8.0_20" Java(TM) SE Runtime Environment (build 1.8.0_20-b26) Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode) 3) I tried both on the default integrated OS X Apache server and also tried the internal web server within CF but both failed with the same error message.
Comment by External U.
10987 | September 24, 2014 01:48:35 PM GMT
I had tested in this version: "OS X Yosemite Beta 10.10(14A283o)". May I know the exact Mac Version? (Comment added from ex-user id:prk)
Comment by Adobe D.
10988 | September 26, 2014 12:19:18 AM GMT
I have updated my beta OS X Yosemite Install. I now run on the latest Beta (4) OS X 10.10 (14A379b). Also I have re-downloaded the latest installer from the Adobe web site which unfortunately seems to be the very first installer (11.0) without any patches applied. By now there should be an updated installer for version 11.1 available? Anyway, I have just installed CF again and it does not work. Logs are attached.
Comment by External U.
10989 | October 02, 2014 05:50:48 PM GMT
We can't find the logs. Can you contact us at cfinstal<AT>adobe<DOT>com, with the logs and a reference to this bug.
Comment by Anit K.
10990 | October 03, 2014 11:16:20 AM GMT
done
Comment by External U.
10991 | October 03, 2014 11:31:12 AM GMT
ok, I thought that CF used the default system Java installation on OS X in previous versions. Maybe that was changed with CF 11? I changed java.home=../../jre/Contents/Home/jre to java.home=/usr in the jvm.config. Now it seems to run fine. Would it be possible to offer ColdFusion 11.1 on the Adobe download page with Java 1.8 included? The same goes for CF Builder - the integrated CF server also needs to be modified to run on OS X 10.10. And while I am at it - though this is probably not the right place to complain about it - on the Adobe download page there are no MD5 checksums and no information about what version/build/patch level of the CF 11 installer is offered for download. It would be helpful if that information could be included on the download page.
Comment by External U.
10992 | October 03, 2014 11:58:39 AM GMT
Philipp, That's a good news. ColdFusion 11 Update 1 details are already available at http://blogs.coldfusion.com/post.cfm/coldfusion-11-update-1-now-available. We will look into the MD5 checksums. From CF10 onwards (including CF 11), the updates are notified directly within the admin. The download version available is exclusive of the updates and the same are applied after the installation.
Comment by Anit K.
10993 | October 03, 2014 12:59:29 PM GMT
Thanks for the feedback, I know that 11.1 is available and I know about the update installation from within the Administrator. The problem is that the current installer for ColdFusion 11 and ColdFusion Builder 3 will not create working installations on OS X 10.10 Yosemite. My suggestion was to provide updated CF installers for people using OS X 10.10 (Yosemite) including an updated JRE that will run on Yosemite out of the box. Whether this updated installer includes the .1 update or not is up to you, I just thought that it would be convenient to include it right away. Also it would be nice if you would change your communication strategy and let people know ahead of an upcoming OS X release that the current CF versions (CF 10/11 & CFB 2/3) have been tested, upgraded installers are available and what exactly needs to be patched to make existing installations work so that people can make a decision on when to upgrade their OS. Yosemite is in the final stages of beta and may be released within a week or two. You see - if the CF installation breaks every time people upgrade their OS and there was no advance testing/notice from Adobe, people lose trust in your ability to stay on top of current technology. If my CF installation constantly breaks on every single OS X update I would not even consider using CF to build mobile apps as it seems obvious that there will be the same or more issues with iOS updates too. 90% of people on iOS update their devices within days or weeks after a new OS version is released. I would not want to be in that game waiting 3-5 months for Adobe to fix things while generating loads of unhappy customers with every passing day.
Comment by External U.
10994 | October 03, 2014 02:30:47 PM GMT
What's the status on this? When will we have a fresh downloadable installation dmg of Coldfusion which we can install on a fresh OS X 10.10 install? At my company we're under enormous pressure to update to Yosemite OS X 10.10, the reason being that we use other tools besides Coldfusion, but Coldfusion alone is stopping us from upgrading 10 OS X 10.10. We tried installing Coldfusion 10 and 11 on a fresh OS X 10.10 install, and they both fail.
Comment by External U.
10995 | October 23, 2014 12:07:34 PM GMT
Can you share the installer logs/installer error messages so that we can have a look at this as we've not seen this issue in our internal testing? (Comment added from ex-user id:prk)
Comment by Adobe D.
10996 | October 27, 2014 05:38:18 AM GMT
same issue while using the coldfusion development server bundled with Coldfusion builder 3 Changing the java.home=/usr also worked for me Yosemite 10.10 64 bit /usr/bin/java = Java(TM) SE Runtime Environment (build 1.8.0_20-b26) Coldfusion/jre/bin/java = Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Comment by External U.
10997 | October 28, 2014 06:11:00 PM GMT
New Installers (with JDK 1.8) will be made available around the same time the next update for ColdFusion 11 is out. As far as support for 10.10 Yosemite is concerned, it looks like things are working fine. Let us know if there are any other issues,or if we can close this bug? (Comment added from ex-user id:prk)
Comment by Adobe D.
10998 | October 29, 2014 01:59:50 AM GMT
I'm having the same issue. I've upgraded to Yosemite and CF11 throws a 500 error. I've tried reinstalling CF, removing and reestablishing web connections, Java 1.6, 1.7 (from both Oracle and Apple) and still get a 500 error. I've attached my log files. Thanks in advance.
Comment by External U.
10999 | October 31, 2014 02:38:36 PM GMT
[subscribe]
Comment by External U.
11000 | October 31, 2014 02:44:17 PM GMT
@curtStaubach: As a hot fix try using the system default jre (1.8). To do so you need to set java.home=/usr in cfusion/bin/jvm.config.
Comment by External U.
11001 | November 01, 2014 07:21:05 AM GMT
Hi, I have been trying to install ColdFusion 11 on Mac OS X 10.10, 64 bit (Yosemite), but it fails. When I open the terminal and type java -version it says: java version "1.7.0_71" Java(TM) SE Runtime Environment (build 1.7.0_71-b14) Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode) I think that this means that I have the 1.7 jdk? I download the latest install for Mac OS X yesterday from Adobe, and the first part of the install seems to install (running the app cases no errors), but it does not write anything to the httpd.conf file. I do add the index.cfm to the DirectoryIndex in the httpd.conf file . Then when I go to the admin URL it just downloads the index,cfm file. This is when I use the build in web server (port 8500). When I try to install on the localhost (port 80) the CFIDE is not written to /Library/WebServer/Documents folder. This is where I want to install CF 11. As anybody been able to install CF 11 to Yosemite? Thanks, Johnny
Comment by External U.
11002 | November 02, 2014 03:36:56 PM GMT
Johnny, >I think that this means that I have the 1.7 jdk? yes, to get CF running you should download the current version of JDK 8 8u25 and then point CF to it via the jvm.config file as described below. Or wait a few more days as Adobe have announced an updated installer for OS X Yosemite. >I download the latest install for Mac OS X yesterday from Adobe, actually, the latest install file is always the first .0 version. Adobe currently does not provide updated installers but requires you to install the .0 version of CF/CF Builder and then apply patches yourself. Unfortunately, there is no hint as to what version will be downloaded. If you do find this as confusing as I do, please let Adobe know so that things may change in the future.
Comment by External U.
11003 | November 02, 2014 04:45:43 PM GMT
That hotfix worked for me. I'm, good to go. Thank you.
Comment by External U.
11004 | November 04, 2014 08:11:17 AM GMT
sorry to get to you late cielen.com, after installing JDK 8 8u25 CF 11 installed :) The weird part is the CFIDE folder did not install into /Library/WebServer/Documents but strangely I can access the admin. The CFIDE got installed into cfusion/wwwroot. Does this make sense? Why is there no telling you that you need the JDK 8!! Yes it is very confusing what versions you are downloading, where do I complain? The only thing now is to get CFBuilder to set up a server! Why are they making ColdFusion so hard to set up, so many issues, but I am so happy that at least I have the server installed :) Thanks so much for your help! Johnny
Comment by External U.
11005 | November 04, 2014 11:43:31 PM GMT
oh I forgot to mention the uninstaller for CFBuilder does not work either
Comment by External U.
11006 | November 04, 2014 11:44:13 PM GMT
We are aware of the un-installer issue and are working on a fix for the same. Also, with ColdFusion 10 and later, the CFIDE folder is installed in ColdFusion webroot. (Comment added from ex-user id:prk)
Comment by Adobe D.
11007 | November 05, 2014 03:55:35 AM GMT
Using Java 1.8 as a workaround was not an option for me b/c I support a ColdFusion application that runs specifically on Java 1.7, but not 1.8. This blog entry (http://blog.immanuelnoel.com/2014/06/06/fixing-the-null-pointer-exception-on-coldfusion/) got me past the "Null Pointer Exception" I was encountering. Your mileage may vary, but hopefully someone else will find it useful.
Comment by External U.
11008 | November 05, 2014 04:16:45 PM GMT
It's interesting that someone ends up getting more help from an article from the personal blog of an Adobe team member than via the official channels.
Comment by External U.
11009 | November 05, 2014 06:50:23 PM GMT
One other useful link for NPE : http://blogs.coldfusion.com/post.cfm/coldfusion-server-starting-with-unable-to-initialise-service-exception (Comment added from ex-user id:prk)
Comment by Adobe D.
11010 | November 06, 2014 06:29:55 AM GMT
I have three Macs running ColdFusion11, or trying to. All are running Yosemite 10.10.1 MacBook Air with Java 1.7.0_67 runs fine with Update 2 installed. Mac Mini with Java 1.7.0_51 also runs fine but without update 2. Not sure I dare install it. MacBook Pro with Java 1.7.0_72 gives 500 error. Reloaded the entire system with Java 1.8.0_25 installed and still getting the 500 error after installing update 2. Don't know if this helps any
Comment by External U.
11011 | November 24, 2014 11:53:24 PM GMT
Can you please share the logs/installer error messages? (Comment added from ex-user id:prk)
Comment by Adobe D.
11012 | December 03, 2014 02:08:19 AM GMT