Dont understand the error
Hello ,
I got a project from school , that I need to build a game like this :
http://www.levelgame.net
Ok , I divided it to two classes.
one its the level class and one its game class.
for now , I have build level 0 and the background of level 1 , but when I run it , it make some errors...
first of all , here is the code
Level class :
import javax.imageio.*;
import java.io.*;
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.awt.image.*;
public class Level {
public BufferedImage backgroundImage;
public JPanel PanelOfLevel;
public Level(String adress)
InputStream img = getClass().getResourceAsStream(adress);
try
backgroundImage=ImageIO.read(img);
} catch (IOException e) {
e.printStackTrace();
public BufferedImage getImage()
return backgroundImage;
public void setImage (BufferedImage img)
backgroundImage=img;
public JPanel getLevelPane()
return PanelOfLevel;
public void setPanelOfLevel(JPanel newPanel)
PanelOfLevel=newPanel;
}And here is the game class code(for now)
import javax.imageio.*;
import java.io.*;
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.awt.image.*;
public class Game extends JPanel {
private Level[] levels;
private int currentLevel;
public Game()
levels=new Level[20];
currentLevel=0;
public void paint (Graphics g)
super.paint(g);
Graphics2D g2d=(Graphics2D)g;
g2d.setFont(Font.decode("arial-30"));
levels[currentLevel]=new Level("C:/Documents and Settings/Gonen/Desktop/My things/levelgame/level0.jpg");
g2d.drawImage(levels[currentLevel].getImage() , levels[currentLevel].getImage().getMinX() , levels[currentLevel].getImage().getMinY() , levels[currentLevel].getImage().getWidth() , levels[currentLevel].getImage().getHeight() , null);
JButton button1=new JButton("Start Game");
button1.setBackground(Color.RED);
levels[currentLevel].getLevelPane().add(button1);
button1.addMouseListener(new MouseListener() {
public void mouseClicked(MouseEvent arg0) {
// TODO Auto-generated method stub
currentLevel++;
public void mouseEntered(MouseEvent arg0) {
// TODO Auto-generated method stub
@Override
public void mouseExited(MouseEvent arg0) {
// TODO Auto-generated method stub
@Override
public void mousePressed(MouseEvent arg0) {
// TODO Auto-generated method stub
@Override
public void mouseReleased(MouseEvent arg0) {
// TODO Auto-generated method stub
levels[currentLevel]=new Level("C:/Documents and Settings/Gonen/Desktop/My things/levelgame/level1.jpg");
g2d.drawImage(levels[currentLevel].getImage() , levels[currentLevel].getImage().getMinX() , levels[currentLevel].getImage().getMinY() , levels[currentLevel].getImage().getWidth() , levels[currentLevel].getImage().getHeight() , null);
public static void main(String[] args)
JFrame frame=new JFrame("My game");
Game mygame=new Game();
frame.setContentPane(mygame);
frame.setSize(400 , 400);
frame.setVisible(true);
}and When i run it , this is the error
xception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: input == null!
at javax.imageio.ImageIO.read(Unknown Source)
at Level.<init>(Level.java:17)
at Game.paint(Game.java:24)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
at java.awt.Container.paint(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I thought its becuase the adress of the picture but it cant be . here is the proof.
http://img512.imageshack.us/img512/5458/46451712ga2.jpg
see? the adress is correct.
so what is the problem here?
Please help , Gonen
Ok, look guys
I have tried to do something else , just to paint the first level
here is the new code of the game class
import javax.imageio.*;
import java.io.*;
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.awt.image.*;
public class Game extends JPanel {
private Level[] levels;
private int currentLevel;
public Game()
levels=new Level[21];
currentLevel=0;
public void init()
levels[currentLevel]=new Level("C:/Documents and Settings/Gonen/Desktop/My things/levelgame/level0.jpg");
JButton[] buttons=new JButton[21];
buttons[currentLevel]=new JButton("Start Game");
buttons[currentLevel].setBackground(Color.RED);
levels[currentLevel].getLevelPane().add(buttons[currentLevel]);
public void paint (Graphics g)
super.paint(g);
Graphics2D g2d=(Graphics2D)g;
g2d.setFont(Font.decode("arial-30"));
g2d.drawImage(levels[currentLevel].getImage() , levels[currentLevel].getImage().getMinX() , levels[currentLevel].getImage().getMinY() , levels[currentLevel].getImage().getWidth() , levels[currentLevel].getImage().getHeight() , null);
public static void main(String[] args)
JFrame frame=new JFrame("My game");
Game mygame=new Game();
frame.setContentPane(mygame);
frame.setSize(400 , 400);
frame.setVisible(true);
}you even look at my screenshot is my firstr message , the location of the picture is corrent
this the error now
xception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at Game.paintComponent(Game.java:33)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
at java.awt.Container.paint(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
so what is the problem now?
I didnt override paint() , (tried to use here paintComponent() but same error)
The location(of the image) is correct . so what is the problem now?
Similar Messages
-
i have a windows 7 operating system on my laptop and it keeps saying I have installed itunes wrong?? i have done this activity three times now and do not understand the error? what di I have to do to fix the problem?
What's the precise text of the error message, please? (There's a few different ones I can think of that you might be getting.)
-
I downloaded two movies 4 days ago before a school trip. I watched the first on the bus on the way. I am now on the way home and want to watch the other movie and it disappeared. This has happened to me in the past and I dont understand the problem!!
Drrhythm2 wrote:
What's the best solution for this? I
Copy the entire /Music/iTunes/ folder from her old compouter to /Music/ in her account on this new computer. -
Need help in understanding the error ORA-01843: not a valid month - ECX_ACT
Hello All,
We need help in understanding the Transaction Monitor -> Processing Message (error "ORA-01843: not a valid month - ECX_ACTIONS.GET_CONVERTED_DATE").
And how to enable the log for Transaction Monitor -> Processing Logfile.
Actually we are trying to import the Purchase Order XML (OAG) into eBusiness Suite via BPEL Process Manager using the Oracle Applications Adapter. The process is working fine with expected payload until it reaches the XML Gateway Transaction Monitor, where we are getting this error.
thanks
muthu.Hello All,
We need help in understanding the Transaction Monitor -> Processing Message (error "ORA-01843: not a valid month - ECX_ACTIONS.GET_CONVERTED_DATE").
And how to enable the log for Transaction Monitor -> Processing Logfile.
Actually we are trying to import the Purchase Order XML (OAG) into eBusiness Suite via BPEL Process Manager using the Oracle Applications Adapter. The process is working fine with expected payload until it reaches the XML Gateway Transaction Monitor, where we are getting this error.
thanks
muthu. -
I dont understand the errormessage...
Who can help me about this errormessage:
main (09:33:23): FATAL ERROR in native method: JDWP "util.c" (Apr 6 2001), line 1013: Unexpected error, error code = 113 (JVMDI_ERROR_INTERNAL)
I dont know where i can find anything about this error and what it means.
I get the error between running my prog...
Before everything runs fine!AFAIK, this is a problem with the JRE runtime. Your application/jdk uses some dll's which are either not present in the right directory or are corrupt because you may have installed other jvm on top of the original one.
-
YOU DONT UNDERSTAND THE MESSAGE THAT IS WRITTEN?
PURCHASED HP OFFICEJET PRO 6230 SERIES, MAR.18,2015.
TO BE USED WITH A , MacBookPro lap top.
REPLACING an HP Deskjet 3845.installing the softwre disk,was succefull,upon complition got a message "Device is not listed"and another message "specify device manually" now what is device name and how to specify the device manually ???Hi @BOLDEAGLE,
Welcome to the HP Forums!
I noticed that you are getting the error, "Device is not listed," while installing the software for your HP Officejet Pro 6230. I am happy to help!
Some questions for you, if you do not mind:
How is your printer connected? Wireless, Ethernet, or USB?
Do you see any blinking lights on the printer?
Are you able to print a status report? (To print a status report: Load plain white paper into the input tray, and then pull out the tray extender on the output tray. Press and hold the Cancel button for five seconds, and then release it. The test page prints.)
In the meantime, I would recommend to go through this guide, 'Printer is offline' Message Displays on the Computer and the Printer Does Not Print: Mac OS X.
Hope this guide helps, and hope to hear from you soon!
RnRMusicMan
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" to say “Thanks” for helping! -
How to understand the Error message of the connection of OPC server
hi guys, one issue need your help
when I run the NI OPC servers, one error message will appear in the process information.
Just like as followed:
===========================================================================
2011-6-23 11:50:05 Default User NI OPC Servers Stopping Simulator device driver.
2011-6-23 11:50:05 Default User NI OPC Servers Closing project D:\National Instruments\Shared\NI OPC Servers\projects\simdemo.opf
2011-6-23 11:50:25 Default User NI OPC Servers NI OPC Servers
2011-6-23 11:50:25 Default User NI OPC Servers Unable to load driver DLL 'D:\National Instruments\Shared\NI OPC Servers\drivers\dataforth_isolynx_u.dll'
more messages
=============================================================================
how to understand "2011-6-23 11:50:25 Default User NI OPC Servers Unable to load driver DLL 'D:\National Instruments\Shared\NI OPC Servers\drivers\dataforth_isolynx_u.dll'??????
ThanksHi!
I have the same problem when opening the OPC Server.
Unfortunately I have no solution, but I think it has something to do with incorrect Certificates and is more of a Windows Problem.
If anybody can help, please let us know!
Best Regards
Martin -
Hm...i do not understand the error trying to say
Hi all, i know this gonna be laugh by some, i got the following error msg:
Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:978)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:799)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:320)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext
.java:473)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:190)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
95)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.access$000(Applicatio
nFilterChain.java:98)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilt
erChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:172)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
2422)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
rValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:163)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:19
9)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:828)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:700)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:584)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:683)
at java.lang.Thread.run(Thread.java:595)
[Debug]Exception : nullsorry is quite long, but pls help me to point out where does it go wrong because the script execute a normal JSP page and no JAVA coding at all, why does this happen? by the way is being fired from a JAVA servlet in this way:
ActionForward afwd3;
afwd3 = new ActionForward( codeBase + "hybrid.jsp" ) ;
printTitle("SynaProbe Hybridization Action");
afwd3.setRedirect(true);
return afwd3;did i wrong at this point??? but the explorer address bar show the correct address to the page.
thanks a lotYou will have to find out were your server sends its output. For instance, in Tomcat it might be <TOMCAT_HOME>/logs/catalina.out, or <TOMCAT_HOME>/logs/catalina.txt, <TOMCAT_HOME>/logs/stdout.txt, or <TOMCAT_HOME>/logs/stderr.txt (depending on version), or one of the .log files with the specific date.
-
Kernal panic. dont understand the logs? please help
i have a 4 year old mac ibook g4 12inch. its ran perfectly until yesterday when i installed bt broadband software. the kernal panics also come up when i move my computer sometimes. its very frustrating. i am about to post the system log from this mornig. i would be so grateful if someone could at least determine the problem if not resolve it completely. thank you
i know its very long but i didnt know which bit i needed to put in so i put all of it in.
this is the system log
Size: 41.7 KB
Last Modified: 10/07/2007 09:29
Location: /var/log/system.log
Contents: Jul 10 03:15:08 Unknown-00-0d-93-81-5a-85 syslogd: restart
Jul 10 03:15:08 Unknown-00-0d-93-81-5a-85 syslogd: hostname changed, "localhost" to "Unknown-00-0d-93-81-5a-85"
Jul 10 08:04:22 localhost syslogd: restart
Jul 10 08:04:22 localhost syslogd: kernel boot file is /mach_kernel
Jul 10 08:04:22 localhost kernel: standard timeslicing quantum is 10000 us
Jul 10 08:04:22 localhost kernel: vmpagebootstrap: 60981 free pages
Jul 10 08:04:22 localhost kernel: migtable_maxdispl = 68
Jul 10 08:04:22 localhost kernel: IOKit Component Version 7.9:
Jul 10 08:04:22 localhost kernel: Wed Mar 30 20:07:52 PST 2005; root(rcbuilder):RELEASE_PPC/iokit/RELEASE
Jul 10 08:04:22 localhost kernel: 83 prelinked modules
Jul 10 08:04:22 localhost kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993
Jul 10 08:04:22 localhost kernel: The Regents of the University of California. All rights reserved.
Jul 10 08:04:22 localhost kernel:
Jul 10 08:04:22 localhost kernel: using 655 buffer headers and 655 cluster IO buffer headers
Jul 10 08:04:22 localhost kernel: Local FireWire GUID = 0xd93ff:0xfe6af016
Jul 10 08:04:22 localhost kernel: ApplePMU::readI2CbattData ERR 0, status = 0xfd, err = 0xe00002bc
Jul 10 08:04:22 localhost kernel: ADB present:8c
Jul 10 08:04:22 localhost kernel: Security auditing service present
Jul 10 08:04:22 localhost kernel: BSM auditing present
Jul 10 08:04:22 localhost kernel: From path: "/pci@f4000000/ata-6@d/disk@0:3,\mach_kernel", Waiting on <dict ID="0"><key>IOPathMatch</key><string ID="1">IODeviceTree:/pci@f4000000/ata-6@d/@0:3</string></dict>
Jul 10 08:04:22 localhost kernel: Got boot device = IOService:/MacRISC2PE/pci@f4000000/AppleMacRiscPCI/ata-6@D/AppleKauaiATA/ATADev iceNub@0/IOATABlockStorageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/TO SHIBA MK3025GAS Media/IOApplePartitionScheme/Untitled@3
Jul 10 08:04:22 localhost kernel: BSD root: disk0s3, major 14, minor 2
Jul 10 08:04:22 localhost kernel: jnl: replay_journal: from: 1654272 to: 7401472 (joffset 0x8601000)
Jul 10 08:04:23 localhost kernel: Jettisoning kernel linker.
Jul 10 08:04:23 localhost kernel: Resetting IOCatalogue.
Jul 10 08:04:23 localhost kextd[88]: registering service "com.apple.KernelExtensionServer"
Jul 10 08:04:29 localhost kernel: Matching service count = 0
Jul 10 08:04:29 localhost kernel: AppleRS232Serial: 0 0 AppleRS232Serial::start - returning false early, Connector or machine incorrect
Jul 10 08:04:30 localhost kernel: UniNEnet: Ethernet address 00:0d:93:6a:f0:16
Jul 10 08:04:30 localhost kernel: AirPortPCI: Ethernet address 00:0d:93:81:5a:85
Jul 10 08:04:30 localhost kernel: IOFireWireIP: FireWire address 00:0d:93:ff:fe:6a:f0:16
Jul 10 08:04:30 localhost lookupd[97]: lookupd (version 324.13) starting - Tue Jul 10 08:04:30 2007
Jul 10 08:04:31 localhost diskarbitrationd[91]: disk0s3 hfs 94ACCE2D-0606-37BE-ACEE-01B15973CA2B Macintosh HD /
Jul 10 08:04:31 localhost SystemStarter: Welcome to Macintosh.
Jul 10 08:04:31 localhost ConsoleMessage: Starting kernel event agent
Jul 10 08:04:31 localhost SystemStarter: Starting kernel event agent
Jul 10 08:04:32 localhost ConsoleMessage: Starting Apple Multicast DNS Responder
Jul 10 08:04:32 localhost ConsoleMessage: Initializing network
Jul 10 08:04:32 localhost ConsoleMessage: Starting SecurityServer
Jul 10 08:04:32 localhost ConsoleMessage: Starting timed execution services
Jul 10 08:04:38 localhost ConsoleMessage: Starting HP IO Monitor
Jul 10 08:04:39 localhost configd[90]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/set-hostna me
Jul 10 08:04:39 localhost set-hostname[175]: setting hostname to nick-baines-Computer.local
Jul 10 08:04:41 localhost kernel: ATY,Via_A: vram [9c000000:02000000]
Jul 10 08:04:41 localhost kernel: ATY,Via_B: vram [98000000:02000000]
Jul 10 08:04:41 localhost SystemStarter: The "HasShadow" window property is obsolete. Use CGSSetWindowShadowAndRimParameters(cid, wid, 0.0,0.0, 0,0, CGSNoShadowStyle) to turn off the window shadow instead. Set a break-point on CGSLogMessage to find out where this property is set.
Jul 10 08:04:42 localhost mDNSResponder[180]: mDNSResponder-58.8.1 (Jan 31 2005 21:11:41) starting
Jul 10 08:04:42 localhost mach_init[2]: Server 0 in bootstrap d03 uid 0: "/usr/libexec/fix_prebinding": exited with non-zero status 1 [pid 197]
Jul 10 08:04:42 localhost ConsoleMessage: Loading Shared IP extension
Jul 10 08:04:42 localhost /usr/libexec/panicdump: Error (-1) setting variable - 'aapl,panic-info'
Jul 10 08:04:42 localhost ConsoleMessage: Starting printing services
Jul 10 08:04:42 localhost ConsoleMessage: Checking disks
Jul 10 08:04:42 localhost SystemStarter: crash reporter (214) did not complete successfully.
Jul 10 08:04:43 localhost syslogd: /dev/console: Input/output error
Jul 10 08:04:43 localhost init: kernel security level changed from 0 to 1
Jul 10 08:04:43 localhost ConsoleMessage: Starting Apple File Service
Jul 10 08:04:43 localhost ConsoleMessage: Starting Apache web server
Jul 10 08:04:43 localhost ConsoleMessage: Starting HP Trap Monitor
Jul 10 08:04:43 localhost DirectoryService[258]: Launched version 1.8.5 (v258.3)
Jul 10 08:04:43 localhost /usr/sbin/httpd: Sent launch request message to DirectoryService mach_init port
Jul 10 08:04:43 localhost /usr/sbin/AppleFileServer: Sent launch request message to DirectoryService mach_init port
Jul 10 08:04:44 localhost ConsoleMessage: Loading IP Firewall extension
Jul 10 08:04:45 localhost kernel: IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging disabled
Jul 10 08:04:45 localhost kernel: IPv6 packet filtering initialized, default to accept, logging disabled
Jul 10 08:04:45 localhost kernel: IP firewall loaded
Jul 10 08:04:45 localhost ConsoleMessage: Starting internet services
Jul 10 08:04:45 localhost xinetd[266]: xinetd Version 2.3.11 started with libwrap options compiled in.
Jul 10 08:04:45 localhost xinetd[266]: Started working: 2 available services
Jul 10 08:04:46 localhost SystemStarter: The following StartupItems failed to properly start:
Jul 10 08:04:46 localhost SystemStarter: /System/Library/StartupItems/CrashReporter
Jul 10 08:04:46 localhost SystemStarter: - execution of Startup script failed
Jul 10 08:04:46 localhost SystemStarter:
Jul 10 08:04:52 localhost kernel: AirPort: Link UP: "BTHomeHub-66EB" - 0018f65e09d3 - chan 1
Jul 10 08:06:35 localhost syslogd: restart
Jul 10 08:06:35 localhost syslogd: kernel boot file is /mach_kernel
Jul 10 08:06:35 localhost kernel: standard timeslicing quantum is 10000 us
Jul 10 08:06:35 localhost kernel: vmpagebootstrap: 60981 free pages
Jul 10 08:06:35 localhost kernel: migtable_maxdispl = 68
Jul 10 08:06:35 localhost kernel: IOKit Component Version 7.9:
Jul 10 08:06:35 localhost kernel: Wed Mar 30 20:07:52 PST 2005; root(rcbuilder):RELEASE_PPC/iokit/RELEASE
Jul 10 08:06:35 localhost kernel: 83 prelinked modules
Jul 10 08:06:35 localhost kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993
Jul 10 08:06:35 localhost kernel: The Regents of the University of California. All rights reserved.
Jul 10 08:06:35 localhost kernel:
Jul 10 08:06:35 localhost kernel: using 655 buffer headers and 655 cluster IO buffer headers
Jul 10 08:06:35 localhost kernel: Local FireWire GUID = 0xd93ff:0xfe6af016
Jul 10 08:06:35 localhost kernel: ADB present:8c
Jul 10 08:06:35 localhost kernel: Security auditing service present
Jul 10 08:06:35 localhost kernel: BSM auditing present
Jul 10 08:06:35 localhost kernel: From path: "/pci@f4000000/ata-6@d/disk@0:3,\mach_kernel", Waiting on <dict ID="0"><key>IOPathMatch</key><string ID="1">IODeviceTree:/pci@f4000000/ata-6@d/@0:3</string></dict>
Jul 10 08:06:35 localhost kernel: Got boot device = IOService:/MacRISC2PE/pci@f4000000/AppleMacRiscPCI/ata-6@D/AppleKauaiATA/ATADev iceNub@0/IOATABlockStorageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/TO SHIBA MK3025GAS Media/IOApplePartitionScheme/Untitled@3
Jul 10 08:06:35 localhost kernel: BSD root: disk0s3, major 14, minor 2
Jul 10 08:06:35 localhost kernel: jnl: replay_journal: from: 7401472 to: 4424192 (joffset 0x8601000)
Jul 10 08:06:36 localhost kernel: Jettisoning kernel linker.
Jul 10 08:06:36 localhost kextd[88]: registering service "com.apple.KernelExtensionServer"
Jul 10 08:06:37 localhost kernel: Resetting IOCatalogue.
Jul 10 08:06:42 localhost kernel: Matching service count = 0
Jul 10 08:06:42 localhost kernel: AppleRS232Serial: 0 0 AppleRS232Serial::start - returning false early, Connector or machine incorrect
Jul 10 08:06:43 localhost kernel: UniNEnet: Ethernet address 00:0d:93:6a:f0:16
Jul 10 08:06:43 localhost kernel: AirPortPCI: Ethernet address 00:0d:93:81:5a:85
Jul 10 08:06:43 localhost kernel: IOFireWireIP: FireWire address 00:0d:93:ff:fe:6a:f0:16
Jul 10 08:06:43 localhost SystemStarter: Welcome to Macintosh.
Jul 10 08:06:43 localhost lookupd[130]: lookupd (version 324.13) starting - Tue Jul 10 08:06:43 2007
Jul 10 08:06:43 localhost ConsoleMessage: Starting kernel event agent
Jul 10 08:06:43 localhost ConsoleMessage: Starting SecurityServer
Jul 10 08:06:44 localhost ConsoleMessage: Starting timed execution services
Jul 10 08:06:44 localhost ConsoleMessage: Initializing network
Jul 10 08:06:44 localhost SystemStarter: Starting kernel event agent
Jul 10 08:06:44 localhost ConsoleMessage: Starting Apple Multicast DNS Responder
Jul 10 08:06:44 localhost diskarbitrationd[91]: disk0s3 hfs 94ACCE2D-0606-37BE-ACEE-01B15973CA2B Macintosh HD /
Jul 10 08:06:44 localhost SystemStarter: Starting SecurityServer
Jul 10 08:06:44 localhost ConsoleMessage: Checking disks
Jul 10 08:06:44 localhost SystemStarter: Starting timed execution services
Jul 10 08:06:44 localhost SystemStarter: Initializing network
Jul 10 08:06:44 localhost SystemStarter: Starting Apple Multicast DNS Responder
Jul 10 08:06:45 localhost SystemStarter: Checking disks
Jul 10 08:06:45 localhost mDNSResponder[180]: mDNSResponder-58.8.1 (Jan 31 2005 21:11:41) starting
Jul 10 08:06:48 localhost mDNSResponder[180]: SetupAddr invalid sa_family 0
Jul 10 08:06:50 localhost ConsoleMessage: Starting HP IO Monitor
Jul 10 08:06:52 localhost configd[90]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/set-hostna me
Jul 10 08:06:52 localhost set-hostname[194]: setting hostname to nick-baines-Computer.local
Jul 10 08:06:54 localhost kernel: ATY,Via_A: vram [9c000000:02000000]
Jul 10 08:06:54 localhost kernel: ATY,Via_B: vram [98000000:02000000]
Jul 10 08:06:54 localhost SystemStarter: The "HasShadow" window property is obsolete. Use CGSSetWindowShadowAndRimParameters(cid, wid, 0.0,0.0, 0,0, CGSNoShadowStyle) to turn off the window shadow instead. Set a break-point on CGSLogMessage to find out where this property is set.
Jul 10 08:06:54 localhost mach_init[2]: Server 0 in bootstrap d03 uid 0: "/usr/libexec/fix_prebinding": exited with non-zero status 1 [pid 200]
Jul 10 08:06:54 localhost ConsoleMessage: Loading Shared IP extension
Jul 10 08:06:54 localhost /usr/libexec/panicdump: Error (-1) setting variable - 'aapl,panic-info'
Jul 10 08:06:54 localhost syslogd: /dev/console: Input/output error
Jul 10 08:06:54 localhost init: kernel security level changed from 0 to 1
Jul 10 08:06:54 localhost SystemStarter: crash reporter (214) did not complete successfully.
Jul 10 08:06:54 localhost ConsoleMessage: Starting printing services
Jul 10 08:06:54 localhost ConsoleMessage: Starting Apache web server
Jul 10 08:06:55 localhost ConsoleMessage: Starting Apple File Service
Jul 10 08:06:55 localhost ConsoleMessage: Starting HP Trap Monitor
Jul 10 08:06:55 localhost DirectoryService[258]: Launched version 1.8.5 (v258.3)
Jul 10 08:06:55 localhost /usr/sbin/AppleFileServer: Sent launch request message to DirectoryService mach_init port
Jul 10 08:06:55 localhost /usr/sbin/httpd: Sent launch request message to DirectoryService mach_init port
Jul 10 08:06:57 localhost ConsoleMessage: Loading IP Firewall extension
Jul 10 08:06:58 localhost kernel: IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging disabled
Jul 10 08:06:58 localhost kernel: IPv6 packet filtering initialized, default to accept, logging disabled
Jul 10 08:06:58 localhost kernel: IP firewall loaded
Jul 10 08:06:58 localhost ConsoleMessage: Starting internet services
Jul 10 08:06:58 localhost xinetd[273]: xinetd Version 2.3.11 started with libwrap options compiled in.
Jul 10 08:06:58 localhost xinetd[273]: Started working: 2 available services
Jul 10 08:06:58 localhost SystemStarter: The following StartupItems failed to properly start:
Jul 10 08:06:58 localhost SystemStarter: /System/Library/StartupItems/CrashReporter
Jul 10 08:06:58 localhost SystemStarter: - execution of Startup script failed
Jul 10 08:06:58 localhost SystemStarter:
Jul 10 08:07:03 localhost kernel: AirPort: Link UP: "BTHomeHub-66EB" - 0018f65e09d3 - chan 1
Jul 10 08:07:05 localhost configd[90]: posting notification com.apple.system.config.network_change
Jul 10 08:07:05 localhost configd[90]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/enable-net work
Jul 10 08:07:05 localhost configd[90]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/set-hostna me
Jul 10 08:07:05 localhost mach_init[2]: Server 0 in bootstrap d03 uid 0: "/usr/sbin/lookupd": exited as a result of signal 1 [pid 130]
Jul 10 08:07:05 localhost lookupd[307]: lookupd (version 324.13) starting - Tue Jul 10 08:07:05 2007
Jul 10 08:07:06 localhost ConsoleMessage: Starting network file system
Jul 10 08:07:06 localhost automount[347]: automount version 57
Jul 10 08:07:06 localhost set-hostname[357]: setting hostname to Unknown-00-0d-93-81-5a-85.home
Jul 10 08:07:06 localhost automount[360]: automount version 57
Jul 10 08:15:49 localhost syslogd: restart
Jul 10 08:15:49 localhost syslogd: kernel boot file is /mach_kernel
Jul 10 08:15:49 localhost kernel: standard timeslicing quantum is 10000 us
Jul 10 08:15:49 localhost kernel: vmpagebootstrap: 60981 free pages
Jul 10 08:15:49 localhost kernel: migtable_maxdispl = 68
Jul 10 08:15:49 localhost kernel: IOKit Component Version 7.9:
Jul 10 08:15:49 localhost kernel: Wed Mar 30 20:07:52 PST 2005; root(rcbuilder):RELEASE_PPC/iokit/RELEASE
Jul 10 08:15:49 localhost kernel: 83 prelinked modules
Jul 10 08:15:49 localhost kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993
Jul 10 08:15:49 localhost kernel: The Regents of the University of California. All rights reserved.
Jul 10 08:15:49 localhost kernel:
Jul 10 08:15:49 localhost kernel: using 655 buffer headers and 655 cluster IO buffer headers
Jul 10 08:15:49 localhost kernel: Local FireWire GUID = 0xd93ff:0xfe6af016
Jul 10 08:15:49 localhost kernel: ADB present:8c
Jul 10 08:15:49 localhost kernel: Security auditing service present
Jul 10 08:15:49 localhost kernel: BSM auditing present
Jul 10 08:15:49 localhost kernel: From path: "/pci@f4000000/ata-6@d/disk@0:3,\mach_kernel", Waiting on <dict ID="0"><key>IOPathMatch</key><string ID="1">IODeviceTree:/pci@f4000000/ata-6@d/@0:3</string></dict>
Jul 10 08:15:49 localhost kernel: Got boot device = IOService:/MacRISC2PE/pci@f4000000/AppleMacRiscPCI/ata-6@D/AppleKauaiATA/ATADev iceNub@0/IOATABlockStorageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/TO SHIBA MK3025GAS Media/IOApplePartitionScheme/Untitled@3
Jul 10 08:15:49 localhost kernel: BSD root: disk0s3, major 14, minor 2
Jul 10 08:15:49 localhost kernel: jnl: replay_journal: from: 5338112 to: 3540992 (joffset 0x8601000)
Jul 10 08:15:50 localhost kernel: Jettisoning kernel linker.
Jul 10 08:15:50 localhost kextd[88]: registering service "com.apple.KernelExtensionServer"
Jul 10 08:15:51 localhost kernel: Resetting IOCatalogue.
Jul 10 08:15:56 localhost kernel: Matching service count = 0
Jul 10 08:15:56 localhost kernel: AppleRS232Serial: 0 0 AppleRS232Serial::start - returning false early, Connector or machine incorrect
Jul 10 08:15:57 localhost kernel: UniNEnet: Ethernet address 00:0d:93:6a:f0:16
Jul 10 08:15:57 localhost kernel: AirPortPCI: Ethernet address 00:0d:93:81:5a:85
Jul 10 08:15:57 localhost kernel: IOFireWireIP: FireWire address 00:0d:93:ff:fe:6a:f0:16
Jul 10 08:16:01 localhost SystemStarter: Welcome to Macintosh.
Jul 10 08:16:02 localhost lookupd[125]: lookupd (version 324.13) starting - Tue Jul 10 08:16:02 2007
Jul 10 08:16:03 localhost ConsoleMessage: Starting SecurityServer
Jul 10 08:16:03 localhost ConsoleMessage: Starting Apple Multicast DNS Responder
Jul 10 08:16:03 localhost ConsoleMessage: Starting kernel event agent
Jul 10 08:16:03 localhost ConsoleMessage: Starting timed execution services
Jul 10 08:16:03 localhost ConsoleMessage: Starting HP IO Monitor
Jul 10 08:16:03 localhost SystemStarter: Starting SecurityServer
Jul 10 08:16:04 localhost SystemStarter: Starting Apple Multicast DNS Responder
Jul 10 08:16:04 localhost mDNSResponder[171]: mDNSResponder-58.8.1 (Jan 31 2005 21:11:41) starting
Jul 10 08:16:04 localhost SystemStarter: Starting kernel event agent
Jul 10 08:16:04 localhost ConsoleMessage: Initializing network
Jul 10 08:16:04 localhost diskarbitrationd[91]: disk0s3 hfs 94ACCE2D-0606-37BE-ACEE-01B15973CA2B Macintosh HD /
Jul 10 08:16:04 localhost ConsoleMessage: Checking disks
Jul 10 08:16:04 localhost mDNSResponder[171]: SetupAddr invalid sa_family 0
Jul 10 08:16:04 localhost SystemStarter: Starting timed execution services
Jul 10 08:16:04 localhost SystemStarter: Starting HP IO Monitor
Jul 10 08:16:04 localhost mach_init[2]: Server 0 in bootstrap d03 uid 0: "/usr/libexec/fix_prebinding": exited with non-zero status 1 [pid 184]
Jul 10 08:16:04 localhost SystemStarter: Initializing network
Jul 10 08:16:04 localhost SystemStarter: Checking disks
Jul 10 08:16:05 localhost configd[90]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/set-hostna me
Jul 10 08:16:05 localhost set-hostname[197]: setting hostname to nick-baines-Computer.local
Jul 10 08:16:07 localhost kernel: ATY,Via_A: vram [9c000000:02000000]
Jul 10 08:16:07 localhost kernel: ATY,Via_B: vram [98000000:02000000]
Jul 10 08:16:07 localhost SystemStarter: The "HasShadow" window property is obsolete. Use CGSSetWindowShadowAndRimParameters(cid, wid, 0.0,0.0, 0,0, CGSNoShadowStyle) to turn off the window shadow instead. Set a break-point on CGSLogMessage to find out where this property is set.
Jul 10 08:16:07 localhost ConsoleMessage: Loading Shared IP extension
Jul 10 08:16:08 localhost syslogd: /dev/console: Input/output error
Jul 10 08:16:07 localhost init: kernel security level changed from 0 to 1
Jul 10 08:16:08 localhost /usr/libexec/panicdump: Error (-1) setting variable - 'aapl,panic-info'
Jul 10 08:16:08 localhost SystemStarter: crash reporter (214) did not complete successfully.
Jul 10 08:16:08 localhost ConsoleMessage: Starting Apple File Service
Jul 10 08:16:08 localhost ConsoleMessage: Starting printing services
Jul 10 08:16:08 localhost ConsoleMessage: Starting Apache web server
Jul 10 08:16:08 localhost ConsoleMessage: Starting HP Trap Monitor
Jul 10 08:16:08 localhost DirectoryService[258]: Launched version 1.8.5 (v258.3)
Jul 10 08:16:08 localhost /usr/sbin/AppleFileServer: Sent launch request message to DirectoryService mach_init port
Jul 10 08:16:09 localhost ConsoleMessage: Loading IP Firewall extension
Jul 10 08:16:10 localhost kernel: IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging disabled
Jul 10 08:16:10 localhost kernel: IPv6 packet filtering initialized, default to accept, logging disabled
Jul 10 08:16:10 localhost kernel: IP firewall loaded
Jul 10 08:16:10 localhost ConsoleMessage: Starting internet services
Jul 10 08:16:10 localhost xinetd[265]: xinetd Version 2.3.11 started with libwrap options compiled in.
Jul 10 08:16:10 localhost xinetd[265]: Started working: 2 available services
Jul 10 08:16:10 localhost /usr/sbin/httpd: Sent launch request message to DirectoryService mach_init port
Jul 10 08:16:11 localhost SystemStarter: The following StartupItems failed to properly start:
Jul 10 08:16:11 localhost SystemStarter: /System/Library/StartupItems/CrashReporter
Jul 10 08:16:11 localhost SystemStarter: - execution of Startup script failed
Jul 10 08:16:11 localhost SystemStarter:
Jul 10 08:16:18 localhost kernel: AirPort: Link UP: "BTHomeHub-66EB" - 0018f65e09d3 - chan 1
Jul 10 08:16:20 localhost configd[90]: posting notification com.apple.system.config.network_change
Jul 10 08:16:20 localhost configd[90]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/enable-net work
Jul 10 08:16:20 localhost mach_init[2]: Server 0 in bootstrap d03 uid 0: "/usr/sbin/lookupd": exited as a result of signal 1 [pid 125]
Jul 10 08:16:20 localhost configd[90]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/set-hostna me
Jul 10 08:16:20 localhost lookupd[298]: lookupd (version 324.13) starting - Tue Jul 10 08:16:20 2007
Jul 10 08:16:20 localhost ConsoleMessage: Starting network file system
Jul 10 08:16:21 localhost automount[347]: automount version 57
Jul 10 08:16:21 localhost automount[350]: automount version 57
Jul 10 08:16:22 localhost set-hostname[360]: setting hostname to Unknown-00-0d-93-81-5a-85.home
Jul 10 08:25:31 localhost loginwindow[224]: sendQuitEventToApp (HP IO Classic Proxy): AESendWithMach returned error -609
Jul 10 08:25:31 localhost loginwindow[224]: sendQuitEventToApp (HP IO Classic Proxy 2): AESendWithMach returned error -609
Jul 10 08:25:33 localhost loginwindow[224]: halting
Jul 10 08:25:33 localhost shutdown: halt by nickbaines:
Jul 10 08:25:36 localhost syslogd: exiting on signal 15
Jul 10 09:04:42 localhost syslogd: restart
Jul 10 09:04:42 localhost syslogd: kernel boot file is /mach_kernel
Jul 10 09:04:42 localhost kernel: standard timeslicing quantum is 10000 us
Jul 10 09:04:42 localhost kernel: vmpagebootstrap: 60981 free pages
Jul 10 09:04:42 localhost kernel: migtable_maxdispl = 68
Jul 10 09:04:42 localhost kernel: IOKit Component Version 7.9:
Jul 10 09:04:42 localhost kernel: Wed Mar 30 20:07:52 PST 2005; root(rcbuilder):RELEASE_PPC/iokit/RELEASE
Jul 10 09:04:43 localhost kernel: 83 prelinked modules
Jul 10 09:04:43 localhost kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993
Jul 10 09:04:43 localhost kernel: The Regents of the University of California. All rights reserved.
Jul 10 09:04:43 localhost kernel:
Jul 10 09:04:43 localhost kernel: using 655 buffer headers and 655 cluster IO buffer headers
Jul 10 09:04:43 localhost kernel: Local FireWire GUID = 0xd93ff:0xfe6af016
Jul 10 09:04:43 localhost kernel: ADB present:8c
Jul 10 09:04:43 localhost kernel: Security auditing service present
Jul 10 09:04:43 localhost kernel: BSM auditing present
Jul 10 09:04:43 localhost kernel: From path: "/pci@f4000000/ata-6@d/disk@0:3,\mach_kernel", Waiting on <dict ID="0"><key>IOPathMatch</key><string ID="1">IODeviceTree:/pci@f4000000/ata-6@d/@0:3</string></dict>
Jul 10 09:04:43 localhost kernel: Got boot device = IOService:/MacRISC2PE/pci@f4000000/AppleMacRiscPCI/ata-6@D/AppleKauaiATA/ATADev iceNub@0/IOATABlockStorageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/TO SHIBA MK3025GAS Media/IOApplePartitionScheme/Untitled@3
Jul 10 09:04:43 localhost kernel: BSD root: disk0s3, major 14, minor 2
Jul 10 09:04:44 localhost kernel: Jettisoning kernel linker.
Jul 10 09:04:44 localhost kextd[88]: registering service "com.apple.KernelExtensionServer"
Jul 10 09:04:45 localhost kernel: Resetting IOCatalogue.
Jul 10 09:04:49 localhost kernel: Matching service count = 0
Jul 10 09:04:49 localhost kernel: AppleRS232Serial: 0 0 AppleRS232Serial::start - returning false early, Connector or machine incorrect
Jul 10 09:04:50 localhost kernel: UniNEnet: Ethernet address 00:0d:93:6a:f0:16
Jul 10 09:04:51 localhost kernel: AirPortPCI: Ethernet address 00:0d:93:81:5a:85
Jul 10 09:04:51 localhost kernel: IOFireWireIP: FireWire address 00:0d:93:ff:fe:6a:f0:16
Jul 10 09:04:50 localhost SystemStarter: Welcome to Macintosh.
Jul 10 09:04:56 localhost lookupd[124]: lookupd (version 324.13) starting - Tue Jul 10 09:04:56 2007
Jul 10 09:04:56 localhost ConsoleMessage: Starting SecurityServer
Jul 10 09:04:56 localhost ConsoleMessage: Starting Apple Multicast DNS Responder
Jul 10 09:04:57 localhost ConsoleMessage: Starting kernel event agent
Jul 10 09:04:57 localhost ConsoleMessage: Starting timed execution services
Jul 10 09:04:57 localhost diskarbitrationd[91]: disk0s3 hfs 94ACCE2D-0606-37BE-ACEE-01B15973CA2B Macintosh HD /
Jul 10 09:04:57 localhost ConsoleMessage: Starting HP IO Monitor
Jul 10 09:04:57 localhost SystemStarter: Starting SecurityServer
Jul 10 09:04:57 localhost ConsoleMessage: Initializing network
Jul 10 09:04:57 localhost SystemStarter: Starting Apple Multicast DNS Responder
Jul 10 09:04:57 localhost mDNSResponder[175]: mDNSResponder-58.8.1 (Jan 31 2005 21:11:41) starting
Jul 10 09:04:57 localhost ConsoleMessage: Checking disks
Jul 10 09:04:57 localhost mDNSResponder[175]: SetupAddr invalid sa_family 0
Jul 10 09:04:57 localhost SystemStarter: Starting kernel event agent
Jul 10 09:04:57 localhost SystemStarter: Starting timed execution services
Jul 10 09:04:57 localhost SystemStarter: Starting HP IO Monitor
Jul 10 09:04:57 localhost mach_init[2]: Server 0 in bootstrap d03 uid 0: "/usr/libexec/fix_prebinding": exited with non-zero status 1 [pid 183]
Jul 10 09:04:57 localhost SystemStarter: Initializing network
Jul 10 09:04:57 localhost SystemStarter: Checking disks
Jul 10 09:04:58 localhost ConsoleMessage: Starting HP Trap Monitor
Jul 10 09:04:59 localhost configd[90]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/set-hostna me
Jul 10 09:04:59 localhost set-hostname[205]: setting hostname to nick-baines-Computer.local
Jul 10 09:05:01 localhost kernel: ATY,Via_A: vram [9c000000:02000000]
Jul 10 09:05:01 localhost kernel: ATY,Via_B: vram [98000000:02000000]
Jul 10 09:05:01 localhost SystemStarter: The "HasShadow" window property is obsolete. Use CGSSetWindowShadowAndRimParameters(cid, wid, 0.0,0.0, 0,0, CGSNoShadowStyle) to turn off the window shadow instead. Set a break-point on CGSLogMessage to find out where this property is set.
Jul 10 09:05:01 localhost ConsoleMessage: Loading Shared IP extension
Jul 10 09:05:01 localhost ConsoleMessage: Starting Apple File Service
Jul 10 09:05:02 localhost ConsoleMessage: Starting Apache web server
Jul 10 09:05:02 localhost ConsoleMessage: Starting printing services
Jul 10 09:05:02 localhost syslogd: /dev/console: Input/output error
Jul 10 09:05:02 localhost init: kernel security level changed from 0 to 1
Jul 10 09:05:02 localhost DirectoryService[258]: Launched version 1.8.5 (v258.3)
Jul 10 09:05:02 localhost /usr/sbin/AppleFileServer: Sent launch request message to DirectoryService mach_init port
Jul 10 09:05:03 localhost ConsoleMessage: Loading IP Firewall extension
Jul 10 09:05:04 localhost kernel: IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging disabled
Jul 10 09:05:04 localhost kernel: IPv6 packet filtering initialized, default to accept, logging disabled
Jul 10 09:05:04 localhost kernel: IP firewall loaded
Jul 10 09:05:04 localhost ConsoleMessage: Starting internet services
Jul 10 09:05:04 localhost xinetd[265]: xinetd Version 2.3.11 started with libwrap options compiled in.
Jul 10 09:05:04 localhost xinetd[265]: Started working: 2 available services
Jul 10 09:05:12 localhost kernel: AirPort: Link UP: "BTHomeHub-66EB" - 0018f65e09d3 - chan 1
Jul 10 09:05:14 localhost configd[90]: posting notification com.apple.system.config.network_change
Jul 10 09:05:14 localhost configd[90]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/enable-net work
Jul 10 09:05:14 localhost configd[90]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/set-hostna me
Jul 10 09:05:14 localhost mach_init[2]: Server 0 in bootstrap d03 uid 0: "/usr/sbin/lookupd": exited as a result of signal 1 [pid 124]
Jul 10 09:05:14 localhost lookupd[311]: lookupd (version 324.13) starting - Tue Jul 10 09:05:14 2007
Jul 10 09:05:15 localhost ConsoleMessage: Starting network file system
Jul 10 09:05:15 localhost automount[347]: automount version 57
Jul 10 09:05:15 localhost set-hostname[357]: setting hostname to Unknown-00-0d-93-81-5a-85.home
Jul 10 09:05:15 localhost automount[360]: automount version 57
Jul 10 09:13:42 localhost syslogd: restart
Jul 10 09:13:42 localhost syslogd: kernel boot file is /mach_kernel
Jul 10 09:13:42 localhost kernel: standard timeslicing quantum is 10000 us
Jul 10 09:13:42 localhost kernel: vmpagebootstrap: 60981 free pages
Jul 10 09:13:42 localhost kernel: migtable_maxdispl = 68
Jul 10 09:13:42 localhost kernel: IOKit Component Version 7.9:
Jul 10 09:13:42 localhost kernel: Wed Mar 30 20:07:52 PST 2005; root(rcbuilder):RELEASE_PPC/iokit/RELEASE
Jul 10 09:13:42 localhost kernel: 83 prelinked modules
Jul 10 09:13:42 localhost kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993
Jul 10 09:13:42 localhost kernel: The Regents of the University of California. All rights reserved.
Jul 10 09:13:42 localhost kernel:
Jul 10 09:13:42 localhost kernel: using 655 buffer headers and 655 cluster IO buffer headers
Jul 10 09:13:42 localhost kernel: Local FireWire GUID = 0xd93ff:0xfe6af016
Jul 10 09:13:42 localhost kernel: ADB present:8c
Jul 10 09:13:42 localhost kernel: Security auditing service present
Jul 10 09:13:42 localhost kernel: BSM auditing present
Jul 10 09:13:42 localhost kernel: From path: "/pci@f4000000/ata-6@d/disk@0:3,\mach_kernel", Waiting on <dict ID="0"><key>IOPathMatch</key><string ID="1">IODeviceTree:/pci@f4000000/ata-6@d/@0:3</string></dict>
Jul 10 09:13:42 localhost kernel: Got boot device = IOService:/MacRISC2PE/pci@f4000000/AppleMacRiscPCI/ata-6@D/AppleKauaiATA/ATADev iceNub@0/IOATABlockStorageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/TO SHIBA MK3025GAS Media/IOApplePartitionScheme/Untitled@3
Jul 10 09:13:42 localhost kernel: BSD root: disk0s3, major 14, minor 2
Jul 10 09:13:42 localhost kernel: jnl: replay_journal: from: 5842432 to: 3659264 (joffset 0x8601000)
Jul 10 09:13:43 localhost kernel: Jettisoning kernel linker.
Jul 10 09:13:43 localhost kextd[88]: registering service "com.apple.KernelExtensionServer"
Jul 10 09:13:44 localhost kernel: Resetting IOCatalogue.
Jul 10 09:13:49 localhost kernel: Matching service count = 0
Jul 10 09:13:49 localhost kernel: AppleRS232Serial: 0 0 AppleRS232Serial::start - returning false early, Connector or machine incorrect
Jul 10 09:13:50 localhost kernel: UniNEnet: Ethernet address 00:0d:93:6a:f0:16
Jul 10 09:13:50 localhost kernel: AirPortPCI: Ethernet address 00:0d:93:81:5a:85
Jul 10 09:13:50 localhost kernel: IOFireWireIP: FireWire address 00:0d:93:ff:fe:6a:f0:16
Jul 10 09:13:50 localhost SystemStarter: Welcome to Macintosh.
Jul 10 09:13:55 localhost lookupd[129]: lookupd (version 324.13) starting - Tue Jul 10 09:13:55 2007
Jul 10 09:13:56 localhost ConsoleMessage: Starting kernel event agent
Jul 10 09:13:56 localhost ConsoleMessage: Starting SecurityServer
Jul 10 09:13:56 localhost SystemStarter: Starting kernel event agent
Jul 10 09:13:56 localhost ConsoleMessage: Starting Apple Multicast DNS Responder
Jul 10 09:13:56 localhost diskarbitrationd[91]: disk0s3 hfs 94ACCE2D-0606-37BE-ACEE-01B15973CA2B Macintosh HD /
Jul 10 09:13:56 localhost ConsoleMessage: Starting timed execution services
Jul 10 09:13:56 localhost SystemStarter: Starting SecurityServer
Jul 10 09:13:56 localhost ConsoleMessage: Starting HP IO Monitor
Jul 10 09:13:57 localhost SystemStarter: Starting Apple Multicast DNS Responder
Jul 10 09:13:57 localhost mDNSResponder[170]: mDNSResponder-58.8.1 (Jan 31 2005 21:11:41) starting
Jul 10 09:13:57 localhost SystemStarter: Starting timed execution services
Jul 10 09:13:57 localhost mDNSResponder[170]: SetupAddr invalid sa_family 0
Jul 10 09:13:57 localhost ConsoleMessage: Checking disks
Jul 10 09:13:57 localhost SystemStarter: Starting HP IO Monitor
Jul 10 09:13:57 localhost mach_init[2]: Server 0 in bootstrap d03 uid 0: "/usr/libexec/fix_prebinding": exited with non-zero status 1 [pid 181]
Jul 10 09:13:57 localhost SystemStarter: Checking disks
Jul 10 09:13:57 localhost ConsoleMessage: Initializing network
Jul 10 09:13:57 localhost SystemStarter: Initializing network
Jul 10 09:13:58 localhost configd[90]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/set-hostna me
Jul 10 09:13:58 localhost set-hostname[197]: setting hostname to nick-baines-Computer.local
Jul 10 09:14:00 localhost kernel: ATY,Via_A: vram [9c000000:02000000]
Jul 10 09:14:00 localhost kernel: ATY,Via_B: vram [98000000:02000000]
Jul 10 09:14:00 localhost SystemStarter: The "HasShadow" window property is obsolete. Use CGSSetWindowShadowAndRimParameters(cid, wid, 0.0,0.0, 0,0, CGSNoShadowStyle) to turn off the window shadow instead. Set a break-point on CGSLogMessage to find out where this property is set.
Jul 10 09:14:01 localhost ConsoleMessage: Starting HP Trap Monitor
Jul 10 09:14:01 localhost ConsoleMessage: Loading Shared IP extension
Jul 10 09:14:01 localhost ConsoleMessage: Starting Apple File Service
Jul 10 09:14:01 localhost ConsoleMessage: Starting Apache web server
Jul 10 09:14:01 localhost ConsoleMessage: Starting printing services
Jul 10 09:14:01 localhost syslogd: /dev/console: Input/output error
Jul 10 09:14:01 localhost init: kernel security level changed from 0 to 1
Jul 10 09:14:01 localhost /usr/sbin/AppleFileServer: Sent launch request message to DirectoryService mach_init port
Jul 10 09:14:01 localhost DirectoryService[256]: Launched version 1.8.5 (v258.3)
Jul 10 09:14:02 localhost ConsoleMessage: Loading IP Firewall extension
Jul 10 09:14:03 localhost /usr/sbin/httpd: Sent launch request message to DirectoryService mach_init port
Jul 10 09:14:04 localhost kernel: IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging disabled
Jul 10 09:14:04 localhost kernel: IPv6 packet filtering initialized, default to accept, logging disabled
Jul 10 09:14:04 localhost kernel: IP firewall loaded
Jul 10 09:14:04 localhost ConsoleMessage: Starting internet services
Jul 10 09:14:04 localhost xinetd[272]: xinetd Version 2.3.11 started with libwrap options compiled in.
Jul 10 09:14:04 localhost xinetd[272]: Started working: 2 available services
Jul 10 09:14:10 localhost kernel: AirPort: Link UP: "BTHomeHub-66EB" - 0018f65e09d3 - chan 1
Jul 10 09:14:12 localhost configd[90]: posting notification com.apple.system.config.network_change
Jul 10 09:14:12 localhost configd[90]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/enable-net work
Jul 10 09:14:12 localhost configd[90]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/set-hostna me
Jul 10 09:14:12 localhost mach_init[2]: Server 0 in bootstrap d03 uid 0: "/usr/sbin/lookupd": exited as a result of signal 1 [pid 129]
Jul 10 09:14:13 localhost lookupd[307]: lookupd (version 324.13) starting - Tue Jul 10 09:14:13 2007
Jul 10 09:14:14 localhost ConsoleMessage: Starting network file system
Jul 10 09:14:14 localhost set-hostname[353]: setting hostname to Unknown-00-0d-93-81-5a-85.home
Jul 10 09:14:14 localhost automount[357]: automount version 57
Jul 10 09:14:14 localhost automount[360]: automount version 57
Jul 10 09:28:33 localhost syslogd: restart
Jul 10 09:28:33 localhost syslogd: kernel boot file is /mach_kernel
Jul 10 09:28:33 localhost kernel: standard timeslicing quantum is 10000 us
Jul 10 09:28:33 localhost kernel: vmpagebootstrap: 60981 free pages
Jul 10 09:28:33 localhost kernel: migtable_maxdispl = 68
Jul 10 09:28:33 localhost kernel: IOKit Component Version 7.9:
Jul 10 09:28:33 localhost kernel: Wed Mar 30 20:07:52 PST 2005; root(rcbuilder):RELEASE_PPC/iokit/RELEASE
Jul 10 09:28:33 localhost kernel: 83 prelinked modules
Jul 10 09:28:34 localhost kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993
Jul 10 09:28:34 localhost kernel: The Regents of the University of California. All rights reserved.
Jul 10 09:28:34 localhost kernel:
Jul 10 09:28:34 localhost kernel: using 655 buffer headers and 655 cluster IO buffer headers
Jul 10 09:28:34 localhost kernel: Local FireWire GUID = 0xd93ff:0xfe6af016
Jul 10 09:28:34 localhost kernel: ADB present:8c
Jul 10 09:28:34 localhost kernel: Security auditing service present
Jul 10 09:28:34 localhost kernel: BSM auditing present
Jul 10 09:28:34 localhost kernel: From path: "/pci@f4000000/ata-6@d/disk@0:3,\mach_kernel", Waiting on <dict ID="0"><key>IOPathMatch</key><string ID="1">IODeviceTree:/pci@f4000000/ata-6@d/@0:3</string></dict>
Jul 10 09:28:34 localhost kernel: Got boot device = IOService:/MacRISC2PE/pci@f4000000/AppleMacRiscPCI/ata-6@D/AppleKauaiATA/ATADev iceNub@0/IOATABlockStorageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/TO SHIBA MK3025GAS Media/IOApplePartitionScheme/Untitled@3
Jul 10 09:28:34 localhost kernel: BSD root: disk0s3, major 14, minor 2
Jul 10 09:28:34 localhost kernel: jnl: replay_journal: from: 6746112 to: 3913216 (joffset 0x8601000)
Jul 10 09:28:35 localhost kernel: Jettisoning kernel linker.
Jul 10 09:28:35 localhost kextd[88]: registering service "com.apple.KernelExtensionServer"
Jul 10 09:28:36 localhost kernel: Resetting IOCatalogue.
Jul 10 09:28:41 localhost kernel: Matching service count = 0
Jul 10 09:28:41 localhost kernel: AppleRS232Serial: 0 0 AppleRS232Serial::start - returning false early, Connector or machine incorrect
Jul 10 09:28:42 localhost kernel: UniNEnet: Ethernet address 00:0d:93:6a:f0:16
Jul 10 09:28:42 localhost kernel: AirPortPCI: Ethernet address 00:0d:93:81:5a:85
Jul 10 09:28:42 localhost kernel: IOFireWireIP: FireWire address 00:0d:93:ff:fe:6a:f0:16
Jul 10 09:28:42 localhost SystemStarter: Welcome to Macintosh.
Jul 10 09:28:48 localhost lookupd[124]: lookupd (version 324.13) starting - Tue Jul 10 09:28:48 2007
Jul 10 09:28:48 localhost ConsoleMessage: Starting SecurityServer
Jul 10 09:28:48 localhost ConsoleMessage: Starting timed execution services
Jul 10 09:28:48 localhost ConsoleMessage: Starting kernel event agent
Jul 10 09:28:48 localhost diskarbitrationd[91]: disk0s3 hfs 94ACCE2D-0606-37BE-ACEE-01B15973CA2B Macintosh HD /
Jul 10 09:28:48 localhost ConsoleMessage: Starting Apple Multicast DNS Responder
Jul 10 09:28:48 localhost SystemStarter: Starting SecurityServer
Jul 10 09:28:49 localhost ConsoleMessage: Initializing network
Jul 10 09:28:49 localhost SystemStarter: Starting timed execution services
Jul 10 09:28:49 localhost ConsoleMessage: Checking disks
Jul 10 09:28:49 localhost SystemStarter: Starting kernel event agent
Jul 10 09:28:49 localhost ConsoleMessage: Starting HP IO Monitor
Jul 10 09:28:49 localhost SystemStarter: Starting Apple Multicast DNS Responder
Jul 10 09:28:49 localhost mDNSResponder[181]: mDNSResponder-58.8.1 (Jan 31 2005 21:11:41) starting
Jul 10 09:28:49 localhost SystemStarter: Initializing network
Jul 10 09:28:49 localhost mDNSResponder[181]: SetupAddr invalid sa_family 0
Jul 10 09:28:49 localhost SystemStarter: Checking disks
Jul 10 09:28:49 localhost SystemStarter: Starting HP IO Monitor
Jul 10 09:28:49 localhost mach_init[2]: Server 0 in bootstrap d03 uid 0: "/usr/libexec/fix_prebinding": exited with non-zero status 1 [pid 186]
Jul 10 09:28:50 localhost ConsoleMessage: Starting HP Trap Monitor
Jul 10 09:28:50 localhost configd[90]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/set-hostna me
Jul 10 09:28:51 localhost set-hostname[205]: setting hostname to nick-baines-Computer.local
Jul 10 09:28:52 localhost kernel: ATY,Via_A: vram [9c000000:02000000]
Jul 10 09:28:52 localhost kernel: ATY,Via_B: vram [98000000:02000000]
Jul 10 09:28:52 localhost SystemStarter: The "HasShadow" window property is obsolete. Use CGSSetWindowShadowAndRimParameters(cid, wid, 0.0,0.0, 0,0, CGSNoShadowStyle) to turn off the window shadow instead. Set a break-point on CGSLogMessage to find out where this property is set.
Jul 10 09:28:53 localhost ConsoleMessage: Loading Shared IP extension
Jul 10 09:28:53 localhost ConsoleMessage: Starting Apple File Service
Jul 10 09:28:53 localhost ConsoleMessage: Starting printing services
Jul 10 09:28:53 localhost syslogd: /dev/console: Input/output error
Jul 10 09:28:53 localhost init: kernel security level changed from 0 to 1
Jul 10 09:28:53 localhost ConsoleMessage: Starting Apache web server
Jul 10 09:28:53 localhost DirectoryService[258]: Launched version 1.8.5 (v258.3)
Jul 10 09:28:53 localhost /usr/sbin/AppleFileServer: Sent launch request message to DirectoryService mach_init port
Jul 10 09:28:54 localhost ConsoleMessage: Loading IP Firewall extension
Jul 10 09:28:55 localhost /usr/sbin/httpd: Sent launch request message to DirectoryService mach_init port
Jul 10 09:28:56 localhost kernel: IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging disabled
Jul 10 09:28:56 localhost kernel: IPv6 packet filtering initialized, default to accept, logging disabled
Jul 10 09:28:56 localhost kernel: IP firewall loaded
Jul 10 09:28:56 localhost ConsoleMessage: Starting internet services
Jul 10 09:28:56 localhost xinetd[269]: xinetd Version 2.3.11 started with libwrap options compiled in.
Jul 10 09:28:56 localhost xinetd[269]: Started working: 2 available services
Jul 10 09:29:02 localhost kernel: AirPort: Link UP: "BTHomeHub-66EB" - 0018f65e09d3 - chan 1
Jul 10 09:29:04 localhost configd[90]: posting notification com.apple.system.config.network_change
Jul 10 09:29:04 localhost mach_init[2]: Server 0 in bootstrap d03 uid 0: "/usr/sbin/lookupd": exited as a result of signal 1 [pid 124]
Jul 10 09:29:04 localhost configd[90]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/enable-net work
Jul 10 09:29:04 localhost configd[90]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/set-hostna me
Jul 10 09:29:04 localhost lookupd[300]: lookupd (version 324.13) starting - Tue Jul 10 09:29:04 2007
Jul 10 09:29:05 localhost ConsoleMessage: Starting network file system
Jul 10 09:29:06 localhost automount[347]: automount version 57
Jul 10 09:29:06 localhost automount[350]: automount version 57
Jul 10 09:29:06 localhost set-hostname[360]: setting hostname to Unknown-00-0d-93-81-5a-85.homeOkay, This subject was just covered in a mag I was reading today..MacWorld. Startup in safe-mode [hold the shift key down when you hear the tone and release it when you see the Apple logo]. One you are booted up open MacintoshHD>System>Library>Extentions. In that folder look for the bt broadband or whatever the update was. It will have .kext on it. Throw it in the trash and restart.
If you are not sure which it is you could open the Update you installed with Pacifist and search the files of the installer.
Pacifist can be found at:
http://www.charlessoft.com/
Good Luck, Glynn -
error
19e529fd-3785-410e-ad4e-f4c8542ade52 2014-03-17T21:40:59.079Z err { message: '@D
efault is not a parameter for procedure sp_Address_UPDATE.',? type: 'alert',?
stack: 'Error: @Default is not a parameter for procedure sp_Address_UPDATE.\n
at TDSStream.onRequestComplete (c:\Projects\caa-api\lib\data\tedious\TDSS
tream.js:67:11)\n at Request.callback (c:\Projects\caa-api\node_modules\t
edious\lib\request.js:24:27)\n at PooledConnection.Connection.STATE.SENT_CL
IENT_REQUEST.events.message (c:\Projects\caa-api\node_modules\tedious\lib\
connection.js:198:29)\n at PooledConnection.Connection.dispatchEvent (c:\Pro
jects\caa-api\node_modules\tedious\lib\connection.js:465:59)\n at Messag
eIO. (c:\Projects\caa-api\node_modules\tedious\lib\connection.j
s:419:20)\n at MessageIO.EventEmitter.emit (events.js:92:17)\n at MessageI
O.eventData (c:\Projects\caa-api\node_modules\tedious\lib\message-io.js:59
:21)\n at CleartextStream. (c:\Projects\caa-api\node_modules\t
edious\lib\message-io.js:3:59)\n at CleartextStream.EventEmitter.emit (even
ts.js:95:17)\n at CleartextStream. (_stream_readable.js:746:14)' }
existing Proc
sp_helptext sp_Address_UPDATE
CREATE PROCEDURE [dbo].[sp_Address_UPDATE]
@AddressID INT OUTPUT,
@Line1 NVARCHAR(400) = NULL,
@Line2 NVARCHAR(400) = NULL,
@Line3 NVARCHAR(400) = NULL,
@UnitNumber NVARCHAR(30) = NULL,
@City NVARCHAR(400) = NULL,
@StateProvinceID INT = NULL,
@PostalCode NVARCHAR(50) = NULL,
@CountryID INT = NULL,
@Latitude NUMERIC(30, 8) = NULL,
@Longitude NUMERIC(30, 8) = NULL,
@Elevation NUMERIC(30, 8) = NULL,
@Active SMALLINT = NULL,
@ModifiedBy NVARCHAR(50) = NULL,
@Error NVARCHAR(400) = NULL OUTPUT,
@Locality NVARCHAR(400)=NULL,
@AdministrativeArea NVARCHAR(400)=NULL,
@AdministrativeSubArea NVARCHAR(400)=NULL,
@Country NVARCHAR(400)=NULL
AS
IF @Country IS NOT NULL
SELECT @Countryid = CountryId
FROM countries
WHERE ( Country = @Country )
OR ( CountryAbrv2 = @Country )
OR ( CountryAbrv3 = @Country )
IF @AdministrativeArea IS NOT NULL
SELECT @StateProvinceID = StateProvinceID
FROM StateProvince
WHERE ( abbreviation = @AdministrativeArea )
OR ( name = @AdministrativeArea )
-- BEGIN TRAN
UPDATE a
SET Line1 = ISNULL(@Line1, a.Line1),
Line2 = ISNULL(@Line2, a.Line2),
Line3 = ISNULL(@Line3, a.Line3),
UnitNumber = ISNULL(@UnitNumber, a.UnitNumber),
City = ISNULL(@City, a.City),
StateProvinceID = CASE
WHEN AdministrativeArea IS NOT NULL
AND @StateProvinceID IS NULL THEN NULL
ELSE ISNULL(@StateProvinceID, a.StateProvinceID)
END,
PostalCode = ISNULL(@PostalCode, a.PostalCode),
CountryID = CASE
WHEN Country IS NOT NULL
AND @CountryID IS NULL THEN NULL
ELSE ISNULL(@CountryID, a.CountryID)
END,
Latitude = ISNULL(@Latitude, a.Latitude),
Longitude = ISNULL(@Longitude, a.Longitude),
Elevation = ISNULL(@Elevation, a.Elevation),
Active = ISNULL(@Active, a.Active),
ModifiedDate = GETDATE(),
ModifiedBy = ISNULL(@ModifiedBy, ModifiedBy),
locality = ISNULL(@locality, locality),
AdministrativeArea = ISNULL(@AdministrativeArea, AdministrativeArea),
AdministrativeSubArea = ISNULL(@AdministrativeSubArea, AdministrativeSubArea),
Country = ISNULL(@Country, Country),
geogcode = CASE
WHEN @latitude IS NOT NULL
AND @longitude IS NOT NULL THEN geography::STPointFromText('POINT(' + CAST(@Longitude AS VARCHAR(20))
+ ' ' + CAST(@Latitude AS VARCHAR(20)) + ')', 4326)
ELSE NULL
END,
geocode = CASE
WHEN @latitude IS NOT NULL
AND @longitude IS NOT NULL THEN geometry::STPointFromText('POINT(' + CAST(@Longitude AS VARCHAR(20))
+ ' ' + CAST(@Latitude AS VARCHAR(20)) + ')', 4326)
ELSE NULL
END
FROM [Address] a
WHERE a.AddressID = @AddressID
IF EXISTS(SELECT *
FROM address
WHERE Addressid = @addressid
AND ( locality IS NOT NULL
OR AdministrativeArea IS NOT NULL
OR country IS NOT NULL ))
SELECT AddressID,
Line1,
Line2,
Line3,
UnitNumber,
isnull(Locality, City) AS 'Locality',
a.StateProvinceID,
isnull(administrativeArea, S.Name) AS 'AdministrativeArea',
AdministrativeSubArea,
a.PostalCode,
a.CountryID,
isnull(c.Country, a.Country) AS Country,
a.Latitude,
a.Longitude,
a.Elevation,
a.ModifiedBy,
a.ModifiedDate
FROM [Address] a
LEFT JOIN stateprovince s
ON s.stateprovinceid = a.stateprovinceid
LEFT JOIN Countries c
ON c.Countryid = a.Countryid
WHERE AddressID = @AddressID
ELSE
SELECT AddressID,
Line1,
Line2,
Line3,
UnitNumber,
City,
StateProvinceID,
PostalCode,
CountryID,
Latitude,
Longitude,
Elevation,
ModifiedBy,
ModifiedDate
FROM [Address]
WHERE AddressID = @AddressID
RETURN @AddressIDNothing in the procedure is right. The “sp_” prefix has special meaning in T-SQL, so the name is wrong. THEN it gets even worse.
No postal service in Earth uses 400 character address lineS. Can you give me an exampelf of a city_ with 400 characters?
Longitude and latitude are done with FLOAT because of the math used. ISO country codes are CHAR(3). Addresses do not have an id; we have “<something>_address” in RDBMS. Do you want some industry standard like the SAN?
The (ModIFiedBy, ModIFiedDate) pair is audit data, so it is illegal to have it in the table under audit.
Your code is BASIC or COBOL written in T-SQL with 1960's with IF-THEN control flow and not in declarative SQL! Why did you fail to use COALESCE?
Look at how to write a MERGE statement and get rid of this procedure. And look at an address scrubbing tool for the data. In the future, post DDL and follow minimal Netiquette.
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL -
Index issue - dont understand the cost
Hello
I have a 112mil row table that I have copied to a new tablespace, which worked fine
I'm then adding indexes to the copied table, but gets huge costs in the plans when trying to do a query using the new index, compared to quirying the original table/indexes
To begin with I tired changing my main index to another tablespace and bigger initial extend, but even if I remove all this, and put it in the same tablespace as the original index and created the same way, I get the same huge difference.
In most om my system queries this will cause that the CBO doesn't use the index, and the queries get very slow. If I do a simple select and the index is actually chosen, even though the cost is huge, the actual query time is the same as the origibal table/query. I cant get the index cost to change by trying different dbms_stats.gather_index_stats settings
Can anybody tell me why this new index comes up with such a huge cost, and what I can do to bring the cost down, so that the index actually gets chosen?
Here are the basic information:
It's on Oracle 10gR2 (10.2.0.4) EE
The simplyfied create statement for both the original and the new index:
CREATE INDEX IDX_POS_DATE ON FMC_POS
("UTC_DATE" DESC, FMC_LOGVES_ID)
CREATE INDEX IDX_POS_DATE_P2 ON FMC_POS_p2
("UTC_DATE" DESC, FMC_LOGVES_ID)
The two indexes in dba_indexes:
Original:
OWNER: VTRACK
INDEX_NAME: IDX_POS_DATE
INDEX_TYPE: FUNCTION-BASED NORMAL
TABLE_OWNER: VTRACK
TABLE_NAME: FMC_POS
TABLE_TYPE: TABLE
UNIQUENESS: NONUNIQUE
COMPRESSION: DISABLED
PREFIX_LENGTH:
TABLESPACE_NAME: USERS
INI_TRANS: 2
MAX_TRANS: 255
INITIAL_EXTENT: 65536
NEXT_EXTENT:
MIN_EXTENTS: 1
MAX_EXTENTS: 2147483645
PCT_INCREASE:
PCT_THRESHOLD:
INCLUDE_COLUMN:
FREELISTS:
FREELIST_GROUPS:
PCT_FREE: 10
LOGGING: YES
BLEVEL: 3
LEAF_BLOCKS: 439239
DISTINCT_KEYS: 108849202
AVG_LEAF_BLOCKS_PER_KEY: 1
AVG_DATA_BLOCKS_PER_KEY: 1
CLUSTERING_FACTOR: 79021005
STATUS: VALID
NUM_ROWS: 110950137
SAMPLE_SIZE: 2177632
LAST_ANALYZED: 09-05-2011 23:38:15
DEGREE: 1
INSTANCES: 1
PARTITIONED: NO
TEMPORARY: N
GENERATED: N
SECONDARY: N
BUFFER_POOL: DEFAULT
USER_STATS: NO
DURATION:
PCT_DIRECT_ACCESS:
ITYP_OWNER:
ITYP_NAME:
PARAMETERS:
GLOBAL_STATS: YES
DOMIDX_STATUS:
DOMIDX_OPSTATUS:
FUNCIDX_STATUS: ENABLED
JOIN_INDEX: NO
IOT_REDUNDANT_PKEY_ELIM: NO
DROPPED: NO
New:
OWNER: VTRACK
INDEX_NAME: IDX_POS_DATE_P2
INDEX_TYPE: FUNCTION-BASED NORMAL
TABLE_OWNER: VTRACK
TABLE_NAME: FMC_POS_P2
TABLE_TYPE: TABLE
UNIQUENESS: NONUNIQUE
COMPRESSION: DISABLED
PREFIX_LENGTH:
TABLESPACE_NAME: USERS
INI_TRANS: 2
MAX_TRANS: 255
INITIAL_EXTENT: 65536
NEXT_EXTENT:
MIN_EXTENTS: 1
MAX_EXTENTS: 2147483645
PCT_INCREASE:
PCT_THRESHOLD:
INCLUDE_COLUMN:
FREELISTS:
FREELIST_GROUPS:
PCT_FREE: 10
LOGGING: YES
BLEVEL: 3
LEAF_BLOCKS: 408128
DISTINCT_KEYS: 111888565
AVG_LEAF_BLOCKS_PER_KEY: 1
AVG_DATA_BLOCKS_PER_KEY: 1
CLUSTERING_FACTOR: 88607794
STATUS: VALID
NUM_ROWS: 112757727
SAMPLE_SIZE: 112757727
LAST_ANALYZED: 23-06-2011 07:57:14
DEGREE: 1
INSTANCES: 1
PARTITIONED: NO
TEMPORARY: N
GENERATED: N
SECONDARY: N
BUFFER_POOL: DEFAULT
USER_STATS: NO
DURATION:
PCT_DIRECT_ACCESS:
ITYP_OWNER:
ITYP_NAME:
PARAMETERS:
GLOBAL_STATS: NO
DOMIDX_STATUS:
DOMIDX_OPSTATUS:
FUNCIDX_STATUS: ENABLED
JOIN_INDEX: NO
IOT_REDUNDANT_PKEY_ELIM: NO
DROPPED: NO
The simple selects and costs:
Original table/index:
select * from fmc_pos where utc_date>sysdate-10
Plan:
SELECT STATEMENT ALL_ROWS
Cost: 5 Bytes: 5.350 Cardinality: 50
2 TABLE ACCESS BY INDEX ROWID TABLE VTRACK.FMC_POS
Cost: 5 Bytes: 5.350 Cardinality: 50
1 INDEX RANGE SCAN INDEX VTRACK.IDX_POS_DATE
Cost: 4 Cardinality: 1
Original table/index:
select * from fmc_pos_p2 where utc_date>sysdate-10
Plan:
Plan
SELECT STATEMENT ALL_ROWS
Cost: 3.067 Bytes: 2.708.856 Cardinality: 25.082
2 TABLE ACCESS BY INDEX ROWID TABLE VTRACK.FMC_POS_P2
Cost: 3.067 Bytes: 2.708.856 Cardinality: 25.082
1 INDEX RANGE SCAN INDEX VTRACK.IDX_POS_DATE_P2
Cost: 2.927 Cardinality: 177KlausMogensen wrote:
You are exactly right. The plan for the original table is to good to be true when searching for recent dates, because the statistics are outdated. If I do searches for older data, I get the same cost for both selects
The funny part is that the outdated to good to be true statistics gives me the better performance for the more complex selects in the system, because the index always gets chosen. I guess I will have to use hints in my complex selects
It's possible that the clustering_factor of the index is not a good model of how well the data really is clustered. The method the optimizer uses to calculate this figure is very naive and can easily be much too high if the data has even a fairly small degree of scatter (relative to the index). You may find that modifying the clustering_factor in a realistic way will solve the problem. Since the optimizer is also pessimistic about branch block caching in nested loops and in-list iterators you could also consider reducing the blevel by 1 or 2 to encourage it to use a good index.
There's a note on my blog about adjusting index stats: http://jonathanlewis.wordpress.com/2010/01/06/copy-stats/
Regards
Jonathan Lewis -
I dont understand the file.encoding parameter
Im running Windows Vista and using Intellij Jetbrans.
I have a file with the name divisionǿ (In case not displayed this is unicode charcter \u01ff) the filename displays fine on In Windows Explorer, and fine within my programs gui, but on StandardOut File.getName() returns it as division?
Why does it show the question mark, when it can display it ok in a Jtable within the program.
Also, jetbrains runs with -Dfile.encoding=windows-1252, ( i didnt set this myself). What does this option actually refer to:
The format that java text files files are encoded in
The format filenames are encoded in
or something else
This isnt just an academic question, it is causing a problem when creating a file and trying to create a script, because it is putting the line with the ? rather than the real charcter in it.
thanks for any help Paulpaultaylor wrote:
The format that java text files files are encoded inThat's the one, but it's much more than that. Any time your program converts bytes to chars or vice versa, it will use the system default encoding unless you specify something else.
The default encoding on a Windows machine is windows-1252 (or 125-something else, for other locales), and it doesn't support the ǿ character. If you really want to use that character, you should either use Unicode escapes (e.g., \u01ff), or save your source files as UTF-8. If you do save it as UTF-8, you'll also have to specify the encoding when you compile your code.
However, you still won't be able to display that character on the command line, because its default encoding (cp437 on my machine) doesn't support that character either, and you don't have the option of switching to UTF-8. -
What is wrong with this program segment? I could not understand the error..
public class Hmw3
public static char[] myMethod(char[]p1,int p2, char p3)
{ //13 th row
if(p2<p1.length)
p1[p2]=p3;
System.out.println(p1);
public static void main(String[] args)
String sentence="It snows";
char[] tmp=sentence.toCharArray();
System.out.println(tmp);
myMethod(tmp,3,'k');
sentence=String.copyValueOf(tmp);
System.out.println(sentence);
i wrote this program segment and compiler gave this error:
C:\Program Files\Xinox Software\JCreator LE\MyProjects\hmw3\Hmw3.java:13: missing return statement
What is wrong???Your method signature states that myMethod should return an array for chars.
But in ur implementation of myMethod, there is nothing returned.
Just add a return statement like "return p1" -
IF? I dont see the error?
I have :
SELECT-OPTIONS orgvent FOR vbak-vkorg NO INTERVALS NO-EXTENSION.
and then :
IF it_data-v_e1edk14-qualf NE 008 AND it_data-v_e1edk14-orgid NE
orgvent.
DELETE it_data.
ENDIF
but when I debugging:
it_data-v_e1edk14-qualf = 008
it_data-v_e1edk14-orgid = SI10
orgvent = (low) CI40
Why does not go to the delete?Hi,
orgvent is a select option and it is an internal table.
So you cannot write if statement like this.
The IF statement is comparing header data of orgvent with it_data-v_e1edk14-orgid .
And one more suggestion you should not delete a table in which you are looping.
Thanks,
Sutapa
*Reward if helpful -
Dont understand the DefaultComboBoxModel class
Hi guys... can someone please explain what the lines are doing??
thanx
import javax.swing.DefaultComboBoxModel;
import java.util.Vector;
public class MyComboModel extends DefaultComboBoxModel{
public MyComboModel(Vector cars){
for (int k=0; k<cars.size(); k++) {
String car = (String)cars.elementAt(k);
addElement( car);
public void updateData(Vector cars){
removeAllElements();
for (int k=0; k<cars.size(); k++) {
String car = (String)cars.elementAt(k);
addElement( car);
fireContentsChanged(this,0,cars.size()-1);import javax.swing.DefaultComboBoxModel;
import java.util.Vector;
public class MyComboModel extends DefaultComboBoxModel{
/** Constructor of the combo box model with a Vector of data
* Technically, this constructor is unnecessary because DefaultComboBoxModel
* already has a constructor for Vectors
public MyComboModel(Vector cars){
for (int k=0; k<cars.size(); k++) {
String car = (String)cars.elementAt(k);
addElement( car);
/** Updates the combo box model with a new Vector of data */
public void updateData(Vector cars){
removeAllElements();
for (int k=0; k<cars.size(); k++) {
String car = (String)cars.elementAt(k);
addElement( car);
fireContentsChanged(this,0,cars.size()-1);
}As it is, this class doesn't seem of great use, because constructor is redundant, and updating
the model can be done with combobox.setModel(new DefaultComboBoxModel(newVector)).
Maybe you are looking for
-
My html snippet has only worked for 2 minutes in three months.
Warning: Long, descriptive story up ahead. I bought my macbook pro complete with iLife 08 bundle software in January and eventually I became a little bit more advanced so I wanted to try using "html snippets" in iWeb. That's when I discovered it was
-
Upgrade Pricing, CS4 Standard to CS4 Extended
Haven't been able to find anything elsewhere on this so I thought I'd see if anyone in the forum could steer me in the right direction. A couple of months ago I upgraded from CS3 Extended to CS4. Didn't think I'd need the Extended edition features
-
SQL Server 2008 Express -- Process exited with code -2068643839
When installing SQL Server 2008 Express, I continue to get the following info in the install log. I notice that I only get this issue with 64-bit PC's (win 7 & win 8.1). Ideas? Thanks. The following components failed to install: - SQL Server 2008 E
-
Just bought apple phone. Can anyone help as to whether I can easily switch my spotify account to use on apple? Thanks Claire
-
Need assistance in using psc 1315v printer on snow leopard
My printer doesn't work on snow leopard. I tried the add printer in system preferences, but when I tried to add the printer it stated the driver is not available from apple, contact manufacturer. I then tried to reinstall my drivers from HP, but that