Some easy java help required

Kay
Say for example i had:
public int[] i d= new int[3];
{code}And i[0] was set to 3, i[1] was set to 5, i[2] was set to 4, and i[3] was set to 1.
Basically in easier terms:
{code:java}
i[0] = 3;
i[1] = 5;
i[2] = 4;
i[3] = 1;
{code}Right, how would i make an alternative int like this:
{code:java}
int highestNumber = (*);
{code}Basically i want (*) to select the biggest integer out of the i[] int. So in that case i would want it to automatically select i[1] as it has the largest amount, that's what i need help with.
*ALSO*
How could i reset all of those int's to 0 in one easy code?
Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Ryan_Stanyer wrote:
Can you tell me why that wouldn't work? Or what alternative method i can use to make something with the same function?You create an array of 3 elements but try to put 4 elements there.
And also.
Ryan_Stanyer wrote:
int highestNumber = (*);
{code}Basically i want (*) to select the biggest integer out of the i[] int. So in that case i would want it to automatically select i[1] as it has the largest amount, that's what i need help with.create a method
int getMaximalItem(int []array) [
   //implementation goes here
Ryan_Stanyer wrote:ALSO
How could i reset all of those int's to 0 in one easy code?
Thanks.Create a method like:
public void setToZeros(int []array) {
   // implementation goes here
}Put some effort into this task and then ask specific questions if somethings are still not working.
Regards,

Similar Messages

  • Some knowledge and help required!

    I've been a long term reader of the boards, and thanks to them have never had to post on here... until now!
    My 2009 Macbook Pro has within the last couple of months developed a seriously annoying problem. Immediately upon waking from sleep, the wifi seems to struggle to find a connection and keeps showing the searching symbol. If I try click on the symbol, or do ANYTHING else, I get the beachball, and the system completely freezes and I have to do a hard restart. This was a sudden thing, my macbook had been working perfectly before this.
    Now, I first took it to the apple store after my harddrive supposedly failed, I thought maybe all the hard restarts due to the freezing had damaged the drive, or that maybe the drive was responsible for the problems in the first place. The genius suggested I send my SSD back to Samsung (I had installed an 840 SATA SSD about 10 months fine and had been working perfectly), which I did. Samsung then returned the same SSD with no apparent damage. Tried to re-upload my data from a time machine backup which failed when reaching around 14%, causing the drive to become unreadable again and causing kernel panics on startup. So again, another trip to the genius bar where my drive was wiped and I was able to upload Mavericks, after which I used migration assistant to restore my data. I then tried to see if the sleep bug had disappeared but it still remains!
    After yet more disappointment and more searching of online communities, I tried the apple hardware test, which came back as all clear. Disc utilities and Onyx have all reported no damage and say the system appears to be ok. I have even tried deleting prefered networks in the network preferences as I had seen this suggested for something similar that some Lion users had seen. So now, I'm completely stuck and am dreading another trip to the apple store!
    My specs are...
    Macbook Pro 2009
    2.26 GHz Intel core 2 duo
    8GB 1067 MHz DDR3 (installed by me)
    250GB 840 series SSD SATA (installed by me)
    Below is the log from one of the freezes. Maybe this will help any kind soul that may have more of an idea than me!
    19/03/2014 15:02:03.237 com.apple.time[173]: Interval maximum value is 946100000 seconds (specified value: 9223372036854775807).
    19/03/2014 15:02:07.000 kernel[0]: AirPort_Brcm43xx::powerChange: System Sleep
    19/03/2014 15:09:47.000 bootlog[0]: BOOT_TIME 1395241787 0
    19/03/2014 15:09:50.000 syslogd[19]: Configuration Notice:
    ASL Module "com.apple.appstore" claims selected messages.
    Those messages may not appear in standard system log files or in the ASL database.
    19/03/2014 15:09:50.000 syslogd[19]: Configuration Notice:
    ASL Module "com.apple.authd" sharing output destination "/var/log/system.log" with ASL Module "com.apple.asl".
    Output parameters from ASL Module "com.apple.asl" override any specified in ASL Module "com.apple.authd".
    19/03/2014 15:09:50.000 syslogd[19]: Configuration Notice:
    ASL Module "com.apple.authd" claims selected messages.
    Those messages may not appear in standard system log files or in the ASL database.
    19/03/2014 15:09:50.000 syslogd[19]: Configuration Notice:
    ASL Module "com.apple.bookstore" claims selected messages.
    Those messages may not appear in standard system log files or in the ASL database.
    19/03/2014 15:09:50.000 syslogd[19]: Configuration Notice:
    ASL Module "com.apple.eventmonitor" claims selected messages.
    Those messages may not appear in standard system log files or in the ASL database.
    19/03/2014 15:09:50.000 syslogd[19]: Configuration Notice:
    ASL Module "com.apple.install" claims selected messages.
    Those messages may not appear in standard system log files or in the ASL database.
    19/03/2014 15:09:50.000 syslogd[19]: Configuration Notice:
    ASL Module "com.apple.iokit.power" claims selected messages.
    Those messages may not appear in standard system log files or in the ASL database.
    19/03/2014 15:09:50.000 syslogd[19]: Configuration Notice:
    ASL Module "com.apple.mail" claims selected messages.
    Those messages may not appear in standard system log files or in the ASL database.
    19/03/2014 15:09:50.000 syslogd[19]: Configuration Notice:
    ASL Module "com.apple.MessageTracer" claims selected messages.
    Those messages may not appear in standard system log files or in the ASL database.
    19/03/2014 15:09:50.000 syslogd[19]: Configuration Notice:
    ASL Module "com.apple.performance" claims selected messages.
    Those messages may not appear in standard system log files or in the ASL database.
    19/03/2014 15:09:50.000 syslogd[19]: Configuration Notice:
    ASL Module "com.apple.securityd" claims selected messages.
    Those messages may not appear in standard system log files or in the ASL database.
    19/03/2014 15:09:50.000 syslogd[19]: Configuration Notice:
    ASL Module "com.apple.securityd" claims selected messages.
    Those messages may not appear in standard system log files or in the ASL database.
    19/03/2014 15:09:50.000 syslogd[19]: Configuration Notice:
    ASL Module "com.apple.securityd" claims selected messages.
    Those messages may not appear in standard system log files or in the ASL database.
    19/03/2014 15:09:50.000 syslogd[19]: Configuration Notice:
    ASL Module "com.apple.securityd" claims selected messages.
    Those messages may not appear in standard system log files or in the ASL database.
    19/03/2014 15:09:50.000 syslogd[19]: Configuration Notice:
    ASL Module "com.apple.securityd" claims selected messages.
    Those messages may not appear in standard system log files or in the ASL database.
    19/03/2014 15:09:50.000 syslogd[19]: Configuration Notice:
    ASL Module "com.apple.securityd" claims selected messages.
    Those messages may not appear in standard system log files or in the ASL database.
    19/03/2014 15:09:50.000 syslogd[19]: Configuration Notice:
    ASL Module "com.apple.securityd" claims selected messages.
    Those messages may not appear in standard system log files or in the ASL database.
    19/03/2014 15:09:50.000 kernel[0]: Longterm timer threshold: 1000 ms
    19/03/2014 15:09:50.000 kernel[0]: Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64
    19/03/2014 15:09:50.000 kernel[0]: vm_page_bootstrap: 1946759 free pages and 68473 wired pages
    19/03/2014 15:09:50.000 kernel[0]: kext submap [0xffffff7f807a6000 - 0xffffff8000000000], kernel text [0xffffff8000200000 - 0xffffff80007a6000]
    19/03/2014 15:09:50.000 kernel[0]: zone leak detection enabled
    19/03/2014 15:09:50.000 kernel[0]: "vm_compressor_mode" is 4
    19/03/2014 15:09:50.000 kernel[0]: standard timeslicing quantum is 10000 us
    19/03/2014 15:09:50.000 kernel[0]: standard background quantum is 2500 us
    19/03/2014 15:09:50.000 kernel[0]: mig_table_max_displ = 74
    19/03/2014 15:09:50.000 kernel[0]: AppleACPICPU: ProcessorId=0 LocalApicId=0 Enabled
    19/03/2014 15:09:50.000 kernel[0]: AppleACPICPU: ProcessorId=1 LocalApicId=1 Enabled
    19/03/2014 15:09:50.000 kernel[0]: calling mpo_policy_init for TMSafetyNet
    19/03/2014 15:09:50.000 kernel[0]: Security policy loaded: Safety net for Time Machine (TMSafetyNet)
    19/03/2014 15:09:50.000 kernel[0]: calling mpo_policy_init for Sandbox
    19/03/2014 15:09:50.000 kernel[0]: Security policy loaded: Seatbelt sandbox policy (Sandbox)
    19/03/2014 15:09:50.000 kernel[0]: calling mpo_policy_init for Quarantine
    19/03/2014 15:09:50.000 kernel[0]: Security policy loaded: Quarantine policy (Quarantine)
    19/03/2014 15:09:50.000 kernel[0]: Copyright (c) 1982, 1986, 1989, 1991, 1993
    19/03/2014 15:09:50.000 kernel[0]: The Regents of the University of California. All rights reserved.
    19/03/2014 15:09:50.000 kernel[0]: MAC Framework successfully initialized
    19/03/2014 15:09:50.000 kernel[0]: using 16384 buffer headers and 10240 cluster IO buffer headers
    19/03/2014 15:09:50.000 kernel[0]: AppleKeyStore starting (BUILT: Jan 16 2014 20:19:00)
    19/03/2014 15:09:50.000 kernel[0]: IOAPIC: Version 0x11 Vectors 64:87
    19/03/2014 15:09:50.000 kernel[0]: ACPI: sleep states S3 S4 S5
    19/03/2014 15:09:50.000 kernel[0]: pci (build 20:00:24 Jan 16 2014), flags 0x63008, pfm64 (36 cpu) 0xf80000000, 0x80000000
    19/03/2014 15:09:50.000 kernel[0]: AppleIntelCPUPowerManagement: (built 19:46:50 Jan 16 2014) initialization complete
    19/03/2014 15:09:50.000 kernel[0]: [ PCI configuration begin ]
    19/03/2014 15:09:50.000 kernel[0]: Sleep failure code 0x00004000 0x27006500
    19/03/2014 15:09:50.000 kernel[0]: console relocated to 0xf80010000
    19/03/2014 15:09:50.000 kernel[0]: [ PCI configuration end, bridges 5, devices 18 ]
    19/03/2014 15:09:50.000 kernel[0]: NVEthernet::start - Built Jan 16 2014 20:18:49
    19/03/2014 15:09:50.000 kernel[0]: FireWire (OHCI) Lucent ID 5901 built-in now active, GUID 00254bfffece7d4a; max speed s800.
    19/03/2014 15:09:50.000 kernel[0]: USBMSC Identifier (non-unique): 000000009833 0x5ac 0x8403 0x9833, 2
    19/03/2014 15:09:50.000 kernel[0]: mcache: 2 CPU(s), 64 bytes CPU cache line size
    19/03/2014 15:09:50.000 kernel[0]: mbinit: done [64 MB total pool size, (42/21) split]
    19/03/2014 15:09:50.000 kernel[0]: Pthread support ABORTS when sync kernel primitives misused
    19/03/2014 15:09:50.000 kernel[0]: rooting via boot-uuid from /chosen: CE8F1BC6-DE7C-33DE-A64C-24758685A98B
    19/03/2014 15:09:50.000 kernel[0]: Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
    19/03/2014 15:09:50.000 kernel[0]: com.apple.AppleFSCompressionTypeZlib kmod start
    19/03/2014 15:09:50.000 kernel[0]: com.apple.AppleFSCompressionTypeDataless kmod start
    19/03/2014 15:09:50.000 kernel[0]: com.apple.AppleFSCompressionTypeZlib load succeeded
    19/03/2014 15:09:50.000 kernel[0]: com.apple.AppleFSCompressionTypeDataless load succeeded
    19/03/2014 15:09:50.000 kernel[0]: AppleIntelCPUPowerManagementClient: ready
    19/03/2014 15:09:50.000 kernel[0]: Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@B/AppleMCP79AHCI/PR T0@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageD river/Samsung SSD 840 Series Media/IOGUIDPartitionScheme/Macintosh HD@2
    19/03/2014 15:09:50.000 kernel[0]: BSD root: disk0s2, major 1, minor 2
    19/03/2014 15:09:50.000 kernel[0]: jnl: b(1, 2): replay_journal: from: 7869440 to: 12563456 (joffset 0xe8e000)
    19/03/2014 15:09:50.000 kernel[0]: BTCOEXIST off
    19/03/2014 15:09:50.000 kernel[0]: BRCM tunables:
    19/03/2014 15:09:50.000 kernel[0]: pullmode[1] txringsize[  256] txsendqsize[1024] reapmin[   32] reapcount[  128]
    19/03/2014 15:09:50.000 kernel[0]: jnl: b(1, 2): journal replay done.
    19/03/2014 15:09:50.000 kernel[0]: hfs: mounted Macintosh HD on device root_device
    19/03/2014 15:09:50.000 kernel[0]: hfs: Removed 21 orphaned / unlinked files and 48 directories
    19/03/2014 15:09:48.354 com.apple.launchd[1]: *** launchd[1] has started up. ***
    19/03/2014 15:09:48.354 com.apple.launchd[1]: *** Shutdown logging is enabled. ***
    19/03/2014 15:09:50.731 com.apple.SecurityServer[15]: Session 100000 created
    19/03/2014 15:09:50.000 kernel[0]: IO80211Controller::dataLinkLayerAttachComplete():  adding AppleEFINVRAM notification
    19/03/2014 15:09:50.000 kernel[0]: IO80211Interface::efiNVRAMPublished():
    19/03/2014 15:09:51.030 com.apple.SecurityServer[15]: Entering service
    19/03/2014 15:09:51.000 kernel[0]: IOBluetoothUSBDFU::probe
    19/03/2014 15:09:51.000 kernel[0]: IOBluetoothUSBDFU::probe ProductID - 0x8213 FirmwareVersion - 0x0207
    19/03/2014 15:09:51.000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][start] -- completed -- result = TRUE -- 0x0c00 ****
    19/03/2014 15:09:51.000 kernel[0]: **** [BroadcomBluetoothHostControllerUSBTransport][start] -- Completed -- 0x0c00 ****
    19/03/2014 15:09:51.000 kernel[0]: NVDAStartup: Official
    19/03/2014 15:09:51.000 kernel[0]: SMC::smcReadKeyAction ERROR: smcReadData8 failed for key LsNM (kSMCKeyNotFound)
    19/03/2014 15:09:51.000 kernel[0]: SMC::smcReadKeyAction ERROR LsNM kSMCKeyNotFound(0x84) fKeyHashTable=0x0
    19/03/2014 15:09:51.000 kernel[0]: SMC::smcGetLightshowVers ERROR: smcReadKey LsNM failed (kSMCKeyNotFound)
    19/03/2014 15:09:51.000 kernel[0]: SMC::smcPublishLightshowVersion ERROR: smcGetLightshowVers failed (kSMCKeyNotFound)
    19/03/2014 15:09:51.000 kernel[0]: SMC::smcInitHelper ERROR: smcPublishLightshowVersion failed (kSMCKeyNotFound)
    19/03/2014 15:09:51.000 kernel[0]: Previous Shutdown Cause: 3
    19/03/2014 15:09:51.000 kernel[0]: SMC::smcInitHelper ERROR: MMIO regMap == NULL - fall back to old SMC mode
    19/03/2014 15:09:51.000 kernel[0]: NVDANV50HAL loaded and registered
    19/03/2014 15:09:51.000 kernel[0]: init
    19/03/2014 15:09:51.000 kernel[0]: probe
    19/03/2014 15:09:51.000 kernel[0]: start
    19/03/2014 15:09:51.000 kernel[0]: [IOBluetoothHCIController][staticBluetoothHCIControllerTransportShowsUp] -- Received Bluetooth Controller register service notification -- 0x0c00
    19/03/2014 15:09:51.000 kernel[0]: [IOBluetoothHCIController][start] -- completed
    19/03/2014 15:09:51.203 UserEventAgent[11]: Failed to copy info dictionary for bundle /System/Library/UserEventPlugins/alfUIplugin.plugin
    19/03/2014 15:09:51.217 UserEventAgent[11]: Captive: CNPluginHandler en1: Inactive
    19/03/2014 15:09:51.000 kernel[0]: [IOBluetoothHCIController::setConfigState] calling registerService
    19/03/2014 15:09:51.000 kernel[0]: **** [IOBluetoothHCIController][protectedBluetoothHCIControllerTransportShowsUp] -- Connected to the transport successfully -- 0xb480 -- 0x5000 -- 0x0c00 ****
    19/03/2014 15:09:51.000 kernel[0]: flow_divert_kctl_disconnect (0): disconnecting group 1
    19/03/2014 15:09:51.000 kernel[0]: 00000000  00000020  NVEthernet::setLinkStatus - not Active
    19/03/2014 15:09:51.721 fseventsd[38]: event logs in /.fseventsd out of sync with volume. destroying old logs. (2914 4 3378)
    19/03/2014 15:09:51.721 fseventsd[38]: log dir: /.fseventsd getting new uuid: CC1570F6-D1D4-42FF-87AC-B3B13D8DF1FE
    19/03/2014 15:09:51.000 kernel[0]: DSMOS has arrived
    19/03/2014 15:09:51.000 kernel[0]: AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).
    19/03/2014 15:09:51.838 configd[18]: dhcp_arp_router: en1 SSID unavailable
    19/03/2014 15:09:51.850 configd[18]: setting hostname to "ben-dodsons-macbook-pro.local"
    19/03/2014 15:09:51.856 configd[18]: network changed.
    19/03/2014 15:09:51.000 kernel[0]: SMC::smcReadKeyAction ERROR: smcReadData8 failed for key MOTP (kSMCKeyNotFound)
    19/03/2014 15:09:51.000 kernel[0]: SMC::smcReadKeyAction ERROR: smcReadData8 failed for key BEMB (kSMCKeyNotFound)
    19/03/2014 15:09:52.000 kernel[0]: VM Swap Subsystem is ON
    19/03/2014 15:09:52.271 hidd[68]: void __IOHIDPlugInLoadBundles(): Loaded 0 HID plugins
    19/03/2014 15:09:52.272 hidd[68]: Posting 'com.apple.iokit.hid.displayStatus' notifyState=1
    19/03/2014 15:09:52.337 loginwindow[63]: Login Window Application Started
    19/03/2014 15:09:52.385 digest-service[85]: label: default
    19/03/2014 15:09:52.385 digest-service[85]:                   dbname: od:/Local/Default
    19/03/2014 15:09:52.385 digest-service[85]:                   mkey_file: /var/db/krb5kdc/m-key
    19/03/2014 15:09:52.385 digest-service[85]:                   acl_file: /var/db/krb5kdc/kadmind.acl
    19/03/2014 15:09:52.394 awacsd[79]: Starting awacsd connectivity_executables-97 (Aug 24 2013 23:49:23)
    19/03/2014 15:09:52.401 mDNSResponder[60]: mDNSResponder mDNSResponder-522.90.2 (Nov 3 2013 18:51:09) starting OSXVers 13
    19/03/2014 15:09:52.403 digest-service[85]: digest-request: uid=0
    19/03/2014 15:09:52.408 awacsd[79]: InnerStore CopyAllZones: no info in Dynamic Store
    19/03/2014 15:09:52.546 com.apple.usbmuxd[45]: usbmuxd-327.4 on Feb 12 2014 at 14:54:33, running 64 bit
    19/03/2014 15:09:52.564 digest-service[85]: digest-request: netr probe 0
    19/03/2014 15:09:52.566 digest-service[85]: digest-request: init request
    19/03/2014 15:09:52.580 digest-service[85]: digest-request: init return domain: BUILTIN server: BEN-DODSONS-MACBOOK-PRO indomain was: <NULL>
    19/03/2014 15:09:52.731 apsd[81]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1102)
    19/03/2014 15:09:52.771 mDNSResponder[60]: D2D_IPC: Loaded
    19/03/2014 15:09:52.771 mDNSResponder[60]: D2DInitialize succeeded
    19/03/2014 15:09:52.775 configd[18]: network changed.
    19/03/2014 15:09:52.789 configd[18]: network changed: DNS*
    19/03/2014 15:09:52.793 mDNSResponder[60]:   4: Listening for incoming Unix Domain Socket client requests
    19/03/2014 15:09:52.929 networkd[113]: networkd.113 built Aug 24 2013 22:08:46
    19/03/2014 15:09:52.000 kernel[0]: [BNBMouseDevice::init][80.14] init is complete
    19/03/2014 15:09:53.065 WindowServer[94]: Server is starting up
    19/03/2014 15:09:53.000 kernel[0]: [BNBMouseDevice::handleStart][80.14] returning 1
    19/03/2014 15:09:53.000 kernel[0]: [AppleMultitouchHIDEventDriver::start] entered
    19/03/2014 15:09:53.076 WindowServer[94]: Session 256 retained (2 references)
    19/03/2014 15:09:53.076 WindowServer[94]: Session 256 released (1 references)
    19/03/2014 15:09:53.097 WindowServer[94]: Session 256 retained (2 references)
    19/03/2014 15:09:53.100 WindowServer[94]: init_page_flip: page flip mode is on
    19/03/2014 15:09:53.204 mds[59]: (Normal) FMW: FMW 0 0
    19/03/2014 15:09:53.000 kernel[0]: [AppleMultitouchDevice::start] entered
    19/03/2014 15:09:53.410 locationd[65]: NBB-Could not get UDID for stable refill timing, falling back on random
    19/03/2014 15:09:53.503 locationd[65]: Location icon should now be in state 'Inactive'
    19/03/2014 15:09:53.507 locationd[65]: locationd was started after an unclean shutdown
    19/03/2014 15:09:53.653 mds[59]: (Warning) Server: No stores registered for metascope "kMDQueryScopeComputer"
    19/03/2014 15:09:53.668 mds[59]: (Warning) Server: No stores registered for metascope "kMDQueryScopeComputer"
    19/03/2014 15:09:53.733 mds[59]: (Warning) Server: No stores registered for metascope "kMDQueryScopeComputer"
    19/03/2014 15:09:53.766 airportd[83]: airportdProcessDLILEvent: en1 attached (up)
    19/03/2014 15:09:53.000 kernel[0]: createVirtIf(): ifRole = 1
    19/03/2014 15:09:53.000 kernel[0]: in func createVirtualInterface ifRole = 1
    19/03/2014 15:09:53.000 kernel[0]: AirPort_Brcm4331_P2PInterface::init name <p2p0> role 1
    19/03/2014 15:09:53.000 kernel[0]: AirPort_Brcm4331_P2PInterface::init() <p2p> role 1
    19/03/2014 15:09:53.000 kernel[0]: Created virtif 0xffffff8017f32400 p2p0
    19/03/2014 15:09:53.000 kernel[0]: nspace-handler-set-snapshot-time: 1395241795
    19/03/2014 15:09:53.802 com.apple.mtmd[58]: Set snapshot time: 2014-03-19 15:09:55 +0000 (current time: 2014-03-19 15:09:53 +0000)
    19/03/2014 15:09:53.810 WindowServer[94]: Found 27 modes for display 0x00000000 [24, 3]
    19/03/2014 15:09:53.819 WindowServer[94]: Found 1 modes for display 0x00000000 [1, 0]
    19/03/2014 15:09:53.829 WindowServer[94]: mux_initialize: Couldn't find any matches
    19/03/2014 15:09:53.832 WindowServer[94]: Found 27 modes for display 0x00000000 [24, 3]
    19/03/2014 15:09:53.841 WindowServer[94]: Found 1 modes for display 0x00000000 [1, 0]
    19/03/2014 15:09:53.868 WindowServer[94]: WSMachineUsesNewStyleMirroring: false
    19/03/2014 15:09:53.868 WindowServer[94]: Display 0x04272f40: GL mask 0x1; bounds (0, 0)[1280 x 800], 27 modes available
    Main, Active, on-line, enabled, built-in, boot, Vendor 610, Model 9cbd, S/N 0, Unit 0, Rotation 0
    UUID 0x4aa0e71648884bb263bcdf6519c05a2b
    19/03/2014 15:09:53.868 WindowServer[94]: Display 0x003f003d: GL mask 0x2; bounds (0, 0)[0 x 0], 1 modes available
    off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 1, Rotation 0
    UUID 0xffffffffffffffffffffffffffffffff
    19/03/2014 15:09:53.879 WindowServer[94]: WSSetWindowTransform: Singular matrix
    19/03/2014 15:09:53.884 WindowServer[94]: Display 0x04272f40: GL mask 0x1; bounds (0, 0)[1280 x 800], 27 modes available
    Main, Active, on-line, enabled, built-in, boot, Vendor 610, Model 9cbd, S/N 0, Unit 0, Rotation 0
    UUID 0x4aa0e71648884bb263bcdf6519c05a2b
    19/03/2014 15:09:53.884 WindowServer[94]: Display 0x003f003d: GL mask 0x2; bounds (2304, 0)[1 x 1], 1 modes available
    off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 1, Rotation 0
    UUID 0xffffffffffffffffffffffffffffffff
    19/03/2014 15:09:53.884 WindowServer[94]: CGXPerformInitialDisplayConfiguration
    19/03/2014 15:09:53.884 WindowServer[94]:   Display 0x04272f40: Unit 0; Vendor 0x610 Model 0x9cbd S/N 0 Dimensions 11.26 x 7.05; online enabled built-in, Bounds (0,0)[1280 x 800], Rotation 0, Resolution 1
    19/03/2014 15:09:53.885 WindowServer[94]:   Display 0x003f003d: Unit 1; Vendor 0xffffffff Model 0xffffffff S/N -1 Dimensions 0.00 x 0.00; offline enabled, Bounds (2304,0)[1 x 1], Rotation 0, Resolution 1
    19/03/2014 15:09:53.944 WindowServer[94]: GLCompositor: GL renderer id 0x0102260e, GL mask 0x00000003, accelerator 0x0000418b, unit 0, caps QEX|MIPMAP, vram 256 MB
    19/03/2014 15:09:53.950 WindowServer[94]: GLCompositor: GL renderer id 0x0102260e, GL mask 0x00000003, texture max 8192, viewport max {8192, 8192}, extensions FPRG|NPOT|GLSL|FLOAT
    19/03/2014 15:09:53.950 WindowServer[94]: GLCompositor enabled for tile size [256 x 256]
    19/03/2014 15:09:53.950 WindowServer[94]: CGXGLInitMipMap: mip map mode is on
    19/03/2014 15:09:53.961 loginwindow[63]: **DMPROXY** Found `/System/Library/CoreServices/DMProxy'.
    19/03/2014 15:09:54.059 WindowServer[94]: Display 0x04272f40: Unit 0; ColorProfile { 2, "Color LCD"}; TransferTable (256, 12)
    19/03/2014 15:09:54.146 systemkeychain[91]: done file: /var/run/systemkeychaincheck.done
    19/03/2014 15:09:54.184 launchctl[134]: com.apple.findmymacmessenger: Already loaded
    19/03/2014 15:09:54.263 loginwindow[63]: Setting the initial value of the magsave brightness level 1
    19/03/2014 15:09:54.321 loginwindow[63]: Login Window Started Security Agent
    19/03/2014 15:09:54.450 SecurityAgent[142]: This is the first run
    19/03/2014 15:09:54.450 SecurityAgent[142]: MacBuddy was run = 0
    19/03/2014 15:09:54.486 WindowServer[94]: _CGXGLDisplayContextForDisplayDevice: acquired display context (0x7f86cac11c00) - enabling OpenGL
    19/03/2014 15:09:54.498 com.apple.SecurityServer[15]: Session 100004 created
    19/03/2014 15:09:55.000 kernel[0]: hfs: mounted Recovery HD on device disk0s3
    19/03/2014 15:09:55.117 mds[59]: (Normal) Volume: volume:0x7f925306b000 ********** Bootstrapped Creating a default store:0 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Volumes/Recovery HD
    19/03/2014 15:09:55.230 fseventsd[38]: Logging disabled completely for device:1: /Volumes/Recovery HD
    19/03/2014 15:09:55.000 kernel[0]: hfs: unmount initiated on Recovery HD on device disk0s3
    19/03/2014 15:09:55.415 UserEventAgent[136]: Failed to copy info dictionary for bundle /System/Library/UserEventPlugins/alfUIplugin.plugin
    19/03/2014 15:09:55.882 WindowServer[94]: **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'.
    19/03/2014 15:09:55.931 WindowServer[94]: Display 0x04272f40: Unit 0; ColorProfile { 2, "Color LCD"}; TransferTable (256, 12)
    19/03/2014 15:09:55.950 WindowServer[94]: Display 0x04272f40: Unit 0; ColorProfile { 2, "Color LCD"}; TransferTable (256, 12)
    19/03/2014 15:09:56.000 kernel[0]: en1: 802.11d country code set to 'GB'.
    19/03/2014 15:09:56.000 kernel[0]: en1: Supported channels 1 2 3 4 5 6 7 8 9 10 11 12 13 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140
    19/03/2014 15:09:56.000 kernel[0]: MacAuthEvent en1   Auth result for: cc:33:bb:58:bf:f4  MAC AUTH succeeded
    19/03/2014 15:09:56.000 kernel[0]: wlEvent: en1 en1 Link UP virtIf = 0
    19/03/2014 15:09:56.000 kernel[0]: AirPort: Link Up on en1
    19/03/2014 15:09:56.000 kernel[0]: en1: BSSID changed to cc:33:bb:58:bf:f4
    19/03/2014 15:09:56.000 kernel[0]: AirPort: RSN handshake complete on en1
    19/03/2014 15:09:56.000 kernel[0]: flow_divert_kctl_disconnect (0): disconnecting group 1
    19/03/2014 15:09:58.162 SecurityAgent[142]: User info context values set for Ben
    19/03/2014 15:09:58.392 SecurityAgent[142]: Login Window login proceeding
    19/03/2014 15:09:58.669 loginwindow[63]: Login Window - Returned from Security Agent
    19/03/2014 15:09:58.722 loginwindow[63]: USER_PROCESS: 63 console
    19/03/2014 15:09:58.761 mtmfs[57]: mount succeeded for /Volumes/MobileBackups
    19/03/2014 15:09:58.773 mds[59]: (Normal) Volume: volume:0x7f9253069000 ********** Bootstrapped Creating a default store:0 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Volumes/MobileBackups
    19/03/2014 15:09:58.773 mds[59]: (Normal) Volume: volume:0x7f9253069000 ********** Created snapshot backup index
    19/03/2014 15:09:58.869 airportd[83]: _doAutoJoin: Already associated to “BTHub4-ZN8J”. Bailing on auto-join.
    19/03/2014 15:09:58.000 kernel[0]: AppleKeyStore:Sending lock change 0
    19/03/2014 15:09:58.954 com.apple.launchd.peruser.501[163]: Background: Aqua: Registering new GUI session.
    19/03/2014 15:09:58.983 com.apple.launchd.peruser.501[163]: (com.divx.agent.postinstall) Unknown key: LimitToSessionType
    19/03/2014 15:09:58.983 com.apple.launchd.peruser.501[163]: (com.robohippo.HippoConnectAgent) Ignored this key: UserName
    19/03/2014 15:09:58.983 com.apple.launchd.peruser.501[163]: (com.robohippo.HippoConnectAgent) Ignored this key: GroupName
    19/03/2014 15:09:58.985 com.apple.launchd.peruser.501[163]: (com.apple.EscrowSecurityAlert) Unknown key: seatbelt-profiles
    19/03/2014 15:09:58.987 com.apple.launchd.peruser.501[163]: (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
    19/03/2014 15:09:58.993 launchctl[165]: com.apple.pluginkit.pkd: Already loaded
    19/03/2014 15:09:58.993 launchctl[165]: com.apple.sbd: Already loaded
    19/03/2014 15:09:59.025 configd[18]: network changed: DNS* Proxy
    19/03/2014 15:09:59.026 UserEventAgent[11]: Captive: [CNInfoNetworkActive:1655] en1: SSID 'BTHub4-ZN8J' making interface primary (protected network)
    19/03/2014 15:09:59.028 UserEventAgent[11]: Captive: CNPluginHandler en1: Evaluating
    19/03/2014 15:09:59.029 UserEventAgent[11]: Captive: en1: Probing 'BTHub4-ZN8J'
    19/03/2014 15:09:59.044 configd[18]: network changed: v4(en1!:192.168.1.70) DNS+ Proxy+ SMB
    19/03/2014 15:09:59.049 distnoted[167]: # distnote server agent  absolute time: 12.769442481   civil time: Wed Mar 19 15:09:59 2014   pid: 167 uid: 501  root: no
    19/03/2014 15:09:59.061 distnoted[167]: assertion failed: 13C64: liblaunch.dylib + 25164 [38D1AB2C-A476-385F-8EA8-7AB604CA1F89]: 0x25
    19/03/2014 15:09:59.255 WindowServer[94]: **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'.
    19/03/2014 15:09:59.435 WindowServer[94]: Display 0x04272f40: Unit 0; ColorProfile { 2, "Color LCD"}; TransferTable (256, 12)
    19/03/2014 15:10:00.010 UserEventAgent[166]: Failed to copy info dictionary for bundle /System/Library/UserEventPlugins/alfUIplugin.plugin
    19/03/2014 15:10:00.197 apsd[81]: Unexpected connection from logged out uid 501
    19/03/2014 15:10:00.274 configd[18]: setting hostname to "alasdaidsonsmbp.home"
    19/03/2014 15:10:01.090 ntpd[86]: proto: precision = 1.000 usec
    19/03/2014 15:10:01.095 UserEventAgent[11]: Captive: CNPluginHandler en1: Authenticated
    19/03/2014 15:10:01.000 kernel[0]: CODE SIGNING: cs_invalid_page(0x1000): p=208[GoogleSoftwareUp] final status 0x0, allowing (remove VALID) page
    19/03/2014 15:10:01.362 HippoConnectAgent[207]: Starting HippoConnectAgent...
    19/03/2014 15:10:01.419 HippoConnectAgent[207]: Server started on port 41660
    19/03/2014 15:10:01.629 mDNSResponder[60]: mDNS_Register_internal: ERROR!! Tried to register AuthRecord 00007FB05A817B60 ben-dodsons-macbook-pro.local. (AAAA) that's already in the list
    19/03/2014 15:10:01.629 mDNSResponder[60]: mDNS_Register_internal: ERROR!! Tried to register AuthRecord 00007FB05A817FF0 1.F.5.8.9.4.E.F.F.F.0.0.5.2.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.E.F.ip6.arpa. (PTR) that's already in the list
    19/03/2014 15:10:01.629 mDNSResponder[60]: mDNS_Register_internal: ERROR!! Tried to register AuthRecord 00007FB05B010D60 ben-dodsons-macbook-pro.local. (Addr) that's already in the list
    19/03/2014 15:10:01.629 mDNSResponder[60]: mDNS_Register_internal: ERROR!! Tried to register AuthRecord 00007FB05B0111F0 70.1.168.192.in-addr.arpa. (PTR) that's already in the list
    19/03/2014 15:10:01.666 xpcproxy[223]: assertion failed: 13C64: xpcproxy + 3438 [D559FC96-E6B1-363A-B850-C7AC9734F210]: 0x2
    19/03/2014 15:10:01.841 WindowServer[94]: [cps/setfront] Failed setting the front application to HippoConnectAgent, psn 0x0-0xc00c, securitySessionID=0x186a4, err=-13066
    19/03/2014 15:10:01.992 accountsd[224]: assertion failed: 13C64: liblaunch.dylib + 25164 [38D1AB2C-A476-385F-8EA8-7AB604CA1F89]: 0x25
    19/03/2014 15:10:02.055 apsd[81]: Unrecognized leaf certificate
    19/03/2014 15:10:02.222 com.apple.SecurityServer[15]: Session 100009 created
    19/03/2014 15:10:02.339 HippoConnectAgent[207]: Bonjour Service Published: domain(local.) type(_HippoRemote._tcp.) name(Ben Dodson’s MacBook Pro) port(41660)
    19/03/2014 15:10:02.797 sharingd[233]: Starting Up...
    19/03/2014 15:10:03.160 com.apple.SecurityServer[15]: Session 100007 created
    19/03/2014 15:10:03.167 com.apple.SecurityServer[15]: Session 100010 created
    19/03/2014 15:10:03.399 com.apple.time[166]: Interval maximum value is 946100000 seconds (specified value: 9223372036854775807).
    19/03/2014 15:10:03.431 SystemUIServer[213]: Cannot find executable for CFBundle 0x7f9b83d858d0 </System/Library/CoreServices/Menu Extras/Clock.menu> (not loaded)
    19/03/2014 15:10:03.456 SystemUIServer[213]: Cannot find executable for CFBundle 0x7f9b83d867e0 </System/Library/CoreServices/Menu Extras/Battery.menu> (not loaded)
    19/03/2014 15:10:03.458 SystemUIServer[213]: Cannot find executable for CFBundle 0x7f9b83d531e0 </System/Library/CoreServices/Menu Extras/Volume.menu> (not loaded)
    19/03/2014 15:10:03.755 com.apple.IconServicesAgent[237]: IconServicesAgent launched.
    19/03/2014 15:10:03.895 syncdefaultsd[184]: It took 3.5s to setup APSConnection
    19/03/2014 15:10:04.099 xpcproxy[239]: assertion failed: 13C64: xpcproxy + 3438 [D559FC96-E6B1-363A-B850-C7AC9734F210]: 0x2
    19/03/2014 15:10:04.325 SystemUIServer[213]: *** WARNING: -[NSImage compositeToPoint:operation:fraction:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.
    19/03/2014 15:10:04.325 SystemUIServer[213]: *** WARNING: -[NSImage compositeToPoint:fromRect:operation:fraction:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.
    19/03/2014 15:10:04.897 WiFiKeychainProxy[191]: [NO client logger] <Nov 10 2013 18:30:13> WIFICLOUDSYNC WiFiCloudSyncEngineCreate: created...
    19/03/2014 15:10:04.897 WiFiKeychainProxy[191]: [NO client logger] <Nov 10 2013 18:30:13> WIFICLOUDSYNC WiFiCloudSyncEngineRegisterCallbacks: WiFiCloudSyncEngineCallbacks version - 0, bundle id - com.apple.wifi.WiFiKeychainProxy
    19/03/2014 15:10:07.048 secd[228]:  SecErrorGetOSStatus unknown error domain: com.apple.security.sos.error for error: The operation couldn’t be completed. (com.apple.security.sos.error error 2 - Public Key not available - failed to register before call)
    19/03/2014 15:10:07.048 secd[228]:  securityd_xpc_dictionary_handler WiFiKeychainProx[191] DeviceInCircle The operation couldn’t be completed. (com.apple.security.sos.error error 2 - Public Key not available - failed to register before call)
    19/03/2014 15:10:07.134 com.apple.audio.DriverHelper[249]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class AMDRadeonX4000_AMDAccelDevice.
    19/03/2014 15:10:07.135 com.apple.audio.DriverHelper[249]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class AMDRadeonX4000_AMDAccelSharedUserClient.
    19/03/2014 15:10:07.135 com.apple.audio.DriverHelper[249]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class AMDSIVideoContext.
    19/03/2014 15:10:07.135 com.apple.audio.DriverHelper[249]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class Gen6DVDContext.
    19/03/2014 15:10:07.135 com.apple.audio.DriverHelper[249]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IGAccelDevice.
    19/03/2014 15:10:07.135 com.apple.audio.DriverHelper[249]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IGAccelSharedUserClient.
    19/03/2014 15:10:07.135 com.apple.audio.DriverHelper[249]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IGAccelVideoContextMain.
    19/03/2014 15:10:07.135 com.apple.audio.DriverHelper[249]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IGAccelVideoContextMedia.
    19/03/2014 15:10:07.135 com.apple.audio.DriverHelper[249]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IGAccelVideoContextVEBox.
    19/03/2014 15:10:07.135 com.apple.audio.DriverHelper[249]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IOBluetoothDeviceUserClient.
    19/03/2014 15:10:07.136 com.apple.audio.DriverHelper[249]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IOHIDParamUserClient.
    19/03/2014 15:10:07.136 com.apple.audio.DriverHelper[249]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IOSurfaceRootUserClient.
    19/03/2014 15:10:07.136 com.apple.audio.DriverHelper[249]: The plug-in named AirPlay.driver requires extending the sandbox for the mach service named com.apple.AirPlayXPCHelper.
    19/03/2014 15:10:07.136 com.apple.audio.DriverHelper[249]: The plug-in named AirPlay.driver requires extending the sandbox for the mach service named com.apple.blued.
    19/03/2014 15:10:07.167 com.apple.audio.DriverHelper[249]: The plug-in named BluetoothAudioPlugIn.driver requires extending the sandbox for the IOKit user-client class IOBluetoothDeviceUserClient.
    19/03/2014 15:10:07.167 com.apple.audio.DriverHelper[249]: The plug-in named BluetoothAudioPlugIn.driver requires extending the sandbox for the mach service named com.apple.blued.
    19/03/2014 15:10:07.167 com.apple.audio.DriverHelper[249]: The plug-in named BluetoothAudioPlugIn.driver requires extending the sandbox for the mach service named com.apple.bluetoothaudiod.
    19/03/2014 15:10:07.252 WindowServer[94]: disable_update_timeout: UI updates were forcibly disabled by application "Mail" for over 1.00 seconds. Server has re-enabled them.
    19/03/2014 15:10:07.711 com.apple.time[166]: Interval maximum value is 946100000 seconds (specified value: 9223372036854775807).
    19/03/2014 15:10:07.780 coreaudiod[217]: 2014-03-19 03:10:07.779644 PM [AirPlay] AirPlay: Performing audio format change for 4 (AP Out) to PCM/44100/16/2
    19/03/2014 15:10:08.047 com.apple.time[166]: Interval maximum value is 946100000 seconds (specified value: 9223372036854775807).
    19/03/2014 15:10:08.056 awacsd[79]: Exiting
    19/03/2014 15:10:08.162 Mail[214]: Could not create query for expression ((null)) && (kMDItemContentType == 'com.apple.mail.emlx')
    19/03/2014 15:10:08.329 AirPlayUIAgent[252]: 2014-03-19 03:10:08.328941 PM [AirPlayUIAgent] Changed PIN pairing: no
    19/03/2014 15:10:08.332 AirPlayUIAgent[252]: 2014-03-19 03:10:08.331632 PM [AirPlayUIAgent] Changed PIN pairing: no
    19/03/2014 15:10:08.623 com.apple.NotesMigratorService[255]: Joined Aqua audit session
    19/03/2014 15:10:08.661 com.apple.internetaccounts[239]: An instance 0x7f956b62ea10 of class IMAPMailbox was deallocated while key value observers were still registered with it. Observation info was leaked, and may even become mistakenly attached to some other object. Set a breakpoint on NSKVODeallocateBreak to stop here in the debugger. Here's the current observation info:
    <NSKeyValueObservationInfo 0x7f956b63f920> (
    <NSKeyValueObservance 0x7f956b63fa30: Observer: 0x7f956b633cd0, Key path: uidNext, Options: <New: NO, Old: NO, Prior: NO> Context: 0x7fff87a3b43b, Property: 0x7f956b63f8f0>
    19/03/2014 15:10:10.107 WindowServer[94]: common_reenable_update: UI updates were finally reenabled by application "Mail" after 3.86 seconds (server forcibly re-enabled them after 1.00 seconds)
    19/03/2014 15:10:12.627 parentalcontrolsd[265]: StartObservingFSEvents [849:] -- *** StartObservingFSEvents started event stream
    19/03/2014 15:10:12.984 com.apple.InputMethodKit.UserDictionary[266]: -[PFUbiquitySwitchboardEntryMetadata setUseLocalStorage:](760): CoreData: Ubiquity: Ben~CE23DE35-3F56-5B76-949A-FF79C212E343:UserDictionary
    Using local storage: 1
    19/03/2014 15:10:13.294 com.apple.InputMethodKit.UserDictionary[266]: -[PFUbiquitySwitchboardEntryMetadata setUseLocalStorage:](760): CoreData: Ubiquity: Ben~CE23DE35-3F56-5B76-949A-FF79C212E343:UserDictionary
    Using local storage: 0
    19/03/2014 15:10:13.730 com.apple.dock.extra[247]: <NSXPCConnection: 0x7f8d4ad01140>: received an undecodable message (no exported object to receive message). Dropping message.
    19/03/2014 15:10:22.951 com.apple.SecurityServer[15]: Session 100016 created
    19/03/2014 15:10:23.685 login[273]: USER_PROCESS: 273 ttys000
    19/03/2014 15:10:23.900 com.apple.IconServicesAgent[237]: main Failed to composit image for binding VariantBinding [0x117] flags: 0x8 binding: FileInfoBinding [0x213] - extension: mp3, UTI: public.mp3, fileType: ????.
    19/03/2014 15:10:23.901 quicklookd[246]: Warning: Cache image returned by the server has size range covering all valid image sizes. Binding: VariantBinding [0x803] flags: 0x8 binding: FileInfoBinding [0x703] - extension: mp3, UTI: public.mp3, fileType: ???? request size:16 scale: 1
    19/03/2014 15:10:24.001 com.apple.IconServicesAgent[237]: main Failed to composit image for binding VariantBinding [0x11b] flags: 0x8 binding: FileInfoBinding [0x215] - extension: m4a, UTI: com.apple.m4a-audio, fileType: ????.
    19/03/2014 15:10:24.002 quicklookd[246]: Warning: Cache image returned by the server has size range covering all valid image sizes. Binding: VariantBinding [0xa03] flags: 0x8 binding: FileInfoBinding [0x903] - extension: m4a, UTI: com.apple.m4a-audio, fileType: ???? request size:16 scale: 1
    19/03/2014 15:10:27.522 login[273]: DEAD_PROCESS: 273 ttys000
    19/03/2014 15:10:40.840 com.apple.IconServicesAgent[237]: main Failed to composit image for binding VariantBinding [0x24b] flags: 0x8 binding: FileInfoBinding [0x145] - extension: png, UTI: public.png, fileType: PNGf.
    19/03/2014 15:10:40.840 quicklookd[246]: Warning: Cache image returned by the server has size range covering all valid image sizes. Binding: VariantBinding [0xc03] flags: 0x8 binding: FileInfoBinding [0xb03] - extension: png, UTI: public.png, fileType: PNGf request size:16 scale: 1
    19/03/2014 15:10:40.888 com.apple.IconServicesAgent[237]: main Failed to composit image for binding VariantBinding [0x147] flags: 0x8 binding: FileInfoBinding [0x24d] - extension: caf, UTI: com.apple.coreaudio-format, fileType: ????.
    19/03/2014 15:10:40.889 quicklookd[246]: Warning: Cache image returned by the server has size range covering all valid image sizes. Binding: VariantBinding [0xe03] flags: 0x8 binding: FileInfoBinding [0xd03] - extension: caf, UTI: com.apple.coreaudio-format, fileType: ???? request size:16 scale: 1
    19/03/2014 15:10:50.000 kernel[0]: SMC::smcReadKeyAction ERROR: smcReadData8 failed for key B0PS (kSMCKeyNotFound)
    19/03/2014 15:10:50.000 kernel[0]: SMC::smcReadKeyAction ERROR: smcReadData8 failed for key B0OS (kSMCKeyNotFound)
    19/03/2014 15:11:00.595 Console[294]: setPresentationOptions called with NSApplicationPresentationFullScreen when there is no visible fullscreen window; this call will be ignored.
    19/03/2014 15:11:52.770 apsd[81]: Failed to send activation record to service com.apple.ManagedClient.enroll

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) at the request of a stranger on a public message board. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed: Copy a line of text from this web page into the window of another application. Wait for the script to run. It usually takes a few minutes. Then paste the results, which will have been copied automatically, back into a reply on this page. The sequence is: copy, paste, wait, paste again. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin; clear; Fb='%s\n\t(%s)\n'; Fm='\n%s\n\n%s\n'; Fr='\nRAM details\n%s\n'; Fs='\n%s: %s\n'; Fu='user %s%%, system %s%%'; AC="com.autodesk.AutoCAD  com.google.GoogleDrive"; H='^[[:space:]]*((127\.0\.0\.1|::1|fe80::1%lo0)[[:space:]]+local|(255\.){3}255[[:space:]]*broadcast)host[[:space:]]*$'; NS=networksetup; PB="/usr/libexec/PlistBuddy -c Print"; A () { [[ a -eq 0 ]]; }; M () { find -L "$d" -type f | while read f; do file -b "$f" | egrep -lq XML\|exec && echo $f; done; }; AT () { o=`file -b "$1" | egrep -v '^(A.{16}t$|cann)'`; Ps "${1##*/} format"; }; Pc () { o=`grep -v '^ *#' "$2"`; l=`wc -l <<< "$o"`; [[ l -gt 25 ]] && o=`head -n25 <<< "$o"`$'\n'"[$((l-25)) more line(s)]"; Pm "$1"; AT "$1"; }; Pm () { [[ "$o" ]] && o=`sed -E '/^ *$/d;s/^ */   /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/U.+\/Shared\//b'$'\n''s/(\/Users\/)[^/]+/\1USER/g' <<< "$o"` && printf "$Fm" "$1" "$o"; }; Pp () { o=`$PB "$2" | awk -F'= ' \/$3'/{print $2}'`; Pm "$1"; }; Ps () { o=`echo $o`; [[ ! "$o" =~ ^0?$ ]] && printf "$Fs" "$1" "$o"; }; R () { o=; [[ r -eq 0 ]]; }; SP () { system_profiler SP${1}DataType; }; id -G | grep -qw 80; a=$?; A && sudo true; r=$?; t=`date +%s`; clear; { A || echo $'No admin access\n'; A && ! R && echo $'No root access\n'; SP Software | sed -n 's/^ *//;5p;6p;8p'; h=(`SP Hardware | awk '/ Id/{print $3}; /Mem/{print $2}'`); o=$h; Ps "Model"; o=$((h[1]<4?h[1]:0)); Ps "Total RAM (GB)"; o=`SP Memory | sed '1,5d;/[my].*:/d'`; [[ "$o" =~ s:\ [^O]|x([^08]|0[^2]|8[^0]) ]] && printf "$Fr" "$o"; o=`SP Diagnostics | sed '5,6!d'`; [[ "$o" =~ Pass ]] || Pm "POST"; p=`SP Power`; o=`awk '/Cy/{print $NF}' <<< "$p"`; o=$((o>=300?o:0)); Ps "Battery cycles"; o=`sed -n '/Cond.*: [^N]/{s/^.*://p;}' <<< "$p"`; Ps "Battery condition"; for b in FireWire Thunderbolt USB; do o=`SP $b | sed -En '1d;/:$/{s/ *:$//;x;s/\n//g;s/\).*/)/p;};/^ *(V.+ [0N]|Man).+ /{s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};/Apple|Genesy|Intel|SMSC/{s/.//g;h;}'`; Pm $b; done; o=`pmset -g therm | sed 's/^.*C/C/'`; [[ "$o" =~ No\ th|pms ]] && o=; Pm "Thermal conditions"; o=`pmset -g sysload | grep -v :`; [[ "$o" =~ =\ [^GO] ]] || o=; Pm "System load advisory"; o=`nvram boot-args | awk '{$1=""; print}'`; Ps "boot-args"; fdesetup status | grep -q On && o=on || o=; Ps "FileVault"; a=(/ ""); A=(System User); for i in 0 1; do o=`cd ${a[$i]}L*/Lo*/Diag* || continue; for f in *.{cr,h,pa,s}*; do [[ -f "$f" ]] || continue; d=$(stat -f%Sc -t%F "$f"); [[ "$f" =~ h$ ]] && grep -lq "^Thread c" "$f" && f="$f *"; echo "$d ${f%%_2*} ${f##*.}"; done | sort | tail`; Pm "${A[$i]} diagnostics"; done; grep -lq '*$' <<< "$o" && printf $'\n\t* Code injection\n'; o=`syslog -F bsd -k Sender kernel -k Message CReq 'caug|GPU |hfs: Ru|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|timed? ?o|WARN' -k Message Ane 'SMC:' | tail -n25 | awk '/:/{$4=""; $5=""};1'`; Pm "Kernel messages"; o=`df -m / | awk 'NR==2 {print $4}'`; o=$((o<5120?o:0)); Ps "Free space (MiB)"; o=$(($(vm_stat | awk '/eo/{sub("\\.",""); print $2}')/256)); o=$((o>=1024?o:0)); Ps "Pageouts (MiB)"; s=( `sar -u 1 10 | sed '$!d'` ); [[ s[4] -lt 85 ]] && o=`printf "$Fu" ${s[1]} ${s[3]}` || o=; Ps "Total CPU usage" && { s=(`ps acrx -o comm,ruid,%cpu | sed '2!d'`); n=$((${#s[*]}-1)); c="${s[*]}"; o=${s[$n]}%; Ps "CPU usage by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; }; s=(`top -R -l1 -n1 -o prt -stats command,uid,prt | sed '$!d'`); n=$((${#s[*]}-1)); s[$n]=${s[$n]%[+-]}; c="${s[*]}"; o=$((s[$n]>=25000?s[$n]:0)); Ps "Mach ports used by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; o=`kextstat -kl | grep -v com\\.apple | cut -c53- | cut -d\< -f1`; Pm "Loaded extrinsic kernel extensions"; R && o=`sudo launchctl list | awk 'NR>1 && !/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|calendarse|cups|dove|isc|ntp|openld|post[fg]|x)/{print $3}'`; Pm "Extrinsic daemons"; o=`launchctl list | awk 'NR>1 && !/0x|com\.apple|org\.(x|openbsd)|\.[0-9]+$/{print $3}'`; Pm "Extrinsic agents"; o=`for d in {/,}L*/Lau*; do M; done | egrep -v 'com\.apple\.(CSConfig|server)' | while read f; do ID=$($PB\ :Label "$f") || ID="No job label"; printf "$Fb" "$f" "$ID"; done`; Pm "launchd items"; o=`for d in /{S*/,}L*/StartupItems; do M; done`; Pm "Startup items"; sys=`pkgutil --regexp --only-files --files com.apple.pkg.* | sort | uniq | sed 's:^:/:'`; b=`sed -E '/^.+Lib.+\/Contents\/Info.plist$/!d;s/\/Info.plist$//;/Contents\/./d' <<< "$sys"`; l=`egrep '^/usr/lib/.+dylib$' <<< "$sys"`; [[ "$b" && "$l" ]] && { o=`find -L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo}* -type d -name Contents -prune | grep -Fv "$b" | while read d; do test -f "$d/Info.plist" || continue; ID=$($PB\ :CFBundleIdentifier "$_") || ID="No bundle ID"; printf "$Fb" "${d%/Contents}" "$ID"; done`; Pm "Extrinsic loadable bundles"; o=`find /usr/lib -type f -name *.dylib | grep -Fv "$l"`; Pm "Extrinsic shared libraries"; :; } || echo $'\nReceipts missing'; o=`for e in INSERT_LIBRARIES LIBRARY_PATH; do launchctl getenv DYLD_$e; done`; Pm "Inserted dylibs"; o=`find -L {,/u*/lo*}/e*/periodic -type f -mtime -10d`; Pm "Modified periodic scripts"; o=`scutil --proxy | grep Prox`; Pm "Proxies"; o=`scutil --dns | awk '/r\[0\] /{if ($NF !~ /^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./) print $NF; exit}'`; i=`route -n get default | awk '/e:/{print $2}'`; I=`$NS -listnetworkserviceorder | sed -En '/ '$i'\)$/{x;s/^\(.+\) //p;q;};x'`; n=`$NS -getdnsservers "$I" | awk '!/^T/{printf "not "; exit}'`; Ps "DNS (${n}from DHCP)"; o=`$NS -getinfo "$I" | awk '/k:/{if ($3 !~ "(255\.){3}0") print $3}'`; Ps "Netmask"; R && o=`sudo profiles -P | grep : | wc -l`; Ps "Profiles"; f=auto_master; [[ `md5 -q /etc/$f` =~ ^b166 ]] || Pc $f /etc/$f; for f in fstab sysctl.conf crontab launchd.conf; do Pc $f /etc/$f; done; f=/etc/hosts; Pc "hosts" <(egrep -v "$H" $f ); AT $f; Pc "User launchd" ~/.launchd*; R && Pc "Root crontab" <(sudo crontab -l); Pc "User crontab" <(crontab -l); R && o=`sudo defaults read com.apple.loginwindow LoginHook`; Pm "Login hook"; LD="$(`find /S*/*/F* -type f -name lsregister | head -n1` -dump)"; o=`for ID in $AC; do [[ "$LD" =~ $ID ]] && echo $ID; done`; Pm "Application check"; Pp "Global login items" /L*/P*/loginw* Path; Pp "User login items" L*/P*/*loginit* Name; Pp "Safari extensions" L*/Saf*/*/E*.plist Bundle | sed -E 's/(\..*$|-[1-9])//g'; o=`find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) | wc -l`; Ps "Restricted user files"; cd; o=`SP Fonts | egrep 'id: N|te: Y' | wc -l`; Ps "Font problems"; o=`find L*/{Con,Pref}* -type f ! -size 0 -name *.plist | while read f; do plutil -s "$f" >&- || echo $f; done`; Pm "Bad plists"; d=(Desktop L*/Keyc*); n=(20 7); for i in 0 1; do o=`find "${d[$i]}" -type f -maxdepth 1 | wc -l`; o=$((o<=n[$i]?0:o)); Ps "${d[$i]##*/} file count"; done; o=; [[ UID -eq 0 ]] && o=root; Ps "UID"; o=$((`date +%s`-t)); Ps "Elapsed time (s)"; } 2>/dev/null | pbcopy; exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste (command-V). The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "syntax error," enter
    exec bash
    and press return. Then paste the script again.
    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Terms of Use of the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • Help required with Photoshop Elements 4.0 this has been installed on my new Toshiba laptop with windows 8.1 for some 18 months and operating well. Now it will not open, message pops up saying "attempt to access invalid address" then "application not respo

    Help required with Photoshop Elements 4.0 this has been installed on my new Toshiba laptop with windows 8.1 for some 18 months and operating well. Now it will not open, message pops up saying “attempt to access invalid address” then “application not responding” Suggestions how to access would be much appreciated. Tks. Stuart

    What is the size of your hard disk?  PSE 4 is a very old program and I suspect it is not able to access the entire hard disk on your machine.  Just a thought here.

  • Some help required with logic for a dynamic sql query

    i have below code but not sure how to resolve this problem - what i need is to be able to dynamically
    the problem:
    i have a rabbge of paratmeters coming in from a form and need to be able to create a dynamic query string to go into a prepared statement object.
    the problem i have is there are 2 fields year range and year.
    if year range is none i need to create the query string as such :
    where the value of year can be serached on exactly
    str.append("VOLUME_YEAR = ? ");the probelm is if the year range is 5 or year range is 10 i dont know how to maipulate the query string to be able to set the string such that i can then place the year value in the place holder in preparedStatement.setInt(1, year)
    how can i create the intial query string ie.- what are the possible things that i can do. - i'm thinking of things like putting some type of between or such type query statement - but not at all sure how the syntax would go - ie. how would i use the year value and how would i create this dynamic part of the query string so that the JDBC regonises it?
    thanks for any help.
    public String setVolumeYearQuerySt(String year, String yearRange, StringBuffer str){
              String volumeYearQueryString = null;
              Sring doAction= null;
              if (yearRange.equals("None")){str.append("VOLUME_YEAR = ? ");}
              else if(yearRange.equals("5 Years")){doAction = "Nothing";}
              else if (yearRange.equals("10 Years")){doAction = "Nothing";}
              return volumeYearQueryString;
              }

    Saish - thanks a lot for the code example.
    Although, i think its far too advanced for me to understand and try to manipulate it and fit my problem. I'm pretty new to programming as you can probably see from my simple if else type statements. But i'm going to give it a try and see how it goes.
    could you please be kind enough to demonstrate how i could use the above syntax to do the following. --
    i have a year being entered in form .  in the database there is a column year volume which contains year in single year value format and also in a year range  value format - thus as in below - how could i do this -
    eg.
    user can enter a value in the year field a single value or a range value - then he can select +/-5 or 10 yrs range on that value - the DB holds the values as single values and ranges as below -
    one suggested apporach is as follows if a single user is alloweed to enter only a single value in the filed and select a query range +/- 5 etc..
    volume year of �1926-1928� and the user enters �1927�, the query has to find all records where
    look for records that are �less than or equal to� 1927.  It then has to check to see if it contains a range.  For those that it finds containing a range, it has to work out what the �upper� year is and check to see if that is �greater than or equal� to 1927.  If it is, then that is a possible matchanother approach that is suggested is to have a drop down with all years from databse and user is only llowed to select value from drop down and following logic is suggested :
    Because volumes can be received as ranges (e.g. 1964-1966), some extra coding is required where the user asks for a Year Range (such as + or � 5).
    Using the Year selected from the dropdown list, split it into 2 values, a low year and a high year. For example, if �1965-1968� is selected from the year dropdown, split it into �1965� and �1968� for the low year and high year respectively. If �1964� is selected from the year dropdown, split it into �1964� and �1964�. Now take the Year Range that the user has entered into account. For example, if the user has entered 5, subtract 5 from the low year and add 5 to the high year. Using these values, include the following search criteria in the query to the database:-
    (<low year>     BETWEEN
                 left (VOLUME_YEAR, charindex ('-',VOLUME_YEAR + '-') - 1)
         AND     right (VOLUME_YEAR, charindex ('-',VOLUME_YEAR + '-') - 1))
    OR     (<high year>     BETWEEN
                 left (VOLUME_YEAR, charindex ('-',VOLUME_YEAR + '-') - 1)
         AND     right (VOLUME_YEAR, charindex ('-',VOLUME_YEAR + '-') - 1))regards - i think if i could solve the first approach that would be something good as its most user freindly
    thanks

  • Code Sample: Easy RFC Lookup From XSLT Mappings Using a Java Helper Class

    Hi everyone,
    This is just a shameless plug for my article: <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14">Easy RFC Lookup From XSLT Mappings Using a Java Helper Class</a>. I hope you're interested in reading it, and I welcome your comments in this thread.
    Kind regards,
    Thorsten

    Hi Stefan. Thanks for your post. I have already done that. It still does not work. As a base for my java helper class I have usesd Thorstens code.
    The problem is quite confusing. I will try to ouline both issues here.
    First of all, when try to test from within the Operation Mapping, I always get a java error saying it cannot find the communication channel (it is there and working because I have tested it with the RFCLookup in graphical mapping). I have found a way to work around this, and that is to uncheck the "Use SAP XMLToolkit" checkbox --> switch to test tab, enter my ReceiverService in the parameter tab (header parameter) --> switch back to Definition tab, check the "Use SAP XMLToolkit" checkbox --> switch to Test tab and run the test. Then the XSLT and call to java helper class will work. Of course this is not really something you want to do all the time. Maybe there is a bug.
    Secondly, it never works when I try to do it "live". I am using a file adapter to pick up one file, convert it and a file adapter to drop the converted file. I get the following error code in SXMB_MONI.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!--  Request Message Mapping   -->
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">TRANSFORMER_CONF_EX</SAP:Code>
      <SAP:P1>ATJ_Accounting2XML_Accounting.xsl</SAP:P1>
      <SAP:P2>http://rd.accounting.logica.com</SAP:P2>
      <SAP:P3>fd552c30-bad9-11dd-9761-c21dac1b818c</SAP:P3>
      <SAP:P4>-1</SAP:P4>
      <SAP:AdditionalText />
      <SAP:Stack>TransformerConfigurationException triggered while loading XSLT mapping ATJ_Accounting2XML_Accounting.xsl; http://rd.accounting.logica.comfd552c30-bad9-11dd-9761-c21dac1b818c-1</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Using an XSLT without a call to a java helper class, works just fine.
    I am totally at a loss here. Any more input would be much appreciated.
    /Patrik

  • Some easy help requested

    hi - I am seeking some easy help - my devices stopped receiving e-mails overnight - I reset my password - my phone now sends and receives - but not my mac book pro - I changed the passwords in the .me mail preferences - suggestions?

    Hello there, Snowy Joey.
    The following Knowledge Base article offers up some great steps for troubleshooting iCloud Mail in OS X Mail:
    iCloud: Troubleshooting iCloud Mail
    http://support.apple.com/kb/ts4002
    If your account is with a different ESP then feel free to review the recommendations found in this article:
    OS X Mail: Troubleshooting sending and receiving email messages
    http://support.apple.com/kb/ts3276
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • HT1338 After I installed OS X Mountain Lion system, I can't use my Safari to log into my online banking and some other websites which require passwords. Can some one please help?

    After I installed OS X Mountain Lion system, I can't use my Safari to log into my online banking and some other websites which require passwords. Can some one please help?

    It could be browser incompatibility or something else. When you say you can't log in, what happens? Is the bank website generating an error saying you're not using a supported browser? Does the login form for your bank account display as usual, but once you submit the form to log in it doesn't work? Give me a specific step-by-step of what you're doing, such as...
    1. I load bankofamerica.com
    2. I type in my login
    3. When I submit, the page does nothing
    Obviously that may not be your issue, but giving us details like that will help us come to a quicker conclusion.

  • Please tell me some conversion tools to generate java help

    hello,
    I am doing some project of migration, and I need some tools to convert from windows help file (chm) to java help file.
    Anyone has some experience of that?
    If not possible, what's the fastest way to do the conversion?
    Thanks

    Hello,
    You don't mention what format the source files are in, so I'm assuming that you only have access to the actual .chm files and not whatever those were created from. Given that, you'll need a tool that is capable of backward converting Help output into some source format, and then converting that to JavaHelp. I don't know of anything that would convert directly from .chm to JavaHelp.
    I believe that RoboHelp is capable of taking Window Help output and converting it backwards to source, and it is also supports JavaHelp, so this would be one tool to investigate.
    HelpBreeze is another tool that supports both formats and is also a lot cheaper that RoboHelp.
    I apologize for not having first-hand experience with either of these. We currently use a CMS tool, AuthorIT, to single source publish to JavaHelp and other outputs.

  • Java Mail,SMTP server not starting,help required urgently

    Hi i have been working on java mail .Yesterday it was working ok but today suddenely i am getting this thing.its not starting the smtp server i guess,just exiting and get the command prompt ..dont know what to do.help required how to go about this error
    am pasting the debug information.please check and let me know
    the compilation ,smtp server and others are all valid
    thanks
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Pavan>cd C:\Program Files\Java\jdk1.5.0_07\bin
    C:\Program Files\Java\jdk1.5.0_07\bin>javac jdbcExample3.java
    C:\Program Files\Java\jdk1.5.0_07\bin>java jdbcExample3 smtpserver address
    DEBUG: JavaMail version 1.4ea
    DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.5.0_07\jre\lib\
    javamail.providers (The system cannot find the file specified)
    DEBUG: !anyLoaded
    DEBUG: not loading resource: /META-INF/javamail.providers
    DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
    DEBUG: Tables of loaded providers
    DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax
    .mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsyste
    ms, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com
    .sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLSt
    ore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsyst
    ems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.su
    n.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=jav
    ax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc],
    com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP
    3Store,Sun Microsystems, Inc]}
    DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.
    sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STOR
    E,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Prov
    ider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc],
    pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems
    , Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun
    Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.S
    MTPTransport,Sun Microsystems, Inc]}
    DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
    DEBUG: !anyLoaded
    DEBUG: not loading resource: /META-INF/javamail.address.map
    DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.5.0_07\jre\lib\
    javamail.address.map (The system cannot find the file specified)
    C:\Program Files\Java\jdk1.5.0_07\bin>

    The debug output doesn't show an obvious problem. You're
    going to have to actually debug your program. A debugger
    might be helpful.

  • HT4623 I have an ipad 64GB (first generation) and could not do upgrades on it. What can i do and how can you help? I need to dowload some business applications but requires 6.0 iOS and up but I have 5.1.1. iOS. please help

    I have an ipad 64GB (first generation) and could not do upgrades on it. What can i do and how can you help? I need to dowload some business applications but requires 6.0 iOS and up but I have 5.1.1. iOS. please help

    iOS 5.1.1 is the last version an iPad 1 can run. If you need to run iOS 6 or later, you'll need a newer iPad.
    Regards.

  • Help required for PLSQL or with some Analytical Function.

    Hello All
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    I have couple of questions with following dataset and insert into a table
    With t As
    SELECT '2011' YR, FN1 File_name,1 rec_seq From Dual Union All
    SELECT '2011' YR, FN1 File_name,2 rec_seq From Dual Union All
    SELECT '2011' YR, FN1 File_name,3 rec_seq From Dual Union All
    SELECT '2011' YR, FN1 File_name,4 rec_seq From Dual Union All
    SELECT '2011' YR, FN1 File_name,5 rec_seq From Dual Union All
    SELECT '2011' YR, FN1 File_name,6 rec_seq From Dual Union All
    SELECT '2012' YR, FN1 File_name,7 rec_seq From Dual Union All
    SELECT '2011' YR, FN1 File_name,8 rec_seq From Dual Union All
    SELECT '2010' YR, FN1 File_name,9 rec_seq From Dual
    SELECT C_CAND_ID,MAX(C_CAND_ID) OVER (PARTITION BY C_CAND_ID ORDER BY YR) FROM
    SELECT DISTINCT COUNT(*) OVER (PARTITION BY YR ORDER BY FILE_NAME) "C_CAND_ID",
    YR
    FROM
    (select YR, FIle_name
    from t
    How to find year which is not equal to count with maximum year (2011) and insert into errorlog table
    How to find all distinct years --- 2011, 2012 and 2010 and insert into error log table
    Target table is
    Create table errorlog
    (Error_code number,
    Errorheader varchar2(100),
    error_details varchar2(1000),
    rec_sequence     number
    output is
    errorcode     errorheader               errordetails                         rec_sequence
    1          Year not as maximum count     The year 2012 not equal to 2011 the max count          7
    1          Year not as maximum count     The year 2010 not equal to 2011 the max count          9
    2          distinct years are          the distinct years are 2010,2011,2012               0
    also I have couple of other questions like
    How to find YR with maximum number of records ----- the answer should be 2011.
    How to find count of distinct years ---- the answer should be 3
    Please give me some guidence or help
    Thanks

    How to find year which is not equal to count with maximum year (2011) and insert into errorlog table
    How to find all distinct years Maybe following query gives you a start to identify the necessary information:
    SQL> with t as
    select '2011' yr, 'fn1' file_name,1 rec_seq from dual union all
    select '2011' yr, 'fn1' file_name,2 rec_seq from dual union all
    select '2011' yr, 'fn1' file_name,3 rec_seq from dual union all
    select '2011' yr, 'fn1' file_name,4 rec_seq from dual union all
    select '2011' yr, 'fn1' file_name,5 rec_seq from dual union all
    select '2011' yr, 'fn1' file_name,6 rec_seq from dual union all
    select '2012' yr, 'fn1' file_name,7 rec_seq from dual union all
    select '2011' yr, 'fn1' file_name,8 rec_seq from dual union all
    select '2010' yr, 'fn1' file_name,9 rec_seq from dual
    select max (yr) keep (dense_rank last order by cnt_yr) over () max_cnt_yr, /* gives you the year with the most entries */
           t.*  /* rest of table */
      from (select count (yr) over (partition by yr) cnt_yr,   /*  counts of a particular year ? */
                   count (distinct yr) over () cnt_distinct_yr,  /*  how many distinct years ? */
                   t.*
              from t) t
    MAX_CNT_YR          CNT_YR CNT_DISTINCT_YR YR   FILE_NAME         REC_SEQ
    2011                     1               3 2010 fn1                     9
    2011                     7               3 2011 fn1                     2
    2011                     7               3 2011 fn1                     3
    2011                     7               3 2011 fn1                     4
    2011                     7               3 2011 fn1                     6
    2011                     7               3 2011 fn1                     1
    2011                     7               3 2011 fn1                     5
    2011                     7               3 2011 fn1                     8
    2011                     1               3 2012 fn1                     7
    9 rows selected.

  • How to bundle java help class into jar file ?

    Hi, all,
    I have some package in my project, with which I have a java help jar file as classpath, when I run my project, I need the jh.jar file in directory /jar/jh.jar.
    Now, I bundled all my class packages into a jar file, my.jar, together with the /jar directory. When i run my jar file with command:
    java -jar my.jar
    It tells me couldn't find javahelp class.
    What shall I do? How can I create my jar file with the jh.jar?
    Thanks in advance.

    I think you'd be better off just adding the jh.jar as
    a classpath argument and running it like that:
    java -classpath /myjavalibdir/jh.jar -jar myjar.jar
    ...otherwise you're stepping into redistribution of
    binary issues licensing-wise. That won't work either; when you run java with the -jar option, it ignores both the -classpath option and the CLASSPATH environment variable. However, it will see jh.jar automatically if you put it in the <path-to-java>/jre/lib/ext directory. But for distribution purposes, it might be simpler just to combime the contents of jh.jar into myjar.jar (if you use Ant, its <jar> task makes that very easy). Or, you can just run it this way:java -classpath myjar.jar;jar/jh.jar MyMainClassBTW, I don't think redistribution is a problem; otherwise how anyone even use JavaHelp?

  • Oracle developer needs Java help

    I develop applications in Oracle 8i on NT4. As part of a trigger, I need to perform an update to an extremely large table which takes many minutes. Because it's tied to a web page, I can't wait for the update to complete. Oracle natively doesn't support system calls -- I use the Shell() command in VB -- but Oracle DOES support Java stored procedures. I'm hoping that a Java stored procedure will be able to spawn/execute a new process/program specified by a command line instruction (ie: "C:\SQLPLUS.EXE SCOTT/TIGER @update.sql") and return immediately - without waiting for the process to complete. There doesn't need to be any handle for or call back from the process - just fire and forget. Can anyone provide me some direction, or better some existing Java code that does this? THANKS!

    Hi "todmcg",
    I'm not sure that I have understood your question correctly, but here goes anyway...
    Yes you can create a java stored procedure and have a trigger execute that procedure. In order to execute system commands in java, you usually use the "exec()" method of class "java.lang.Runtime". It is also easy to spawn new threads using java. So yes, you can have your java stored procedure execute a system command in a background thread.
    In my opinion, the Oracle documentation explains very well how to create a java stored procedure. The documentation is available from:
    http://tahiti.oracle.com
    Also, examples of how to call system commands from java stored procedures are available at this Web site:
    http://asktom.oracle.com
    You may also find relevant information at:
    http://metalink.oracle.com
    and
    http://technet.oracle.com
    Of-course, you can also use JDBC from your java stored procedure to execute your "update.sql" script -- without the need to execute a system command.
    Basic code skeleton:
    [NOTE: Untested and may contain syntax errors.]
    public class SystemCommand implements Runnable {
      private static String cmd;
      public void run() {
        Runtime runtime = Runtime.getRuntime();
        runtime.exec(cmd);
      public static void execCommand(String cmd) {
        this.cmd = cmd;
        new Thread(new SystemCommand()).start();
    }Hope this helps you.
    Good Luck,
    Avi.

  • Does Java Card require a USB CCID-compliant smart card reader?

    Hi experts,
    Does Java Card require a USB CCID-compliant smart card reader? I'm currently working with PC/SC usb token and it requires usb CCID-compliant smart card reader, which seems very inconvenient for my clients and I'm wondering if Java Card has the same issue? (I'm thinking about switching the project to Java Card)
    Any help will be much appreciated!
    Z.Zen

    Hi,
    You will still need to install drivers for some card readers to function correctly. I know some work out of the box on Windows and OS X (10.5+ at least) ships with the pcsclite CCID driver from the Muscle card project. When I view my reader in Windows device manager the Manufacturer is "USB CCID Compliant".
    The only real difference between what you are doing with the USB CCID token and Java Card is that the card and reader are separate in the Java Card option where as the USB token has the reader and chip in one package.
    Cheers,
    Shane

  • XSLT mapping with Java helper classes

    Hi,
    I'm trying to implement a XSLT mapping to convert my request to a specific soap request message format for this I'm calling some methods from a java helper class. I have imported the jar file into the archives. When I tried to test the interface it keeps complaing there is some exception but doesn't give me the exact error. Has any one called any java helper classes with in XSLT mapping, if so I would appreciate if you could help me with this. Here is the code from xsl.
    <wsse:Security soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext"   xmlns:UserToken="java:com.company.test.mapping.UserTokenMap">
    <wsse:UsernameToken>
        <wsse:Username xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
          <xsl:value-of select="UserToken:getUsername()"/>
        </wsse:Username>
        <wsse:Password wsse:Type="wsse:PasswordDigest" xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
        <xsl:value-of select="UserToken:getPasswordDigest()"/>
        </wsse:Password>
        <wsse:Nonce xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
        <xsl:value-of select="UserToken:getNonce()"/>
        </wsse:Nonce>
        <wsu:Created xsi:type="soapenc:string" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
        <xsl:value-of select="UserToken:getCreateDate()"/>
    </wsu:Created>
    </wsse:UsernameToken>
    </wsse:Security>
    Thanks,
    Joe

    Hi,
    I'm getting following exception when I refer to the java class with in my XSLT mapping. Any one encountered the same problem.
    com.sap.engine.services.ejb.exceptions.BaseRemoteException:
    Exception in method transform.
         at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.transform(MapServiceRemoteObjectImpl0.java:218)
         at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:104)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native
    Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.lang.UnsupportedClassVersionError:
    com/earthlink/xi/mapping/UserTokenMap (Unsupported
    major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native
    Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:448)
         at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingLoader.findClass(RepMappingLoader.java:175)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at com.sap.engine.lib.xsl.xpath.JLBLibrary.<init>(JLBLibrary.java:33)
         at com.sap.engine.lib.xsl.xpath.LibraryManager.getFunction(LibraryManager.java:69)
         at com.sap.engine.lib.xsl.xpath.ETFunction.evaluate(ETFunction.java:98)
         at com.sap.engine.lib.xsl.xpath.XPathProcessor.innerProcess(XPathProcessor.java:56)
         at com.sap.engine.lib.xsl.xpath.XPathProcessor.process(XPathProcessor.java:43)
         at com.sap.engine.lib.xsl.xpath.XPathProcessor.process(XPathProcessor.java:51)
         at com.sap.engine.lib.xsl.xslt.XSLValueOf.process(XSLValueOf.java:76)
         at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296)
         at com.sap.engine.lib.xsl.xslt.XSLElement.process(XSLElement.java:248)
         at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296)
         at com.sap.engine.lib.xsl.xslt.XSLElement.process(XSLElement.java:248)
         at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296)
         at com.sap.engine.lib.xsl.xslt.XSLElement.process(XSLElement.java:248)
         at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296)
         at com.sap.engine.lib.xsl.xslt.XSLElement.process(XSLElement.java:248)
         at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296)
         at com.sap.engine.lib.xsl.xslt.XSLElement.process(XSLElement.java:248)
         at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296)
         at com.sap.engine.lib.xsl.xslt.XSLTemplate.process(XSLTemplate.java:272)
         at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:463)
         at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:431)
         at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:394)
         at com.sap.engine.lib.jaxp.TransformerImpl.transformWithStylesheet(TransformerImpl.java:398)
         at com.sap.engine.lib.jaxp.TransformerImpl.transform(TransformerImpl.java:240)
         at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingTransformer.transform(RepMappingTransformer.java:150)
         at com.sap.aii.ibrep.server.mapping.ibrun.RepXSLTMapping.execute(RepXSLTMapping.java:81)
         at com.sap.aii.ibrep.server.mapping.ibrun.RepSequenceMapping.execute(RepSequenceMapping.java:54)
         at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingHandler.run(RepMappingHandler.java:80)
         at com.sap.aii.ibrep.server.mapping.rt.MappingHandlerAdapter.run(MappingHandlerAdapter.java:107)
         at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInterfaceMapping(ServerMapService.java:127)
         at com.sap.aii.ibrep.server.mapping.ServerMapService.transform(ServerMapService.java:104)
         at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.transform(MapServiceBean.java:40)
         at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.transform(MapServiceRemoteObjectImpl0.java:167)
         ... 10 more
    ; nested exception is:
         java.lang.UnsupportedClassVersionError:
    com/earthlink/xi/mapping/UserTokenMap (Unsupported
    major.minor version 49.0)

Maybe you are looking for

  • Placing Edge Animate in Muse trouble

    I made a short html video in Edge Animate just like the Tom Green tutorial and it works perfectly when testing it from Edge but when I place the .oam file in Muse I just get a gray box. What am I doing wrong? Thank you.

  • Ipod touch first generation is recognized by computer but not by itunes 9

    I connect my ipod touch to my hp laptop while itunes 9 is open. My computer recognizes the ipod touch but it never appears in my itunes. If anyone can help that would be greatly appreciated. i have tried the suggested steps on apple and nothing reall

  • When closing my laptop's lid... how to avoid any ''sleep'' or any change...

    everytime i close my laptop lid ( i'm not sure if that's the right word ) but my notebook goes on sleep mode i think, and the connection is lost or something like that, and i like my notebook to only change the display, no more no less, i don't want

  • My bluetooth needs to be paired every time I start the car

    can anyone give me any help with the problem that my new 3G iphones needs to be unpaired and paired again every time I start the car (Range Rover). My original iphone (once paired) connected automatically each time. Has the bluetooth way of working c

  • Connection between webdynpro java and ECC.

    Hi experts, I am very new to webdynpro java, I want to learn webdynpro java since I know little bit of java. So here is my question, I want to connect my webdynpro java to ECC  to get data from ECC and display it on front end and as well i want to se