Skip to content

Instantly share code, notes, and snippets.

@rtrouton
Created March 6, 2015 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtrouton/21a18013499cb57db467 to your computer and use it in GitHub Desktop.
Save rtrouton/21a18013499cb57db467 to your computer and use it in GitHub Desktop.
Java 8 Update 40 install.app attempt to install at loginwindow without using --silent
computername:~ username$ sudo ~/Desktop/Java\ 8\ Update\ 40.app/Contents/MacOS/MacJREInstaller
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
2015-03-06 12:16:02.363 MacJREInstaller[513:5804] path: /var/root/Library/Application Support/JREInstaller
2015-03-06 12:16:02.367 MacJREInstaller[513:5804] ---- INSTALL RUN |||| 03-06-2015 12:16:02 -0500
2015-03-06 12:16:02.368 MacJREInstaller[513:5804] Install Log: Type:Network Severity:Debug Message:Download Staged XML from :https://javadl-esd-secure.oracle.com/update/1.8.0/mac-1.8.0_40-b25.xml
2015-03-06 12:16:02.581 MacJREInstaller[513:5804] Install Log: Type:Other Severity:Debug Message:Application support directory:/var/root/Library/Application Support
2015-03-06 12:16:02.596 MacJREInstaller[513:5804] Install Log: Type:Network Severity:Debug Message:Arguments:(
"/Users/username/Desktop/Java 8 Update 40.app/Contents/MacOS/MacJREInstaller",
""
)
2015-03-06 12:16:02.596 MacJREInstaller[513:5804] Install Log: Type:Other Severity:Debug Message:Dictionary:{
}
Mar 6 12:16:02 computername.janelia.priv MacJREInstaller[513] <Warning>: Untrusted apps are not allowed to connect to Window Server before login.
Mar 6 12:16:02 computername.janelia.priv MacJREInstaller[513] <Error>: Set a breakpoint at CGSLogError to catch errors as they are logged.
Mar 6 12:16:02 computername.janelia.priv MacJREInstaller[513] <Error>: This user is not allowed access to the window system right now.
_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
Mar 6 12:16:02 computername.janelia.priv MacJREInstaller[513] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Mar 6 12:16:02 computername.janelia.priv MacJREInstaller[513] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Mar 6 12:16:02 computername.janelia.priv MacJREInstaller[513] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Mar 6 12:16:02 computername.janelia.priv MacJREInstaller[513] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Mar 6 12:16:02 computername.janelia.priv MacJREInstaller[513] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Mar 6 12:16:02 computername.janelia.priv MacJREInstaller[513] <Warning>: Invalid Connection ID 0
Mar 6 12:16:02 computername.janelia.priv MacJREInstaller[513] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Mar 6 12:16:02 computername.janelia.priv MacJREInstaller[513] <Warning>: Invalid Connection ID 0
2015-03-06 12:16:02.793 MacJREInstaller[513:5804] An uncaught exception was raised
2015-03-06 12:16:02.793 MacJREInstaller[513:5804] Error (1000) creating CGSWindow on line 281
2015-03-06 12:16:02.793 MacJREInstaller[513:5804] (
0 CoreFoundation 0x000000010b2ae66c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x000000010ae7876e objc_exception_throw + 43
2 CoreFoundation 0x000000010b2ae51d +[NSException raise:format:] + 205
3 AppKit 0x000000010b7a459d _NSCreateWindowWithOpaqueShape2 + 1417
4 AppKit 0x000000010b7a2906 -[NSWindow _commonAwake] + 1882
5 AppKit 0x000000010b7b1ef0 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 803
6 AppKit 0x000000010b7b1927 -[NSWindow _doOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 829
7 AppKit 0x000000010b7b157b -[NSWindow orderWindow:relativeTo:] + 159
8 AppKit 0x000000010bb666cb -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 1470
9 AppKit 0x000000010b676605 loadNib + 384
10 AppKit 0x000000010bbe75ab +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 313
11 AppKit 0x000000010bbe7ca8 +[NSBundle(NSNibLoadingInternal) _loadNibFile:externalNameTable:options:withZone:] + 150
12 AppKit 0x000000010b675bc0 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 631
13 AppKit 0x000000010b671549 NSApplicationMain + 605
14 MacJREInstaller 0x000000010a0d4a1e main + 1528
15 MacJREInstaller 0x000000010a0ce7c0 start + 52
)
2015-03-06 12:16:02.793 MacJREInstaller[513:5804] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error (1000) creating CGSWindow on line 281'
*** First throw call stack:
(
0 CoreFoundation 0x000000010b2ae66c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x000000010ae7876e objc_exception_throw + 43
2 CoreFoundation 0x000000010b2ae51d +[NSException raise:format:] + 205
3 AppKit 0x000000010b7a459d _NSCreateWindowWithOpaqueShape2 + 1417
4 AppKit 0x000000010b7a2906 -[NSWindow _commonAwake] + 1882
5 AppKit 0x000000010b7b1ef0 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 803
6 AppKit 0x000000010b7b1927 -[NSWindow _doOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 829
7 AppKit 0x000000010b7b157b -[NSWindow orderWindow:relativeTo:] + 159
8 AppKit 0x000000010bb666cb -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 1470
9 AppKit 0x000000010b676605 loadNib + 384
10 AppKit 0x000000010bbe75ab +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 313
11 AppKit 0x000000010bbe7ca8 +[NSBundle(NSNibLoadingInternal) _loadNibFile:externalNameTable:options:withZone:] + 150
12 AppKit 0x000000010b675bc0 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 631
13 AppKit 0x000000010b671549 NSApplicationMain + 605
14 MacJREInstaller 0x000000010a0d4a1e main + 1528
15 MacJREInstaller 0x000000010a0ce7c0 start + 52
)
libc++abi.dylib: terminating with uncaught exception of type NSException
computername:~ username$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment