Can anyone know this?
Hi all,
is anyone know this answer? if yes please help me..
Under which circumstances will
which Exceptions be caught in the catch block ?
class Foo
private Vector objects = new Vector();
public void compute ()
Iterator iter = objects.iterator();
while (iter.hasNext()) {
try {
Object o = (Object)iter.next();
System.out.println(o.hashCode());
catch (Exception ex) {
// under which circumstances will which Exceptions
// be caught here ?
public void addObject (Object o)
objects.add(o);
Under which circumstances will which Exceptions be caught in the catch block ?
Object o = (Object)iter.next();
System.out.println(o.hashCode()); I've narrowed your search a bit; if one of these two statements throw an exception, it will be caught
in your catch block.
kind regards,
Jos
Similar Messages
-
Can anyone know this bug....
Hi all,
I'm new to the forum and the J2EE. Actually, i'm trying to get some values in a html form and call a jsp.
The jsp page has to send the values to the bean and the bean should insert the values into a table. Actually everything is fine but the bean inserts null values.
Can anyone help me in this regard why am i not able to insert the values from the html page.
thanks,Hi!
here's my code:
HTML:
<html>
<head><title>Data Insertion</title></head>
<body>
<form action="insert.jsp" method="post">
Email:<input type="text" name="ema">
Password:<input type="text" name="pwd">
<input type="submit" value="submit">
</form>
</body>
</html>
BEAN:
package bean;
import java.sql.*;
import java.util.*;
import javax.servlet.http.*;
public class InsertBean extends DataConnection{
static String insertSQL;
static{
insertSQL="INSERT INTO emp VALUES (?,?)";
// Members
public String ema;
public String pwd;
public InsertBean()
ema = pwd ="";
public InsertBean(ResultSet rs) throws SQLException
ema = rs.getString("ema");
pwd = rs.getString("pwd");
public InsertBean(HttpServletRequest rs)
ema = rs.getParameter("ema");
pwd = rs.getParameter("pwd");
public boolean insert(DataConnection conn)
try
PreparedStatement stmt = conn.prepareStatement(insertSQL);
stmt.setString(1,ema);
stmt.setString(2,pwd);
stmt.execute();
stmt.close();
catch(Exception e)
e.printStackTrace();
return false;
return true;
JSP:
<jsp:useBean id="insbean" class="bean.InsertBean" scope="request" />
<%
insbean.insert();
%>
Actually, these are the codes that i'm using, and i think that HttpServletRequest object is the one that returns null and so null value is inserted.
Can you please check the code and intimate me of any other errors.
Thanks a lot.. -
Can anyone read this Apple crash report?
Hi everyone!
My iMac's been absolutely fine since I bought it. The Lion upgrade was smooth. I upgraded on the first day Lion became available.
In the past week, I keep getting every other day a progressive gray screen and a warning that the computer needs to restart. I've no idea what's causing the crash... it happens when I have the standard suite of apps running (Mail, iTunes, Safari, etc) so no exotic application.
Here's a crash report. Can anyone read this and pin point the problem?
Thanks!
Interval Since Last Panic Report: 26855 sec
Panics Since Last Report: 1
Anonymous UUID: 2A90D08F-7981-4C26-90A0-88431085705A
Thu Jan 19 21:02:56 2012
panic(cpu 1 caller 0xffffff8000570f80): "MCHECK: m_type=12350 m=0xffffff807b9b6500"@/SourceCache/xnu/xnu-1699.24.8/bsd/kern/uipc_mbuf.c:3129
Backtrace (CPU 1), Frame : Return Address
0xffffff808045bad0 : 0xffffff8000220702
0xffffff808045bb50 : 0xffffff8000570f80
0xffffff808045bb80 : 0xffffff8000572c77
0xffffff808045bc10 : 0xffffff80005731d6
0xffffff808045bc30 : 0xffffff8000358c25
0xffffff808045bd10 : 0xffffff8000353729
0xffffff808045bd50 : 0xffffff8000580644
0xffffff808045be40 : 0xffffff8000563973
0xffffff808045be70 : 0xffffff80005614bf
0xffffff808045bf00 : 0xffffff8000561612
0xffffff808045bf50 : 0xffffff80005caa9b
0xffffff808045bfb0 : 0xffffff80002d8363
BSD process name corresponding to current thread: IMServicePlugInA
Mac OS version:
11C74
Kernel version:
Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64
Kernel UUID: 59275DFA-10C0-30B3-9E26-F7B5DFB1A432
System model name: iMac12,1 (Mac-942B5BF58194151B)
System uptime in nanoseconds: 7371663855074
last loaded kext at 7163667149728: com.trusteer.driver.gakl_driver_2 1 (addr 0xffffff7f8079d000, size 28672)
last unloaded kext at 7058117348300: com.apple.driver.AppleUSBCDC 4.1.15 (addr 0xffffff7f80799000, size 12288)
loaded kexts:
com.trusteer.driver.gakl_driver_2 1
com.kaspersky.kext.kimul.38 38
com.parallels.kext.prl_vnic 6.0 12106.692267
com.parallels.kext.prl_netbridge 6.0 12106.692267
com.parallels.kext.prl_hid_hook 6.0 12106.692267
com.parallels.kext.prl_hypervisor 6.0 12106.692267
com.parallels.kext.prl_usb_connect 6.0 12106.692267
com.kaspersky.kext.klif 2.2.0d14
com.apple.driver.AppleHWSensor 1.9.4d0
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleBluetoothMultitouch 66.3
com.apple.driver.AudioAUUC 1.59
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.driver.AppleHDA 2.1.3f7
com.apple.driver.AGPM 100.12.42
com.apple.driver.AppleMikeyDriver 2.1.3f7
com.apple.driver.AppleUpstreamUserClient 3.5.9
com.apple.driver.AppleMCCSControl 1.0.26
com.apple.kext.ATIFramebuffer 7.1.4
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AudioIPCDriver 1.2.1
com.apple.driver.AirPort.Atheros40 501.58.1
com.apple.driver.ACPI_SMC_PlatformPlugin 4.7.5d4
com.apple.driver.AppleLPC 1.5.3
com.apple.driver.AppleBacklight 170.1.9
com.apple.ATIRadeonX3000 7.1.4
com.apple.driver.AppleIntelHD3000Graphics 7.1.4
com.apple.driver.AppleSMCLMU 2.0.1d2
com.apple.driver.AppleIRController 312
com.apple.driver.AppleUSBCardReader 3.0.1
com.apple.iokit.SCSITaskUserClient 3.0.1
com.apple.driver.Oxford_Semi 3.0.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 33
com.apple.iokit.IOAHCIBlockStorage 2.0.1
com.apple.driver.AppleUSBHub 4.5.0
com.apple.driver.AppleFWOHCI 4.8.9
com.apple.iokit.AppleBCM5701Ethernet 3.0.8b2
com.apple.driver.AppleEFINVRAM 1.5.0
com.apple.driver.AppleAHCIPort 2.2.0
com.apple.driver.AppleUSBEHCI 4.5.5
com.apple.driver.AppleACPIButtons 1.4
com.apple.driver.AppleRTC 1.4
com.apple.driver.AppleHPET 1.6
com.apple.driver.AppleSMBIOS 1.7
com.apple.driver.AppleACPIEC 1.4
com.apple.driver.AppleAPIC 1.5
com.apple.driver.AppleIntelCPUPowerManagementClient 167.1.0
com.apple.nke.applicationfirewall 3.2.30
com.apple.security.quarantine 1
com.apple.driver.AppleIntelCPUPowerManagement 167.1.0
com.apple.driver.AppleBluetoothHIDKeyboard 152.3
com.apple.driver.AppleHIDKeyboard 152.3
com.apple.kext.triggers 1.0
com.apple.driver.AppleMultitouchDriver 220.62.1
com.apple.driver.IOBluetoothHIDDriver 4.0.1f4
com.apple.driver.AppleAVBAudio 1.0.0d11
com.apple.driver.DspFuncLib 2.1.3f7
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.iokit.IOSurface 80.0
com.apple.iokit.IOFireWireIP 2.2.4
com.apple.iokit.IOBluetoothSerialManager 4.0.1f4
com.apple.iokit.IOSerialFamily 10.0.5
com.apple.iokit.IOAVBFamily 1.0.0d22
com.apple.iokit.IOAudioFamily 1.8.3fc11
com.apple.kext.OSvKernDSPLib 1.3
com.apple.driver.AppleHDAController 2.1.3f7
com.apple.iokit.IOHDAFamily 2.1.3f7
com.apple.driver.ApplePolicyControl 3.0.16
com.apple.iokit.IO80211Family 411.1
com.apple.driver.IOPlatformPluginFamily 4.7.5d4
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.driver.AppleGraphicsControl 3.0.16
com.apple.driver.AppleBacklightExpert 1.0.3
com.apple.driver.AppleThunderboltEDMSink 1.1.3
com.apple.driver.AppleThunderboltEDMSource 1.1.3
com.apple.kext.ATI6000Controller 7.1.4
com.apple.kext.ATISupport 7.1.4
com.apple.iokit.IONDRVSupport 2.3.2
com.apple.driver.AppleIntelSNBGraphicsFB 7.1.4
com.apple.driver.AppleSMC 3.1.1d8
com.apple.iokit.IOGraphicsFamily 2.3.2
com.apple.driver.BroadcomUSBBluetoothHCIController 4.0.1f4
com.apple.driver.AppleUSBBluetoothHCIController 4.0.1f4
com.apple.iokit.IOBluetoothFamily 4.0.1f4
com.apple.driver.AppleThunderboltDPOutAdapter 1.5.8
com.apple.driver.AppleThunderboltDPInAdapter 1.5.8
com.apple.driver.AppleThunderboltDPAdapterFamily 1.5.8
com.apple.driver.AppleThunderboltPCIDownAdapter 1.2.1
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.0.1
com.apple.iokit.IOBDStorageFamily 1.6
com.apple.iokit.IODVDStorageFamily 1.7
com.apple.iokit.IOCDStorageFamily 1.7
com.apple.iokit.IOUSBHIDDriver 4.4.5
com.apple.iokit.IOAHCISerialATAPI 2.0.1
com.apple.iokit.IOUSBMassStorageClass 3.0.0
com.apple.iokit.IOSCSIBlockCommandsDevice 3.0.1
com.apple.iokit.IOFireWireSerialBusProtocolTransport 2.1.0
com.apple.iokit.IOSCSIArchitectureModelFamily 3.0.1
com.apple.iokit.IOFireWireSBP2 4.2.0
com.apple.driver.AppleUSBMergeNub 4.5.3
com.apple.driver.AppleUSBComposite 3.9.0
com.apple.driver.XsanFilter 403
com.apple.driver.AppleThunderboltNHI 1.3.2
com.apple.iokit.IOThunderboltFamily 1.7.4
com.apple.iokit.IOUSBUserClient 4.5.3
com.apple.iokit.IOFireWireFamily 4.4.5
com.apple.iokit.IOEthernetAVBController 1.0.0d5
com.apple.iokit.IONetworkingFamily 2.0
com.apple.iokit.IOAHCIFamily 2.0.7
com.apple.iokit.IOUSBFamily 4.5.5
com.apple.driver.AppleEFIRuntime 1.5.0
com.apple.iokit.IOHIDFamily 1.7.1
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 165.3
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 331
com.apple.iokit.IOStorageFamily 1.7
com.apple.driver.AppleKeyStore 28.18
com.apple.driver.AppleACPIPlatform 1.4
com.apple.iokit.IOPCIFamily 2.6.7
com.apple.iokit.IOACPIFamily 1.4
Unable to gather system configuration information.Model: iMac12,1, BootROM IM121.0047.B1D, 4 processors, Intel Core i5, 2.5 GHz, 4 GB, SMC 1.71f21
Graphics: AMD Radeon HD 6750M, AMD Radeon HD 6750M, PCIe, 512 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353637334648302D4348392020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353637334648302D4348392020
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.58.4-P2P
Bluetooth: Version 4.0.1f4, 2 service, 18 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: WDC WD5000AAKS-402AA0, 500.11 GB
Serial ATA Device: HL-DT-STDVDRW GA32N
USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfa100000 / 3
USB Device: iPhone, apple_vendor_id, 0x12a0, 0xfa130000 / 5
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 6
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x850b, 0xfa200000 / 2
USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfd100000 / 2
USB Device: 7600 Series, 0x043d (Lexmark International Inc.), 0x0150, 0xfd140000 / 5
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 4
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfd110000 / 3
FireWire Device: eGo HDD, Iomega, 800mbit_speedThis crash reports says...
OS: 10.7.2
Processor: Intel 64-bit
Computer: iMac 10 generation, lowest-end model
Interval Since Last Panic Report: 26855 sec
Panics Since Last Report: 1
Anonymous UUID: 2A90D08F-7981-4C26-90A0-88431085705A
Thu Jan 19 21:02:56 2012
panic(cpu 1 caller 0xffffff8000570f80): "MCHECK: m_type=12350 m=0xffffff807b9b6500"@/SourceCache/xnu/xnu-1699.24.8/bsd/kern/uipc_mbuf.c:3129
Backtrace (CPU 1), Frame : Return Address
0xffffff808045bad0 : 0xffffff8000220702
0xffffff808045bb50 : 0xffffff8000570f80
0xffffff808045bb80 : 0xffffff8000572c77
0xffffff808045bc10 : 0xffffff80005731d6
0xffffff808045bc30 : 0xffffff8000358c25
0xffffff808045bd10 : 0xffffff8000353729
0xffffff808045bd50 : 0xffffff8000580644
0xffffff808045be40 : 0xffffff8000563973
0xffffff808045be70 : 0xffffff80005614bf
0xffffff808045bf00 : 0xffffff8000561612
0xffffff808045bf50 : 0xffffff80005caa9b
0xffffff808045bfb0 : 0xffffff80002d8363
This is a kernel error. Did your screen give you this error? This is well know as the "Black Screen Of Death". Just restart your computer and see what happens.
Source of picture: http://en.wikipedia.org/wiki/File:Panic10.6.png -
Can anyone explain this to me, please. It's a static section question.
Can anyone explain this to me, please. It's a static section question.
I came across the following style of programming recently and I would like to know what the Static section is actually doing in the class. Thx.
Here is the code.
public class ClassA {
private static Hashtable ClassAList = new Hashtable();
private ClassB cB;
private Vector goodLink;
private Hashtable classCList;
static
ClassA cA = new ClassA();
ClassAList.put("whatever", cA);
public static ClassA getClassA()
return (ClassA) ClassAList.get("whatever");hi,
The static section shall be loaded before it's constructor is called. (i.e at the time of loading the class). Therefore making it available for any other objects to call.
hope this clarifies ur question
prasanna -
Can anyone decipher this?
Can anyone decipher this from a MacBook Air?
Version:1.0 StartHTML:0000000177 EndHTML:0000023165 StartFragment:0000002541 EndFragment:0000023129 SourceURL:file://localhost/Users/Station03/Desktop/error%20report.docx
Interval Since Last Panic Report: 4945928 sec
Panics Since Last Report: 1
Anonymous UUID: AAAB478E-7DF3-46BC-B5A6-415AF728522F
Tue Jun 26 17:24:04 2012
panic(cpu 1 caller 0x2abf6a): Kernel trap at 0x00000000, type 14=page fault, registers:
CR0: 0x8001003b, CR2: 0x00000000, CR3: 0x00100000, CR4: 0x00000660
EAX: 0x00000000, EBX: 0x08826000, ECX: 0x107cfdc0, EDX: 0x0ced4f40
CR2: 0x00000000, EBP: 0x58c4bf78, ESI: 0x00000000, EDI: 0x08826000
EFL: 0x00010206, EIP: 0x00000000, CS: 0x00000008, DS: 0x07fc0010
Error code: 0x00000010
Backtrace (CPU 1), Frame : Return Address (4 potential args on stack)
0x58c4bd68 : 0x21b837 (0x5dd7fc 0x58c4bd9c 0x223ce1 0x0)
0x58c4bdb8 : 0x2abf6a (0x59e3d0 0x0 0xe 0x59e59a)
0x58c4be98 : 0x2a1a78 (0x58c4beb0 0xf9de0a4 0x58c4bf78 0x0)
0x58c4bea8 : 0x0 (0xe 0x6c340048 0x58c40010 0x550010)
0x58c4bf78 : 0x230235 (0x8826000 0x0 0x58c4bfc8 0x227cea)
0x58c4bfc8 : 0x2a179c (0x863ea0 0x0 0x10 0x7f414e4)
BSD process name corresponding to current thread: kernel_task
Mac OS version:
10K549
Kernel version:
Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386
System model name: MacBookAir3,2 (Mac-942C5DF58193131B)
System uptime in nanoseconds: 349846083630500
unloaded kexts:
com.apple.iokit.SCSITaskUserClient 2.6.8 (addr 0x592a5000, size 0x28672) - last unloaded 177286763869073
loaded kexts:
com.FTDI.driver.FTDIUSBSerialDriver 2.2.14
com.apple.driver.AppleUSBTCKeyEventDriver 201.6 - last loaded 301283701360087
com.apple.iokit.SCSITaskUserClient 2.6.8
com.apple.filesystems.autofs 2.1.0
com.apple.driver.AppleHWSensor 1.9.3d0
com.apple.driver.AppleUpstreamUserClient 3.5.7
com.apple.driver.AppleMCCSControl 1.0.20
com.apple.driver.ApplePlatformEnabler 2.0.2d1
com.apple.driver.AGPM 100.12.31
com.apple.driver.AppleMikeyHIDDriver 1.2.0
com.apple.driver.AppleHDA 2.0.5f14
com.apple.driver.AudioAUUC 1.57
com.apple.driver.AppleMikeyDriver 2.0.5f14
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AudioIPCDriver 1.1.6
com.apple.driver.AppleIntelPenrynProfile 17
com.apple.driver.ACPI_SMC_PlatformPlugin 4.7.0a1
com.apple.GeForce 6.3.6
com.apple.driver.AppleLPC 1.5.1
com.apple.driver.AppleBacklight 170.0.46
com.apple.driver.AppleUSBTCButtons 201.6
com.apple.driver.AppleUSBTCKeyboard 201.6
com.apple.driver.AppleUSBCardReader 2.6.1
com.apple.iokit.IOAHCIBlockStorage 1.6.4
com.apple.driver.AirPortBrcm43224 428.42.4
com.apple.driver.AppleAHCIPort 2.1.7
com.apple.driver.AppleUSBHub 4.2.4
com.apple.driver.AppleUSBEHCI 4.2.4
com.apple.BootCache 31.1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.driver.AppleUSBOHCI 4.2.0
com.apple.driver.AppleSmartBatteryManager 160.0.0
com.apple.driver.AppleEFINVRAM 1.4.0
com.apple.driver.AppleRTC 1.3.1
com.apple.driver.AppleHPET 1.5
com.apple.driver.AppleACPIButtons 1.3.6
com.apple.driver.AppleSMBIOS 1.7
com.apple.driver.AppleACPIEC 1.3.6
com.apple.driver.AppleAPIC 1.4
com.apple.driver.AppleIntelCPUPowerManagementClient 142.6.0
com.apple.security.sandbox 1
com.apple.security.quarantine 0
com.apple.nke.applicationfirewall 2.1.14
com.apple.driver.AppleIntelCPUPowerManagement 142.6.0
com.apple.driver.AppleProfileReadCounterAction 17
com.apple.nvidia.nv50hal 6.3.6
com.apple.driver.DspFuncLib 2.0.5f14
com.apple.driver.AppleProfileTimestampAction 10
com.apple.driver.AppleProfileThreadInfoAction 14
com.apple.driver.AppleProfileRegisterStateAction 10
com.apple.driver.AppleProfileKEventAction 10
com.apple.driver.AppleProfileCallstackAction 20
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.iokit.IOSurface 74.2
com.apple.iokit.IOBluetoothSerialManager 2.4.5f3
com.apple.iokit.IOSerialFamily 10.0.3
com.apple.iokit.IOAudioFamily 1.8.3fc2
com.apple.kext.OSvKernDSPLib 1.3
com.apple.driver.AppleHDAController 2.0.5f14
com.apple.iokit.IOHDAFamily 2.0.5f14
com.apple.iokit.AppleProfileFamily 41
com.apple.driver.AppleSMC 3.1.0d5
com.apple.driver.IOPlatformPluginFamily 4.7.0a1
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.NVDAResman 6.3.6
com.apple.driver.AppleBacklightExpert 1.0.1
com.apple.iokit.IONDRVSupport 2.2.1
com.apple.iokit.IOGraphicsFamily 2.2.1
com.apple.driver.BroadcomUSBBluetoothHCIController 2.4.5f3
com.apple.driver.AppleUSBBluetoothHCIController 2.4.5f3
com.apple.iokit.IOBluetoothFamily 2.4.5f3
com.apple.driver.AppleUSBMultitouch 207.7
com.apple.iokit.IOUSBHIDDriver 4.2.0
com.apple.iokit.IOSCSIBlockCommandsDevice 2.6.8
com.apple.iokit.IOUSBMassStorageClass 2.6.7
com.apple.iokit.IOSCSIArchitectureModelFamily 2.6.8
com.apple.driver.AppleUSBMergeNub 4.2.4
com.apple.driver.AppleUSBComposite 3.9.0
com.apple.driver.XsanFilter 402.1
com.apple.iokit.IO80211Family 320.1
com.apple.driver.AppleMCP89RootPortPM 1.11
com.apple.iokit.IOAHCIFamily 2.0.6
com.apple.iokit.IOUSBUserClient 4.2.4
com.apple.iokit.IONetworkingFamily 1.10
com.apple.iokit.IOUSBFamily 4.2.4
com.apple.driver.NVSMU 2.2.7
com.apple.driver.AppleEFIRuntime 1.4.0
com.apple.iokit.IOHIDFamily 1.6.6
com.apple.iokit.IOSMBusFamily 1.1
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 6
com.apple.driver.DiskImages 289.1
com.apple.iokit.IOStorageFamily 1.6.3
com.apple.driver.AppleACPIPlatform 1.3.6
com.apple.iokit.IOPCIFamily 2.6.5
com.apple.iokit.IOACPIFamily 1.3.0
Model: MacBookAir3,2, BootROM MBA31.0061.B01, 2 processors, Intel Core 2 Duo, 2.13 GHz, 4 GB, SMC 1.66f55
Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD1), Broadcom BCM43xx 1.0 (5.10.131.42.4)
Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en0
Serial ATA Device: APPLE SSD TS256C, 233.76 GB
USB Device: FaceTime Camera (Built-in), 0x05ac (Apple Inc.), 0x850a, 0x24600000 / 2
USB Device: Internal Memory Card Reader, 0x05ac (Apple Inc.), 0x8403, 0x26100000 / 2
USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x04500000 / 3
USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x821b, 0x04530000 / 5
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac (Apple Inc.), 0x023f, 0x04300000 / 2A third-party USB device. I don't know which one. It wasn't connected at the time of the panic.
-
operate C# to modify PPT's hyperlink, while configuring the hyperlink's text to display attribute, the address value will be assigned as null. Anyone know this issue? Any solution?
How to reproduce the issue:
1.Create a new PPT slide in Office2010.
2. Insert a certain text/characters, such as Mircosoft blablabla,
3. Insert an URL right after the text part , TextToDisplay is the “Test”,Address is the "Url".
4. The content in the ppt is ”Microsoft Test“,here "Test" is the hyperlink which we would like to convert. Please execute the code we list below.
5. The problem will be reproduced by the above steps.
PPT.Application ap = new PPT.Application();
PPT.Presentation pre = null;
pre = ap.Presentations.Open(mFileName, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoFalse);
foreach (PPT.Slide mSlide in pre.Slides)
PPT.Hyperlinks links = mSlide.Hyperlinks;
for (int i = 1; i <= links.Count; i++)
PPT.Hyperlink mLink = links[i];
mLink.TextToDisplay = mLink.TextToDisplay.Replace(mLink.TextToDisplay,"url");
mLink.Address = mLink.Address.Replace(mLink.Address, "url");
Modify texttodisplay, the address vaule will be assigned as null. Anyone knows how to solve it?
Does it caused by a PPT API's Limitation?I've tried the below code and it works, you can refer this article:
https://msdn.microsoft.com/en-us/library/office/ff745021.aspx
to find that the hyperlink needs to be associated with a text range, and thats what I did in the code below with the help of the link sent by Tony.
Microsoft.Office.Interop.PowerPoint.Application ap = new Application();
Microsoft.Office.Interop.PowerPoint.Presentation pre = null;
pre = ap.Presentations.Open(@"C:\Users\Fouad\Desktop\abcc.pptx", Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoFalse);
foreach (Microsoft.Office.Interop.PowerPoint.Slide mSlide in pre.Slides)
Microsoft.Office.Interop.PowerPoint.Hyperlinks links = mSlide.Hyperlinks;
Microsoft.Office.Interop.PowerPoint.Shape textShape = mSlide.Shapes[1];
for (int i = 1; i <= links.Count; i++)
Microsoft.Office.Interop.PowerPoint.Hyperlink mLink = links[i];
Microsoft.Office.Interop.PowerPoint.TextRange range1 = textShape.TextFrame.TextRange;
TextRange oTxtRng = range1.Find(((Microsoft.Office.Interop.PowerPoint.Hyperlink)mLink).TextToDisplay,After:range1.Start,WholeWords:Microsoft.Office.Core.MsoTriState.msoTrue);
oTxtRng.Replace(((Microsoft.Office.Interop.PowerPoint.Hyperlink)mLink).TextToDisplay, "url");
oTxtRng.ActionSettings[Microsoft.Office.Interop.PowerPoint.PpMouseActivation.ppMouseClick].Hyperlink.Address = "http://www.microsoft.com";
Fouad Roumieh -
Can anyone knows how to fix back camera having pink lines when i use it so please help me thank you
can anyone knows how to fix back camera having pink lines when i use it so please help me thank you
<Email Edited by Host>You're welcome.
The 6.1.4 update had nothing to do with this. If it did, then every iPhone with 6.1.4 installed would have the same problem.
Apple doesn't support downgrading the firmware, which won't change anything.
If an Apple Store is miles away, then call AppleCare. -
Can anyone solve this error? 0xc 19a0013
can anyone solve this error? 0xc 19a0013 my black ink cartridge will not print and its full. i've cleaned the heads and still no black. please help.
Hello family1023, and welcome to the HP Forums, I hope you enjoy your experience!
I see you are experiencing print system issues. I would love to try and help you, but I do need a little information first. I am linking a few HP Support documents below that will show you how to find your product number. Also, please include which operating system you are using. Also, if you're using Windows, please include whether your operating system is 32-bit or 64-bit. With this information and the product number we can provide you with accurate information.
How Do I Find My Model Number or Product Number?
Mac OS X: How Do I Find Which Mac OS X Version Is on My Computer?
Which Windows operating system am I running?
Is the Windows Version on My Computer 32-bit or 64-bit?
Please let me know what you find, and thanks for posting on the HP Forums!
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" on the right to say “Thanks" for helping!
Jamieson
I work on behalf of HP
"Remember, I'm pulling for you, we're all in this together!" - Red Green. -
Post Moved Can anyone explain this baffling puzz...
Post moved to Other BB Queries http://community.bt.com/t5/Other-BB-Queries/Can-anyone-explain-this-baffling-puzzle-with-BT-Total-BB...
If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’I tend to think that the comments about MAC address filtering and wireless security are a bit misleading - if these things were the problem then it would not work at all as opposed to working sporadically.
I must admit, reading your post I had exactly the same problem moving into a new house last year, my desktop PC in my room would get terrible wireless reception with constant erroring and was practically unusable whilst a laptop sat next to it was just fine. I tried a million different things and eventually bought an external wireless antenna like the one here:
Edimax EA-IO7D 7dBi Indoor Omni-Directional High Gain Antenna with Desktop Stand - 1m Cable
It solved the problem for me though I am still mystified as to what the problem is - I suspect that there is something in the environment causing interference though I don't know what. My house is of average size and fairly modern with thin walls so I would not anticipate any problems.
Some things to try are to move the PC right next to the hub (or vice versa, whichever is easier) and see if this improves things or borrow a wireless router from a friend, turn off all encryption and see what signal strength you get there. -
Thanks for a stealth fix - can anyone confirm this actually happened?
When the Yoga 2 Pro was released I received an error message about an unauthorized power supply when using with my energizer xpal external battery. It was only a nuisance since the battery continued to work. After this last power update I have not seen that message at all and my laptop continues to work well while on the external battery. Can anyone confirm this was an undocumented fix?
I know they fixed an error message when using other power supplies in the bios when they released the latest (11/7 I think) bios update.
-
Does anyone know this store ?
Do everybody here buy all products from the Apple store or do you shop around, look at other sites ?
If so..
Does anyone know this store : viosoftware.com ?
http://www.viosoftware.com/Apple/MacOS+X+Tiger+v10.4+for+DVDDrives.html
I can buy the Mac OS X 10.4. for 98$ total (free shipping, no taxes) vs 140$ total for Apple. They seem OK, I just have to check if what they sold is The latest version : Mac OS X 10.4.6 (released on April 3, 2006).
Just in case it's 10.4.5 can I easily and freely upgrade to 10.4.6 ?
------I checked out VioSoftware at resellerratings.com and found that they were very highly rated by customers. One of the highest ratings I've seen, in fact, so it seems ordering from them would be safe.
Bob N.
Mac Mini 1.5 GHz; iBook 900 mHz; iPod 20 GB Mac OS X (10.4.6) -
Hi all, I upgraded my MBP to Lion , but on the screen where i need to type my password, click on my photo and it does not appear the place for me to type my password and it stay stuck there. Can anyone solve this problem for me?
Reboot the machine holding Command and r keys down, you'll boot into Lion Recovery Partition
In there will be Disk Utility, use that to select your Lion OS X Partition and Repair Permissions.
After that is done reboot the machine and see if you can log in.
If not repeat the above steps to get into Lion Recovery, get online and reinstall Lion again, it will overwrite the installed version and hopefully after that it wil work.
Reboot and try again.
If not follow my steps to create a Snow Leopard Data Recovery drive, then option boot from it and grab a copy of your files off the machine.
Then reinstall all your programs onto the external drive like setting up a new machine, then use Disk Utility to erase the entire internal boot drive (select the drive media on the far left, not the partiton slightly indented) format Option: GUID , 1 partition OS X Extended and then use Carbon Copy Cloner to clone the external to the newly formatted internal drive. Once that is finished reboot and disconnect the external drive.
Once you go that, boot into Snow Leopard and update to 10.6.8, use the AppStore and option click on Purchases and download Lion again and install.
Lots of work, but there is no Lion disks.
https://discussions.apple.com/message/16276201#16276201 -
Do anyone know this error?
do anyone know this error?it start sometimes when Im manteining or creating a measure, dimension...
thank you for your time!
aitzi
Fallo de la acción BUILDDATABASE en el objeto GLOBAL.I02_STAR
oracle.AWXML.AWException: Fallo de la acción BUILDDATABASE en el objeto GLOBAL.I02_STAR
at oracle.AWAction.BuildDatabase.Execute(BuildDatabase.java:737)
at oracle.olap.awm.wizard.awbuild.BuildWizardHelper$1.construct(BuildWizardHelper.java:184)
at oracle.olap.awm.ui.SwingWorker$2.run(SwingWorker.java:109)
at java.lang.Thread.run(Unknown Source)
Caused by: oracle.AWXML.AWException: ***Error Occured in BUILD_DRIVER: In __XML_SEQUENTIAL_LOADER: In __XML_UNIT_LOADER: In __XML_LOAD_MEAS_RC_LPRT_ITEM: In __XML_SET_LOAD_STATUS: In ___XML_LOAD_TEMPPRG: (AW$XML) AW$XML
at oracle.AWAction.BuildDatabase.Execute(BuildDatabase.java:731)
... 3 moreJJohnsenDK wrote:
if you want to make private do it in the start of your class...Well...think about that a bit before doing it.
As a local variable, it has even tighter access restrictions (basically) than a private field. It's ONLY accessible within the method. If you make the local variable into a private field, you're actually loosening control over your data.
Now, if that variable expresses the state of your object -- if it expresses data that meaningfully differentiates that object from other objects -- then it might make a lot of sense to turn it into a private field. But don't turn it into a field just if you want to make things private. It's more than private now. -
Can anyone explain this behavior and tell me how to fix it?
Using NetBeans 6.5 on Windows, Glassfish v2.1
I have a JSF application with a page that has a tab set.
On one of the tabs I have a panel with company information.
One of the components on the page is an InputText field with the value bound to a session bean variable.
The tab also has an Add button.
Here is what the JSP looks like for the input text and button components
<h:inputText binding="#{MainPage.companyNameTF}" id="companyNameTF" readonly="#{SessionBean1.readOnlyFlag}"
<h:commandButton action="#{MainPage.mainAddBtn_action}" disabled="#{SessionBean1.disableEdit}" id="mainAddBtn"
style="font-family: Arial,Helvetica,sans-serif; font-size: 14px; font-weight: bold; left: 425px; top: 380px; position: absolute; width: 75px" value="Add"/>
This is all plain vanilla stuff and I would expect that when the Add button is pushed, the session bean property would be filled with
the value entered in the input text field.
In the java code for the page, I have a method to process the Add button push.
Originally, it just called a method in the session bean to check that a value was entered in the input text field by checking the bound
session bean property.
For some reason, that was not getting filled and I was getting either a null or empty string rather than the value in the text field.
I added some checking in the method that processes the Add button push so I could check the values in the debugger.
Here is a sample of that code:
public String mainAddBtn_action() {
String s = sb1.getCompanyName();
s = (String)this.companyNameTF.getValue();
s = (String)this.companyNameTF.getSubmittedValue();I check this in the debugger and NONE of the variants that I have listed have the value that was entered into the text field.
The submittedValue is null and the others are empty strings (that is what they were initalized to).
This is all pertty straight forward stuff and I am at a loss to explain what is happening.
Can anyone expain this behavior, and, most important, how can I force the values to be present when the Add button is pushed.
I have never experienced this problem before, and have no clue what is causing it.
Thanks.Basically, the component bindings are just being used in plain vanilla get/set modes.
I set them to "" when I do a clear for the fields and they are set to a value via the text field.
No other action other than to read the values via get to insert them into the database.
And, I always use the get/set methods rather than just setting the value directly.
This is what is so strange about this behavior - I have created dozens of database add/update/delete pages using this same model and have not had a problem with them - even in a tab context.
Not a clue why this one is different.
I did notice that I had an error on the page (in IE7, you get a small triangle warning sign when something is not right).
I figured that might be the problem - maybe buggering up the rendering process.
I tracked that down and do not get that anymore (it had to do with the PDF display I was trying to get working a while back), but that did not resolve the problem.
I don't think there are any tab conflicts - none of the components are shared between tabs, but I will see what happens when I move a couple of the components out of the tab context.
I noticed that it seems to skip a cycle. Here is what I can do.
1) Fill in text fields and add a record - works fine the first time.
2) Clear the text fields
3) Enter new data in the text fields and push Add
4) I get an error saying fields are blank from my data check process.
5) Enter new data and push Add - the record is added with the new data.
My work around is to not enter data in step 3 and just accept the error message in step 4, then go ahead and enter the real data in step 5.
Very ugly, but it works every time. -
It seems that the new version of iPhoto will no longer share photos between computers on the same network. Can anyone confirm this?
lovinmymac wrote:
I have "automatically create previews" in the preferences UNCHECKED. Why is Aperture creating previews? For the screen image?
You might also need to turn Preview generation off for any existing Projects. Select the Project in the Projects pane and use the cog button at the top of the pane to uncheck 'Maintain Previews For Project'.
Ian
Maybe you are looking for
-
Why won't my alram ring? I have it set for a daily one and the screen shows the word "alarm" but no sound
-
Samsung HDTV wont display properly
I hooked my dual core Mini to my Samsung TX-P2670WH HDTV with a DVI cable. The text is blurry and I have to set the resolution at 640 x 480 just to make it out. The specs say it is 720p and 1080i compatible TV. No amount of tweaking with settings has
-
Select statement help for sql/oracle newbie
I have a db for a fake airline. i have a route table that has columns for "FIRST_CLASS_FARE", "COACH_FARE", and "ECONOMY_FARE". I then have a flight table that references the route#, then a trip table that references the flight#. I also have a passen
-
Hi I want to know about indesign object coordinates. In .indd file coordinates take 32 byte for any coordinate for top, left, bottom, right or (x, y, width, height). How calculate x and y value from these 8-8 byte.It contain floting value but not fol
-
I have synced my AD to 365 successfully for around a year, I need to decommission AD sync but was wondering if all of the usernames and passwords will be kept on 365 after the sync is disabled? I sync sam account names which are in format [email prot