Software reuse with Java design patterns
Anyone have any suggestions on how software can be reused with Java design patterns? Any concrete examples?
Buy the GoF book. Lot's of examples there.
Similar Messages
-
Difference between n-layer software architecture and MVVM design pattern?
hello everyone,
I am not clear with this concepts of Software architecture pattern and design pattern.
I am developing an wpf application using MVVM. Now, my question is, does MVVM come under n-layered architecture?
or n-layer architecture and MVVM both are different?
Regards,
Rakesh.N
Rakesh murthy"
Now my question is, i want to process the data which i get from database. where should i write that processing logic after getting the data from database? in model classes? or in view model classes?
The model is however the data comes from wherever it comes from.
If there is any processing after you get it then that would be in the viewmodel.
The viewmodel adapts your data to the view.
If it needs any adapting then the viewmodel does that, not the model.
EG here
protected async override void GetData()
ThrobberVisible = Visibility.Visible;
ObservableCollection<CustomerVM> _customers = new ObservableCollection<CustomerVM>();
var customers = await (from c in db.Customers
orderby c.CustomerName
select c).ToListAsync();
foreach (Customer cust in customers)
_customers.Add(new CustomerVM { IsNew = false, TheEntity = cust });
Customers = _customers;
RaisePropertyChanged("Customers");
ThrobberVisible = Visibility.Collapsed;
That logic is in a viewmodel.
in this context , in which layer the viewmodel and model classes are put under in n-tier architecture?
They're in two of the n layers/tiers.
Or they're in one.
Depending on how someone decides to classify a layer or a tier.
There is no absolute definition.
Why would you care?
Hope that helps.
Technet articles: Uneventful MVVM;
All my Technet Articles -
Component-based software engineering with Java
I would like to code a java application using:
http://en.wikipedia.org/wiki/Component-based_software_engineering
just like I would do in C using:
http://en.wikipedia.org/wiki/GObject
having objects that emit signals and other objects can attach to those signals.
How may I do that in Java?
I would like exactly that. Not something less. And no distributed (no network)robertojimenoca wrote:
I have decided not to use Swing for the GUI but just output to the console. I want to register to my component signal and just print lines with the status.
Is that possible with Java?
How about a simple example?Sounds like you're talking observer/observable. There are multiple ways to implement that pattern in Java, one of them being a class and interface with those names in the java.util package.
If you want a more specific answer, you'll probably have to ask a more specific question.
And if you google java X tutorial or java X example, for any reasonable X, you'll almost certainly get lots of information that people here don't want to waste their time repeating. -
Hi folks,
I wanna know about design pattern to implement my current project, I need some reference book. if you know the book. please mail me
[email protected]
Thanks and regards
SK,India[The GoF book|http://www.amazon.co.uk/gp/product/0201633612/ref=s9sims_c3_at1-rfc_g1?pf_rd_m=A3P5ROKL5A1OLE&pf_rd_s=center-1&pf_rd_r=1JQJWT69HDE1GTFS4EXH&pf_rd_t=101&pf_rd_p=139045791&pf_rd_i=468294]
[Head First Design Patterns|http://www.amazon.co.uk/Head-First-Design-Patterns/dp/0596007124/ref=pd_sim_b_2]
[Refactoring to Patterns|http://www.amazon.co.uk/Refactoring-Patterns-Addison-Wesley-Signature-Kerievsky/dp/0321213351/ref=sr_1_1?ie=UTF8&s=books&qid=1216992456&sr=1-1]
Enjoy -
Selling software programmed with Java language
Hello,
I'm new to the forums and currentley taking a Java programming class. A questions came up among the students....
If I were to develop a program in the Java language and sell the Java-coded software for profit, what licenses would I need?You can license your own software in pretty much any way you want, it's yours after all.
The only thing that you may have to consider that shipping the JRE with your software requires some additional thought, there are rules what you need to do for it to be allowed, but they aren't do hard to follow (Google for JRE redistribution license). -
Reduce render time with wizard design pattern
I am making a long, complex interactive dynamic form. How do I make the form so that only the page/section the user is working on is visible and renders?
You could create pure virtual class that defines your test step API. Methods for the class would consist of things like setup, teardown, execute to name a few. Your developers could use this base class as the template and API for their tests. The methods regulate the format of the data exchange between your engine and their test. I would also recommend that you use packed libraries so that your test steps are basically plugins. Your test sequence would need to contain the name of the appropriate plugin to use in order to invoke the correct test step. This model is flexible and easy to extend.
We are actually investigating using this same approach for our test system. Our current system uses TestStand and we are going to investigate TestStand 2012 ability to use dynamic dispatch to invoke our test steps. It should be interesting. We use other features of TestStand so it would be nice if we can make this work. In your case a LabVIEW only implementation should be fairly straightforward.
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot -
Using IOC with Factory Design pattern
Say I have two different data sources, one XML and another Database.I have 2 DAO's corresponding to the 2 data source and a DAOFactory to get the DAO.
Now, I want to use IOC from the service layer to get appropriate DAO. Using DAOFactory will break IOC.
Will it be a good idea to inject DAOFactory into the service layer?
I somehow don't feel comfortable in doing so, Factories seem to be more or less like utility and injecting utility into the service does not seem a good idea to me.
Please let me know how to get around this situation.
Regards,
JoshuaJoshuaAntony wrote:
Say I have two different data sources, one XML and another Database.I have 2 DAO's corresponding to the 2 data source and a DAOFactory to get the DAO.
Now, I want to use IOC from the service layer to get appropriate DAO. Using DAOFactory will break IOC.
Will it be a good idea to inject DAOFactory into the service layer?
I somehow don't feel comfortable in doing so, Factories seem to be more or less like utility and injecting utility into the service does not seem a good idea to me.To me, this sounds like you're getting bogged down in abstract terminology and worrying about vague "rules" rather than considering the problem. Do you even need a DAOFactory? As the other guy said, a DAO interface, implemented however you like, injected where it's needed, is nice and simple, and avoids all those bothersome factories you probably don't need -
Connecting - JavaFX + Servlets(??) + design patterns
Hello
I'm a total noob in JEE world so I'm sorry if I'm asking for sth really basic.
I would like to connect my JavaFX application with a simplest there is JEE-server. My guess is - Servlets (a good guess?). But before I start, here are some obstructions I need to face. The general goal of this whole project is to test few (around 5) JEE design patterns. It's because of my science project: "The use/usage of JEE design patterns in creating web applications". So what's the JavaFX for? My promotor asked for an application that would be handy for my College. So again what is going to be done :
- connect the JFX app with JEE server
- test the whole project with Cobertura, Checkstyle, Apache JMeter, Findbug, Cobertura, PMD/CMd and so on
- refactor the project with 5 design patterns. I think I'll try to use: DAO, Intercepting Filter, any suggestions what more?
- test again
- compair test results. Make conclusion on the thesis.
As for now I've found JFX class that could be used to communicate:
http://java.sun.com/javafx/1.2/docs/api/javafx.io.http/javafx.io.http.HttpRequest.html and other from javafx.io.http
I'm looking for the simplest way because I don't have a lot of time! :(((( So, is there a book, tool or a tutorial explaining how to quickly and simply do the stuff above?
What I have installed:
- winXP SP3 (linux and Eclipse still are crappy with JFX)
- Netbeans 6.7.1 with JavaFX and now I've installed additionally:
- Java Web Applications
- Sun Java System Web Server 7.0
- EJB and EAR
Anything else I need?Why don't using ejb for remote client?
It can be simpliest, you avoid web tier dev in the server and http on the fx side.
Any version requieried for the JEE? With the sixth one, few annotations and just concentrate on your job, very nice. -
Design Pattern for Role-based GUI
Hi,
I'm looking for a java design pattern to provide different GUI according to the user role.
For example, If logon user has general user role, the GUI would disable some administrator related menu items...
I think, this kind of functionality is now in use at many applications..
Thanks in advance..
HabinHi
I try to explain with some more detail (sorry for my bad english) :
I write a complete hotel reservation app with Java+Bd (relational). This app is used by diferent users types.
The administrator has all privileges (can do every action) and other users can do only some actions (make a reservation, check-in, check-out etc but not modify a
room price for example).
The app is a MDI app, there are a menu and menuitems
and when a user do an actionEvent over a menuItem an InternalFrame is activated and so on. These InternalFrame make possible some actions at app level (ex. : do a check-in).
The menuItems set is controled by the App (is the Controller in MVC design pattern) and the model is represented by a set of user possible actions; so there are a class (UserConfig) with these set of possible actions.
the Controller ask UserConfig abouth the posible action
set and do the enable/disable job. There are a 1 to 1
relationship : each possible actions has a menuItem. And
there are a M to N relationship from User/Action perspective.
With this design (I think is an MVC design) the Controler mantain a UserConfig (via a Relational Database) and the Administrator (via the App) can create or modify the UserConfig objects.
At implementation level, each menu item has a name, and
for each registered user there are the name/id_user pair
of actions. These info (stored in BD) is used to create
the UserConfig objects (via username/password).
Bye -
Hey,
I do wanna know if is recommendable to use a Java Design Pattern (like Singleton, Fa�ade, etc)... in a J2ME application. I mean, a colleague of mine made a j2me application using these kind of technologies, but, when he installed in his cell phone, the application occuppied much memory. So, another guy told me that due to the limited memory space we find on these devices it's better for us to use only the MVC idea. So, is it recommendable for me to use this kind of resources???
Thanks!Hi,
it is a good programming practice to use Design patterns. But too much of design patterns results in more classes which will be a problem in j2me sometimes.
Most of the MIDP classes uses Singleton and abstract design patterns -
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 -
I am new to UML and Java Design Patterns
Please suggest some good books for UML and Java Design Patterns.
VenuI am new to UML and Java Design
Patterns
Please suggest some good books for UML and Java
Design Patterns.
VenuThere are only a few of them:
http://www.amazon.com/gp/product/0596007124/ref=pd_bxgy_text_b/102-9140088-0344105?%5Fencoding=UTF8
http://www.amazon.com/gp/product/0130935387/ref=pd_sbs_b_3/102-9140088-0344105?%5Fencoding=UTF8&v=glance&n=283155
http://www.amazon.com/gp/product/0471227293/ref=pd_sim_b_5/102-9140088-0344105?%5Fencoding=UTF8&v=glance&n=283155
http://www.amazon.com/gp/product/0201485397/102-9140088-0344105?v=glance&n=283155 -
Design Pattern for low cohesion & coupling
Hi there!
I�m about to make a applictation in swing and don�t have so much experince in this API. Normally I program for the web using J2EE tech like Servlets, JSP, custom tag libs and EJB�s. Therefore my biggest challenge for the moment is to find (/ find out) a good framework for coding in swing and minimize coupling between the participants.
I have good knowledge about the MVC paradigm (in web programming) but finds it difficult to apply my knowledge in the Swing area. Do you have links or can recomend some litterature that handles my little but very frustrating problem?
In advance thank�s
Best regards
Niclas RothmanCheck out Java Design Patterns A Tutorial by James W. Cooper.
I am sure there are many other publications out there, but I am not quite sure what your frustration is related to swing.
Design patters are applicable in many aspects and are mostly language independent. In fact swing uses some of the design patters such at the command pattern in using Actions.
Hope this helps
Neelesh -
Dear members,
As part of a research degree, I am conducting an online survey on the use
of software design patterns within software design projects, especially
when used within the scope of integrating applications (e.g. web services,
EAI etc). The aim is to investigate how use of software design patterns can facilitate software reuse and save time and cost with software development
The study doesn�t assume the use / knowledge of software design patterns as
a pre-requisite for filling the online survey as we are collecting views of
software developers with different background and experience.
Your response would be treated as confidential and the online survey and
results are anonymous (no name, address � etc is required).
All those who completed the survey with valid E-mail address will receive
copy of the aggregated results and any related publications, though giving
E-mail is optional.
The survey is expected to take 5 minutes to complete.
The link to the online survey is at
http://integrationsolutions.co.uk/Patterns_may.htm
Many thanks for helping with this study.
Contact details: [email protected]
University of Bolton UK( http://www.bolton.ac.uk)
Project web site (Under construction http://www.integrationsolutions.co.uk
).the only problems i could find is...
1. sensors and display unit may vary...
2. each measurement should displayn their hi and low values which can b considered as a common function...
3. the display should vary according to user's request
this is the scenario...
could you help me to find the real problems and to apply patterns
Weather Monitoring Station
This system must provide automatic monitoring of various weather conditions. The system will have sensors to measure:
Wind speed
Wind direction
Temperature
Barometric pressure
Humidity
The system must also provide the following derived measurements.
Wind chill(derived from temperature, wind speed and humidity).
Dew point temperature(derived from temperature and humidity)
Temperature trend(derived from recent temperature readings)
Barometric pressure trend(derived from recent pressure readings)
The user can request the system to report the highest and lowest values of any of the four primary measurements during the previous 24 hour period.
The user has a screen display that continuously indicates all nine primary and derived measurements, as well as the current time and date.
The user may direct the system to display the 24 hour maximum or minimum values of one primary measurement, together with the time of that report value.
The user will be able to calibrate the sensors against known values and to set the current time and date. -
Java Program with Adapter / Facade Pattern
Hey All:
I'm very new to the Java language and have been given a fairly complicated (to me) program to do for a course I'm taking. The following is the scenario. I'll post code examples I have and any help will be greatly appreciated. Let me apologize ahead of time for all the code involved and say thank you in advance :).
The program is the follow the following logic:
Organizations A's Client (Org_A_Client.java) uses Organization A's interface (Org_A_Interface.java) but we want A's Client to also be able to use Organization B's services as well (Org_B_FileAuthorMgr.java, Org_B_FileDateMgr.java, Org_B_FileIOMgr.java).
Now a portion of this program also involves validating an xml file to it's dtd, extracting information from that source xml file through the use of a XMLTransformation file, and applying the transformation to produce a targetxml file which is then validated against a target DTD. (I've done this portion as I have a much better understanding of XML).
At this point we have been given the following java classes:
Org_A_Client.java
package project4;
/* This class is the Organization A Client.
It reads a source xml file as input and it invokes methods defined in the
Org_A_Doc_Interface Interface on a class that implements that interface */
import java.io.*;
import java.util.Scanner;
public class Org_A_Client {
// Define a document object of type Org_A_Doc_Interface
private Org_A_Doc_Interface document;
// The Org_A_Client constructor
public Org_A_Client() {
// Instanciate the document object with a class that implements the
// Org_A_Doc_Interface
this.document = new Adapter();
// The Main Method
public static void main(String Args[]) {
// Instanciate a Client Object
Org_A_Client client = new Org_A_Client();
// Create a string to store user input
String inputFile = null;
System.out.print("Input file name: ");
// Read the Source xml file name provided as a command line argument
Scanner scanner = new Scanner(System.in);
inputFile = scanner.next();
// Create a string to store user input
String fileID = null;
System.out.print("Input file ID: ");
// Read the Source xml file name provided as a command line argument
fileID = scanner.next();
//Convert the String fileID to an integer value
int intFileID = Integer.parseInt(fileID);
if (inputFile != null && !inputFile.equals("")) {
// Create and empty string to store the source xml file
String file = "";
try {
// Open the file
FileInputStream fstream = new FileInputStream(inputFile);
// Convert our input stream to a
// BufferedReader
BufferedReader d = new BufferedReader(new InputStreamReader(
fstream));
// Continue to read lines while
// there are still some left to read
String temp = "";
while ((temp = d.readLine()) != null) {
// Add file contents to a String
file = file + temp;
d.close();
// The Client Calls the archiveDoc Method on the Org_A_Document
// object
if (!file.equals("")) {
client.document.archiveDoc(file, intFileID);
} catch (Exception e) {
System.err.println("File input error");
} else
System.out.println("Error: Invalid Input");
Org_A_Doc_Interface.java
package project4;
/* This class is the Standard Organization A Document Interface.
* It defines various methods that any XML document object
* in Organization A should understand
public interface Org_A_Doc_Interface {
void archiveDoc(String XMLSourceDoc, int fileID);
String getDoc(int fileID);
String getDocDate(int fileID);
void setDocDate(String date, int fileID);
String[] getDocAuthors(int fileID);
void setDocAuthor(String authorname, int position, int fileID);
Org_B_FileAuthorMgr.java
package project4;
public class Org_B_FileAuthorMgr {
// This function returns the list of file authors for the file that matches
// the given fileID. For the purpose of the assignment we have not
// provided any implementation
public String[] getFileAuthors(String fileID) {
// Since we do not have any implementation, we just return a
// null String array of size 2
return new String[2];
// This function sets the authorname at a given position for the file that
// matches the given fileID.
// For the purpose of the assignment we have not provided any
// implementation
public void setFileAuthor(String authorname, int position, String fileID) {
Org_B_FileDateMgr.java
package project4;
public class Org_B_FileDateMgr {
// This function returns the creation date for the file that matches
// the given fileID. For the puprposes of the assignment we have not
// provided any implementation but only return a date string.
String getFileDate(String fileID) {
return "1st Nov 2007";
// This function sets the creation datefor the file that
// matches the given fileID.
// For the puprposes of the assignment we have not provided any
// implementation
void setFileDate(String date, String fileID) {
Org_B_FileIOMgr.java
package project4;
import java.io.*;
public class Org_B_FileIOMgr {
// This class variable stores the file location for all files
private String fileLocation;
// This function stores the given String of XMLTargetFile at the
// fileLocation which is set using the setFileLocation method
boolean storeFile(String XMLTargetFile, String fileID) {
if (this.fileLocation != null) {
FileOutputStream out; // declare a file output object
PrintStream p; // declare a print stream object
try {
// Create a new file output stream
// connected to "myfile.txt"
out = new FileOutputStream(fileLocation);
// Connect print stream to the output stream
p = new PrintStream(out);
p.println(XMLTargetFile);
p.close();
System.out.println("MSG from Org_B_FileIOMgr: Target File Successfully Saved with ID " + fileID);
} catch (Exception e) {
System.err.println("Error writing to file");
return false;
return true;
System.out.println("MSG from Org_B_FileIOMgr: Please set the File Location before storing a file");
return false;
// This function sets the fileLocation where the file will be stored for
// archive
void setFileLocation(String fileLocation) {
this.fileLocation = fileLocation;
// This function retreives the file that matches the given fileID and
// returns its contents as a string
// Only for the puprposes of the assignment we have not provided any
// implementation
String retrieveFile(String fileID) {
return "This is the retreived file";
}Also, we've been given the following two classes which I believe are used to help with the xml transformation using SAX (I've done alot of research regarding parsing XML using SAX/DOM so I understand how it works, but I'm really struggling with the integration...)
FileDetailsProvider.java
package project4;
/* This is the FileDetailsProvider Class which implements the Singleton design pattern.
The class can be used in the following manner:
// Declare a object of the class type
FileDetailsProvider fp;
// Get the single instance of this class by calling the getInstance static method
fp= FileDetailsProvider.getInstance();
// Initialize the class with providing it the file name of our configuration XML file
fp.loadConfigFile("C:\\assignment4\\XMLTransformerConfig.xml");
import java.io.File;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
public class FileDetailsProvider {
private InputHandler handler;
private SAXParserFactory factory;
private SAXParser saxParser;
private final static FileDetailsProvider INSTANCE = new FileDetailsProvider();
// Private constructor suppresses generation of a (public) default
// constructor
private FileDetailsProvider() {
// Create the content handler
handler = new InputHandler();
// Use the default (non-validating) parser
factory = SAXParserFactory.newInstance();
// Validate the XML as it is parsed by the SAX Parser: only works
// for dtd's
factory.setValidating(true);
try {
saxParser = factory.newSAXParser();
} catch (Throwable t) {
t.printStackTrace();
System.exit(0);
// This is the public static method that returns a single instance of the
// class everytime it is invoked
public static FileDetailsProvider getInstance() {
return INSTANCE;
// After instantiation this method needs to be called to load the XMLTransformer Configuration xml
// file that includes the xsl file details needed
// for our assignment
public void loadConfigFile(String configFile) {
try {
INSTANCE.saxParser.parse(new File(configFile), INSTANCE.handler);
} catch (Throwable t) {
t.printStackTrace();
// Exceptions thrown if validation fails or file not found
System.out.println();
System.out.println("C:\\Documents and Settings\\Jig\\Desktop\\Project 4\\Project4\\Transform.xsl");
System.exit(0);
// This method return the xsl file name
public String getXslfileName() {
return handler.getXslfileName();
// This method returns the xsl file location
public String getXslfileLocation() {
return handler.getXslfileLocation();
InputHandler.java
package project4;
/* This class is used by the FileDetailsProvider Class to read the XMLTranformerConfig xml
* file using a SAX parser which is a event based parser
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException;
import org.xml.sax.helpers.DefaultHandler;
public class InputHandler extends DefaultHandler {
private String xslfileName = "";
private String xslfileLocation = "";
int fileName = 0, fileLoc = 0, DTDUrl = 0;
boolean endOfFile = false;
public InputHandler() {
// Start XML Document Event
public void startDocument() throws SAXException {
super.startDocument();
// End XML Document Event
public void endDocument() throws SAXException {
super.endDocument();
// display();
public void display() {
System.out.println(xslfileName);
System.out.println(xslfileLocation);
public void startElement(String uri, String localName, String qName,
Attributes attributes) throws SAXException {
String eName = localName; // element name
if ("".equals(eName))
eName = qName; // not namespace-aware
if (eName.equals("File Name:")) {
fileName++;
} else if (eName.equals("File Location:")) {
fileLoc++;
public void endElement(String uri, String localName, String qName)
throws SAXException {
String eName = localName; // element name
if ("".equals(eName))
eName = qName; // not namespace-aware
public void characters(char ch[], int start, int length)
throws SAXException {
String str = new String(ch, start, length);
// Getting the Transform File Location
if (fileLoc == 1 && xslfileLocation.equals("C:\\Documents and Settings\\Jig\\Desktop\\Project 4\\Project4\\")) {
xslfileLocation = str;
// Getting the Transform File Name
if (fileName == 1 && xslfileName.equals("Transform.xsl")) {
xslfileName = str;
public void processingInstruction(String target, String data)
throws SAXException {
// treat validation errors as fatal
public void error(SAXParseException e) throws SAXParseException {
throw e;
// This method return the xsl file name
public String getXslfileName() {
return xslfileName;
// This method returns the xsl file location
public String getXslfileLocation() {
return xslfileLocation;
}I need to do the following:
1. Create an adapter class and a facade class that allows Client A through the use of Organization's A interface to to use Organization B's services.
2. Validate the Source XML against its DTD
3. Extract information regarding the XSL file from the given XMLTransformerConfig xml file
4. Apply the XSL Transformation to the source XML file to produce the target XML
5. Validate the Target XML against its DTD
Now I'm not asking for a free handout with this program completed as I really want to learn how to do a program like this, but I really don't have ANY prior java experience other than creating basic classes and methods. I don't know how to bring the whole program together in order to make it all work, so any guidance for making this work would be greatly appreciated.
I've researched over 100 links on the web and found alot of useful information on adapter patterns with java and facade patterns, as well as SAX/DOM examples for parsing xml documents and validation of the DTD, but I can't find anything that ties this all together. Your help will be saving my grade...I hope :). Thanks so much for reading this.No one has anything to add for working on this project? I could really use some help, especially for creating the code for the adapter/facade pattern classes.
Maybe you are looking for
-
Benefit cost reporting in ad hoc query
Is it possible to use ad hoc query to report on future dated benefit cost changes? I have tried several different ways but have not been successful. I tried changing the date of the reporting period to match that of the effective date for the benefi
-
How to activate Server 2012 Datacenter VMs using a DreamSpark retail key?
Hello, I got a Windows Server 2012 Datacenter Retail key, and I was wondering how I should activate my virtual machines in order to have them recognize that they are in fact, virtual machines and that I should get unlimited activations. From what I'v
-
- I want to create a form that adds up the sume of 5 (yes, no, or NA questions) with each Y answer worth a value of 3 and N worth a value of 0. Easy enough but here is the kicker, if any of the 5 questions are answered N then the total must be 0.
-
My task bar in my iphone 5 does not indicate call forwarding (verizon is my carrier
my iphone 5 does not show call forwarding in task bar (verizon is my carrier
-
How to sync iphone 5 to macbook air
i'm on wifi and just updated my iphone 5 contacts. I tried to sync with my macbook air but it isn't working. Any advice?