Java 1.6 update 7 with Java 1.6 update 10 Next Generation Plugin, possible?
Hello,
I have a quick question. A client I work with has a need to use Java 1.6 update 7 to access their Oracle applications. We need to have the plugin (Next Generation) work with this version, even though I am aware that it does not come with it. I tried moving the npjp2.dll plugin in to the Firefox plugins, and although it shows up as the plugin inside Firefox, Java never loads.
Is there a way to force upon Java 1.6 update 7, the Next Generation plugin for it to be compatible with Firefox? I am currently trying this on Firefox 10 due to browser security features that killed my testing in later versions.
Disclaimer:
1.) I understand Firefox 10esr is old, and prone to security vulnerabilities
2.) I understand Java 1.6u7 is also old and prone to security vulnerabilities
Please advise. Thanks!
Dan
You would have to create a registry key that points to the other Java version, just like there is one for the current Java release.
64 bit Windows:
HKLM\Software\Wow6432Node\MozillaPlugins\@java.com/JavaPlugin,version=xx.xx.xx
32 bit Windows:
HKLM\Software\MozillaPlugins\@java.com/JavaPlugin,version=xx.xx.xx
*https://developer.mozilla.org/Adding_Extensions_using_the_Windows_Registry#Plugins
*https://developer.mozilla.org/Gecko_Plugin_API_Reference/Plug-in_Basics#How_Gecko_Finds_Plug-ins
Similar Messages
-
Our Java application is built with java 1.4 version and oracle 10g
Our Java application is built with java 1.4 version and oracle 10g version database, is it possible to upgrade oracle database to 11g?
is it possible to upgrade
Yes. SE and the other editions have a migration/upgrade utility, not seeing any mention of that program in the XE license docs. To upgrade to 11gR2 from 10g, the 10g instance must be at patch 10.2.0.2 or higher.
So if you're a GUI dba, might be out of luck. But the the XE install has the catalog upgrade scripts that need to be run, there is a MOS note explaining the manual upgrade steps.
Or set up a brand new 11g database instance and datapump your user schema(s) from the 10g instance to the new 11g instance. The database doesn't care what java version you're using, it just does what its told with the data. DDL, DCL, DML ... its not much different. Quite a few new features in 11g.
But if you're after JVMs that piece is not supported with XE. -
I'm still trying to get a definitive answer to this question.
My applet is not "Next Generation compliant". When we run our applet in Internet Explorer it runs fine as long as we disable the "Next Generation Plugin" via the Java plugin control panel. However our applet does not run in Firefox if the "next generation applet" is disabled.
Is it a requirement that if I want to run an applet in Firefox 3.6.x or higher that the "next generation plugin" be enabled via the Java plugin control panel.Current Firefox versions (3.6 and later) can only run Java applets via the Next Generation plugin.
*http://java.com/en/download/help/new_plugin.xml -
Java console not compatible with 6.01 Mozilla update
Since the 6.01 Firefox update, I can no longer view flash panels and some images are not appearing on web sites. I look and found all the java consoles greyed out with the message they were incompatible with 6.01 Firefox. So what do I do now? I also notice that websites suddenly disappear when I did not close them. Please fix this problem.
Hi catnip009:
I can confirm cor-el's information that it is "normal" for the Java Console extension to be disabled in FF6 (see my post [https://support.mozilla.com/en-US/questions/870013#answer-247544 here] for instructions on how to test your Java installation).
When you say "flash panels", do you mean that '''Adobe Flash''' doesn't seem to be working on some web sites with FF6?
If that's the case, then try the following:
First, check your Flash installation [http://www.adobe.com/software/flash/about/ here] on the Adobe web site. If your Flash isn't working or you don't have the latest Flash v. 10.3.183.7, do the following:
# Uninstall Adobe Flash from the Windows Control Panel
# Download and run the [http://kb2.adobe.com/cps/141/tn_14157.html Adobe Flash Uninstall Utility] to clean out remnants of any old installation
# Re-boot your PC
# Run the Adobe Flash Uninstall Utility again for safe measure
# Download the Adobe Flash v. 10.3.183.7 standalone plugin installer (the non-IE NPAPI version) from the FileHippo site [http://www.filehippo.com/download_flashplayer_firefox/10462/ here] . Be sure to download v. 10.3.183.7 (the current stable version) and not a beta test version. '''Save the installation file to your hard drive and do not run the installation from your browser'''
# Install Adobe Flash from the Run command (Start | Run) with the new installation file with all browsers and instant messenger software closed
# Check your new Flash installation [http://www.adobe.com/software/flash/about/ here].
If you also use the IE browser, the ActiveX version of Flash v. 10.3.183.7 for IE can be downloaded from FileHippo [http://www.filehippo.com/download_flashplayer_ie/10461/ here]. If you prefer you can re-install Flash from the Adobe site ([http://get.adobe.com/flashplayer/ here] for auto-detection of OS and default browser; [http://get.adobe.com/flashplayer/otherversions/ here] for any version of Flash), but I prefer using the standalone installers from FileHippo because Flash occasionally doesn't install correctly when you run the installation from the Adobe site via your web browser.
Windows Vista Home Premium 32-bit SP2 * IE 9.0 * Firefox 6.0 * Java 7.0 * Adobe Flash 10.3.183.7 -
Language Update with 9.1.3 update
When I checked manually for updates, I observed the available updates: 9.1.3 update and Language Support 9.0. The window on the right appeared to show I already had Language Support 9.0 installed. I was not sure because of the critical update 9.1.3 so I installed 9.1.3 and reinstalled Language Support 9.0. After installing, I checked the log (text) files and noticed in the aum text file that hidden updates concerning mostly Asian Languages appeared to be installed in my reinstallation. Is this safe with 9.1.3? Should I be concern with the text hidden updates. Is this normal? Should I uninstall Adobe Reader?
All Patches are available from Adobe or Windows update...Try Adobe web site first...Write down the patch name or number that the program is telling you that you need..You may have to search the Adobe web site for it...Just type it in their search bar on their web page and see if it comes up..---- surrfer <[email protected]> wrote:
i sent a email a week ago asking how to download the flash player for firefox and adobe verified receipt of the email but no one followed up with instructions
-- i've already downloaded for windows vista home premiun but can't for the firefox brower
- after trying to download the 9.13 reader update, it stated i needed a ""patch"" how do get the patch
please respond asap to these two questions
> -
Need to keep Java 5 updates with Java 6?
I have Java 6 with 3 updates. Is it necessary to keep the 5 updates I have on my computer from Java 5? They take up quite a bit of space.
Only if you want to use one. Some Java programs require that the program is run on a certain version.
-
Zipped files created with Java won't unzip with Java
Hello there,
I have written a class for unzipping a zip file using the 'ZipFile' class. It works perfectly fine when I extract zip files that have been created with XP, Winzip, or Winrar.
I am now experimenting with creating zip files using the ZipOutputStream (http://forum.java.sun.com/thread.jspa?forumID=256&threadID=366550 by author smeee). The code works great for creating the zip file, but when I try and unzip it with the zipfile class mentioned above it throws an exception.
The error that the following code gives me when it tries to convert an element from the enumeration to a ZipEntry is this: java.io.FileNotFoundException: C:\testfiles\out\high\BAUMAN\00001.jpg (The system cannot find the path specified)
NOTE: The file is there by the way!!! :-)
See the code for extracting here:
try {
zippy = new ZipFile(fileName);
Enumeration all = zippy.entries();
while (all.hasMoreElements()) {//loop through all zip entries
getFile((ZipEntry)all.nextElement()); <<<=====FAILS HERE
} catch (IOException err) {
System.err.println(err.toString());
return;
}Now if I extract the zip file with winzip, then rezip it with winzip and run the above method again it works with no errors. Any thoughts. Any help would be greatly appreciated.
JaredHello All,
For anyone else who use the forum posting by smeee as a guide to create a zipper (http://forum.java.sun.com/thread.jspa?forumID=256&threadID=366550 by author smeee).
I was tracing through the code and found that there is a statement that adds 1 character (strSource.length()+1) to the source path. This was causing the following bug:
In windows it was placing objects like this \myfolder\myfile.txt
In unix it was placing objects like this yfolder\myfile.txt
Naturally a path like \myfolder... in the zip index was causing problems. I have added a case statement that tests the OS and then adds two chars if windows to compensate for the 'C:' and does nothing if Unix. The code now runs perfectly on either OS.
Thanks for your response guys!
Jared -
Java Webstart app fails with Java 1.4?
My Java Web Start application runs great with JRE 2 v1.5 and later. However, my customers running 1.4 run into a strange download error when they attempt to launch the application. I've reproduced this on multiple different computers running 1.4, so it appears to be specific to that version of the runtime. The exception details are below.
My best guess is that java is unable to cache the jnlp file locally because it is using the query parameters in the file name. Does anyone have any ideas what is wrong here, and whether there's a way for me to fix it or workaround it?
Thanks,
Sean
JNLPException[category: Download Error : Exception: java.io.FileNotFoundException: D:\Users\seandr\AppData\LocalLow\Sun\Java\Deployment\javaws\cache\http\Dmillisec\P80\DMmillisecond3\DMdownload\DMjws\DM3_0_3_1\java-XMInquisit.jnlp?ScriptPath=http&p3A&p2F&p2Fmillisec&p2Ftestcases&p2F3.x&p2F2.x&p2Fandyedmonds&p2Fanomaly3.exp&&UserId=seandr&&SubjectId=74365108&&MonkeyMode=human&&EncryptionKey=F0397A7A-4C4F-49a8-B330-AEB66D14A32D&&FinishPage=http&p3A&p2F&p2Fmillisec&p2Fmillisecond3&p2Fweb&p2Ffinish.aspx2099tmp (The filename, directory name, or volume label syntax is incorrect) : LaunchDesc: null ]
at com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.getLaunchFile(Unknown Source)
at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Java Web Start 1.4.2_17 Console, started Wed Sep 24 18:39:49 PDT 2008
Java 2 Runtime Environment: Version 1.4.2_17 by Sun Microsystems Inc.Try here:
http://java.sun.com/products/javawebstart/index.html -
Configuration Requirement for Integrated Planning in BI 7.0 with JAVA Addin
Hi,
We have BI 7.0 with Java Add-in installation newly migrated to Unicode.
BW consultants (I am BASIS Consultant) want to use "Integrated Planning". I already checked IMG link of it & JCO destinations mentioned there are not in J2EE engine. Even I am not able to create b'cos current setup is not on SLD.
I would really appreciate your help on below queries :
1) Can I configure Integrated Planning without using SLD ?
2) Do I need to install BI JAVA to running Integrated Planning ?
3) Do I need to install EP & EP Core ?
I already checked most of SDN thread but sorry couldn't able to get answer to above questions. I have checked SAP Notes : 901022, 919850, 917950.
Your early reply would be highly appreciated.
Thanks & Regards,
Narsing.Hi Balaji,
Thanks for information. One thing to update with JAVA/JAVA addin portal core components gets installed. So I didn't installed EP.
Now Integrated Planner is working fine.
Thanks for your help.
Best Regards,
Narsing. -
Applications with java crash on startup
Hello!
Suddenly my ftp-client Cyberduck 3.8.1 crash on startup. A also tried the client Transmit and the same thing happend. I may think this started after the latest software update with java.
Same thing happend when i try it with a guest account. Here are the crash report, thanks for any help.
Process: Cyberduck [1312]
Path: /Applications/Cyberduck.app/Contents/MacOS/Cyberduck
Identifier: ch.sudo.cyberduck
Version: 3.8.1 (7954) (7954)
Code Type: X86 (Native)
Parent Process: launchd [198]
Date/Time: 2013-11-07 13:59:33.901 +0100
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
Interval Since Last Report: 1245482 sec
Crashes Since Last Report: 25
Per-App Interval Since Last Report: 4030678 sec
Per-App Crashes Since Last Report: 10
Anonymous UUID: EB51A53D-3105-4581-B742-7968A27D2CD7
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000003a656d61
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Application Specific Information:
objc_msgSend() selector name: retain
Java information:
Exception type: Bus Error (0xa) at pc=0000000099049f8b
Java VM: Java HotSpot(TM) Client VM (20.65-b04-462 mixed mode macosx-x86)
Current thread (0000000003802400): JavaThread "main" [_thread_in_native, id=-1599740608, stack(00000000bf800000,00000000c0000000)]
Stack: [00000000bf800000,00000000c0000000]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.jna.Function.invokeVoid(I[Ljava/lang/Object;)V+0
j com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;Z)Ljava/lang/Ob ject;+45
J com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map; )Ljava/lang/Object;
j org.rococoa.internal.MsgSendHandler.invoke(Ljava/lang/Object;Ljava/lang/reflect /Method;[Ljava/lang/Object;)Ljava/lang/Object;+76
j com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method; [Ljava/lang/Object;)Ljava/lang/Object;+320
j com.sun.proxy.$Proxy0.syntheticSendMessage(Ljava/lang/Class;Lorg/rococoa/ID;Lor g/rococoa/Selector;[Ljava/lang/Object;)Ljava/lang/Object;+29
j org.rococoa.Foundation.send(Lorg/rococoa/ID;Lorg/rococoa/Selector;Ljava/lang/Cl ***;[Ljava/lang/Object;)Ljava/lang/Object;+61
j org.rococoa.Foundation.send(Lorg/rococoa/ID;Ljava/lang/String;Ljava/lang/Class; [Ljava/lang/Object;)Ljava/lang/Object;+7
j org.rococoa.internal.ObjCObjectInvocationHandler.sendOnThisOrMainThread(Ljava/l ang/reflect/Method;Lorg/rococoa/ID;Ljava/lang/String;Ljava/lang/Class;[Ljava/la n g/Object;)Ljava/lang/Object;+32
j org.rococoa.internal.ObjCObjectInvocationHandler.invokeCocoa(Ljava/lang/reflect /Method;[Ljava/lang/Object;)Ljava/lang/Object;+32
j org.rococoa.internal.ObjCObjectInvocationHandler.intercept(Ljava/lang/Object;Lj ava/lang/reflect/Method;[Ljava/lang/Object;Lnet/sf/cglib/proxy/MethodProxy;)Lja v a/lang/Object;+93
j ch.cyberduck.ui.cocoa.application.NSApplication$$ByRococoa.run()V+31
j ch.cyberduck.ui.cocoa.MainApplication.main([Ljava/lang/String;)V+174
v ~StubRoutines::call_stub
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/la ng/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Objec t;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/O bject;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lan g/Object;+161
j apple.launcher.LaunchRunner.run()V+76
j apple.launcher.LaunchRunner.callMain()V+1
j apple.launcher.JavaApplicationLauncher.launch(JJZ)V+11
v ~StubRoutines::call_stub
Java Threads: ( => current thread )
0000000012381000 JavaThread "pool-1-thread-7" [_thread_blocked, id=-1314566144, stack(00000000b1955000,00000000b1a55000)]
0000000011142400 JavaThread "pool-1-thread-6" [_thread_blocked, id=-1315622912, stack(00000000b1853000,00000000b1953000)]
000000001285ec00 JavaThread "pool-1-thread-5" [_thread_in_native, id=-1316679680, stack(00000000b1751000,00000000b1851000)]
000000001285d800 JavaThread "pool-1-thread-4" [_thread_blocked, id=-1317736448, stack(00000000b164f000,00000000b174f000)]
000000001113f400 JavaThread "pool-1-thread-3" [_thread_in_native, id=-1318793216, stack(00000000b154d000,00000000b164d000)]
000000001113e400 JavaThread "pool-1-thread-2" [_thread_in_Java, id=-1319849984, stack(00000000b144b000,00000000b154b000)]
000000001113dc00 JavaThread "pool-1-thread-1" [_thread_in_native, id=-1320906752, stack(00000000b1349000,00000000b1449000)]
0000000012083800 JavaThread "Poller SunPKCS11-Darwin" daemon [_thread_blocked, id=-1325264896, stack(00000000b0f21000,00000000b1021000)]
0000000012800000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=-1327378432, stack(00000000b0d1d000,00000000b0e1d000)]
000000001200e400 JavaThread "C1 CompilerThread0" daemon [_thread_in_native, id=-1328435200, stack(00000000b0c1b000,00000000b0d1b000)]
000000001200d400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=-1329491968, stack(00000000b0b19000,00000000b0c19000)]
000000001200c400 JavaThread "Surrogate Locker Thread (Concurrent GC)" daemon [_thread_blocked, id=-1330548736, stack(00000000b0a17000,00000000b0b17000)]
000000000390bc00 JavaThread "Finalizer" daemon [_thread_blocked, id=-1331605504, stack(00000000b0915000,00000000b0a15000)]
000000000390ac00 JavaThread "Reference Handler" daemon [_thread_blocked, id=-1332662272, stack(00000000b0813000,00000000b0913000)]
=>0000000003802400 JavaThread "main" [_thread_in_native, id=-1599740608, stack(00000000bf800000,00000000c0000000)]
Other Threads:
0000000011002000 VMThread [stack: 00000000b0711000,00000000b0811000] [id=-1333719040]
0000000003915400 WatcherThread [stack: 00000000b0e1f000,00000000b0f1f000] [id=-1326321664]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0000000003500c90] CodeCache_lock - owner thread: 0000000000000000
Heap
par new generation total 14784K, used 7184K [0000000006010000, 0000000007010000, 0000000007010000)
eden space 13184K, 42% used [0000000006010000, 0000000006584090, 0000000006cf0000)
from space 1600K, 100% used [0000000006e80000, 0000000007010000, 0000000007010000)
to space 1600K, 0% used [0000000006cf0000, 0000000006cf0000, 0000000006e80000)
concurrent mark-sweep generation total 49152K, used 7582K [0000000007010000, 000000000a010000, 000000000c010000)
concurrent-mark-sweep perm gen total 18816K, used 18687K [000000000c010000, 000000000d270000, 0000000010010000)
Code Cache [0000000004001000, 00000000041e2000, 0000000006001000)
total_blobs=878 nmethods=734 adapters=88 free_code_cache=31590336 largest_free_block=256
Virtual Machine Arguments:
JVM Args: -Xbootclasspath/a:/System/Library/PrivateFrameworks/JavaApplicationLauncher.fra mework/Resources/LauncherSupport.jar -Dfile.encoding=utf-8
Java Command: <unknown>
Launcher Type: generic
Physical Memory: Page Size = 4k, Total = 3968M, Free = 1709M
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x99049f8b objc_msgSend + 27
1 org.andymatuschak.Sparkle 0x037d840a -[SUUpdater newVersionAvailable] + 48
2 org.andymatuschak.Sparkle 0x037d8721 -[SUUpdater appcastDidFinishLoading:] + 713
3 com.apple.Foundation 0x97a3c671 __NSThreadPerformPerform + 506
4 com.apple.CoreFoundation 0x9028f42b __CFRunLoopDoSources0 + 1563
5 com.apple.CoreFoundation 0x9028ceef __CFRunLoopRun + 1071
6 com.apple.CoreFoundation 0x9028c3c4 CFRunLoopRunSpecific + 452
7 com.apple.CoreFoundation 0x9028c1f1 CFRunLoopRunInMode + 97
8 com.apple.HIToolbox 0x9a5eae04 RunCurrentEventLoopInMode + 392
9 com.apple.HIToolbox 0x9a5eaaf5 ReceiveNextEventCommon + 158
10 com.apple.HIToolbox 0x9a5eaa3e BlockUntilNextEventMatchingListInMode + 81
11 com.apple.AppKit 0x90952595 _DPSNextEvent + 847
12 com.apple.AppKit 0x90951dd6 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
13 com.apple.AppKit 0x909141f3 -[NSApplication run] + 821
14 jna6079135966213919336.tmp 0x037acf1d .LCFI1 + 26
15 jna6079135966213919336.tmp 0x037acc81 ffi_call + 97
16 jna6079135966213919336.tmp 0x037a372e dispatch + 574
17 jna6079135966213919336.tmp 0x037a4107 Java_com_sun_jna_Function_invokeVoid + 55
18 ??? 0x0400b9d9 0 + 67156441
19 ??? 0x04003e31 0 + 67124785
20 ??? 0x0411a5c4 0 + 68265412
21 ??? 0x04004473 0 + 67126387
22 ??? 0x04004473 0 + 67126387
23 ??? 0x04004473 0 + 67126387
24 ??? 0x04003f97 0 + 67125143
25 ??? 0x04003f97 0 + 67125143
26 ??? 0x04003f97 0 + 67125143
27 ??? 0x04003f97 0 + 67125143
28 ??? 0x04004473 0 + 67126387
29 ??? 0x04003e31 0 + 67124785
30 ??? 0x04001374 0 + 67113844
31 libjvm.dylib 0x031a95eb JVM_Lseek + 207439
32 libjvm.dylib 0x031a935f JVM_Lseek + 206787
33 libjvm.dylib 0x031a9333 JVM_Lseek + 206743
34 libjvm.dylib 0x031c2ff1 JVM_NewInstanceFromConstructor + 3647
35 libjvm.dylib 0x031c4500 JVM_InvokeMethod + 1096
36 libjvm.dylib 0x031c4242 JVM_InvokeMethod + 394
37 libjvmlinkage.dylib 0x000ac74f JVM_InvokeMethod + 79
38 libjava.jnilib 0x0070217e Java_sun_reflect_NativeMethodAccessorImpl_invoke0 + 38
39 ??? 0x0400b9d9 0 + 67156441
40 ??? 0x04003f97 0 + 67125143
41 ??? 0x04003f97 0 + 67125143
42 ??? 0x04004473 0 + 67126387
43 ??? 0x04003f97 0 + 67125143
44 ??? 0x04003e31 0 + 67124785
45 ??? 0x04003e31 0 + 67124785
46 ??? 0x04001374 0 + 67113844
47 libjvm.dylib 0x031a95eb JVM_Lseek + 207439
48 libjvm.dylib 0x031a935f JVM_Lseek + 206787
49 libjvm.dylib 0x031a9333 JVM_Lseek + 206743
50 libjvm.dylib 0x031cfda3 JVM_FindLoadedClass + 7826
51 libjvm.dylib 0x0323b84c JNI_GetCreatedJavaVMs_Impl + 2538
52 ...ple.JavaApplicationLauncher 0x00008f1a JNIEnv_::CallStaticVoidMethod(_jclass*, _jmethodID*, ...) + 44
53 ...ple.JavaApplicationLauncher 0x00008deb CallAppLauncherMain(JNIEnv_*, __CFDictionary const*, __CFArray const*) + 286
54 ...ple.JavaApplicationLauncher 0x000083d4 startJavaApplication + 3265
55 ...ple.JavaApplicationLauncher 0x000097c6 launchJavaApplicationWithJVMInfo + 1306
56 ...ple.JavaApplicationLauncher 0x00006c07 launchJavaApplication + 39
57 ch.sudo.cyberduck 0x00001e36 0x1000 + 3638
58 ch.sudo.cyberduck 0x00001c59 0x1000 + 3161
59 ch.sudo.cyberduck 0x00001b88 0x1000 + 2952
Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x9881b382 kevent + 10
1 libSystem.B.dylib 0x9881ba9c _dispatch_mgr_invoke + 215
2 libSystem.B.dylib 0x9881af59 _dispatch_queue_invoke + 163
3 libSystem.B.dylib 0x9881acfe _dispatch_worker_thread2 + 240
4 libSystem.B.dylib 0x9881a781 _pthread_wqthread + 390
5 libSystem.B.dylib 0x9881a5c6 start_wqthread + 30
Thread 2:
0 libSystem.B.dylib 0x9881a412 __workq_kernreturn + 10
1 libSystem.B.dylib 0x9881a9a8 _pthread_wqthread + 941
2 libSystem.B.dylib 0x9881a5c6 start_wqthread + 30
Thread 3: Java: Exception Handler Thread
0 libSystem.B.dylib 0x987f4afa mach_msg_trap + 10
1 libSystem.B.dylib 0x987f5267 mach_msg + 68
2 libSystem.B.dylib 0x98860c78 mach_msg_server + 520
3 libjvm.dylib 0x031108d0 jio_snprintf + 45482
4 libjvm.dylib 0x03110757 jio_snprintf + 45105
5 libjvm.dylib 0x0310f1e0 jio_snprintf + 39610
6 libSystem.B.dylib 0x98822259 _pthread_start + 345
7 libSystem.B.dylib 0x988220de thread_start + 34
Thread 4: Java: Gang worker#0 (Parallel GC Threads)
0 libSystem.B.dylib 0x987f4afa mach_msg_trap + 10
1 libSystem.B.dylib 0x987f5267 mach_msg + 68
2 libjvm.dylib 0x0310f93a jio_snprintf + 41492
3 libjvm.dylib 0x0310f876 jio_snprintf + 41296
4 libjvm.dylib 0x0310f73c jio_snprintf + 40982
5 libjvm.dylib 0x0310f281 jio_snprintf + 39771
6 libjvm.dylib 0x0310f10b jio_snprintf + 39397
7 libjvm.dylib 0x03126bad jio_vsnprintf + 404
8 libjvm.dylib 0x03126a97 jio_vsnprintf + 126
9 libjvm.dylib 0x0310f1e0 jio_snprintf + 39610
10 libSystem.B.dylib 0x98822259 _pthread_start + 345
11 libSystem.B.dylib 0x988220de thread_start + 34
Thread 5: Java: Gang worker#1 (Parallel GC Threads)
0 libSystem.B.dylib 0x987f4afa mach_msg_trap + 10
1 libSystem.B.dylib 0x987f5267 mach_msg + 68
2 libjvm.dylib 0x0310f93a jio_snprintf + 41492
3 libjvm.dylib 0x0310f876 jio_snprintf + 41296
4 libjvm.dylib 0x0310f73c jio_snprintf + 40982
5 libjvm.dylib 0x0310f281 jio_snprintf + 39771
6 libjvm.dylib 0x0310f10b jio_snprintf + 39397
7 libjvm.dylib 0x03126bad jio_vsnprintf + 404
8 libjvm.dylib 0x03126a97 jio_vsnprintf + 126
9 libjvm.dylib 0x0310f1e0 jio_snprintf + 39610
10 libSystem.B.dylib 0x98822259 _pthread_start + 345
11 libSystem.B.dylib 0x988220de thread_start + 34
Thread 6: Java: Gang worker#2 (Parallel GC Threads)
0 libSystem.B.dylib 0x987f4afa mach_msg_trap + 10
1 libSystem.B.dylib 0x987f5267 mach_msg + 68
2 libjvm.dylib 0x0310f93a jio_snprintf + 41492
3 libjvm.dylib 0x0310f876 jio_snprintf + 41296
4 libjvm.dylib 0x0310f73c jio_snprintf + 40982
5 libjvm.dylib 0x0310f281 jio_snprintf + 39771
6 libjvm.dylib 0x0310f10b jio_snprintf + 39397
7 libjvm.dylib 0x03126bad jio_vsnprintf + 404
8 libjvm.dylib 0x03126a97 jio_vsnprintf + 126
9 libjvm.dylib 0x0310f1e0 jio_snprintf + 39610
10 libSystem.B.dylib 0x98822259 _pthread_start + 345
11 libSystem.B.dylib 0x988220de thread_start + 34
Thread 7: Java: Gang worker#3 (Parallel GC Threads)
0 libSystem.B.dylib 0x987f4afa mach_msg_trap + 10
1 libSystem.B.dylib 0x987f5267 mach_msg + 68
2 libjvm.dylib 0x0310f93a jio_snprintf + 41492
3 libjvm.dylib 0x0310f876 jio_snprintf + 41296
4 libjvm.dylib 0x0310f73c jio_snprintf + 40982
5 libjvm.dylib 0x0310f281 jio_snprintf + 39771
6 libjvm.dylib 0x0310f10b jio_snprintf + 39397
7 libjvm.dylib 0x03126bad jio_vsnprintf + 404
8 libjvm.dylib 0x03126a97 jio_vsnprintf + 126
9 libjvm.dylib 0x0310f1e0 jio_snprintf + 39610
10 libSystem.B.dylib 0x98822259 _pthread_start + 345
11 libSystem.B.dylib 0x988220de thread_start + 34
Thread 8: Java: Concurrent Mark-Sweep GC Thread
0 libSystem.B.dylib 0x987f4afa mach_msg_trap + 10
1 libSystem.B.dylib 0x987f5267 mach_msg + 68
2 libjvm.dylib 0x0310fa0a jio_snprintf + 41700
3 libjvm.dylib 0x0312d51e jio_vsnprintf + 27397
4 libjvm.dylib 0x0310f758 jio_snprintf + 41010
5 libjvm.dylib 0x0310f281 jio_snprintf + 39771
6 libjvm.dylib 0x0310f10b jio_snprintf + 39397
7 libjvm.dylib 0x0323a949 JVM_GetMethodIxExceptionTableEntry + 2250
8 libjvm.dylib 0x0323a8b7 JVM_GetMethodIxExceptionTableEntry + 2104
9 libjvm.dylib 0x0312d339 jio_vsnprintf + 26912
10 libjvm.dylib 0x0310f1e0 jio_snprintf + 39610
11 libSystem.B.dylib 0x98822259 _pthread_start + 345
12 libSystem.B.dylib 0x988220de thread_start + 34
Thread 9: Java: VM Thread
0 libSystem.B.dylib 0x987f4afa mach_msg_trap + 10
1 libSystem.B.dylib 0x987f5267 mach_msg + 68
2 libjvm.dylib 0x0310fa0a jio_snprintf + 41700
3 libjvm.dylib 0x0312d51e jio_vsnprintf + 27397
4 libjvm.dylib 0x0310f758 jio_snprintf + 41010
5 libjvm.dylib 0x0310f281 jio_snprintf + 39771
6 libjvm.dylib 0x0310f10b jio_snprintf + 39397
7 libjvm.dylib 0x031a8280 JVM_Lseek + 202468
8 libjvm.dylib 0x031a7f1f JVM_Lseek + 201603
9 libjvm.dylib 0x0310f1e0 jio_snprintf + 39610
10 libSystem.B.dylib 0x98822259 _pthread_start + 345
11 libSystem.B.dylib 0x988220de thread_start + 34
Thread 10: Java: Reference Handler
0 libSystem.B.dylib 0x987f4afa mach_msg_trap + 10
1 libSystem.B.dylib 0x987f5267 mach_msg + 68
2 libjvm.dylib 0x0310f93a jio_snprintf + 41492
3 libjvm.dylib 0x0310f876 jio_snprintf + 41296
4 libjvm.dylib 0x031b73e4 JVM_MonitorWait + 3810
5 libjvm.dylib 0x031b68e6 JVM_MonitorWait + 996
6 libjvm.dylib 0x031b65d5 JVM_MonitorWait + 211
7 libjvmlinkage.dylib 0x000a7e75 JVM_MonitorWait + 69
8 ??? 0x0400b9d9 0 + 67156441
9 ??? 0x04003e31 0 + 67124785
10 ??? 0x04003e31 0 + 67124785
11 ??? 0x04001374 0 + 67113844
12 libjvm.dylib 0x031a95eb JVM_Lseek + 207439
13 libjvm.dylib 0x031a935f JVM_Lseek + 206787
14 libjvm.dylib 0x031b627d JVM_StartThread + 3057
15 libjvm.dylib 0x031b6105 JVM_StartThread + 2681
16 libjvm.dylib 0x031b6084 JVM_StartThread + 2552
17 libjvm.dylib 0x031b5ed1 JVM_StartThread + 2117
18 libjvm.dylib 0x031b5d07 JVM_StartThread + 1659
19 libjvm.dylib 0x0310f1e0 jio_snprintf + 39610
20 libSystem.B.dylib 0x98822259 _pthread_start + 345
21 libSystem.B.dylib 0x988220de thread_start + 34
Thread 11: Java: Finalizer
0 libSystem.B.dylib 0x987f4afa mach_msg_trap + 10
1 libSystem.B.dylib 0x987f5267 mach_msg + 68
2 libjvm.dylib 0x0310f93a jio_snprintf + 41492
3 libjvm.dylib 0x0310f876 jio_snprHi Baltwo! Still got the same problem, here are the new crash report from today. Thanks for any help.
Process: Cyberduck [922]
Path: /Applications/Cyberduck.app/Contents/MacOS/Cyberduck
Identifier: ch.sudo.cyberduck
Version: 3.8.1 (7954) (7954)
Code Type: X86 (Native)
Parent Process: launchd [193]
Date/Time: 2013-12-05 14:47:07.791 +0100
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
Interval Since Last Report: 1085717 sec
Crashes Since Last Report: 5
Per-App Interval Since Last Report: 8 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: EB51A53D-3105-4581-B742-7968A27D2CD7
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000002d782f65
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Application Specific Information:
objc_msgSend() selector name: retain
Java information:
Exception type: Bus Error (0xa) at pc=0000000099049f8b
Java VM: Java HotSpot(TM) Client VM (20.65-b04-462 mixed mode macosx-x86)
Current thread (0000000004001800): JavaThread "main" [_thread_in_native, id=-1599740608, stack(00000000bf800000,00000000c0000000)]
Stack: [00000000bf800000,00000000c0000000]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.jna.Function.invokeVoid(I[Ljava/lang/Object;)V+0
j com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;Z)Ljava/lang/Ob ject;+45
J com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map; )Ljava/lang/Object;
j org.rococoa.internal.MsgSendHandler.invoke(Ljava/lang/Object;Ljava/lang/reflect /Method;[Ljava/lang/Object;)Ljava/lang/Object;+76
j com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method; [Ljava/lang/Object;)Ljava/lang/Object;+320
j com.sun.proxy.$Proxy0.syntheticSendMessage(Ljava/lang/Class;Lorg/rococoa/ID;Lor g/rococoa/Selector;[Ljava/lang/Object;)Ljava/lang/Object;+29
j org.rococoa.Foundation.send(Lorg/rococoa/ID;Lorg/rococoa/Selector;Ljava/lang/Cl ass;[Ljava/lang/Object;)Ljava/lang/Object;+61
j org.rococoa.Foundation.send(Lorg/rococoa/ID;Ljava/lang/String;Ljava/lang/Class; [Ljava/lang/Object;)Ljava/lang/Object;+7
j org.rococoa.internal.ObjCObjectInvocationHandler.sendOnThisOrMainThread(Ljava/l ang/reflect/Method;Lorg/rococoa/ID;Ljava/lang/String;Ljava/lang/Class;[Ljava/lan g/Object;)Ljava/lang/Object;+32
j org.rococoa.internal.ObjCObjectInvocationHandler.invokeCocoa(Ljava/lang/reflect /Method;[Ljava/lang/Object;)Ljava/lang/Object;+32
j org.rococoa.internal.ObjCObjectInvocationHandler.intercept(Ljava/lang/Object;Lj ava/lang/reflect/Method;[Ljava/lang/Object;Lnet/sf/cglib/proxy/MethodProxy;)Ljav a/lang/Object;+93
j ch.cyberduck.ui.cocoa.application.NSApplication$$ByRococoa.run()V+31
j ch.cyberduck.ui.cocoa.MainApplication.main([Ljava/lang/String;)V+174
v ~StubRoutines::call_stub
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/la ng/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Objec t;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/O bject;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lan g/Object;+161
j apple.launcher.LaunchRunner.run()V+76
j apple.launcher.LaunchRunner.callMain()V+1
j apple.launcher.JavaApplicationLauncher.launch(JJZ)V+11
v ~StubRoutines::call_stub
Java Threads: ( => current thread )
0000000005a47c00 JavaThread "Thread-5" [_thread_in_native, id=-1310605312, stack(00000000b1d1c000,00000000b1e1c000)]
0000000005a47000 JavaThread "Thread-4" [_thread_in_native, id=-1311662080, stack(00000000b1c1a000,00000000b1d1a000)]
0000000005a45c00 JavaThread "Thread-3" [_thread_in_native, id=-1312718848, stack(00000000b1b18000,00000000b1c18000)]
0000000005a45400 JavaThread "Thread-2" [_thread_in_native, id=-1313775616, stack(00000000b1a16000,00000000b1b16000)]
0000000004021c00 JavaThread "pool-1-thread-7" [_thread_in_native, id=-1314832384, stack(00000000b1914000,00000000b1a14000)]
00000000128c2c00 JavaThread "pool-1-thread-6" [_thread_in_native, id=-1315889152, stack(00000000b1812000,00000000b1912000)]
0000000005a42000 JavaThread "pool-1-thread-5" [_thread_in_native, id=-1316945920, stack(00000000b1710000,00000000b1810000)]
00000000128c1c00 JavaThread "pool-1-thread-4" [_thread_in_native, id=-1318002688, stack(00000000b160e000,00000000b170e000)]
00000000128c0c00 JavaThread "pool-1-thread-3" [_thread_in_native, id=-1319059456, stack(00000000b150c000,00000000b160c000)]
000000000539f800 JavaThread "pool-1-thread-2" [_thread_in_native, id=-1320116224, stack(00000000b140a000,00000000b150a000)]
000000000539f000 JavaThread "pool-1-thread-1" [_thread_in_native, id=-1321172992, stack(00000000b1308000,00000000b1408000)]
0000000005958000 JavaThread "Poller SunPKCS11-Darwin" daemon [_thread_blocked, id=-1325264896, stack(00000000b0f21000,00000000b1021000)]
0000000005023400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=-1327378432, stack(00000000b0d1d000,00000000b0e1d000)]
0000000005022400 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=-1328435200, stack(00000000b0c1b000,00000000b0d1b000)]
0000000005021400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=-1329491968, stack(00000000b0b19000,00000000b0c19000)]
0000000005020400 JavaThread "Surrogate Locker Thread (Concurrent GC)" daemon [_thread_blocked, id=-1330548736, stack(00000000b0a17000,00000000b0b17000)]
0000000004002c00 JavaThread "Finalizer" daemon [_thread_in_vm, id=-1331605504, stack(00000000b0915000,00000000b0a15000)]
0000000005015400 JavaThread "Reference Handler" daemon [_thread_blocked, id=-1332662272, stack(00000000b0813000,00000000b0913000)]
=>0000000004001800 JavaThread "main" [_thread_in_native, id=-1599740608, stack(00000000bf800000,00000000c0000000)]
Other Threads:
0000000005012c00 VMThread [stack: 00000000b0711000,00000000b0811000] [id=-1333719040]
0000000005024c00 WatcherThread [stack: 00000000b0e1f000,00000000b0f1f000] [id=-1326321664]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
par new generation total 14784K, used 6489K [0000000008010000, 0000000009010000, 0000000009010000)
eden space 13184K, 39% used [0000000008010000, 000000000851a300, 0000000008cf0000)
from space 1600K, 83% used [0000000008e80000, 0000000008fcc3d8, 0000000009010000)
to space 1600K, 0% used [0000000008cf0000, 0000000008cf0000, 0000000008e80000)
concurrent mark-sweep generation total 49152K, used 7608K [0000000009010000, 000000000c010000, 000000000e010000)
concurrent-mark-sweep perm gen total 25560K, used 18655K [000000000e010000, 000000000f906000, 0000000012010000)
Code Cache [0000000006001000, 00000000061e2000, 0000000008001000)
total_blobs=867 nmethods=723 adapters=88 free_code_cache=31601856 largest_free_block=256
Virtual Machine Arguments:
JVM Args: -Xbootclasspath/a:/System/Library/PrivateFrameworks/JavaApplicationLauncher.fra mework/Resources/LauncherSupport.jar -Dfile.encoding=utf-8
Java Command: <unknown>
Launcher Type: generic
Physical Memory: Page Size = 4k, Total = 3968M, Free = 495M
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x99049f8b objc_msgSend + 27
1 org.andymatuschak.Sparkle 0x037d840a -[SUUpdater newVersionAvailable] + 48
2 org.andymatuschak.Sparkle 0x037d8721 -[SUUpdater appcastDidFinishLoading:] + 713
3 com.apple.Foundation 0x97a3c671 __NSThreadPerformPerform + 506
4 com.apple.CoreFoundation 0x9028f42b __CFRunLoopDoSources0 + 1563
5 com.apple.CoreFoundation 0x9028ceef __CFRunLoopRun + 1071
6 com.apple.CoreFoundation 0x9028c3c4 CFRunLoopRunSpecific + 452
7 com.apple.CoreFoundation 0x9028c1f1 CFRunLoopRunInMode + 97
8 com.apple.HIToolbox 0x9a5eae04 RunCurrentEventLoopInMode + 392
9 com.apple.HIToolbox 0x9a5eaaf5 ReceiveNextEventCommon + 158
10 com.apple.HIToolbox 0x9a5eaa3e BlockUntilNextEventMatchingListInMode + 81
11 com.apple.AppKit 0x90952595 _DPSNextEvent + 847
12 com.apple.AppKit 0x90951dd6 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
13 com.apple.AppKit 0x909141f3 -[NSApplication run] + 821
14 jna7892181922294996304.tmp 0x037acf1d .LCFI1 + 26
15 jna7892181922294996304.tmp 0x037acc81 ffi_call + 97
16 jna7892181922294996304.tmp 0x037a372e dispatch + 574
17 jna7892181922294996304.tmp 0x037a4107 Java_com_sun_jna_Function_invokeVoid + 55
18 ??? 0x0600b9d9 0 + 100710873
19 ??? 0x06003e31 0 + 100679217
20 ??? 0x06119904 0 + 101816580
21 ??? 0x06004473 0 + 100680819
22 ??? 0x06004473 0 + 100680819
23 ??? 0x06004473 0 + 100680819
24 ??? 0x06003f97 0 + 100679575
25 ??? 0x06003f97 0 + 100679575
26 ??? 0x06003f97 0 + 100679575
27 ??? 0x06003f97 0 + 100679575
28 ??? 0x06004473 0 + 100680819
29 ??? 0x06003e31 0 + 100679217
30 ??? 0x06001374 0 + 100668276
31 libjvm.dylib 0x032a95eb JVM_Lseek + 207439
32 libjvm.dylib 0x032a935f JVM_Lseek + 206787
33 libjvm.dylib 0x032a9333 JVM_Lseek + 206743
34 libjvm.dylib 0x032c2ff1 JVM_NewInstanceFromConstructor + 3647
35 libjvm.dylib 0x032c4500 JVM_InvokeMethod + 1096
36 libjvm.dylib 0x032c4242 JVM_InvokeMethod + 394
37 libjvmlinkage.dylib 0x000ac74f JVM_InvokeMethod + 79
38 libjava.jnilib 0x0070217e Java_sun_reflect_NativeMethodAccessorImpl_invoke0 + 38
39 ??? 0x0600b9d9 0 + 100710873
40 ??? 0x06003f97 0 + 100679575
41 ??? 0x06003f97 0 + 100679575
42 ??? 0x06004473 0 + 100680819
43 ??? 0x06003f97 0 + 100679575
44 ??? 0x06003e31 0 + 100679217
45 ??? 0x06003e31 0 + 100679217
46 ??? 0x06001374 0 + 100668276
47 libjvm.dylib 0x032a95eb JVM_Lseek + 207439
48 libjvm.dylib 0x032a935f JVM_Lseek + 206787
49 libjvm.dylib 0x032a9333 JVM_Lseek + 206743
50 libjvm.dylib 0x032cfda3 JVM_FindLoadedClass + 7826
51 libjvm.dylib 0x0333b84c JNI_GetCreatedJavaVMs_Impl + 2538
52 ...ple.JavaApplicationLauncher 0x00008f1a JNIEnv_::CallStaticVoidMethod(_jclass*, _jmethodID*, ...) + 44
53 ...ple.JavaApplicationLauncher 0x00008deb CallAppLauncherMain(JNIEnv_*, __CFDictionary const*, __CFArray const*) + 286
54 ...ple.JavaApplicationLauncher 0x000083d4 startJavaApplication + 3265
55 ...ple.JavaApplicationLauncher 0x000097c6 launchJavaApplicationWithJVMInfo + 1306
56 ...ple.JavaApplicationLauncher 0x00006c07 launchJavaApplication + 39
57 ch.sudo.cyberduck 0x00001e36 0x1000 + 3638
58 ch.sudo.cyberduck 0x00001c59 0x1000 + 3161
59 ch.sudo.cyberduck 0x00001b88 0x1000 + 2952
Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x9881b382 kevent + 10
1 libSystem.B.dylib 0x9881ba9c _dispatch_mgr_invoke + 215
2 libSystem.B.dylib 0x9881af59 _dispatch_queue_invoke + 163
3 libSystem.B.dylib 0x9881acfe _dispatch_worker_thread2 + 240
4 libSystem.B.dylib 0x9881a781 _pthread_wqthread + 390
5 libSystem.B.dylib 0x9881a5c6 start_wqthread + 30
Thread 2:
0 libSystem.B.dylib 0x9881a412 __workq_kernreturn + 10
1 libSystem.B.dylib 0x9881a9a8 _pthread_wqthread + 941
2 libSystem.B.dylib 0x9881a5c6 start_wqthread + 30
Thread 3: Java: Exception Handler Thread
0 libSystem.B.dylib 0x987f4afa mach_msg_trap + 10
1 libSystem.B.dylib 0x987f5267 mach_msg + 68
2 libSystem.B.dylib 0x98860c78 mach_msg_server + 520
3 libjvm.dylib 0x032108d0 jio_snprintf + 45482
4 libjvm.dylib 0x03210757 jio_snprintf + 45105
5 libjvm.dylib 0x0320f1e0 jio_snprintf + 39610
6 libSystem.B.dylib 0x98822259 _pthread_start + 345
7 libSystem.B.dylib 0x988220de thread_start + 34
Thread 4: Java: Gang worker#0 (Parallel GC Threads)
0 libSystem.B.dylib 0x987f4afa mach_msg_trap + 10
1 libSystem.B.dylib 0x987f5267 mach_msg + 68
2 libjvm.dylib 0x0320f93a jio_snprintf + 41492
3 libjvm.dylib 0x0320f876 jio_snprintf + 41296
4 libjvm.dylib 0x0320f73c jio_snprintf + 40982
5 libjvm.dylib 0x0320f281 jio_snprintf + 39771
6 libjvm.dylib 0x0320f10b jio_snprintf + 39397
7 libjvm.dylib 0x03226bad jio_vsnprintf + 404
8 libjvm.dylib 0x03226a97 jio_vsnprintf + 126
9 libjvm.dylib 0x0320f1e0 jio_snprintf + 39610
10 libSystem.B.dylib 0x98822259 _pthread_start + 345
11 libSystem.B.dylib 0x988220de thread_start + 34
Thread 5: Java: Gang worker#1 (Parallel GC Threads)
0 libSystem.B.dylib 0x987f4afa mach_msg_trap + 10
1 libSystem.B.dylib 0x987f5267 mach_msg + 68
2 libjvm.dylib 0x0320f93a jio_snprintf + 41492
3 libjvm.dylib 0x0320f876 jio_snprintf + 41296
4 libjvm.dylib 0x0320f73c jio_snprintf + 40982
5 libjvm.dylib 0x0320f281 jio_snprintf + 39771
6 libjvm.dylib 0x0320f10b jio_snprintf + 39397
7 libjvm.dylib 0x03226bad jio_vsnprintf + 404
8 libjvm.dylib 0x03226a97 jio_vsnprintf + 126
9 libjvm.dylib 0x0320f1e0 jio_snprintf + 39610
10 libSystem.B.dylib 0x98822259 _pthread_start + 345
11 libSystem.B.dylib 0x988220de thread_start + 34
Thread 6: Java: Gang worker#2 (Parallel GC Threads)
0 libSystem.B.dylib 0x987f4afa mach_msg_trap + 10
1 libSystem.B.dylib 0x987f5267 mach_msg + 68
2 libjvm.dylib 0x0320f93a jio_snprintf + 41492
3 libjvm.dylib 0x0320f876 jio_snprintf + 41296
4 libjvm.dylib 0x0320f73c jio_snprintf + 40982
5 libjvm.dylib 0x0320f281 jio_snprintf + 39771
6 libjvm.dylib 0x0320f10b jio_snprintf + 39397
7 libjvm.dylib 0x03226bad jio_vsnprintf + 404
8 libjvm.dylib 0x03226a97 jio_vsnprintf + 126
9 libjvm.dylib 0x0320f1e0 jio_snprintf + 39610
10 libSystem.B.dylib 0x98822259 _pthread_start + 345
11 libSystem.B.dylib 0x988220de thread_start + 34
Thread 7: Java: Gang worker#3 (Parallel GC Threads)
0 libSystem.B.dylib 0x987f4afa mach_msg_trap + 10
1 libSystem.B.dylib 0x987f5267 mach_msg + 68
2 libjvm.dylib 0x0320f93a jio_snprintf + 41492
3 libjvm.dylib 0x0320f876 jio_snprintf + 41296
4 libjvm.dylib 0x0320f73c jio_snprintf + 40982
5 libjvm.dylib 0x0320f281 jio_snprintf + 39771
6 libjvm.dylib 0x0320f10b jio_snprintf + 39397
7 libjvm.dylib 0x03226bad jio_vsnprintf + 404
8 libjvm.dylib 0x03226a97 jio_vsnprintf + 126
9 libjvm.dylib 0x0320f1e0 jio_snprintf + 39610
10 libSystem.B.dylib 0x98822259 _pthread_start + 345
11 libSystem.B.dylib 0x988220de thread_start + 34
Thread 8: Java: Concurrent Mark-Sweep GC Thread
0 libSystem.B.dylib 0x987f4afa mach_msg_trap + 10
1 libSystem.B.dylib 0x987f5267 mach_msg + 68
2 libjvm.dylib 0x0320fa0a jio_snprintf + 41700
3 libjvm.dylib 0x0322d51e jio_vsnprintf + 27397
4 libjvm.dylib 0x0320f758 jio_snprintf + 41010
5 libjvm.dylib 0x0320f281 jio_snprintf + 39771
6 libjvm.dylib 0x0320f10b jio_snprintf + 39397
7 libjvm.dylib 0x0333a949 JVM_GetMethodIxExceptionTableEntry + 2250
8 libjvm.dylib 0x0333a8b7 JVM_GetMethodIxExceptionTableEntry + 2104
9 libjvm.dylib 0x0322d339 jio_vsnprintf + 26912
10 libjvm.dylib 0x0320f1e0 jio_snprintf + 39610
11 libSystem.B.dylib 0x98822259 _pthread_start + 345
12 libSystem.B.dylib 0x988220de thread_start + 34
Thread 9: Java: VM Thread
0 libSystem.B.dylib 0x987f4afa mach_msg_trap + 10
1 libSystem.B.dylib 0x987f5267 mach_msg + 68
2 libjvm.dylib 0x0320fa0a jio_snprintf + 41700
3 libjvm.dylib 0x0322d51e jio_vsnprintf + 27397
4 libjvm.dylib 0x0320f758 jio_snprintf + 41010
5 libjvm.dylib 0x0320f281 jio_snprintf + 39771
6 libjvm.dylib 0x0320f10b jio_snprintf + 39397
7 libjvm.dylib 0x032a8280 JVM_Lseek + 202468
8 libjvm.dylib 0x032a7f1f JVM_Lseek + 201603
9 libjvm.dylib 0x0320f1e0 jio_snprintf + 39610
10 libSystem.B.dylib 0x98822259 _pthread_start + 345
11 libSystem.B.dylib 0x988220de thread_start + 34
Thread 10: Java: Reference Handler
0 libSystem.B.dylib 0x987f4afa mach_msg_trap + 10
1 libSystem.B.dylib 0x987f5267 mach_msg + 68
2 libjvm.dylib 0x0320f93a jio_snprintf + 41492
3 libjvm.dylib 0x0320f876 jio_snprintf + 41296
4 libjvm.dylib 0x032b73e4 JVM_MonitorWait + 3810
5 libjvm.dylib 0x032b68e6 JVM_MonitorWait + 996
6 libjvm.dylib 0x032b65d5 JVM_MonitorWait + 211
7 libjvmlinkage.dylib 0x000a7e75 JVM_MonitorWait + 69
8 ??? 0x0600b9d9 0 + 100710873
9 ??? 0x06003e31 0 + 100679217
10 ??? 0x06003e31 0 + 100679217
11 ??? 0x06001374 0 + 100668276
12 libjvm.dylib 0x032a95eb JVM_Lseek + 207439
13 libjvm.dylib 0x032a935f JVM_Lseek + 206787
14 libjvm.dylib 0x032b627d JVM_StartThread + 3057
15 libjvm.dylib 0x032b6105 JVM_StartThread + 2681
16 libjvm.dylib 0x032b6084 JVM_StartThread + 2552
17 libjvm.dylib 0x032b5ed1 JVM_StartThread + 2117
18 libjvm.dylib 0x032b5d07 JVM_StartThread + 1659
19 libjvm.dylib 0x0320f1e0 jio_snprintf + 39610
20 libSystem.B.dylib 0x98822259 _pthread_start + 345
21 libSystem.B.dylib 0x988220de thread_start + 34
Thread 11: Java: Finalizer
0 libjvm.dylib 0x033376ca JVM_DefineClassWithSourceCond + 1718
1 libjvm.dylib 0x0327bd4c JVM_Lseek + 20912
2 libjvm.dylib 0x0327a3e9 JVM_Lseek + 14413
3 libjvm.dylib 0x03277453 JVM_Lseek + 2231
4 libjvm.dylib 0x03337434 JVM_DefineClassWithSourceCond + 1056
5 libjvm.dylib 0x033372e1 JVM_DefineClassWithSourceCond + 717
6 libjvm.dylib 0x03337081 JVM_DefineClassWithSourceCond + 109
7 libjvmlinkage.dylib 0x000a982c JVM_DefineClassWithSourceCond + 188
8 libjava.jnilib 0x00703be6 Java_java_lang_ClassLoader_defineClass1 + 452
9 ??? 0x0600b9d9 0 + 100710873
10 ??? 0x06003f97 0 + 100679575
11 ??? 0x06003f97 0 + 100679575
12 ??? 0x06003f97 0 + 100679575
13 ??? 0x06164480 0 + 102122624
14 ??? 0x06003f97 0 + 100679575
15 ??? 0x06003f97 0 + 100679575
16 ??? 0x06003f97 0 + 100679575
17 ??? 0x06003f97 0 + 100679575
18 ??? 0x061535c8 0 + 102053320
19 ??? 0x06001374 0 + 100668276
20 libjvm.dylib 0x032a95eb JVM_Lseek + 207439
21 libjvm.dylib 0x032a935f JVM_Lseek + 206787
22 libjvm.dylib 0x032a9333 JVM_Lseek + 206743
23 libjvm.dylib 0x032b9137 JVM_MonitorWait + 11317
24 libjvm.dylib 0x0333bbec JVM_MonitorNotifyAll + 838
25 libjava.jnilib 0x00704fa1 Java_java_lang_ref_Finalizer_invokeFinalizeMethod + 97
26 ??? 0x061883ae 0 + 102269870
27 ??? 0x061899e0 0 + 102275552
28 ??? 0x06001374 0 + 100668276
29 libjvm.dylib 0x032a95eb JVM_Lseek + 207439
30 libjvm.dylib 0x032a935f JVM_Lseek + 206787
31 libjvm.dylib 0x032b627d JVM_StartThread + 3057
32 libjvm.dylib 0x032b6105 JVM_StartThread + 2681
33 libjvm.dylib 0x032b6084 JVM_StartThread + 2552
34 libjvm.dylib 0x032b5ed1 JVM_StartThread + 2117
35 libjvm.dylib 0x032b5d07 JVM_StartThread + 1659
36 libjvm.dylib 0x0320f1e0 jio_snprintf + 39610
37 libSystem.B.dylib 0x98822259 _pthread_start + 345
38 libSystem.B.dylib 0x988220de thread_start + 34
Thread 12: Java: Surrogate Locker Thread (Concurrent GC)
0 libSystem.B.dylib 0x987f4afa mach_msg_trap + 10
1 libSystem.B.dylib 0x987f5267 mach_msg + 68
2 libjvm.dylib 0x0320f93a jio_snprintf + 41492
3 libjvm.dylib 0x0320f876 jio_snprintf + 41296
4 libjvm.dylib 0x0320f73c jio_snprintf + 40982
5 libjvm.dylib 0x0320f281 jio_snprintf + 39771
6 libjvm.dylib 0x0320f04e jio_snprintf + 39208
7 libjvm.dylib 0x032c7fe4 JVM_IsPrimitiveClass + 3308
8 libjvm.dylib 0x032c7f28 JVM_IsPrimitiveClass + 3120
9 libjvm.dylib 0x032b5ed1 JVM_StartThread + 2117
10 libjvm.dylib 0x032b5d07 JVM_StartThread + 1659
11 libjvm.dylib 0x0320f1e0 jio_snprintf + 39610
12 libSystem.B.dylib 0x98822259 _pthread_start + 345
13 libSystem.B.dylib 0x988220de thread_start + 34
Thread 13: Java: Signal Dispatcher
0 libSystem.B.dylib 0x987f4b36 semaphore_wait_trap + 10
1 libjvm.dylib 0x032c88d2 JVM_IsPrimitiveClass + 5594
2 libjvm.dylib 0x032c82a8 JVM_IsPrimitiveClass + 4016
3 libjvm.dylib 0x032b5ed1 JVM_StartThread + 2117
4 libjvm.dylib 0x032b5d07 JVM_StartThread + 1659
5 libjvm.dylib 0x0320f1e0 jio_snprintf + 39610
6 libSystem.B.dylib 0x98822259 _pthread_start + 345
7 libSystem.B.dylib 0x988220de thread_start + 34
Thread 14: Java: C1 CompilerThread0
0 libSystem.B.dylib 0x987fb354 pthread_getspecific + 0
1 libjvm.dylib 0x034dad93 JVM_RaiseSignal + 544911
2 libjvm.dylib 0x032e4bfc JVM_Write + 84543
3 libjvm.dylib 0x032e4b59 JVM_Write + 84380
4 libjvm.dylib 0x032e4b25 JVM_Write + 84328
5 libjvm.dylib 0x032ea1ad JVM_Write + 106480
6 libjvm.dylib 0x032ebac3 JVM_Write + 112902
7 libjvm.dylib 0x03318273 JVM_Write + 295094
8 libjvm.dylib 0x032e7cb5 JVM_Write + 97016
9 libjvm.dylib 0x032e5385 JVM_Write + 86472
10 libjvm.dylib 0x032e52e9 JVM_Write + 86316
11 libjvm.dylib 0x032e0b81 JVM_Write + 68036
12 libjvm.dylib 0x032e0984 JVM_Write + 67527
13 libjvm.dylib 0x032e03b3 JVM_Write + 66038
14 libjvm.dylib 0x032e027e JVM_Write + 65729
15 libjvm.dylib 0x032e0213 JVM_Write + 65622
16 libjvm.dylib 0x032e00c7 JVM_Write + 65290
17 libjvm.dylib 0x032dff00 JVM_Write + 64835
18 libjvm.dylib 0x032df80a JVM_Write + 63053
19 libjvm.dylib 0x032df642 JVM_Write + 62597
20 libjvm.dylib 0x032df48b JVM_Write + 62158
21 libjvm.dylib 0x032d2352 JVM_Write + 8597
22 libjvm.dylib 0x032d0950 JVM_Write + 1939
23 libjvm.dylib 0x032c9a14 JVM_IsPrimitiveClass + 10012
24 libjvm.dylib 0x032c9862 JVM_IsPrimitiveClass + 9578
25 libjvm.dylib 0x032b5ed1 JVM_StartThread + 2117
26 libjvm.dylib 0x032b5d07 JVM_StartThread + 1659
27 libjvm.dylib 0x0320f1e0 jio_snprintf + 39610
28 libSystem.B.dylib 0x98822259 _pthread_start + 345
29 libSystem.B.dylib 0x988220de thread_start + 34
Thread 15: Java: Low Memory Detector
0 libSystem.B.dylib 0x987f4afa mach_msg_trap + 10
1 libSystem.B.dylib 0x987f5267 mach_msg + 68
2 libjvm.dylib 0x0320f93a jio_snprintf + 41492
3 libjvm.dylib 0x0320f876 jio_snprintf + 41296
4 libjvm.dylib 0x0320f73c jio_snprintf + 40982
5 libjvm.dylib 0x0320f281 jio_snprintf + 39771
6 libjvm.dylib 0x0320f10b jio_snprintf + 39397
7 libjvm.dylib 0x032ca7f8 JVM_IsPrimitiveClass + 13568
8 libjvm.dylib 0x032b5ed1 JVM_StartThread + 2117
9 libjvm.dylib 0x032b5d07 JVM_StartThread + 1659
10 libjvm.dylib 0x0320f1e0 jio_snprintf + 39610
11 libSystem.B.dylib 0x98822259 _pthread_start + 345
12 libSystem.B.dylib 0x988220de thread_start + 34
Thread 16: Java: VM Periodic Task Thread
0 libSystem.B.dylib 0x987f4afa mach_msg_trap + 10
1 libSystem.B.dylib 0x987f5267 mach_msg + 68
2 libjvm.dylib 0x0320fa0a jio_snprintf + 41700
3 libjvm.dylib 0x0322d51e jio_vsnprintf + 27397
4 libjvm.dylib 0x032cd3ad JVM_IsPrimitiveClass + 24757
5 libjvm.dylib 0x0320f1e0 jio_snprintf + 39610
6 libSystem.B.dylib 0x98822259 _pthread_start + 345
7 libSystem.B.dylib 0x988220de thread_start + 34
Thread 17: Java: Poller SunPKCS11-Darwin
0 libSystem.B.dylib 0x987f4afa mach_msg_trap + 10
1 libSystem.B.dylib 0x987f5267 mach_msg + 68
2 libjvm.dylib 0x0320fa0a jio_snprintf + 41700
3 libjvm.dylib 0x03345775 JVM_MonitorNotify + 923
4 libjvm.dylib 0x03348cae JVM_Sleep + 254
5 libjvmlinkage.dylib 0x000a8a68 JVM_Sleep + 72
6 ??? 0x0600b9d9 0 + 100710873
7 ??? 0x06003e31 0 + 100679217
8 ??? 0x0600430d 0 + 100680461
9 ??? 0x06001374 0 + 100668276
10 libjvm.dylib 0x032a95eb JVM_Lseek + 207439
11 libjvm.dylib 0x032a935f JVM_Lseek + 206787
12 libjvm.dylib 0x032b627d JVM_StartThread + 3057
13 libjvm.dylib 0x032b6105 JVM_StartThread + 2681
14 libjvm.dylib 0x032b6084 JVM_StartThread + 2552
15 libjvm.dylib 0x032b5ed1 JVM_StartThread + 2117
16 libjvm.dylib 0x032b5d07 JVM_StartThread + 1659
17 libjvm.dylib 0x0320f1e0 jio_snprintf + 39610
18 libSystem.B.dylib 0x98822259 _pthread_start + 345
19 libSystem.B.dylib 0x988220de thread_start + 34
Thread 18:
0 libSystem.B.dylib 0x9881a412 __workq_kernreturn + 10
1 libSystem.B.dylib 0x9881a9a8 _pthread_wqthread + 941
2 libSystem.B.dylib 0x9881a5c6 start_wqthread + 30
Thread 19:
0 libSystem.B.dylib 0x9881a412 __workq_kernreturn + 10
1 libSystem.B.dylib 0x9881a9a8 _pthread_wqthread + 941
2 libSystem.B.dylib 0x9881a5c6 start_wqthread + 30
Thread 20:
0 libSystem.B.dylib 0x987f4afa mach_msg_trap + 10
1 libSystem.B.dylib 0x987f5267 mach_msg + 68
2 com.apple.CoreFoundation 0x9028d2df __CFRunLoopRun + 2079
3 com.apple.CoreFoundation 0x9028c3c4 CFRunLoopRunSpecific + 452
4 com.apple.CoreFoundation 0x9028c1f1 CFRunLoopRunInMode + 97
5 com.apple.Foundation 0x97a5f224 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 329
6 com.apple.Foundation 0x97a264c4 -[NSThread main] + 45
7 com.apple.Foundation 0x97a26474 __NSThread__main__ + 1499
8 libSystem.B.dylib 0x98822259 _pthread_start + 345
9 libSystem.B.dylib 0x988220de thread_start + 34
Thread 21: com.apple.CFSocket.private
0 libSystem.B.dylib 0x98813ac6 select$DARWIN_EXTSN + 10
1 com.apple.CoreFoundation 0x902ccc53 __CFSocketManager + 1091
2 libSystem.B.dylib 0x98822259 _pthread_start + 345
3 libSystem.B.dylib 0x988220de thread_start + 34
Thread 22:
0 libSystem.B.dylib 0x9881a412 __workq_kernreturn + 10
1 libSystem.B.dylib 0x9881a9a8 _pthread_wqthread + 941
2 libSystem.B.dylib 0x9881a5c6 start_wqthread + 30
Thread 23:
0 libSystem.B.dylib 0x98822aa2 __semwait_signal + 10
1 libSystem.B.dylib 0x9884e9c5 nanosleep$UNIX2003 + 188
2 libSystem.B.dylib 0x9884e903 usleep$UNIX2003 + 61
3 com.apple.AppKit 0x90abbe2d -[NSUIHeartBeat _heartBeatThread:] + 2039
4 com.apple.Foundation 0x97a264c4 -[NSThread main] + 45
5 com.apple.Foundation 0x97a26474 __NSThread__main__ + 1499
6 libSystem.B.dylib 0x98822259 _pthread_start + 345
7 libSystem.B.dylib 0x988220de thread_start + 34
Thread 24: Java: pool-1-thread-1
0 libSystem.B.dylib 0x98822aa2 __semwait_signal + 10
1 libSystem.B.dylib 0x9882275e _pthread_cond_wait + 1191
2 libSystem.B.dylib 0x988243f8 pthread_cond_wait$UNIX2003 + 73
3 com.apple.Foundation 0x97a4e6b3 -[NSCondition wait] + 316
4 com.apple.Foundation 0x97a3bd35 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 1111
5 com.apple.Foundation 0x97a4e80f -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 184
6 librococoa.dylib 0x037be2c2 callOnMainThread + 143
7 jna7892181922294996304.tmp 0x037acf1d .LCFI1 + 26
8 jna7892181922294996304.tmp 0x037acc81 ffi_call + 97
9 jna7892181922294996304.tmp 0x037a372e dispatch + 574
10 jna7892181922294996304.tmp 0x037a4107 Java_com_sun_jna_Function_invokeVoid + 55
11 ??? 0x0600b9d9 0 + 100710873
12 ??? 0x061a42a4 0 + 102384292
13 ??? 0x0600430d 0 + 100680461
14 ??? 0x06003e31 0 + 100679217
15 ??? 0x06003e31 0 + 100679217
16 ??? 0x06003e31 0 + 100679217
17 ??? 0x06003e31 0 + 100679217
18 ??? 0x0600430d 0 + 100680461
19 ??? 0x06003e31 0 + 100679217
20 ??? 0x0600430d 0 + 100680461
21 ??? 0x06001374 0 + 100668276
22 libjvm.dylib 0x032a95eb JVM_Lseek + 207439
23 libjvm.dylib 0x032a935f JVM_Lseek + 206787
24 libjvm.dylib 0x032b627d JVM_StartThread + 3057
25 libjvm.dylib 0x032b6105 JVM_StartThread + 2681
26 libjvm.dylib 0x032b6084 JVM_StartThread + 2552
27 libjvm.dylib 0x032b5ed1 JVM_StartThread + 2117
28 libjvm.dylib 0x032b5d07 JVM_StartThread + 1659
29 libjvm.dylib 0x0320f1e0 jio_snprintf + 39610
30 libSystem.B.dylib 0x98822259 _pthread_start + 345
31 libSystem.B.dylib 0x988220de thread_start + 34
Thread 25: Java: pool-1-thread-2
0 libjvm.dylib 0x03276c6f JVM_Lseek + 211
1 libjvm.dylib 0x03361d58 JVM_NanoTime + 86113
2 jna7892181922294996304.tmp 0x037a3e8b dispatch + 2459
3 jna7892181922294996304.tmp 0x037a4197 Java_com_sun_jna_Function_invokeInt + 55
4 ??? 0x061ba0f7 0 + 102473975
5 ??? 0x061a4118 0 + 102383896
6 ??? 0x06004473 0 + 100680819
7 ??? 0x06003f97 0 + 100679575
8 ??? 0x061bad5c 0 + 102477148
9 ??? 0x06003f97 0 + 100679575
10 ??? 0x06004473 0 + 100680819
11 ??? 0x06003e31 0 + 100679217
12 ??? 0x06003e31 0 + 100679217
13 ??? 0x06003f97 0 + 100679575
14 ??? 0x06003f97 0 + 100679575
15 ??? 0x06004473 0 + 100680819
16 ??? 0x06003e31 0 + 100679217
17 ??? 0x06003e31 0 + 100679217
18 ??? 0x0600430d 0 + 100680461
19 ??? 0x0600430d 0 + 100680461
20 ??? 0x06003e31 0 + 100679217
21 ??? 0x0600430d 0 + 100680461
22 ??? 0x06001374 0 + 100668276
23 libjvm.dylib 0x032a95eb JVM_Lseek + 207439
24 libjvm.dylib 0x032a935f JVM_Lseek + 206787
25 libjvm.dylib 0x032b627d JVM_StartThread + 3057
26 libjvm.dylib 0x032b6105 JVM_StartThread + 2681
27 libjvm.dylib 0x032b6084 JVM_StartThread + 2552
28 libjvm.dylib 0x032b5ed1 JVM_StartThread + 2117
29 libjvm.dylib 0x032b5d07 JVM_StartThread + 1659
30 libjvm.dylib 0x0320f1e0 jio_snprintf + 39610
31 libSystem.B.dylib 0x98822259 _pthread_start + 345
32 libSystem.B.dylib 0x988220de thread_start + 34
Thread 26: Java: pool-1-thread-3
0 libSystem.B.dylib 0x987f4b42 semaphore_wait_signal_trap + 10
1 libSystem.B.dylib 0x987fa646 pthread_mutex_lock + 490
2 com.apple.CoreFoundation 0x902958e3 CFPreferencesCopyAppValue + 35
3 com.apple.Foundation 0x97a19c56 -[NSUserDefaults(NSUserDefaults) objectForKey:] + 36
4 jna7892181922294996304.tmp 0x037acf1d .LCFI1 + 26
5 jna7892181922294996304.tmp 0x037acc81 ffi_call + 97
6 jna7892181922294996304.tmp 0x037a372e dispatch + 574
7 jna7892181922294996304.tmp 0x037a4197 Java_com_sun_jna_Function_invokeInt + 55
8 ??? 0x061ba0f7 0 + 102473975
9 ??? 0x061a4118 0 + 102383896
10 ??? 0x06003f97 0 + 100679575
11 ??? 0x06003f97 0 + 100679575
12 ??? 0x0600405d 0 + 100679773
13 ??? 0x06003e31 0 + 100679217
14 ??? 0x06003e31 0 + 100679217
15 ??? 0x06003e31 0 + 100679217
16 ??? 0x06003f97 0 + 100679575
17 ??? 0x06003f97 0 + 100679575
18 ??? 0x06004473 0 + 100680819
19 ??? 0x06003e31 0 + 100679217
20 ??? 0x0600430d 0 + 100680461
21 ??? 0x0600430d 0 + 100680461
22 ??? 0x06003e31 0 + 100679217
23 ??? 0x0600430d 0 + 100680461
24 ??? 0x06001374 0 + 100668276
25 libjvm.dylib 0x032a95eb JVM_Lseek + 207439
26 libjvm.dylib 0x032a935f JVM_Lseek + 206787
27 libjvm.dylib 0x032b627d JVM_StartThread + 3057
28 libjvm.dylib 0x032b6105 JVM_StartThread + 2681
29 libjvm.dylib 0x032b6084 JVM_StartThread + 2552
30 libjvm.dylib 0x032b5ed1 JVM_StartThread + 2117
31 libjvm.dylib 0x032b5d07 JVM_StartThread + 1659
32 libjvm.dylib 0x0320f1e0 jio_snprintf + 39610
33 libSystem.B.dylib 0x98822259 _pthread_start + 345
34 libSystem.B.dylib 0x988220de thread_start + 34
Thread 27: Java: pool-1-thread-4
0 com.apple.CoreFoundation 0x90299620 -[CFXPreferencesSearchListSource getValueForKey:] + 96
1 com.apple.CoreFoundation 0x9029590e CFPreferencesCopyAppValue + 78
2 com.apple.Foundation 0x97a19c56 -[NSUserDefaults(NSUserDefaults) objectForKey:] + 36
3 jna7892181922294996304.tmp 0x037acf1d .LCFI1 + 26
4 jna7892181922294996304.tmp 0x037acc81 ffi_call + 97
5 jna7892181922294996304.tmp 0x037a372e dispatch + 574
6 jna7892181922294996304.tmp 0x037a4197 Java_com_sun_jna_Function_invokeInt + 55
7 ??? 0x061ba0f7 0 + 102473975
8 ??? 0x061a4118 0 + 102383896
9 ??? 0x06003f97 0 + 100679575
10 ??? 0x06003f97 0 + 100679575
11 ??? 0x06003e31 0 + 100679217
12 ??? 0x06003e31 0 + 100679217
13 ??? 0x06003e31 0 + 100679217
14 ??? 0x06003f97 0 + 100679575
15 ??? 0x06003f97 0 + 100679575
16 ??? 0x06004473 0 + 100680819
17 ??? 0x06003e31 0 + 100679217
18 ??? 0x06003e31 0 + 100679217
19 ??? 0x0600430d 0 + 100680461
20 ??? 0x0600430d 0 + 100680461
21 ??? 0x06003e31 0 + 100679217
22 ??? 0x0600430d 0 + 100680461
23 ??? 0x06001374 0 + 100668276
24 libjvm.dylib 0x032a95eb JVM_Lseek + 207439
25 libjvm.dylib 0x032a935f JVM_Lseek + 206787
26 libjvm.dylib 0x032b627d JVM_StartThread + 3057
27 libjvm.dylib 0x032b6105 JVM_StartThread + 2681
28 libjvm.dylib -
Hi everyone.
I've been trying to learn how to make a web crawler in java following this detailed albeit old tutorial: http://www.devarticles.com/c/a/Java/Crawling-the-Web-with-Java/
The SearchCrawler class they feature can be found in two parts:
First part: http://www.devarticles.com/c/a/Java/Crawling-the-Web-with-Java/3/
Second part: http://www.devarticles.com/c/a/Java/Crawling-the-Web-with-Java/4/
I don't want to copy and paste the code because it is really long and an eyesore if viewing here.
I get a lot of errors when compiling of which I do not understand. The majority of the errors (62 of them to be precise) are "class, interface or enum expected" errors, with the remaining few being "illegal start of type" and "<identifier> expected" errors.
Can someone here perhaps take a look at it and compile it and see if they also get the same errors? I realise it is an old tutorial but there are hardly any detailed resources I can find for java web crawlers.
Thanks.Odd I can't seem to log into my account. Never mind.
I have used java before, the problem here I suppose is I'm not good enough to spot what's the problem. The code seems fine bracket wise and it has really left me stumped.
If someone code put it in their editor and attempt to compile and see if I'm not the only one that's having a problem.. that would be much appreciated.
For your convenience... the code from the example I linked:
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.net.*;
import java.util.*;
import java.util.regex.*;
import javax.swing.*;
import javax.swing.table.*;
// The Search Web Crawler
public class SearchCrawler extends JFrame
// Max URLs drop-down values.
private static final String[] MAX_URLS =
{"50", "100", "500", "1000"};
// Cache of robot disallow lists.
private HashMap disallowListCache = new HashMap();
// Search GUI controls.
private JTextField startTextField;
private JComboBox maxComboBox;
private JCheckBox limitCheckBox;
private JTextField logTextField;
private JTextField searchTextField;
private JCheckBox caseCheckBox;
private JButton searchButton;
// Search stats GUI controls.
private JLabel crawlingLabel2;
private JLabel crawledLabel2;
private JLabel toCrawlLabel2;
private JProgressBar progressBar;
private JLabel matchesLabel2;
// Table listing search matches.
private JTable table;
// Flag for whether or not crawling is underway.
private boolean crawling;
// Matches log file print writer.
private PrintWriter logFileWriter;
// Constructor for Search Web Crawler.
public SearchCrawler()
// Set application title.
setTitle("Search Crawler");
// Set window size.
setSize(600, 600);
// Handle window closing events.
addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
actionExit();
// Set up File menu.
JMenuBar menuBar = new JMenuBar();
JMenu fileMenu = new JMenu("File");
fileMenu.setMnemonic(KeyEvent.VK_F);
JMenuItem fileExitMenuItem = new JMenuItem("Exit",
KeyEvent.VK_X);
fileExitMenuItem.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
actionExit();
fileMenu.add(fileExitMenuItem);
menuBar.add(fileMenu);
setJMenuBar(menuBar);
// Set up search panel.
JPanel searchPanel = new JPanel();
GridBagConstraints constraints;
GridBagLayout layout = new GridBagLayout();
searchPanel.setLayout(layout);
JLabel startLabel = new JLabel("Start URL:");
constraints = new GridBagConstraints();
constraints.anchor = GridBagConstraints.EAST;
constraints.insets = new Insets(5, 5, 0, 0);
layout.setConstraints(startLabel, constraints);
searchPanel.add(startLabel);
startTextField = new JTextField();
constraints = new GridBagConstraints();
constraints.fill = GridBagConstraints.HORIZONTAL;
constraints.gridwidth = GridBagConstraints.REMAINDER;
constraints.insets = new Insets(5, 5, 0, 5);
layout.setConstraints(startTextField, constraints);
searchPanel.add(startTextField);
JLabel maxLabel = new JLabel("Max URLs to Crawl:");
constraints = new GridBagConstraints();
constraints.anchor = GridBagConstraints.EAST;
constraints.insets = new Insets(5, 5, 0, 0);
layout.setConstraints(maxLabel, constraints);
searchPanel.add(maxLabel);
maxComboBox = new JComboBox(MAX_URLS);
maxComboBox.setEditable(true);
constraints = new GridBagConstraints();
constraints.insets = new Insets(5, 5, 0, 0);
layout.setConstraints(maxComboBox, constraints);
searchPanel.add(maxComboBox);
limitCheckBox =
new JCheckBox("Limit crawling to Start URL site");
constraints = new GridBagConstraints();
constraints.anchor = GridBagConstraints.WEST;
constraints.insets = new Insets(0, 10, 0, 0);
layout.setConstraints(limitCheckBox, constraints);
searchPanel.add(limitCheckBox);
JLabel blankLabel = new JLabel();
constraints = new GridBagConstraints();
constraints.gridwidth = GridBagConstraints.REMAINDER;
layout.setConstraints(blankLabel, constraints);
searchPanel.add(blankLabel);
JLabel logLabel = new JLabel("Matches Log File:");
constraints = new GridBagConstraints();
constraints.anchor = GridBagConstraints.EAST;
constraints.insets = new Insets(5, 5, 0, 0);
layout.setConstraints(logLabel, constraints);
searchPanel.add(logLabel);
String file =
System.getProperty("user.dir") +
System.getProperty("file.separator") +
"crawler.log";
logTextField = new JTextField(file);
constraints = new GridBagConstraints();
constraints.fill = GridBagConstraints.HORIZONTAL;
constraints.gridwidth = GridBagConstraints.REMAINDER;
constraints.insets = new Insets(5, 5, 0, 5);
layout.setConstraints(logTextField, constraints);
searchPanel.add(logTextField);
JLabel searchLabel = new JLabel("Search String:");
constraints = new GridBagConstraints();
constraints.anchor = GridBagConstraints.EAST;
constraints.insets = new Insets(5, 5, 0, 0);
layout.setConstraints(searchLabel, constraints);
searchPanel.add(searchLabel);
searchTextField = new JTextField();
constraints = new GridBagConstraints();
constraints.fill = GridBagConstraints.HORIZONTAL;
constraints.insets = new Insets(5, 5, 0, 0);
constraints.gridwidth= 2;
constraints.weightx = 1.0d;
layout.setConstraints(searchTextField, constraints);
searchPanel.add(searchTextField);
caseCheckBox = new JCheckBox("Case Sensitive");
constraints = new GridBagConstraints();
constraints.insets = new Insets(5, 5, 0, 5);
constraints.gridwidth = GridBagConstraints.REMAINDER;
layout.setConstraints(caseCheckBox, constraints);
searchPanel.add(caseCheckBox);
searchButton = new JButton("Search");
searchButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
actionSearch();
constraints = new GridBagConstraints();
constraints.gridwidth = GridBagConstraints.REMAINDER;
constraints.insets = new Insets(5, 5, 5, 5);
layout.setConstraints(searchButton, constraints);
searchPanel.add(searchButton);
JSeparator separator = new JSeparator();
constraints = new GridBagConstraints();
constraints.fill = GridBagConstraints.HORIZONTAL;
constraints.gridwidth = GridBagConstraints.REMAINDER;
constraints.insets = new Insets(5, 5, 5, 5);
layout.setConstraints(separator, constraints);
searchPanel.add(separator);
JLabel crawlingLabel1 = new JLabel("Crawling:");
constraints = new GridBagConstraints();
constraints.anchor = GridBagConstraints.EAST;
constraints.insets = new Insets(5, 5, 0, 0);
layout.setConstraints(crawlingLabel1, constraints);
searchPanel.add(crawlingLabel1);
crawlingLabel2 = new JLabel();
crawlingLabel2.setFont(
crawlingLabel2.getFont().deriveFont(Font.PLAIN));
constraints = new GridBagConstraints();
constraints.fill = GridBagConstraints.HORIZONTAL;
constraints.gridwidth = GridBagConstraints.REMAINDER;
constraints.insets = new Insets(5, 5, 0, 5);
layout.setConstraints(crawlingLabel2, constraints);
searchPanel.add(crawlingLabel2);
JLabel crawledLabel1 = new JLabel("Crawled URLs:");
constraints = new GridBagConstraints();
constraints.anchor = GridBagConstraints.EAST;
constraints.insets = new Insets(5, 5, 0, 0);
layout.setConstraints(crawledLabel1, constraints);
searchPanel.add(crawledLabel1);
crawledLabel2 = new JLabel();
crawledLabel2.setFont(
crawledLabel2.getFont().deriveFont(Font.PLAIN));
constraints = new GridBagConstraints();
constraints.fill = GridBagConstraints.HORIZONTAL;
constraints.gridwidth = GridBagConstraints.REMAINDER;
constraints.insets = new Insets(5, 5, 0, 5);
layout.setConstraints(crawledLabel2, constraints);
searchPanel.add(crawledLabel2);
JLabel toCrawlLabel1 = new JLabel("URLs to Crawl:");
constraints = new GridBagConstraints();
constraints.anchor = GridBagConstraints.EAST;
constraints.insets = new Insets(5, 5, 0, 0);
layout.setConstraints(toCrawlLabel1, constraints);
searchPanel.add(toCrawlLabel1);
toCrawlLabel2 = new JLabel();
toCrawlLabel2.setFont(
toCrawlLabel2.getFont().deriveFont(Font.PLAIN));
constraints = new GridBagConstraints();
constraints.fill = GridBagConstraints.HORIZONTAL;
constraints.gridwidth = GridBagConstraints.REMAINDER;
constraints.insets = new Insets(5, 5, 0, 5);
layout.setConstraints(toCrawlLabel2, constraints);
searchPanel.add(toCrawlLabel2);
JLabel progressLabel = new JLabel("Crawling Progress:");
constraints = new GridBagConstraints();
constraints.anchor = GridBagConstraints.EAST;
constraints.insets = new Insets(5, 5, 0, 0);
layout.setConstraints(progressLabel, constraints);
searchPanel.add(progressLabel);
progressBar = new JProgressBar();
progressBar.setMinimum(0);
progressBar.setStringPainted(true);
constraints = new GridBagConstraints();
constraints.fill = GridBagConstraints.HORIZONTAL;
constraints.gridwidth = GridBagConstraints.REMAINDER;
constraints.insets = new Insets(5, 5, 0, 5);
layout.setConstraints(progressBar, constraints);
searchPanel.add(progressBar);
JLabel matchesLabel1 = new JLabel("Search Matches:");
constraints = new GridBagConstraints();
constraints.anchor = GridBagConstraints.EAST;
constraints.insets = new Insets(5, 5, 10, 0);
layout.setConstraints(matchesLabel1, constraints);
searchPanel.add(matchesLabel1);
matchesLabel2 = new JLabel();
matchesLabel2.setFont(
matchesLabel2.getFont().deriveFont(Font.PLAIN));
constraints = new GridBagConstraints();
constraints.fill = GridBagConstraints.HORIZONTAL;
constraints.gridwidth = GridBagConstraints.REMAINDER;
constraints.insets = new Insets(5, 5, 10, 5);
layout.setConstraints(matchesLabel2, constraints);
searchPanel.add(matchesLabel2);
// Set up matches table.
table =
new JTable(new DefaultTableModel(new Object[][]{},
new String[]{"URL"}) {
public boolean isCellEditable(int row, int column)
return false;
// Set up Matches panel.
JPanel matchesPanel = new JPanel();
matchesPanel.setBorder(
BorderFactory.createTitledBorder("Matches"));
matchesPanel.setLayout(new BorderLayout());
matchesPanel.add(new JScrollPane(table),
BorderLayout.CENTER);
// Add panels to display.
getContentPane().setLayout(new BorderLayout());
getContentPane().add(searchPanel, BorderLayout.NORTH);
getContentPane().add(matchesPanel,BorderLayout.CENTER);
// Exit this program.
private void actionExit() {
System.exit(0);
// Handle Search/Stop button being clicked.
private void actionSearch() {
// If stop button clicked, turn crawling flag off.
if (crawling) {
crawling = false;
return;
ArrayList errorList = new ArrayList();
// Validate that start URL has been entered.
String startUrl = startTextField.getText().trim();
if (startUrl.length() < 1) {
errorList.add("Missing Start URL.");
// Verify start URL.
else if (verifyUrl(startUrl) == null) {
errorList.add("Invalid Start URL.");
// Validate that Max URLs is either empty or is a number.
int maxUrls = 0;
String max = ((String) maxComboBox.getSelectedItem()).trim();
if (max.length() > 0) {
try {
maxUrls = Integer.parseInt(max);
} catch (NumberFormatException e) {
if (maxUrls < 1) {
errorList.add("Invalid Max URLs value.");
// Validate that matches log file has been entered.
String logFile = logTextField.getText().trim();
if (logFile.length() < 1) {
errorList.add("Missing Matches Log File.");
// Validate that search string has been entered.
String searchString = searchTextField.getText().trim();
if (searchString.length() < 1) {
errorList.add("Missing Search String.");
// Show errors, if any, and return.
if (errorList.size() > 0) {
StringBuffer message = new StringBuffer();
// Concatenate errors into single message.
for (int i = 0; i < errorList.size(); i++) {
message.append(errorList.get(i));
if (i + 1 < errorList.size()) {
message.append("\n");
showError(message.toString());
return;
// Remove "www" from start URL if present.
startUrl = removeWwwFromUrl(startUrl);
// Start the Search Crawler.
search(logFile, startUrl, maxUrls, searchString);
private void search(final String logFile, final String startUrl,
final int maxUrls, final String searchString)
// Start the search in a new thread.
Thread thread = new Thread(new Runnable() {
public void run() {
// Show hour glass cursor while crawling is under way.
setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
// Disable search controls.
startTextField.setEnabled(false);
maxComboBox.setEnabled(false);
limitCheckBox.setEnabled(false);
logTextField.setEnabled(false);
searchTextField.setEnabled(false);
caseCheckBox.setEnabled(false);
// Switch Search button to "Stop."
searchButton.setText("Stop");
// Reset stats.
table.setModel(new DefaultTableModel(new Object[][]{},
new String[]{"URL"}) {
public boolean isCellEditable(int row, int column)
return false;
updateStats(startUrl, 0, 0, maxUrls);
// Open matches log file.
try {
logFileWriter = new PrintWriter(new FileWriter(logFile));
} catch (Exception e) {
showError("Unable to open matches log file.");
return;
// Turn crawling flag on.
crawling = true;
// Perform the actual crawling.
crawl(startUrl, maxUrls, limitCheckBox.isSelected(),
searchString, caseCheckBox.isSelected());
// Turn crawling flag off.
crawling = false;
// Close matches log file.
try {
logFileWriter.close();
} catch (Exception e) {
showError("Unable to close matches log file.");
// Mark search as done.
crawlingLabel2.setText("Done");
// Enable search controls.
startTextField.setEnabled(true);
maxComboBox.setEnabled(true);
limitCheckBox.setEnabled(true);
logTextField.setEnabled(true);
searchTextField.setEnabled(true);
caseCheckBox.setEnabled(true);
// Switch search button back to "Search."
searchButton.setText("Search");
// Return to default cursor.
setCursor(Cursor.getDefaultCursor());
// Show message if search string not found.
if (table.getRowCount() == 0) {
JOptionPane.showMessageDialog(SearchCrawler.this,
"Your Search String was not found. Please try another.",
"Search String Not Found",
JOptionPane.WARNING_MESSAGE);
thread.start();
// Show dialog box with error message.
private void showError(String message) {
JOptionPane.showMessageDialog(this, message, "Error",
JOptionPane.ERROR_MESSAGE);
// Update crawling stats.
private void updateStats(
String crawling, int crawled, int toCrawl, int maxUrls)
crawlingLabel2.setText(crawling);
crawledLabel2.setText("" + crawled);
toCrawlLabel2.setText("" + toCrawl);
// Update progress bar.
if (maxUrls == -1) {
progressBar.setMaximum(crawled + toCrawl);
} else {
progressBar.setMaximum(maxUrls);
progressBar.setValue(crawled);
matchesLabel2.setText("" + table.getRowCount());
// Add match to matches table and log file.
private void addMatch(String url) {
// Add URL to matches table.
DefaultTableModel model =
(DefaultTableModel) table.getModel();
model.addRow(new Object[]{url});
// Add URL to matches log file.
try {
logFileWriter.println(url);
} catch (Exception e) {
showError("Unable to log match.");
// Verify URL format.
private URL verifyUrl(String url) {
// Only allow HTTP URLs.
if (!url.toLowerCase().startsWith("http://"))
return null;
// Verify format of URL.
URL verifiedUrl = null;
try {
verifiedUrl = new URL(url);
} catch (Exception e) {
return null;
return verifiedUrl;
// Check if robot is allowed to access the given URL. private boolean isRobotAllowed(URL urlToCheck) {
String host = urlToCheck.getHost().toLowerCase();
// Retrieve host's disallow list from cache.
ArrayList disallowList =
(ArrayList) disallowListCache.get(host);
// If list is not in the cache, download and cache it.
if (disallowList == null) {
disallowList = new ArrayList();
try {
URL robotsFileUrl =
new URL("http://" + host + "/robots.txt");
// Open connection to robot file URL for reading.
BufferedReader reader =
new BufferedReader(new InputStreamReader(
robotsFileUrl.openStream()));
// Read robot file, creating list of disallowed paths.
String line;
while ((line = reader.readLine()) != null) {
if (line.indexOf("Disallow:") == 0) {
String disallowPath =
line.substring("Disallow:".length());
// Check disallow path for comments and remove if present.
int commentIndex = disallowPath.indexOf("#");
if (commentIndex != -1) {
disallowPath =
disallowPath.substring(0, commentIndex);
// Remove leading or trailing spaces from disallow path.
disallowPath = disallowPath.trim();
// Add disallow path to list.
disallowList.add(disallowPath);
// Add new disallow list to cache.
disallowListCache.put(host, disallowList);
catch (Exception e) {
/* Assume robot is allowed since an exception
is thrown if the robot file doesn't exist. */
return true;
/* Loop through disallow list to see if
crawling is allowed for the given URL. */
String file = urlToCheck.getFile();
for (int i = 0; i < disallowList.size(); i++) {
String disallow = (String) disallowList.get(i);
if (file.startsWith(disallow)) {
return false;
return true;
// Download page at given URL.
private String downloadPage(URL pageUrl) {
try {
// Open connection to URL for reading.
BufferedReader reader =
new BufferedReader(new InputStreamReader(
pageUrl.openStream()));
// Read page into buffer.
String line;
StringBuffer pageBuffer = new StringBuffer();
while ((line = reader.readLine()) != null) {
pageBuffer.append(line);
return pageBuffer.toString();
} catch (Exception e) {
return null;
// Remove leading "www" from a URL's host if present.
private String removeWwwFromUrl(String url) {
int index = url.indexOf("://www.");
if (index != -1) {
return url.substring(0, index + 3) +
url.substring(index + 7);
return (url);
// Parse through page contents and retrieve links.
private ArrayList retrieveLinks(
URL pageUrl, String pageContents, HashSet crawledList,
boolean limitHost)
// Compile link matching pattern.
Pattern p =
Pattern.compile("<a\\s+href\\s*=\\s*\"?(.*?)[\"|>]",
Pattern.CASE_INSENSITIVE);
Matcher m = p.matcher(pageContents);
// Create list of link matches.
ArrayList linkList = new ArrayList();
while (m.find()) {
String link = m.group(1).trim();
// Skip empty links.
if (link.length() < 1) {
continue;
// Skip links that are just page anchors.
if (link.charAt(0) == '#') {
continue;
// Skip mailto links.
if (link.indexOf("mailto:") != -1) {
continue;
// Skip JavaScript links.
if (link.toLowerCase().indexOf("javascript") != -1) {
continue;
// Prefix absolute and relative URLs if necessary.
if (link.indexOf("://") == -1) {
// Handle absolute URLs.
if (link.charAt(0) == '/') {
link = "http://" + pageUrl.getHost() + link;
// Handle relative URLs.
} else {
String file = pageUrl.getFile();
if (file.indexOf('/') == -1) {
link = "http://" + pageUrl.getHost() + "/" + link;
} else {
String path =
file.substring(0, file.lastIndexOf('/') + 1);
link = "http://" + pageUrl.getHost() + path + link;
// Remove anchors from link.
int index = link.indexOf('#');
if (index != -1) {
link = link.substring(0, index);
// Remove leading "www" from URL's host if present.
link = removeWwwFromUrl(link);
// Verify link and skip if invalid.
URL verifiedLink = verifyUrl(link);
if (verifiedLink == null) {
continue;
/* If specified, limit links to those
having the same host as the start URL. */
if (limitHost &&
!pageUrl.getHost().toLowerCase().equals(
verifiedLink.getHost().toLowerCase()))
continue;
// Skip link if it has already been crawled.
if (crawledList.contains(link)) {
continue;
// Add link to list.
linkList.add(link);
return (linkList);
/* Determine whether or not search string is
matched in the given page contents. */
private boolean searchStringMatches(
String pageContents, String searchString,
boolean caseSensitive)
String searchContents = pageContents;
/* If case-sensitive search, lowercase
page contents for comparison. */
if (!caseSensitive) {
searchContents = pageContents.toLowerCase();
// Split search string into individual terms.
Pattern p = Pattern.compile("[\\s]+");
String[] terms = p.split(searchString);
// Check to see if each term matches.
for (int i = 0; i < terms.length; i++) {
if (caseSensitive) {
if (searchContents.indexOf(terms) == -1) {
return false;
} else {
if (searchContents.indexOf(terms[i].toLowerCase()) == -1) {
return false;
return true;
// Perform the actual crawling, searching for the search string.
public void crawl(
String startUrl, int maxUrls, boolean limitHost,
String searchString, boolean caseSensitive)
// Set up crawl lists.
HashSet crawledList = new HashSet();
LinkedHashSet toCrawlList = new LinkedHashSet();
// Add start URL to the to crawl list.
toCrawlList.add(startUrl);
/* Perform actual crawling by looping
through the To Crawl list. */
while (crawling && toCrawlList.size() > 0)
/* Check to see if the max URL count has
been reached, if it was specified.*/
if (maxUrls != -1) {
if (crawledList.size() == maxUrls) {
break;
// Get URL at bottom of the list.
String url = (String) toCrawlList.iterator().next();
// Remove URL from the To Crawl list.
toCrawlList.remove(url);
// Convert string url to URL object.
URL verifiedUrl = verifyUrl(url);
// Skip URL if robots are not allowed to access it.
if (!isRobotAllowed(verifiedUrl)) {
continue;
// Update crawling stats.
updateStats(url, crawledList.size(), toCrawlList.size(),
maxUrls);
// Add page to the crawled list.
crawledList.add(url);
// Download the page at the given URL.
String pageContents = downloadPage(verifiedUrl);
/* If the page was downloaded successfully, retrieve all its
links and then see if it contains the search string. */
if (pageContents != null && pageContents.length() > 0)
// Retrieve list of valid links from page.
ArrayList links =
retrieveLinks(verifiedUrl, pageContents, crawledList,
limitHost);
// Add links to the To Crawl list.
toCrawlList.addAll(links);
/* Check if search string is present in
page, and if so, record a match. */
if (searchStringMatches(pageContents, searchString,
caseSensitive))
addMatch(url);
// Update crawling stats.
updateStats(url, crawledList.size(), toCrawlList.size(),
maxUrls);
// Run the Search Crawler.
public static void main(String[] args) {
SearchCrawler crawler = new SearchCrawler();
crawler.show();
} -
Java application communicate with java card applet without java card
Can I write java application to communicate with java card applet without using java card?
Can I send APDU to java card applet on computer(not install in java card)? If it's not, how can I write?
Best Regard,
ThanawanYour JCOP simulator implements a JCVM/JCRE according
to specs. The CREF does that same thing excepts it's
only simulates the API without crypto or third party
applets. JCOP simulator is more then that. They are using thesame_ codebase for simulator and for oncard JCVM. Basically you are dealing with the same environment in both cases. -
Hi everybody,
I have a simple Java application that has a JFrame containing a TextField displaying some text inside it. I am using the NetBeans IDE. I am trying to Enable Java Web start for this application. The steps I have taken upto now are:
1. Right click on Project, Java Web Start -> Enable Java Web Start. This created the jnlp file.
2. In the Resources section, I added the jar file for swing. ( I am not sure if I have to add the path for jnlp.jar etc, or are these found automatically?)
3. Right click on Project, Java Web Start -> Deploy with Java Web Start. This launches the browser with the Click me link, but on clicking this link, I get the following error.
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Wrapper cannot find servlet class jnlp.sample.servlet.JnlpDownloadServlet or a class it depends on
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:534)
root cause
java.lang.ClassNotFoundException: jnlp.sample.servlet.JnlpDownloadServlet
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1332)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:534)I have all the jnlp files in my jdk directory, and I am not sure why it can't find it. Is there something I am missing?
Thanks
GeorgeI am not sure what it has to do with servlets, I just followed a tutorial on using Netbeans with Java Web Start, and did only the steps as mentioned in my first post. And ended up with the error.
Anyways, I added the jnlp jar files(jnlp.jar, jnlp-servlet.jar, jardiff.jar) in the WEB-INF/lib directory. And it seems to deploying it now. I can get my application to load on clicking on the "Click me" link. But the controls on my application don't seem to be working.
Also, when I try to Right click on my project -> Java Web Start -> Run with Java Web Start, I get the following error message,
javaws-run: C:\Documents and Settings\Lux\Visualization\nbproject\build-jaws-impl.xml:36: Execute failed: java.io.IOException: CreateProcess: C:\j2sdk1.4.2_13\bin\javaws "file:///C:/Documents and Settings/Lux/Visualization/Visualization.jnlp" error=2
BUILD FAILED (total time: 0 seconds)
Any help appreciated.
Thanks.
George -
Java Console Launch Problems with CITRIX
I have to use a Citrix TerminalServer to connect to the SunMC Server.
Reason is the nature of the RMI proto. RMI needs to open ports back on
the console host. As this is not allowed in our network design, I first login to
a CITIX T.S. , start a browser and then type the URL of the SunMC server.
The page appeares, I select "Launch Java Console", then "Open with Java Web Start executable" and it starts Java 5. Now I would expect the Login Window, but instead of it I get a window saying:
Checking for latest version ...
After a while (timeout) I get:
Unable to lauch Sun Management center
Any ideas ?We opened a case at SUN and got the following statement:
This is a know issue and actually the problem has been escalated to our developer colleagues: Bug 6665331
Using java web start does not work on a firewalled environment. This is both on a windows as well as a solaris environment. So anyone who has enabled firewalled communication will be facing this issue. The momentarily workarounds you can apply are:
- install the console directly on the window pc or Soalris environment and use the Java GUI or
- set the variable "sunmc.server.console.firewall.Enable=false" into java.properties file.
--> we installed the regular (non-Web-Start) Java Console on the Citrix host. It uses the configured ports, e.g. 45000-48000. and works fine.
I think, this will also be needed on a normal windows (non-Citrix) host.
The second suggested workaround did not show any effects.
Conclusion: If there is a firewall in between the server and the console, the Java WebStart Console can not be used at the moment. -
Dynamically adding JRE for IE, Java Security Warnings, & Next Gen Plugin.
I wrote an portal application to control the environment for a third party application, the portal uses a JRE version that I supply with it, this was to ensure that users are using the same JRE so any issues can be limited to one version of Java. The only piece of the application that I could not specify the JRE version and path was for Internet Explorer. Please keep in mind that I do not control when the system JRE is updated or not, this is pushed to our systems and the latest JRE would be enabled automatically. I wanted to be able to dynamically add and enable the version of the JRE that Microsoft Internet Explorer uses for applets. So I was digging around recently and if I have the next-generation plugin enabled I could programmatically update the deployment.properties file prior to launching Internet Explorer(assuming I have closed all prior instances of IE that were running) to add and enable a version of the JRE which I choose to use. When I launch IE and run an applet I see that it is using the JRE I had dynamically supplied. However everytime I run the applet a Java security warning comes up saying "The application requires an earlier version of Java", I wanted to suppress this message but after research I tried adding 'deployment.security.mixcode=HIDE_RUN' to the deployment.properties, that did not work. I tried disabling the Next Generation Plugin, that worked to suppress the message however internet explorer was no longer using my dynamically supplied JRE for applets in IE, so that was not going to work for my purposes. My questions are:
1. Is there a reliable way(not using ssvagent) to programmatically enable and disable Java's Next Generation Plugin option? (I want to make sure it is enabled when launching third party application from the portal)
2. Is there a programmatic way to suppress the Java Security Warning "The application requires an earlier version of Java", without disabling Java's Next Generation Plugin option?
deployment.properties entries after addition of my jre entry:
#deployment.properties
#Fri Sep 28 14:09:24 PDT 2012
deployment.javapi.lifecycle.exception=true
deployment.trace=true
deployment.javaws.viewer.bounds=323,144,720,360
deployment.javaws.autodownload=NEVER
deployment.version=6.0
deployment.browser.path=C\:\\Program Files (x86)\\Internet Explorer\\iexplore.exe
deployment.security.mixcode=HIDE_RUN
deployment.log=true
deployment.console.startup.mode=SHOW
deployment.capture.mime.types=true
#Java Deployment jre's
#Fri Sep 28 14:09:24 PDT 2012
deployment.javaws.jre.0.registered=true
deployment.javaws.jre.0.platform=1.6
deployment.javaws.jre.0.osname=Windows
deployment.javaws.jre.0.path=C\:\\Program Files (x86)\\Java\\jre6\\bin\\javaw.exe
deployment.javaws.jre.0.product=1.6.0_33
deployment.javaws.jre.0.osarch=x86
deployment.javaws.jre.0.location=http\://java.sun.com/products/autodl/j2se
deployment.javaws.jre.0.enabled=false
deployment.javaws.jre.0.args=
deployment.javaws.jre.1.enabled=true
deployment.javaws.jre.1.registered=true
deployment.javaws.jre.1.osname=Windows
deployment.javaws.jre.1.location=http\\\://java.sun.com/products/autodl/j2se
deployment.javaws.jre.1.osarch=x86
deployment.javaws.jre.1.path=C\:\\Portal\\dist\\java\\jre6\\bin\\javaw.exe
deployment.javaws.jre.1.platform=1.6
deployment.javaws.jre.1.product=1.6.0_29
Note: The reason not to use most recent version of Java is the necessity to test the third party application prior to deployment of a new Java version and since I do not control when a new version of Java is deployed and enabled to our machines, I am required to find an transparent solution. I understand the security issues by doing so, but the time between testing and acceptance of a new Java version for our application is within an acceptable timeframe. On exiting the application, I would restore the JRE settings and restore previous settings, to minimize the exposure of a potential security risk. Also any manual configurations are trying to be avoided as to maintain transparency to the user.I'm having a similar problem and I think it is related with this.
If, after a Java--->Javascript call, a Javascript--->Java call isn't made soon after the first, it works. But, if the Java--->Javascript call triggers a Javascript--->Java call, any Java--->Javascript call that is made after that doesn't reach Javascript :/
I have a method that handles the Java--->Javascript calls and goes something like this:
System.out.println("Calling Javascript...");
JSObject win = JSObject.getWindow(this);
win.call(jsEventHandler, new Object[] { json.toString() });
System.out.println("Done.");I further found out that, after looking at the Java debug console in the scenario where a Java--->Javascript call triggers a Javascript--->Java call, only after this last method returns is the "Done" message printed, even though the respective Javascript call was already invoked.
Could you explain in more detail the queue based solution you found? Any other ideas?
Regards,
André Tavares.
Maybe you are looking for
-
Has the options for custom command buttons and scripts been removed from speedgrade?
I run alot of framecyclerDI machines and am looking to upgrade them but i cant seem to find any method of adding command bars and buttons like you could in the iridas versions of speedgrade i also cant see a way of executing any external scripts whic
-
Arc is not implemented for SQL Server 2005 physical model
I added the Arc in my relational model, which is supposed to provide that references are mutually exclusive (so only one refering column can be not null). However there is not any implementation for this in the SQL Server 2005 physical model. The SQL
-
Specification of 2D barcoded forms
Hi all, I am wondering if anyone can help we with my question. I am wondering how much data one barcode can contain, I mean how much data can I type into textfields. If I have a lot of data in my form which can not be contained in the barcode - how i
-
NullPointerException in FacesServlet.init
Using Oralce 10g app server 9.0.4.0.0 Using jsf 1.1 Works fine under Resin 3.0, but not oracle. Added the listener lines to web.xml. <listener> <listener-class>com.sun.faces.config.ConfigListener</listener-class> </listener> The following jars are in
-
Apply patch for Non MetaLink Members
How do you apply a patch if you're using an evaluation version of 11i and do not have a CSI to join metaLink? What's the point if you cannot get help with a software full of patches? Is there a way around this. Can anyone spare a CSI number?