PLS SPOT THE ERROR
SELECT NAME FROM EX WHERE NAME IS NULL UNION ALL
SELECT NAME FROM EX WHERE NAME IS NOT NULL ORDER BY DECODE(NAME,'MASTER',0,1) NULLS LAST,NAME
what is the error in the above query
i am getting the foll error
SQL Error: ORA-01785: ORDER BY item must be the number of a SELECT-list expression
01785. 00000 - "ORDER BY item must be the number of a SELECT-list expression"
*Cause:
*Action:
Although your query is pointless you need to reference the columns in your order by correctly. Unions cause issues with referring to the columns by name so the easiest way it to wrap the query in another select...
SQL> ed
Wrote file afiedt.buf
1 select ename from (
2 select ename
3 from emp
4 where ename is null
5 union all
6 select ename
7 from emp
8 where ename is not null
9 )
10* order by decode(ename,'SCOTT',0,1) NULLS LAST, ename
SQL> /
ENAME
SCOTT
ADAMS
ALLEN
BLAKE
CLARK
FORD
JAMES
JONES
KING
MARTIN
MILLER
SMITH
TURNER
WARD
WILLIS
15 rows selected.
SQL>
Similar Messages
-
Hi guys, pls help! iMovie crashes sometime on tiltes or transitions or export, pls see the error report export below, thnx for looking.
Process: iMovie [239]
Path: /Applications/iMovie.app/Contents/MacOS/iMovie
Identifier: com.apple.iMovie8
Version: 8.0.6 (821)
Build Info: iMovieApp-8210000~16
Code Type: X86 (Native)
Parent Process: launchd [117]
Date/Time: 2012-12-10 16:05:48.659 +0000
OS Version: Mac OS X 10.7.4 (11E53)
Report Version: 9
Interval Since Last Report: 413560 sec
Crashes Since Last Report: 1
Per-App Interval Since Last Report: 231215 sec
Per-App Crashes Since Last Report: 1
Anonymous UUID: C896B72D-2C04-428D-A58E-137974A49295
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: 0x000000000000000d, 0x0000000000000000
VM Regions Near 0:
--> __PAGEZERO 0000000000000000-0000000000001000 [ 4K] ---/--- SM=NUL /Applications/iMovie.app/Contents/MacOS/iMovie
__TEXT 0000000000001000-0000000000335000 [ 3280K] r-x/rwx SM=COW /Applications/iMovie.app/Contents/MacOS/iMovie
Application Specific Information:
objc[239]: garbage collection is OFF
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 ??? 0x0ceb9398 0 + 216765336
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x96222b5e __select_nocancel + 10
1 libdispatch.dylib 0x9ceabcc9 _dispatch_mgr_invoke + 642
2 libdispatch.dylib 0x9ceaa85f _dispatch_mgr_thread + 53
Thread 2:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x96220c22 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x962201f6 mach_msg + 70
2 com.apple.CoreFoundation 0x9683d9da __CFRunLoopServiceMachPort + 170
3 com.apple.CoreFoundation 0x96846b04 __CFRunLoopRun + 1428
4 com.apple.CoreFoundation 0x968461dc CFRunLoopRunSpecific + 332
5 com.apple.CoreFoundation 0x96846088 CFRunLoopRunInMode + 120
6 com.apple.Foundation 0x906ed0c4 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 378
7 com.apple.Foundation 0x906e0e25 -[NSThread main] + 45
8 com.apple.Foundation 0x906e0dd5 __NSThread__main__ + 1582
9 libsystem_c.dylib 0x9b92aed9 _pthread_start + 335
10 libsystem_c.dylib 0x9b92e6de thread_start + 34
Thread 3:: QTKit: QTVisualContextImageProviderWorkLoop
0 libsystem_kernel.dylib 0x96220c22 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x962201f6 mach_msg + 70
2 com.apple.CoreFoundation 0x9683d9da __CFRunLoopServiceMachPort + 170
3 com.apple.CoreFoundation 0x96846b04 __CFRunLoopRun + 1428
4 com.apple.CoreFoundation 0x968461dc CFRunLoopRunSpecific + 332
5 com.apple.CoreFoundation 0x96856f01 CFRunLoopRun + 129
6 com.apple.QTKit 0x94a96fde QTVisualContextImageProviderWorkLoop + 124
7 libsystem_c.dylib 0x9b92aed9 _pthread_start + 335
8 libsystem_c.dylib 0x9b92e6de thread_start + 34
Thread 4:
0 libsystem_kernel.dylib 0x96220c22 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x962201f6 mach_msg + 70
2 com.apple.CoreFoundation 0x9683d9da __CFRunLoopServiceMachPort + 170
3 com.apple.CoreFoundation 0x96846b04 __CFRunLoopRun + 1428
4 com.apple.CoreFoundation 0x968461dc CFRunLoopRunSpecific + 332
5 com.apple.CoreFoundation 0x96856f01 CFRunLoopRun + 129
6 com.apple.FWAVCPrivate 0x02404763 _ZN3AVSL27AVCVideoServicesThreadStartEPNS_28AVCVideoServicesThreadParamsE + 254
7 libsystem_c.dylib 0x9b92aed9 _pthread_start + 335
8 libsystem_c.dylib 0x9b92e6de thread_start + 34
Thread 5:: WebCore: LocalStorage
0 libsystem_kernel.dylib 0x9622283e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9b92ee21 _pthread_cond_wait + 827
2 libsystem_c.dylib 0x9b8df42c pthread_cond_wait$UNIX2003 + 71
3 com.apple.JavaScriptCore 0x93f3be81 ***::ThreadCondition::timedWait(***::Mutex&, double) + 81
4 com.apple.WebCore 0x9ade5501 ***::MessageQueue<WebCore::LocalStorageTask>::waitForMessage() + 135
5 com.apple.WebCore 0x9ade5454 WebCore::LocalStorageThread::threadEntryPoint() + 74
6 com.apple.WebCore 0x9ade53b1 WebCore::LocalStorageThread::threadEntryPointCallback(void*) + 17
7 libsystem_c.dylib 0x9b92aed9 _pthread_start + 335
8 libsystem_c.dylib 0x9b92e6de thread_start + 34
Thread 6:
0 libsystem_kernel.dylib 0x9622283e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9b92ee78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x9b92ef7b pthread_cond_timedwait_relative_np + 47
3 com.apple.CoreServices.CarbonCore 0x942693a7 TSWaitOnConditionTimedRelative + 178
4 com.apple.CoreServices.CarbonCore 0x9426911d TSWaitOnSemaphoreCommon + 490
5 com.apple.CoreServices.CarbonCore 0x94268f2e TSWaitOnSemaphoreRelative + 24
6 com.apple.QuickTimeComponents.component 0x916b4516 0x910c8000 + 6210838
7 libsystem_c.dylib 0x9b92aed9 _pthread_start + 335
8 libsystem_c.dylib 0x9b92e6de thread_start + 34
Thread 7:: jpegdecompress_MPLoop
0 libsystem_kernel.dylib 0x9622283e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9b92ee78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x9b8d682a pthread_cond_wait + 48
3 com.apple.QuickTimeComponents.component 0x917d6553 0x910c8000 + 7398739
4 libsystem_c.dylib 0x9b92aed9 _pthread_start + 335
5 libsystem_c.dylib 0x9b92e6de thread_start + 34
Thread 8:: JavaScriptCore::Marking
0 libsystem_kernel.dylib 0x9622283e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9b92ee21 _pthread_cond_wait + 827
2 libsystem_c.dylib 0x9b8df42c pthread_cond_wait$UNIX2003 + 71
Thread 9:: JavaScriptCore::BlockFree
0 libsystem_kernel.dylib 0x9622283e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9b92ee21 _pthread_cond_wait + 827
2 libsystem_c.dylib 0x9b8df3e0 pthread_cond_timedwait$UNIX2003 + 70
3 com.apple.JavaScriptCore 0x93f3becc ***::ThreadCondition::timedWait(***::Mutex&, double) + 156
4 com.apple.JavaScriptCore 0x94189c33 JSC::Heap::blockFreeingThreadMain() + 323
5 com.apple.JavaScriptCore 0x94189c6f JSC::Heap::blockFreeingThreadStartFunc(void*) + 15
6 libsystem_c.dylib 0x9b92aed9 _pthread_start + 335
7 libsystem_c.dylib 0x9b92e6de thread_start + 34
Thread 10:
0 libsystem_kernel.dylib 0x9622283e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9b92ee78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x9b92ef7b pthread_cond_timedwait_relative_np + 47
3 com.apple.CoreServices.CarbonCore 0x942693a7 TSWaitOnConditionTimedRelative + 178
4 com.apple.CoreServices.CarbonCore 0x9426911d TSWaitOnSemaphoreCommon + 490
5 com.apple.CoreServices.CarbonCore 0x94268f2e TSWaitOnSemaphoreRelative + 24
6 com.apple.CoreServices.CarbonCore 0x9429be53 AIOFileThread(void*) + 1019
7 libsystem_c.dylib 0x9b92aed9 _pthread_start + 335
8 libsystem_c.dylib 0x9b92e6de thread_start + 34
Thread 11:
0 libsystem_kernel.dylib 0x9622302e __workq_kernreturn + 10
1 libsystem_c.dylib 0x9b92cccf _pthread_wqthread + 773
2 libsystem_c.dylib 0x9b92e6fe start_wqthread + 30
Thread 12:
0 libsystem_kernel.dylib 0x9622302e __workq_kernreturn + 10
1 libsystem_c.dylib 0x9b92cccf _pthread_wqthread + 773
2 libsystem_c.dylib 0x9b92e6fe start_wqthread + 30
Thread 13:
0 libsystem_kernel.dylib 0x9622302e __workq_kernreturn + 10
1 libsystem_c.dylib 0x9b92cccf _pthread_wqthread + 773
2 libsystem_c.dylib 0x9b92e6fe start_wqthread + 30
Thread 14:: JavaScriptCore::Marking
0 libsystem_kernel.dylib 0x9622283e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9b92ee21 _pthread_cond_wait + 827
2 libsystem_c.dylib 0x9b8df42c pthread_cond_wait$UNIX2003 + 71
Thread 15:: JavaScriptCore::BlockFree
0 libsystem_kernel.dylib 0x9622283e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9b92ee21 _pthread_cond_wait + 827
2 libsystem_c.dylib 0x9b8df3e0 pthread_cond_timedwait$UNIX2003 + 70
3 com.apple.JavaScriptCore 0x93f3becc ***::ThreadCondition::timedWait(***::Mutex&, double) + 156
4 com.apple.JavaScriptCore 0x94189c33 JSC::Heap::blockFreeingThreadMain() + 323
5 com.apple.JavaScriptCore 0x94189c6f JSC::Heap::blockFreeingThreadStartFunc(void*) + 15
6 libsystem_c.dylib 0x9b92aed9 _pthread_start + 335
7 libsystem_c.dylib 0x9b92e6de thread_start + 34
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000001 ebx: 0xbfffe5ac ecx: 0x00000da0 edx: 0x0ce724a8
edi: 0x0e0f0000 esi: 0x0cebf1b4 ebp: 0x0cec9d00 esp: 0x0ce72408
ss: 0x00000023 efl: 0x00010216 eip: 0x0ceb9398 cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x1d13b878
Logical CPU: 1
Binary Images:
0x1000 - 0x334ffc com.apple.iMovie8 (8.0.6 - 821) <CD0B8453-4663-7F8C-EFF4-926EAB254B2A> /Applications/iMovie.app/Contents/MacOS/iMovie
0x3d2000 - 0x3e0fff com.apple.opengl (1.7.7 - 1.7.7) <2D362F15-5EA6-37B6-9BCB-58F2C599ACDA> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x3e8000 - 0x421fe3 com.apple.MPEG2TSDecoder (1.0 - 84) <75EC884A-7300-87B1-7E3A-A2B156BD4D79> /Applications/iMovie.app/Contents/Frameworks/Mpeg2TsDecoder.framework/Versions/ A/Mpeg2TsDecoder
0x459000 - 0x47afff com.apple.iWidgets (1.0.0 - 24) /Applications/iMovie.app/Contents/Frameworks/iWidgets.framework/Versions/A/iWid gets
0x48d000 - 0x530ff4 com.apple.DotMacKit (47 - 3.0.2L) <5C3FF2BA-7124-3DF9-B197-19DD4D543798> /Applications/iMovie.app/Contents/Frameworks/DotMacKit.framework/Versions/A/Dot MacKit
0x596000 - 0x597ff7 com.apple.Helium (3.0.0 - 157) <22FD7CB4-024E-3065-EB67-262ABF99636E> /Applications/iMovie.app/Contents/Frameworks/Helium.framework/Versions/A/Helium
0x59d000 - 0x59efff +com.bensyverson.dvmatte.autopicker (1.0 - 1.0) <5FB2D0C9-D6D7-036E-F739-DA7CE5BAD36E> /Applications/iMovie.app/Contents/Frameworks/DVMAutopick.framework/Versions/A/D VMAutopick
0x5a4000 - 0x5d2fe7 libSystem.B.dylib (159.1.0 - compatibility 1.0.0) <0D8984D3-BFCF-35A7-AA71-BEDC92126B7E> /usr/lib/libSystem.B.dylib
0x5df000 - 0x1074ff6 com.apple.AppKit (6.7.3 - 1138.47) <D8CD06D7-F18C-39BE-BC68-B343F87F0469> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x154e000 - 0x1811fff com.apple.security (7.0 - 55148.1) <77754898-4FCD-3CA3-9339-F1058C852806> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x1909000 - 0x1abdff3 libicucore.A.dylib (46.1.0 - compatibility 1.0.0) <6AD14A51-AEA8-3732-B07B-DEA37577E13A> /usr/lib/libicucore.A.dylib
0x1b3c000 - 0x1b9afff com.apple.coreui (1.2.2 - 165.10) <C6B099D6-7F02-3971-99B9-E415308959CF> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x1bc9000 - 0x1bcdff3 libsystem_network.dylib (??? - ???) <62EBADDA-FC72-3275-AAB3-5EDD949FEFAF> /usr/lib/system/libsystem_network.dylib
0x1bd4000 - 0x1be2ff7 libxar-nossl.dylib (??? - ???) <5BF4DA8E-C319-354A-967E-A0C725DC8BA3> /usr/lib/libxar-nossl.dylib
0x1bea000 - 0x1c15fff com.apple.GSS (2.2 - 2.0) <2C468B23-FA87-30B5-B9A6-8C5D1373AA30> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x1c2b000 - 0x1c74ff7 libGLU.dylib (??? - ???) <5EE0B644-FAD6-3E3C-A380-9B0CDA0B6432> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x1c82000 - 0x1c87ffd libGFXShared.dylib (??? - ???) <1CA9B41B-2C61-38F8-ABAC-1D5511478F5C> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.d ylib
0x1c8d000 - 0x1c9afff libGL.dylib (??? - ???) <30E6DED6-0213-3A3B-B2B3-310E33301CCB> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x1cab000 - 0x1ce7ffa libGLImage.dylib (??? - ???) <504E7865-571E-38B4-A84A-D7B513AC84F5> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x1cef000 - 0x1cf0ffd libCVMSPluginSupport.dylib (??? - ???) <22B85645-AA98-372B-BB55-55DCCF0EC716> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginS upport.dylib
0x1cf5000 - 0x1cf8ffd libCoreVMClient.dylib (??? - ???) <361CCFAF-8565-383F-915F-0B059C793E42> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClien t.dylib
0x1cfd000 - 0x1d26ffe com.apple.opencl (1.50.69 - 1.50.69) <2601993F-F3B3-3737-91AE-4A5795C52CD5> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x1d32000 - 0x1ddfff7 libcrypto.0.9.7.dylib (0.9.7 - compatibility 0.9.7) <7B6DB792-C9E5-3772-8734-8D0052757B8C> /usr/lib/libcrypto.0.9.7.dylib
0x1e24000 - 0x1f56fe4 com.apple.Helium.HeliumRender (2.0.0 - 157) <DEA355F6-22DC-68D4-EA7A-EE06C0D7F150> /Applications/iMovie.app/Contents/Frameworks/Helium.framework/Versions/A/Framew orks/HeliumRender.framework/Versions/A/HeliumRender
0x1faf000 - 0x1faffff libmx.A.dylib (2026.0.0 - compatibility 1.0.0) <859B5BCC-B5D9-370F-8B6C-1E2B242D5DCD> /usr/lib/libmx.A.dylib
0x2400000 - 0x2430ff7 com.apple.FWAVCPrivate (52.47 - 47) <8E724EF3-79D6-3B0D-8A57-6E13DA3EACB5> /System/Library/PrivateFrameworks/FWAVCPrivate.framework/FWAVCPrivate
0x24b6000 - 0x25adffb libGLProgrammability.dylib (??? - ???) <FA509930-D201-372B-B787-18CBD8477D06> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
0x25d1000 - 0x25feff8 GLRendererFloat (??? - ???) <70ADE58D-B399-3279-9774-2D5929D5FCB1> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GL RendererFloat
0x47a5000 - 0x4912ffb GLEngine (??? - ???) <D73F1031-6DD3-38EB-966B-7A2C9F17F023> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
0x4946000 - 0x4fd7fe3 libclh.dylib (4.0.3 - 4.0.3) <8A4B12EC-F8F1-3D5E-945D-56467F8F4476> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib
0x508f000 - 0x5091fff com.apple.AddressBook.LocalSourceBundle (1.4 - 1090) <61BC69A7-F09E-3CD9-A4CD-FAB46898E9DD> /System/Library/Address Book Plug-Ins/LocalSource.sourcebundle/Contents/MacOS/LocalSource
0x5096000 - 0x5099ffe com.apple.DirectoryServicesSource (1.4 - 1090) <D9ED3AB9-2F3E-3331-84B5-EDDDBBC1F371> /System/Library/Address Book Plug-Ins/DirectoryServices.sourcebundle/Contents/MacOS/DirectoryServices
0x5f9b000 - 0x5ff6fff com.apple.AddressBook.CardDAVPlugin (10.7.2 - 200) <8A30F13D-0ED4-32F5-829C-4FECEE3C535D> /System/Library/Address Book Plug-Ins/CardDAVPlugin.sourcebundle/Contents/MacOS/CardDAVPlugin
0x7612000 - 0x7612fff com.apple.iLMBAppDefPlugin (2.6.3 - 288.3.32) <2DD0403B-5608-3BE8-B005-27F92AC570F4> /Library/Application Support/iLifeMediaBrowser/*/iLMBAppDefPlugin
0x95c0000 - 0x95c1fff com.apple.iLMBFolderPlugin (2.6.3 - 288.3.32) <D85D3CB7-6A10-3F68-96E9-C9CC5A66255D> /Library/Application Support/iLifeMediaBrowser/*/iLMBFolderPlugin
0x9672000 - 0x9679ff5 com.apple.iLMBAperturePlugin (2.6.3 - 288.3.32) <5E332CFA-0A13-3C06-AF16-EFCC1FDD2038> /Library/Application Support/iLifeMediaBrowser/*/iLMBAperturePlugin
0x9680000 - 0x9689ffc com.apple.iLMBFinalCutPlugin (2.6.3 - 288.3.32) <46FDDF4E-4165-3923-B57A-21D38462C472> /Library/Application Support/iLifeMediaBrowser/*/iLMBFinalCutPlugin
0x968f000 - 0x9692fff com.apple.iLMBGarageBandPlugin (2.6.3 - 288.3.32) <75D95F77-ED1C-31DD-B4D6-BACA044399C3> /Library/Application Support/iLifeMediaBrowser/*/iLMBGarageBandPlugin
0x9698000 - 0x96a3ff3 com.apple.iLMBiMoviePlugin (2.6.3 - 288.3.32) <583F1438-3B57-3B81-AF28-FB82A82054B5> /Library/Application Support/iLifeMediaBrowser/*/iLMBiMoviePlugin
0x96aa000 - 0x96bdff7 com.apple.iLMBiPhoto8Plugin (2.6.3 - 288.3.32) <7A31CC42-9752-3B19-B3D2-7435CB7A0D50> /Library/Application Support/iLifeMediaBrowser/*/iLMBiPhoto8Plugin
0x96c5000 - 0x96cdff3 com.apple.iLMBiPhotoPlugin (2.6.3 - 288.3.32) <845CB0C1-6DF5-3D73-B914-ADCD529DE7E1> /Library/Application Support/iLifeMediaBrowser/*/iLMBiPhotoPlugin
0x96d4000 - 0x96dcff3 com.apple.iLMBiTunesPlugin (2.6.3 - 288.3.32) <26B31C94-C68B-35D2-976D-53869C819FDD> /Library/Application Support/iLifeMediaBrowser/*/iLMBiTunesPlugin
0x96e3000 - 0x96e4ff7 com.apple.iLMBMoviesFolderPlugin (2.6.3 - 288.3.32) <046183A4-8B97-3CF4-929B-F73FE64B6276> /Library/Application Support/iLifeMediaBrowser/*/iLMBMoviesFolderPlugin
0x96e9000 - 0x96ebff8 com.apple.iLMBPhotoBooth2Plugin (2.6.3 - 288.3.32) <96393C47-51C0-3A02-B182-A155B9DBD2A6> /Library/Application Support/iLifeMediaBrowser/*/iLMBPhotoBooth2Plugin
0x96f0000 - 0x96f1ff7 com.apple.iLMBPhotoBoothPlugin (2.6.3 - 288.3.32) <B033393A-644E-32AB-85C4-77D1B30C0850> /Library/Application Support/iLifeMediaBrowser/*/iLMBPhotoBoothPlugin
0x9900000 - 0x9a56ff9 com.apple.iLMBAperture31Plugin (2.6.3 - 288.3.32) <F7E40BA5-4DB1-3486-96E8-1106CC60FD48> /Library/Application Support/iLifeMediaBrowser/*/iLMBAperture31Plugin
0x9a9e000 - 0x9c42ff5 com.apple.iLMBAperturePlugin2012 (2.6.3 - 288.3.32) <44BB86D6-86F9-3877-9137-CDF1DB927554> /Library/Application Support/iLifeMediaBrowser/*/iLMBAperturePlugin2012
0x9c9c000 - 0x9df5ff9 com.apple.iLMBiPhoto9Plugin (2.6.3 - 288.3.32) <F8C6F271-ED94-35D9-A5A1-0BF62F6FAC27> /Library/Application Support/iLifeMediaBrowser/*/iLMBiPhoto9Plugin
0x9e3d000 - 0x9fe2ffd com.apple.iLMBiPhotoPlugin2012 (2.6.3 - 288.3.32) <01BA4581-21CB-37B1-A083-5B3A5717F2EC> /Library/Application Support/iLifeMediaBrowser/*/iLMBiPhotoPlugin2012
0xa03d000 - 0xa0f4ff7 com.apple.iTunesAccess (10.6.3 - 10.6.3) <20F54184-69D0-468A-CEA5-1665192AF5BA> /System/Library/PrivateFrameworks/iTunesAccess.framework/iTunesAccess
0xaa93000 - 0xaa98fe2 libcldcpuengine.dylib (1.50.69 - compatibility 1.0.0) <864BA467-5F11-3B41-B261-894067B8209E> /System/Library/Frameworks/OpenCL.framework/Libraries/libcldcpuengine.dylib
0xaa9f000 - 0xaaa1fff libCoreFSCache.dylib (??? - ???) <5B141DE1-6FC9-3155-833B-23A447A598AB> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache .dylib
0xaaa9000 - 0xaaa9ffb +cl_kernels (??? - ???) <59153EF5-3CBB-4296-AB67-C8CF34CA39E4> cl_kernels
0xaec9000 - 0xaecaff0 +cl_kernels (??? - ???) <F13753ED-2573-43F6-A8C3-CBF139AA6CF6> cl_kernels
0xc1e2000 - 0xc1e6ffb com.apple.audio.AudioIPCPlugIn (1.2.2 - 1.2.2) <D4092467-5BBE-3ED6-A493-7DB1EE8E6686> /System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugI n.bundle/Contents/MacOS/AudioIPCPlugIn
0xc1eb000 - 0xc1f0fff com.apple.audio.AppleHDAHALPlugIn (2.2.0 - 2.2.0f3) <BAD1E0E6-10E6-342C-BEB8-B1706F0CE2CF> /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bun dle/Contents/MacOS/AppleHDAHALPlugIn
0xc4cf000 - 0xc4cfff3 +cl_kernels (??? - ???) <582D73FD-C36E-49B0-849E-06D96A4954C9> cl_kernels
0xc4ed000 - 0xc4f4ffe com.apple.AppleGVAHW.component (1.0 - 1) <B7C2F235-194D-36F8-8EAC-9A70B5A29B03> /System/Library/QuickTime/AppleGVAHW.component/Contents/MacOS/AppleGVAHW
0xcc40000 - 0xcc42fff com.apple.podcastproducer.ImageDiffer (1.3 - 245) <004DC137-08A6-3649-BFDB-C882309D6827> /System/Library/Graphics/Quartz Composer Patches/ImageDifferPatch.plugin/Contents/MacOS/ImageDifferPatch
0xcfe4000 - 0xcfe9ffb com.apple.AppleMPEG2Codec (1.0.2 - 220.1) <A9023E7A-7A60-3EB9-9AB1-AAFC8C87B2C1> /Library/QuickTime/AppleMPEG2Codec.component/Contents/MacOS/AppleMPEG2Codec
0xdb1b000 - 0xdb33ff2 com.apple.applepixletvideo (1.2.30 - 1.2d30) <72A0B4BD-DB7A-3C7F-ADB9-6D059F7ABA2B> /System/Library/QuickTime/ApplePixletVideo.component/Contents/MacOS/ApplePixlet Video
0xe5c4000 - 0xe5e5fe7 com.apple.AppleIntermediateCodec (2.0 - 542.4) <1999D33E-4FF4-3282-B357-D68A30427FB7> /Library/QuickTime/AppleIntermediateCodec.component/Contents/MacOS/AppleInterme diateCodec
0xe700000 - 0xe766fff com.apple.AppleProResDecoder (3.0 - 542.6) <262D3868-74C4-38E6-8448-3BEB84721650> /System/Library/QuickTime/AppleProResDecoder.component/Contents/MacOS/AppleProR esDecoder
0xe797000 - 0xe7d0ff3 com.apple.QuickTimeFireWireDV.component (7.7.1 - 2330) <8C6BCE18-BB4B-3507-AF89-433E582DB4F0> /System/Library/QuickTime/QuickTimeFireWireDV.component/Contents/MacOS/QuickTim eFireWireDV
0xe92a000 - 0xe94ffff com.apple.QuartzComposer.ExtraPatches (4.0 - 236.7) <64765331-E282-397D-8DE7-6BB159782CA2> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzCompose r.framework/Versions/A/Resources/ExtraPatches.plugin/Contents/MacOS/ExtraPatches
0xe95f000 - 0xe9abffb com.apple.audio.midi.CoreMIDI (1.8 - 42) <67FE17BA-C921-3D2D-AAC5-B5E9083CE004> /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
0xeb00000 - 0xeb29fff com.apple.audio.OpenAL (1.5.1 - 1.5.1) <66AB8BA7-6F8A-3D8C-9DAE-D82AF54139BB> /System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL
0xed00000 - 0xed3fff7 com.apple.AppleVAH264HW.component (3.0 - 3.0) <952FB556-4DBA-35E5-9390-0B944801C63A> /System/Library/QuickTime/AppleVAH264HW.component/Contents/MacOS/AppleVAH264HW
0xef3b000 - 0xf051ff3 com.apple.AppleGVAFramework (2.2.80 - 2.2.80) <D615A7A9-F326-3A95-AAFD-F9AFF8E55517> /System/Library/PrivateFrameworks/AppleGVA.framework/Versions/A/AppleGVA
0x10f58000 - 0x10f84fff com.apple.oxygene.layers.iDVDQCPatches (1.0.0 - 602.0.2) <2F6AD71A-EDFB-66DF-ACBD-46617FDB7C0E> /Applications/iMovie.app/Contents/Resources/iDVDQCPatches.plugin/Contents/MacOS /iDVDQCPatches
0x111eb000 - 0x111efff7 +com.bensyverson.quartzcomposer.dvmatte (1.0 - 1.0) <DC961ABE-200A-E9E3-5CD2-7B98F129D0BF> /Applications/iMovie.app/Contents/Resources/Plugins/dvmatte.plugin/Contents/Mac OS/dvmatte
0x28217000 - 0x282b6ff7 unorm8_rgba.dylib (1.50.69 - compatibility 1.0.0) <3A06E8EA-0335-348A-BCCB-21C3E94AED31> /System/Library/Frameworks/OpenCL.framework/Libraries/ImageFormats/unorm8_rgba. dylib
0x2954f000 - 0x295f0ff7 unorm8_bgra.dylib (1.50.69 - compatibility 1.0.0) <7A0427BD-4FB5-3F4E-A7F8-F760AD944283> /System/Library/Frameworks/OpenCL.framework/Libraries/ImageFormats/unorm8_bgra. dylib
0x70000000 - 0x70141fff com.apple.audio.units.Components (1.7.2 - 1.7.2) <44C7D574-F577-30B8-B74D-F2EF8A5A282A> /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
0x8effe000 - 0x8f7a3ffb com.apple.GeForceGLDriver (7.18.18 - 7.1.8) <106B3686-32B8-3717-AAE1-95313E72034E> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDrive r
0x8feca000 - 0x8fefcaa7 dyld (195.6 - ???) <60FD3471-A1D7-342E-99A7-3EDECDAEC6EC> /usr/lib/dyld
0x90005000 - 0x90680fe5 com.apple.CoreAUC (6.16.11 - 6.16.11) <E52E2D54-138B-3F44-AA2C-309FB876DF6A> /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC
0x90681000 - 0x9098bff3 com.apple.Foundation (6.7.2 - 833.25) <4C52ED74-A1FD-3087-A2E1-035AB3CF9610> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x9098c000 - 0x90a5cffb com.apple.ImageIO.framework (3.1.2 - 3.1.2) <94798A2B-4C7A-30EA-9920-283451BDB9FA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
0x90a97000 - 0x90ad9ff7 com.apple.CoreMedia (1.0 - 705.78) <D88AC852-8844-3B73-81C8-DF605F00AB40> /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
0x90ada000 - 0x90ae2ff3 libunwind.dylib (30.0.0 - compatibility 1.0.0) <E8DA8CEC-12D6-3C8D-B2E2-5D567C8F3CB5> /usr/lib/system/libunwind.dylib
0x90ae3000 - 0x90b35ff3 com.apple.ImageCaptureCore (3.0.3 - 3.0.3) <9C6A4134-0D1D-323F-BD07-1D88D258A7B4> /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCo re
0x90b3c000 - 0x90b44fff com.apple.DiskArbitration (2.4.1 - 2.4.1) <28D5D8B5-14E8-3DA1-9085-B9BC96835ACF> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x90b45000 - 0x90b7bff4 com.apple.LDAPFramework (3.2 - 120.2) <39DF72E3-CDAF-33CC-B2DA-67B8891A5CFF> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x90b7c000 - 0x90c64fff libxml2.2.dylib (10.3.0 - compatibility 10.0.0) <1841196F-68B5-309F-8ED1-6714B1DFEC83> /usr/lib/libxml2.2.dylib
0x90cbf000 - 0x90d4cfe7 libvMisc.dylib (325.4.0 - compatibility 1.0.0) <F2A8BBA3-6431-3CED-8CD3-0953410B6F96> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x90d4d000 - 0x90d58ff3 libCSync.A.dylib (600.0.0 - compatibility 64.0.0) <EDA0F56F-CB2C-30BB-940D-C6A25B73C717> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x90d59000 - 0x90d8fff7 com.apple.AE (527.7 - 527.7) <7BAFBF18-3997-3656-9823-FD3B455056A4> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
0x90d90000 - 0x90e08ff8 com.apple.CorePDF (3.1 - 3.1) <0074267B-F74A-30FC-8508-A14C821F0771> /System/Library/PrivateFrameworks/CorePDF.framework/Versions/A/CorePDF
0x90e14000 - 0x90e24ff7 libCRFSuite.dylib (??? - ???) <94E040D2-2769-359A-A21B-DB85FCB73BDC> /usr/lib/libCRFSuite.dylib
0x90e25000 - 0x90e42fff libresolv.9.dylib (46.1.0 - compatibility 1.0.0) <2870320A-28DA-3B44-9D82-D56E0036F6BB> /usr/lib/libresolv.9.dylib
0x90e9d000 - 0x90f80ff7 libcrypto.0.9.8.dylib (44.0.0 - compatibility 0.9.8) <BD913D3B-388D-33AE-AA5E-4810C743C28F> /usr/lib/libcrypto.0.9.8.dylib
0x90f81000 - 0x90f86ff7 libmacho.dylib (800.0.0 - compatibility 1.0.0) <943213F3-CC9B-328E-8A6F-16D85C4274C7> /usr/lib/system/libmacho.dylib
0x90fa2000 - 0x90feaff7 com.apple.SystemConfiguration (1.11.3 - 1.11) <68B92FEA-F754-3E7E-B5E6-D512E26144E7> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x90feb000 - 0x90ff3ff5 libcopyfile.dylib (85.1.0 - compatibility 1.0.0) <BB0C7B49-600F-3551-A460-B7E36CA4C4A4> /usr/lib/system/libcopyfile.dylib
0x90ff4000 - 0x90ffdffb com.apple.aps.framework (2.1 - 2.1) <498C8125-A32E-3554-B4B1-8F416623D45C> /System/Library/PrivateFrameworks/ApplePushService.framework/Versions/A/ApplePu shService
0x9102d000 - 0x9104fff8 com.apple.PerformanceAnalysis (1.11 - 11) <453463FF-7C42-3526-8C96-A9971EE07154> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/Perf ormanceAnalysis
0x910c7000 - 0x910c7fff com.apple.Accelerate (1.7 - Accelerate 1.7) <4192CE7A-BCE0-3D3C-AAF7-6F1B3C607386> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x910c8000 - 0x91e18ffb com.apple.QuickTimeComponents.component (7.7.1 - 2330) <91F3ABCA-3BB8-3B01-AA3F-37B3D798755A> /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTim eComponents
0x91e1f000 - 0x91e87ff3 com.apple.ISSupport (1.9.8 - 56) <59225A65-41C1-35CA-9F29-229AC427B728> /System/Library/PrivateFrameworks/ISSupport.framework/Versions/A/ISSupport
0x91e88000 - 0x91f1eff7 com.apple.LaunchServices (480.33 - 480.33) <5A4BF529-391E-3987-940E-287ACE56078A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
0x91f1f000 - 0x92265fff com.apple.MediaToolbox (1.0 - 705.78) <E6990E4A-B562-3051-86A6-B39E040BF766> /System/Library/PrivateFrameworks/MediaToolbox.framework/Versions/A/MediaToolbo x
0x92323000 - 0x92375ff7 libFontRegistry.dylib (??? - ???) <96E9602C-DFD3-3021-8090-60228CC80D26> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x92376000 - 0x9238bff7 com.apple.ImageCapture (7.0.1 - 7.0.1) <1C8933A9-C7C6-36E9-9D8B-0EF08ACA3315> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x9238d000 - 0x92395ff3 liblaunch.dylib (392.38.0 - compatibility 1.0.0) <D7F6E875-263A-37B5-B403-53F76710538C> /usr/lib/system/liblaunch.dylib
0x923ba000 - 0x923dbfff com.apple.framework.internetaccounts (1.2 - 3) <5A5099CB-8F73-3425-BAB1-FF6CD624143C> /System/Library/PrivateFrameworks/InternetAccounts.framework/Versions/A/Interne tAccounts
0x923dc000 - 0x92463fff com.apple.print.framework.PrintCore (7.1 - 366.3) <EEC03CAB-7F79-3931-87FE-4DF0B767BF47> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x92464000 - 0x92481ff3 com.apple.openscripting (1.3.3 - ???) <33713C0B-B7D5-37AA-87DB-2727FDCC8007> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x92635000 - 0x92669ff8 libssl.0.9.8.dylib (44.0.0 - compatibility 0.9.8) <567E922C-E64F-321B-9A47-6B18BF481625> /usr/lib/libssl.0.9.8.dylib
0x9266a000 - 0x92697ff9 com.apple.securityinterface (5.0 - 55022.4) <B59D9B2A-7FB8-32EC-B8D9-6D4DE76508F7> /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
0x92698000 - 0x926e9ff9 com.apple.QuickLookFramework (3.2 - 500.16) <725FAE01-1597-38C7-841D-D9D83358921E> /System/Library/Frameworks/QuickLook.framework/Versions/A/QuickLook
0x926ea000 - 0x926ecffb libRadiance.dylib (??? - ???) <4721057E-5A1F-3083-911B-200ED1CE7678> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x92713000 - 0x92b07ffb com.apple.VideoToolbox (1.0 - 705.78) <BE955448-F79F-3136-A4AF-6EDBAFEDD9C2> /System/Library/PrivateFrameworks/VideoToolbox.framework/Versions/A/VideoToolbo x
0x92b59000 - 0x92cbbffb com.apple.QuartzCore (1.7 - 270.4) <6BC84C60-1003-3008-ABE4-779EF7B4F524> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x92e04000 - 0x92e73fff com.apple.Heimdal (2.2 - 2.0) <2E1B8779-36D4-3C62-A67E-0034D77D7707> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
0x92e74000 - 0x92edcff7 libc++.1.dylib (28.1.0 - compatibility 1.0.0) <FE3304C5-C000-3DA0-9E53-0E4CA074B73B> /usr/lib/libc++.1.dylib
0x92edd000 - 0x92ee1ffa libcache.dylib (47.0.0 - compatibility 1.0.0) <56256537-6538-3522-BCB6-2C79DA6AC8CD> /usr/lib/system/libcache.dylib
0x92ef1000 - 0x92ef9fff com.apple.AOSNotification (1.4.0 - 504.1) <DB0B29CD-8Hi,
Please help.
How did you manage to resolve this. I have similar issues.
I have SAP_ALL and can run the reports without problems but users have error message
general exception in deploy transformation for object "WEB_TEMPLATE"
thanks -
Who wants a game of "spot the error"?!
OK, this time I REALLY cannot see the error. The code is:
<cfif #Form.RegCoID# NEQ "CoNotReg">
<cfquery name="getCoName" datasource="theatrepeeps">
SELECT CoName
FROM CoID
WHERE CoID = #Form.RegCoID#
</cfquery>
</cfif>
<cfif #Form.RegVenueID# NEQ "VenueNotReg">
<cfquery name="getVenueName"
datasource="theatrepeeps">
SELECT VenueName
FROM Venues
WHERE VenueID = #Form.RegVenueID#
</cfquery>
</cfif>
The error message is:
Error Executing Database Query.
Syntax error (comma) in query expression 'VenueID =
VenueNotReg,1'.
The error occurred in
C:\CFusionMX7\wwwroot\theatrepeeps\LoggedIn\Productions\addProdA.cfm:
line 20
Called from
C:\CFusionMX7\wwwroot\theatrepeeps\LoggedIn\Productions\addProdA.cfm:
line 1
Called from
C:\CFusionMX7\wwwroot\theatrepeeps\LoggedIn\Productions\addProdA.cfm:
line 20
Called from
C:\CFusionMX7\wwwroot\theatrepeeps\LoggedIn\Productions\addProdA.cfm:
line 1
18 : SELECT VenueName
19 : FROM Venues
20 : WHERE VenueID = #Form.RegVenueID#
21 : </cfquery>
22 : </cfif>
The bugging part of this problem is the fact that a) the top
most part of the code executes fine and b) the dynamic data should
only be returning a "1", NOT '"VenueID = VenueNotReg,1'"
Any ideas?That's exactly the problem.
You have two form fields named RegVenueId. One has the value
VenueNotReg and the other has, in this case, a value of 1.
I would presume it's a simply copy/paste error. I did this
myself a
while back, it can be a real pain.
J
In article <faiacf$204$[email protected]>
"cf_menace"<[email protected]> wrote:
> Place <cfdump var="#form#" /> above the queries
and see what's being
> passed from the form fields. You might have a SELECT
menu and another
> form element both named "RegVenueID". If so, then you'd
get a
> comma-delimited list of values like this.
I'm trying a new usenet client for Mac, Nemo OS X.
You can download it at
http://www.malcom-mac.com/nemo -
Spot the error!!!! float not saved in array
I have the following class file which compiles fine and runs, but for some reason the salary is never stored into the file when saved, i am outputting store to the terminal window and everything comes up apart from salary which always says 0.0 can anybody see any errors has it is driving me mad lol!
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import bank.BankUI;
import bank.*;
public class CreateSequentialFile extends JFrame {
private ObjectOutputStream output;
private BankUI userInterface;
private JButton enterButton, openButton;
private Store store;
private Employee record;
// set up GUI
public CreateSequentialFile()
super( "Creating a Sequential File of Objects" ); // appears in top of gui
// create instance of reusable user interface
userInterface = new BankUI( 9 ); // four textfields
getContentPane().add( userInterface, BorderLayout.CENTER );
openButton = userInterface.getDoTask1Button();
openButton.setText( "Save to file" );
openButton.addActionListener(
// anonymous inner class to handle openButton event
new ActionListener() {
// call openFile when button pressed
public void actionPerformed( ActionEvent event )
openFile();
} // end anonymous inner class
); // end call to addActionListener
// configure button doTask2 for use in this program
enterButton = userInterface.getDoTask2Button();
enterButton.setText( "Save to file..." );
enterButton.setEnabled( false ); // disable button
// register listener to call addRecord when button pressed
enterButton.addActionListener(
// anonymous inner class to handle enterButton event
new ActionListener() {
// call addRecord when button pressed
public void actionPerformed( ActionEvent event )
addRecord();
} // end anonymous inner class
); // end call to addActionListener
// register window listener to handle window closing event
addWindowListener(
// anonymous inner class to handle windowClosing event
new WindowAdapter() {
// add current record in GUI to file, then close file
public void windowClosing( WindowEvent event )
if ( output != null )
addRecord();
closeFile();
} // end anonymous inner class
); // end call to addWindowListener
setSize( 600, 500 );
setVisible( true );
store = new Store(100);
} // end CreateSequentialFile constructor
// allow user to specify file name
private void openFile()
// display file dialog, so user can choose file to open
JFileChooser fileChooser = new JFileChooser();
fileChooser.setFileSelectionMode( JFileChooser.FILES_ONLY );
int result = fileChooser.showSaveDialog( this );
// if user clicked Cancel button on dialog, return
if ( result == JFileChooser.CANCEL_OPTION )
return;
File fileName = fileChooser.getSelectedFile(); // get selected file
// display error if invalid
if ( fileName == null || fileName.getName().equals( "" ) )
JOptionPane.showMessageDialog( this, "Invalid File Name",
"Invalid File Name", JOptionPane.ERROR_MESSAGE );
else {
// open file
try {
output = new ObjectOutputStream(
new FileOutputStream( fileName ) );
openButton.setEnabled( false );
enterButton.setEnabled( true );
// process exceptions from opening file
catch ( IOException ioException ) {
JOptionPane.showMessageDialog( this, "Error Opening File",
"Error", JOptionPane.ERROR_MESSAGE );
} // end else
} // end method openFile
// close file and terminate application
private void closeFile()
// close file
try {
int storeSize = store.getCount();
for (int i = 0; i<storeSize;i++)
output.writeObject(store.elementAt(i));
output.close();
System.exit( 0 );
// process exceptions from closing file
catch( IOException ioException ) {
JOptionPane.showMessageDialog( this, "Error closing file",
"Error", JOptionPane.ERROR_MESSAGE );
System.exit( 1 );
} // end method closeFile
// add record to file
public void addRecord()
int employeeNumber = 0;
String fieldValues[] = userInterface.getFieldValues();
// if account field value is not empty
if ( ! fieldValues[ BankUI.IDNUMBER ].equals( "" ) ) {
// output values to file
try {
employeeNumber = Integer.parseInt(
fieldValues[ BankUI.IDNUMBER ] );
String dob = fieldValues[ BankUI.DOB ];
String[] dateofBirth = dob.split ("-");
String sDate = fieldValues[ BankUI.START ];
String[] startDate = sDate.split ("-");
String sex = fieldValues[ BankUI.GENDER ];
char gender = (sex.charAt(0));
if ( employeeNumber >= 0 ) {
record = new Employee(
fieldValues[ BankUI.NAME ],
gender,
new Date( Integer.parseInt(dateofBirth[0]),
Integer.parseInt(dateofBirth[1]),
Integer.parseInt(dateofBirth[2])),
fieldValues[ BankUI.ADDRESS ],
fieldValues[ BankUI.NATINTNO ],
fieldValues[ BankUI.PHONE ],
fieldValues[ BankUI.IDNUMBER ],
new Date( Integer.parseInt(startDate[0]),
Integer.parseInt(startDate[1]),
Integer.parseInt(startDate[2])),
Float.parseFloat( fieldValues[ BankUI.SALARY ] ));
if (!store.isFull())
store.add(record);
else
JOptionPane.showMessageDialog( this, "The Store is full you cannot add\n"+
"anymore employees. \nPlease Save Current File and Create a New File." );
System.out.println("Store full");
store.displayAll();
System.out.println("Count is " + store.getCount());
// output record and flush buffer
//should be written to fuile in the close file method.
output.flush();
else
JOptionPane.showMessageDialog( this,
"Account number must be greater than 0",
"Bad account number", JOptionPane.ERROR_MESSAGE );
// clear textfields
userInterface.clearFields();
} // end try
// process invalid account number or balance format
catch ( NumberFormatException formatException ) {
JOptionPane.showMessageDialog( this,
"Bad ID number, Date or Salary", "Invalid Number Format",
JOptionPane.ERROR_MESSAGE );
// process exceptions from file output
catch ( ArrayIndexOutOfBoundsException ArrayException ) {
JOptionPane.showMessageDialog( this, "Error with Start Date or Date of Birth",
"IO Exception", JOptionPane.ERROR_MESSAGE );
// process exceptions from file output
catch ( IOException ioException ) {
JOptionPane.showMessageDialog( this, "Error writing to file",
"IO Exception", JOptionPane.ERROR_MESSAGE );
closeFile();
} // end if
} // end method addRecord
public static void main( String args[] )
new CreateSequentialFile();
} // end class CreateSequentialFileI don't see any salary-related code in what you posted. Is there salary information in that Employee class or something? If so you should look there to see if it's working correctly. Or better still, test the Employee class properly before allowing other classes to use it.
-
When i am trying to make outbound delivery, i am getting this errors
1.site is not defined for article 000010
2. storage location is not defined for article 000010
3. for site, article type hawa is not defined in table t134w.
Pls solve asap
rgds n thnx,
vikas1. there is no logistics view for site 0001. create logistic view on article 10 for site 0001, or create listing for that article on that site, which will trigger creation of logistics view
2. storage location is maintained on logistics views, so if there is no logistics view, storage location is not maintained too. after creation of logistics view, maintain storage location.
3. there is no assignment of article type to site. it is customizable in tr.SPRO. Logistics general- material master-basic settings-material types-define attributes of article types. Select type HAWA. Goto "Quantity/value updating). I suppose this step has to be done first. -
Can anyone spot the error in this script for iTunes?
This AppleScript is designed to copy the Name and Artist of an iTunes track, then populate the Album Artist field with both, separated with an oblique. But when I run the script in iTunes, it only pastes the Artist name in to the Album Artist field and not the whole string.
tell application "iTunes"
if selection is not {} then -- if tracks are selected...
set sel to selection
set numTracks to (length of sel)
set s to "s"
if numTracks is 1 then set s to ""
display dialog "Adds the name of the track and the name of the artist to the Album Artist field." & return & return & (numTracks & " track" & s & " selected.") buttons {"Cancel", "Continue"} default button 2 with title "Create Album Artist" giving up after 30
if gave up of result is true then return
repeat with t from 1 to numTracks
tell contents of item t of sel
set {album artist} to ({get artist} & " / " & {get name})
end tell
end repeat
else
display dialog "No tracks have been selected." buttons {"Cancel"} default button 1 with icon 0 giving up after 30
end if -- no selection
end tellHello
Try -
tell item t of sel
set album artist to (get artist) & " / " & (get name)
end tell
instead of -
tell contents of item t of sel
set {album artist} to ({get artist} & " / " & {get name})
end tell
In your original code, the left and right value of assignment are both list, i.e. -
left value = {album artist}
right value = {get artist, "/", get name}
Consequently 'album artist' is assigned to the 1st item of the list at right, which is the result of 'get artist'.
In order to avoid this, don't use list assingment, which is not necessary at all here.
Also, I think you may just tell item t of sel, not contents of item t of sel.
Hope this may help,
H -
Error while running PING program using applet. Pls correct the code.-urgent
Can anyone pls correct the error in the below code.
Program : TestExec1
Using : Applet
Logic : Trying to display the ping status in the text area but it returns error...!
CODING
import java.awt.*;
import java.lang.*;
import java.io.*;
import java.net.*;
import java.awt.event.*;
import java.applet.*;
import java.*;
/*<applet code="TestExec1" width=380 height=150>
</applet>
public class TestExec1 extends Applet
String line = null;
TextArea outputArea;
Process p;
public void init()
outputArea = new TextArea(20,20);
public void start()
try
Process p= Runtime.getRuntime().exec("ping 192.168.100.192 -t");
BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()));
while ((line = in.readLine()) != null)
outputArea.append("\n" + line);
System.out.println(line);
catch (IOException e)
e.printStackTrace();
Error : C:\Program Files\Java\jdk1.6.0_02\bin>appletviewer TestExec1.java
java.security.AccessControlException: access denied (java.io.FilePermission <<AL
L FILES>> execute)
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:323)
at java.security.AccessController.checkPermission(AccessController.java:
546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkExec(SecurityManager.java:782)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:447)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:431)
at java.lang.Runtime.exec(Runtime.java:328)
at TestExec1.start(TestExec1.java:31)
at sun.applet.AppletPanel.run(AppletPanel.java:458)
at java.lang.Thread.run(Thread.java:619)
Regards
ESMjava.security.AccessControlException: access denied (java.io.FilePermission
<<ALL FILES>> execute)This message tells you that the applet does not have permission to access/execute files. Access may be granted by either signing the applet, which allows the user to grant (or not grant) the access when running the applet, or by adding the necessary permission file to the user's computer.
See http://java.sun.com/javase/6/docs/technotes/guides/security/index.html -
Error in my build.xml file (help with spotting syntax error requested)
Hi
I have written an XML file called build.xml for one of my applications. My XML editor complains that there is an error at the last line of the XML file, but I simply find it unable to correct the errror.
It says:
Fatal error:Build.xml[76:3-9]: End-Tag without start-tag
The XML file itself:
<project basedir="." default="deploy" name="concepts">
<property name="src.dir" value="src"></property>
<property name="build.dir" value="${basedir}/build"></property>
<property name="build.lib" value="${build.dir}/lib"></property>
<property name="dist.dir" value="dist"></property>
<property name="classes.dir" value="${build.dir}/classes"></property>
<property name="build.etc" value="${src.dir}/etc"></property>
<property name="build.resources" value="${src.dir}/resources"></property>
<property name="lib.dir" value="lib"></property>
<property name="web-inf.dir" value="WEB-INF"></property>
<property name="war.name" value="concepts"></property>
<property file="../common.properties"></property>
<target name="init">
<mkdir dir="${build.dir}"></mkdir>
<mkdir dir="${classes.dir}"></mkdir>
<mkdir dir="${dist.dir}"></mkdir>
</target>
<target name="deploy" depends="clover-yes, clover-no">
<javac srcdir="${src.dir}" destdir="${classes.dir}" classpath="${libs}" debug="off" optimize="on" deprecation="on" compiler="${compiler}">
<include name="org/apache/commons/fileupload/**/*.java" />
<include name="com/portalbook/portlets/**/*.java" />
<include name="com/portalbook/portlets/content/**/*.java" />
</javac>
<target depends="init" name="compile">
<javac debug="true" deprecation="true" destdir="${classes.dir}" optimize="false">
<src>
<pathelement location="${src.dir}"></pathelement>
</src>
<classpath>
<fileset dir="${lib.dir}">
<include name="*.jar">
</include>
</fileset>
</classpath>
</javac>
</target>
<target depends="compile" name="war">
<war destfile="${dist.dir}/${war.name}.war" webxml="WEB-INF/web.xml">
<classes dir="${classes.dir}"></classes>
<lib dir="${lib.dir}"></lib>
<webinf dir="${web-inf.dir}"></webinf>
</war>
</target>
<!-- create the portal-concepts-lib.jar -->
<jar jarfile="${build.lib}/concepts-lib.jar">
<fileset dir="${classes.dir}"></fileset>
</jar>
<jar jarfile="${build.lib}/concepts.war" manifest="${build.etc}/concepts-war.mf">
<fileset dir="${build.resources}/concepts-war"></fileset>
</jar>
<!-- concepts.ear -->
<copy todir="${build.resources}/concepts-ear">
<fileset dir="${build.lib}" includes="concepts.war,concepts-lib.jar"></fileset>
</copy>
<jar jarfile="${build.lib}/concepts.ear">
<fileset dir="${build.resources}/concepts-ear" includes="concepts.war,concepts-lib.jar">
</fileset>
</jar>
<target depends="deploy" name="explode">
<taskdef classname="org.jboss.nukes.common.ant.Explode" classpath="${libs}" name="explode"></taskdef>
<explode file="${build.lib}/concepts.ear" name="concepts.ear" todir="${build.lib}/exploded"></explode>
</target>
<target depends="war" name="all"></target>
<target name="clean">
<delete dir="${build.dir}">
</delete>
<delete dir="${dist.dir}">
</delete>
</target>
</project>
I am a little inexperienced in XML files. So I am unable to spot the error.
I would greatly appreciate it, if some kind soul were to help me out.
thanks a lotThe tag
<target name="deploy" depends="clover-yes, clover-no">...is never closed.
close that tag:
<target name="deploy" depends="clover-yes, clover-no">
<javac srcdir="${src.dir}" destdir="${classes.dir}" classpath="${libs}" debug="off" optimize="on" deprecation="on" compiler="${compiler}">
<include name="org/apache/commons/fileupload/**/*.java" />
<include name="com/portalbook/portlets/**/*.java" />
<include name="com/portalbook/portlets/content/**/*.java" />
</javac>
</target>Second error is that the depends in there (clover-yes, clover-no) are not existing as targets in your xml. -
Applet - error in simple Ping program using Applet.Pls correct my error.
Can anyone pls correct the error in the below code.
Program : TestExec1
Using : Applet
Logic : Trying to display the continous pinging status in the textarea in applet, but it returns error...!
CODING
import java.awt.*;
import java.lang.*;
import java.io.*;
import java.net.*;
import java.awt.event.*;
import java.applet.*;
import java.*;
/*<applet code="TestExec1" width=380 height=150>
</applet>
public class TestExec1 extends Applet
String line = null;
TextArea outputArea;
Process p;
public void init()
outputArea = new TextArea(20,20);
public void start()
try
Process p= Runtime.getRuntime().exec("ping 192.168.100.192 -t");BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()));
while ((line = in.readLine()) != null)
outputArea.append("\n" + line);
System.out.println(line);
catch (IOException e)
e.printStackTrace();
Error : C:\Program Files\Java\jdk1.6.0_02\bin>appletviewer TestExec1.java
java.security.AccessControlException: access denied (java.io.FilePermission <<AL
L FILES>> execute)
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:323)
at java.security.AccessController.checkPermission(AccessController.java:
546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkExec(SecurityManager.java:782)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:447)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:431)
at java.lang.Runtime.exec(Runtime.java:328)
at TestExec1.start(TestExec1.java:31)
at sun.applet.AppletPanel.run(AppletPanel.java:458)
at java.lang.Thread.run(Thread.java:619)
Regards
ESMWill you please tell the procedure of how to use jarsigner and make a sign in for my program.
class Name : SamplePing.java
Using : Applet
Manifest file : manifest.txt
Main Class : SamplePing
I have created jar file using the following command -
"jar cvfm Ping.jar manifest.txt Sa*.class "
Let me know how can i proceed further to run exec command in applet.Pls give me series of steps.
Thanks in advance. -
I remove CTIOS 8 in window 8.1, and install CTIOS 9.0 but i am trying to login they given the error. Pls help
This may help, it allows you to reset the application, it also may be worth clearing out the app store cache and temp files.
http://www.ryanragle.com/index.php?/site/comments/where-does-the-mac-app-store-d ownload-temp-files-to
To contact Apple use the feedback form, this is a user forum and I don't think they will respond here.
regards -
my rental download shows error. it happened once on my movie purchase, and twice on my season tv episode. this time it's a rented movie but i cant download it completely cus of the error... pls help
What does the error message say? (Include error message numbers if you're getting any, please.)
-
On opening A.8, I get this error message "Runtime error (VisualC ) This application has requested to terminate in an unusual way. Pls. contact the app's supoort team." This happens on opening .pdf file or opening the application.
XP. Yes, it was working fine. When I open Control Panel/Add or Remove
programs, Acrobat isn't listed (Creative Suite 3 and 2 Flash Players,
and an Acrobat Reader that I installed yesterday show up, but no
Acrobat). Acrobat 6 and 8 appear in Explorer under Program
Files/Adobe.??? Thanks. -
Can anyone spot the syntax error of db delete?
Hi
I'm trying to get a database delete statement to work for a relations table - it just has studentId and courseId as foreign keys which make up a joint primary key.
The line is
db.update("delete from enrollments2 where (studentsid = '" + getStudentId() + "," + " coursesid = " + getCourseId() + "')");The error is
ERROR: invalid input syntax for integer: "78, coursesid = 75"Somehow I am putting non integer into an integer... I can't seem to spot the mistake though. Any help would be appreciated.The correct syntax I should mention was
db.update("delete from enrollments2 where (studentsid = '" + getStudentId() + "'and coursesid = '" + getCourseId() + "')");I'll leave that in for the time being and try to come back to it tonight... its on my todo list.
Thanks for the snippet by the way, it always saves a lot of time when someone provides a useful snippet towards a solution. I hadn't heard of prepared statements until now too, interesting.
Message was edited by:
occams_razor
-->> missed a 2 out there as enrollments2 is my test case -
we are unable to sign in to iMessages, wifi connection is fine but we get the error message, pls check your network connection. Does anyone know how to fix this
there has been a big problem with facetime and imessage. The best solution for this case is to restore your device http://support.apple.com/kb/HT1414
Make sure you back it up. and I would set up facetime before you reinstall your backup and make sure its working. -
I have changed my apple id password and yet apple store refused to update my software with the error "The apple id has been disabled" pls help
Apple ID security issues -
Call Apple Care and ask for the Account Security Team. They can assist you with your issue.
Maybe you are looking for
-
Java-plugin for windows vista question
Hello, What is the best java -plug ins for the windows Vista OS in the client? Is JRE 1.6 is good or we need to get anything higher? we have currently jre1.6 but at startup itis giving some problem. does anybody uses window vista as clint ? if so wha
-
Error - Settlement for WBS Element
Dear All My query is the prj is EP & WBS El is EP-99, under EP-99 the avialable values are Rs192,523/- as per different cost element wise & the values has been posted/transferred the reposting transaction from another wbs element. Those values have t
-
Hi All, thanx for all efforts being made by the mates here i'm distributing a CD rom with an AW exe file in it. The exe file contains several shockwave files(dcr). when i run the project file(exe file), shockwave files don't work. i guess this happen
-
Windows 7 will not recignize my 4th gen ipod touch 32gb
On my laptop I have windows 7. windows will not recognize my 32gb, 4th gen ipod touch. When i plug in my ipod all i get is a message that says "USB device not recognized" I have uninstalled and re installed ALL windows programs on my laptop. Pleas
-
Oracle forms hanging after tabbing off a field
Hi there, Our application is 10gR2. There are several fields on the form and when the user tabs off a particular field (say TextField1), forms hangs up. TextField1 has a LOV associated but since i am clicking on the button of TextField1, the select s