Creating Class Instances from Strings
Folks,
I have a class called Employee. I would like to create instances of this class based on the user input in certain JTextFields in a form. For instance, if the user inputs First Name = John and Last Name = Doe, then the instance John_Doe of the Employee Class is created. I played w/ newInstance() and Class.forName() but can't seem to get that working. Does this require reflection? I just need someone to point me in the right direction.
Thanks,
steve
Dear jverd (and walken),
Thanks for your note. I'm sorry, I don't really
understand what you mean by "is the class determined
at runtime or just the parameters?"It sounds like walker answered your immediate questions, but just to clear up this (which I guess I didn't state very clearly), what I meant was, will you sometimes be creating an Employee, and sometimes some other class, or will it only be the employee's name, etc., that's different for each one you create?
If, at the time you're writing your code, you know which class you're creating, then you don't need reflection. You just do new WhateverTheClassIs() (possibly passing parameters, such as names, to the constructor.
On the other hand, if the class to be instantiated will be determined at runtime--maybe you prompt the user for which class, and he enters "Employee"--then you need to use reflection.
You shouldn't need to worry about reflection for a while. Get the fundamentals of the language solidly under your belt before you tackle that. Good luck! :-)
Similar Messages
-
Create Class objects from an Array of File Objects
Hi There,
I'm having extreme difficulty in trying to convert an array of file objects to Class objects. My problem is as follows: I'm using Jfilechooser to select a directory and get an array of files of which are all .class files. I want to create Class objects from these .class files. Therefore, i can extract all the constructor, method and field information. I eventually want this class information to display in a JTree. Very similar to the explorer used in Netbeans. I've already created some code below, but it seems to be throwing a NoSuchMethodError exception. Can anyone please help??
Thanks in advance,
Vikash
/* the following is the class im using */
class FileClassLoader extends ClassLoader {
private File file;
public FileClassLoader (File ff) {
this.file = ff;
protected synchronized Class loadClass() throws ClassNotFoundException {
Class c = null;
try {
// Get size of class file
int size = (int)file.length();
// Reserve space to read
byte buff[] = new byte[size];
// Get stream to read from
FileInputStream fis = new FileInputStream(file);
DataInputStream dis = new DataInputStream (fis);
// Read in data
dis.readFully (buff);
// close stream
dis.close();
// get class name and remove ".class"
String classname = null;
String filename = file.getName();
int i = filename.lastIndexOf('.');
if(i>0 && i<filename.length()-1) {
classname = filename.substring(0,i);
// create class object from bytes
c = defineClass (classname, buff, 0, buff.length);
resolveClass (c);
} catch (java.io.IOException e) {
e.printStackTrace();
return c;
} // end of method loadClass
} // end of class FileClassLoader
/* The above class is used in the following button action in my gui */
/* At the moment im trying to output the data to standard output */
private void SelectPackage_but2ActionPerformed(java.awt.event.ActionEvent evt) {
final JFileChooser f = new JFileChooser();
f.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
int rVal = f.showOpenDialog(Remedy.this);
// selects directory
File dir = f.getSelectedFile();
// gets a list of files within the directory
File[] allfiles = dir.listFiles();
// for loop to filter out all the .class files
for (int k=0; k < allfiles.length; k++) {
if (allfiles[k].getName().endsWith(".class")) {
try {
System.out.println("File name: " + allfiles[k].getName()); // used for debugging
FileClassLoader loader = new FileClassLoader(allfiles[k]);
Class cl = loader.loadClass();
//Class cl = null;
Class[] interfaces = cl.getInterfaces();
java.lang.reflect.Method[] methods = cl.getDeclaredMethods();
java.lang.reflect.Field[] fields = cl.getDeclaredFields();
System.out.println("Class Name: " + cl.getName());
//print out methods
for (int m=0; m < methods.length; m++) {
System.out.println("Method: " + methods[m].getName());
// print out fields
for (int fld=0; fld < fields.length; fld++) {
System.out.println("Field: " + fields[fld].getName());
} catch (Exception e) {
e.printStackTrace();
} // end of if loop
} // end of for loop
packageName2.setText(dir.getPath());
}It's throwing the exeption on the line:
FileClassLoader loader = new FileClassLoader(allfiles[k]);
I'm sure its something to do with the extended class i've created. but i cant seem to figure it out..
Thanks if you can figure it out -
WebProcess: ERROR: unable to create a URL from string
This began after Mountain Lion 10.8.4 / Safari 6.0.5 was downloaded from the AppStore.
3500 of 4000 All Messages Log entries inside 15 minutes.
6/17/13 3:54:15.033 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:15.035 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:21.962 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:21.964 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:22.305 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:22.307 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:22.579 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:22.581 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:22.742 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:22.744 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:23.005 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:23.007 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:23.304 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:23.306 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:24.386 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:24.388 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:24.589 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:24.591 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:31.438 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:31.440 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:34.204 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:34.206 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:39.049 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:39.051 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:39.244 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:39.246 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:44.635 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:44.637 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:46.641 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:46.643 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:46.673 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:46.674 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:53.530 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:54:53.532 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:13.269 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:13.270 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:13.299 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:13.300 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:17.699 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:17.700 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:21.010 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:21.011 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:22.164 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:22.165 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:22.302 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:22.303 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:22.477 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:22.479 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:25.956 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:25.958 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:28.727 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:28.728 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:28.930 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:28.931 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:28.962 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:28.964 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:28.985 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:28.987 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:39.323 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:39.325 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:43.360 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:43.362 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:47.669 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:47.670 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:47.850 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:47.852 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:47.976 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:47.978 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:50.438 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:50.439 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:54.282 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:54.284 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:54.381 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:54.383 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:54.590 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:54.591 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:54.613 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:54.614 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:54.747 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:54.748 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:54.811 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:54.813 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:55.017 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:55:55.019 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:56:01.001 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:56:01.003 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:56:01.024 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:56:01.026 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:56:01.225 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:56:01.227 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:56:01.361 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:56:01.363 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:56:33.472 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:56:33.474 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:56:39.406 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:56:39.408 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:57:15.288 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:57:15.290 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:57:23.351 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:57:23.353 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:57:39.227 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:57:39.229 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:57:50.040 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:57:50.042 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:02.542 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:02.544 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:04.666 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:04.668 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:11.274 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:11.276 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:11.589 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:11.590 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:11.697 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:11.699 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:13.619 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:13.621 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:14.185 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:14.187 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:17.830 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:17.832 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:18.017 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:18.019 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:35.139 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:35.141 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:35.594 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:35.596 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:35.900 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:35.901 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:36.065 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:36.066 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:39.316 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:39.318 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:41.602 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:41.603 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:42.006 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:42.007 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:42.167 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:42.169 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:42.419 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:42.421 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:42.482 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:42.483 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:51.113 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:51.115 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:52.161 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:52.163 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:52.338 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:52.339 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:59.407 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:58:59.409 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:03.387 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:03.389 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:15.129 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:15.131 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:18.731 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:18.733 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:21.408 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:21.409 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:22.770 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:22.772 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:23.019 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:23.021 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:24.284 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:24.285 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:24.794 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:24.796 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:25.053 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:25.054 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:25.114 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:25.115 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:25.150 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:25.152 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:25.170 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:25.172 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:25.214 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:25.216 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:25.303 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:25.305 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:27.635 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:27.637 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:28.134 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:28.136 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:34.471 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:34.473 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:36.545 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:36.547 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:36.565 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:36.567 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:39.323 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:39.324 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:39.651 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:39.653 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:46.320 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:46.322 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:46.721 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:46.722 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:46.883 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:46.885 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:48.914 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:48.916 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:49.319 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:49.320 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:49.489 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:49.491 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:49.780 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:49.781 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:52.148 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:52.150 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:53.450 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 3:59:53.451 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:04.697 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:04.698 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:12.158 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:12.160 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:13.016 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:13.018 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:13.877 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:13.879 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:14.199 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:14.201 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:14.271 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:14.273 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:14.292 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:14.293 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:14.312 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:14.314 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:14.333 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:14.335 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:14.472 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:14.473 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:16.410 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:16.412 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:19.741 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:19.742 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:23.584 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:23.586 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:25.945 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:25.947 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:27.089 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:27.090 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:27.377 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:27.378 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:27.397 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:27.398 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:28.645 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:28.647 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:28.954 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:28.956 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:29.255 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:29.256 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:29.278 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:29.280 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:29.315 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:29.317 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:29.403 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:29.404 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:39.182 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:39.184 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:40.942 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:40.943 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:43.381 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:43.383 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:49.165 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:49.167 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:51.692 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:51.694 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:52.094 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:52.096 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:52.363 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:52.364 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:52.603 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:52.604 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:54.907 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:54.909 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:55.298 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:55.299 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:55.464 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:55.466 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:55.611 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:55.612 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:55.800 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:55.801 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:56.458 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:56.459 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:58.397 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:00:58.399 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:01.043 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:01.045 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:01.067 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:01.069 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:06.315 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:06.317 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:12.501 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:12.502 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:20.350 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:20.351 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:23.576 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:23.578 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:24.852 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:24.854 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:25.137 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:25.139 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:26.930 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:26.931 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:27.204 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:27.205 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:28.087 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:28.088 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:28.268 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:28.270 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:28.333 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:28.335 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:28.551 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:28.552 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:32.307 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:32.309 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:32.579 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:32.581 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:33.336 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:33.338 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:33.491 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:33.493 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:33.910 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:33.911 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:34.078 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:34.080 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:34.385 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:34.387 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:38.075 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:38.077 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:39.172 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:39.173 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:42.077 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:42.079 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:42.119 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:42.121 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:45.071 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:45.073 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:45.369 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:45.370 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:45.458 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:45.459 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:45.512 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:45.513 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:45.538 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:45.540 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:45.578 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:45.580 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:46.389 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:46.390 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:48.900 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:48.901 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:49.199 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:49.201 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:49.305 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:49.307 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:50.272 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:50.274 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:50.548 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:50.550 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:50.579 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:50.581 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:50.619 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:50.621 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:56.462 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:01:56.464 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:06.115 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:06.117 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:06.411 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:06.413 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:06.491 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:06.493 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:07.651 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:07.653 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:12.650 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:12.652 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:23.476 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:23.477 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:25.162 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:25.164 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:25.314 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:25.316 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:25.410 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:25.412 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:25.571 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:25.572 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:26.393 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:26.395 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:26.419 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:26.421 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:26.439 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:26.441 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:26.513 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:26.514 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:26.533 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:26.534 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:26.559 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:26.560 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:34.926 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:34.927 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:35.237 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:35.239 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:35.292 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:35.294 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:36.359 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:36.361 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:40.474 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:40.476 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:46.401 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:46.402 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:49.932 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:49.934 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:57.365 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:57.367 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:57.662 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:57.663 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:57.723 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:57.725 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:57.978 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:57.980 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:59.605 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:59.607 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:59.625 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:59.627 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:59.653 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:59.655 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:59.758 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:02:59.760 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:03:02.856 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:03:02.858 PM WebProcess[900]: ERROR: unable to create a URL from string.
6/17/13 4:03:03.198 PM WebProcess[900]: ERROR: unable to create a URL from striHEY LINC DAVIS,
IT'S A GOOD THING I BOOKMARKED YOUR HELP THE FIRST TIME FOR 'REPORT CRASH'. IT WORKED AGAIN. AND THIS TIME IS NOT THE FIRST THAT I'VE GONE BACK TO THE BOOKMARK .... ABOUT THE THIRD OR FOURTH.
TODAY, I HAD A SOFTWARE UPDATE FOR 'NIKON VIEW NX 2'.
IT'S STRANGE THAT SOMETHING COULD GET IN THRU THE FIREWALL SETTINGS.
Mvc
===========================================================
Process: PluginProcess [537]
Path: /System/Library/PrivateFrameworks/WebKit2.framework/PluginProcess.app/Contents/ MacOS/PluginProcess
Identifier: com.apple.WebKit.PluginProcess
Version: 8536 (8536.30.1)
Build Info: WebKit2-7536030001000000~9
Code Type: X86 (Native)
Parent Process: Safari [474]
User ID: 501
PlugIn Path: /Users/USER/Library/Internet Plug-Ins/npBcsMcTcIO.plugin/Contents/MacOS/npBcsMcTcIO
PlugIn Identifier: org.mozilla.basicPlugin
PlugIn Version: ??? (1.0)
Date/Time: 2013-06-21 09:13:34.760 -0400
OS Version: Mac OS X 10.8.4 (12E55)
Report Version: 10
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
*** CFRelease() called with NULL ***
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x98ddd2a0 CFRelease + 48
1 org.mozilla.basicPlugin 0x03dd34b4 NP_Shutdown + 60
2 com.apple.WebKit2 0x001b6066 WebKit::NetscapePluginModule::shutdown() + 14
3 com.apple.WebKit2 0x001b5f27 WebKit::NetscapePluginModule::decrementLoadCount() + 27
4 com.apple.WebKit2 0x001b5e10 WebKit::NetscapePluginModule::sitesWithData() + 76
5 com.apple.WebKit2 0x001ceddd WebKit::PluginProcess::getSitesWithData(unsigned long long) + 67
6 com.apple.WebKit2 0x001d22fc void CoreIPC::callMemberFunction<WebKit::PluginProcess, void (WebKit::PluginProcess::*)(unsigned long long), unsigned long long>(CoreIPC::Arguments1<unsigned long long> const&, WebKit::PluginProcess*, void (WebKit::PluginProcess::*)(unsigned long long)) + 48
7 com.apple.WebKit2 0x001d2174 void CoreIPC::handleMessage<Messages::PluginProcess::GetSitesWithData, WebKit::PluginProcess, void (WebKit::PluginProcess::*)(unsigned long long)>(CoreIPC::ArgumentDecoder*, WebKit::PluginProcess*, void (WebKit::PluginProcess::*)(unsigned long long)) + 69
8 com.apple.WebKit2 0x001d2051 WebKit::PluginProcess::didReceivePluginProcessMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) + 161
9 com.apple.WebKit2 0x001cec40 WebKit::PluginProcess::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) + 44
10 com.apple.WebKit2 0x0014fbc6 CoreIPC::Connection::dispatchMessage(CoreIPC::Connection::Message<CoreIPC::Argu mentDecoder>&) + 190
11 com.apple.WebKit2 0x00194054 CoreIPC::Connection::dispatchOneMessage() + 122
12 com.apple.WebKit2 0x001949b7 ***::FunctionWrapper<void (CoreIPC::Connection::*)()>::operator()(CoreIPC::Connection*) + 33
13 com.apple.WebKit2 0x00194991 ***::BoundFunctionImpl<***::FunctionWrapper<void (CoreIPC::Connection::*)()>, void (CoreIPC::Connection*)>::operator()() + 27
14 com.apple.WebCore 0x00e72cc2 WebCore::RunLoop::performWork() + 322
15 com.apple.WebCore 0x00e73313 WebCore::RunLoop::performWork(void*) + 83
16 com.apple.CoreFoundation 0x98de604f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
17 com.apple.CoreFoundation 0x98de5a79 __CFRunLoopDoSources0 + 233
18 com.apple.CoreFoundation 0x98e0b826 __CFRunLoopRun + 934
19 com.apple.CoreFoundation 0x98e0b01a CFRunLoopRunSpecific + 378
20 com.apple.CoreFoundation 0x98e0ae8b CFRunLoopRunInMode + 123
21 com.apple.HIToolbox 0x90cf9f5a RunCurrentEventLoopInMode + 242
22 com.apple.HIToolbox 0x90cf9bf5 ReceiveNextEventCommon + 162
23 com.apple.HIToolbox 0x90cf9b44 BlockUntilNextEventMatchingListInMode + 88
24 com.apple.AppKit 0x931d793a _DPSNextEvent + 724
25 com.apple.AppKit 0x931d716c -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119
26 com.apple.AppKit 0x931cd5cc -[NSApplication run] + 855
27 com.apple.WebCore 0x00e733c8 WebCore::RunLoop::run() + 136
28 com.apple.WebKit2 0x001d1c19 WebKit::PluginProcessMain(WebKit::CommandLine const&) + 878
29 com.apple.WebKit2 0x0020ea41 WebKitMain + 323
30 com.apple.WebKit.PluginProcess 0x000d9ece 0xd9000 + 3790
31 libdyld.dylib 0x966e3725 start + 1
Thread 1:
0 libsystem_kernel.dylib 0x97c740ee __workq_kernreturn + 10
1 libsystem_c.dylib 0x9610f0ac _pthread_workq_return + 45
2 libsystem_c.dylib 0x9610ee79 _pthread_wqthread + 448
3 libsystem_c.dylib 0x960f6d2a start_wqthread + 30
Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x97c749ae kevent + 10
1 libdispatch.dylib 0x9779cc71 _dispatch_mgr_invoke + 993
2 libdispatch.dylib 0x9779c7a9 _dispatch_mgr_thread + 53
Thread 3:
0 libsystem_kernel.dylib 0x97c740ee __workq_kernreturn + 10
1 libsystem_c.dylib 0x9610f0ac _pthread_workq_return + 45
2 libsystem_c.dylib 0x9610ee79 _pthread_wqthread + 448
3 libsystem_c.dylib 0x960f6d2a start_wqthread + 30
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0xaccb6238 ebx: 0x03dd3481 ecx: 0x98f8087b edx: 0x00005800
edi: 0x98ddd27e esi: 0x00000000 ebp: 0xbff26198 esp: 0xbff26140
ss: 0x00000023 efl: 0x00000246 eip: 0x98ddd2a0 cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x03dd0ed8
Logical CPU: 2
Binary Images:
0xd9000 - 0xd9fff com.apple.WebKit.PluginProcess (8536 - 8536.30.1) <751307E3-D642-36B4-A1F0-D8F362CC9966> /System/Library/PrivateFrameworks/WebKit2.framework/PluginProcess.app/Contents/ MacOS/PluginProcess
0xe0000 - 0xe2ffd PluginProcessShim.dylib (7536.30.1) <5DC177F7-A59D-3521-AAEB-44209AD7437C> /System/Library/PrivateFrameworks/WebKit2.framework/PluginProcess.app/Contents/ MacOS/PluginProcessShim.dylib
0x13a000 - 0x2aaffb com.apple.WebKit2 (8536 - 8536.30.1) <E9834D0B-FE55-3364-87D8-148162D063F0> /System/Library/PrivateFrameworks/WebKit2.framework/WebKit2
0x3fd000 - 0x1092ff3 com.apple.WebCore (8536 - 8536.30.2) <D644997F-5F1A-34B4-AF32-DD427E9043E2> /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
0x2bbb000 - 0x2bc8ff3 com.apple.Librarian (1.1 - 1) <68F8F983-5F16-3BA5-BDA7-1A5451CC02BB> /System/Library/PrivateFrameworks/Librarian.framework/Versions/A/Librarian
0x3dcf000 - 0x3ff2fef +org.mozilla.basicPlugin (1.0) <EAD91E24-C3D5-B18A-8CBB-660D376DC787> /Users/USER/Library/Internet Plug-Ins/npBcsMcTcIO.plugin/Contents/MacOS/npBcsMcTcIO
0x4143000 - 0x4262ffb com.apple.WebKit (8536 - 8536.30.1) <4A5E9136-681F-3AB1-AD69-B59F2B9126E7> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
0x4313000 - 0x43d1ff3 ColorSyncDeprecated.dylib (400) <35E3054C-5DF1-30D4-A368-C4FDB0992373> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/Resources/ColorSyncDeprecated.dylib
0x8fed8000 - 0x8ff0ae57 dyld (210.2.3) <23DBDBB1-1D21-342C-AC2A-0E55F27E6A1F> /usr/lib/dyld
0x90007000 - 0x90008fff libsystem_sandbox.dylib (220.3) <C532F6A6-7E85-38F3-8660-EC1066DF67BE> /usr/lib/system/libsystem_sandbox.dylib
0x90009000 - 0x90010ffe com.apple.agl (3.2.1 - AGL-3.2.1) <D0A9B878-7F1F-3210-B6AF-91D2DBEFF21B> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x90046000 - 0x90052ff7 com.apple.NetAuth (4.0 - 4.0) <4983C4B8-9D95-3C4D-897E-07743326487E> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
0x90053000 - 0x90470fff FaceCoreLight (2.4.1) <B12C8721-EFB3-30A2-9A1B-ABCDF5670764> /System/Library/PrivateFrameworks/FaceCoreLight.framework/Versions/A/FaceCoreLi ght
0x90471000 - 0x904d9fe7 libvDSP.dylib (380.6) <55780308-4DCA-3B10-9703-EAFC3E13A3FA> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x90522000 - 0x9052afff libcopyfile.dylib (89) <4963541B-0254-371B-B29A-B6806888949B> /usr/lib/system/libcopyfile.dylib
0x90557000 - 0x90599ff7 libcups.2.dylib (327.6) <D994A44F-CCDD-3D40-B732-79CB88F45908> /usr/lib/libcups.2.dylib
0x9059a000 - 0x9059bffd com.apple.TrustEvaluationAgent (2.0 - 23) <E42347C0-2D3C-36A4-9200-757FFA61B388> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/Tru stEvaluationAgent
0x9059c000 - 0x9059dfff libremovefile.dylib (23.2) <9813B2DB-2374-3AA2-99B6-AA2E9897B249> /usr/lib/system/libremovefile.dylib
0x9059e000 - 0x905a7fff com.apple.DiskArbitration (2.5.2 - 2.5.2) <89822A83-B450-3363-8E9C-9B80CB4450B1> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x905a8000 - 0x90652fff com.apple.LaunchServices (539.9 - 539.9) <C0E0CFFF-3714-3467-87DA-4A6F0AF1953B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
0x90653000 - 0x90666ff9 com.apple.MultitouchSupport.framework (235.29 - 235.29) <451701B6-03CE-3F26-9FF0-92D8DA1467EE> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/Multit ouchSupport
0x90667000 - 0x9066affc libCoreVMClient.dylib (32.3) <35B63A60-DF0A-3FB3-ABB8-164B246A43CC> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClien t.dylib
0x9066b000 - 0x9066bfff com.apple.ApplicationServices (45 - 45) <677C4ACC-9D12-366F-8A87-B898AC806DD9> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x906a0000 - 0x906bdff7 libresolv.9.dylib (51) <B9742A2A-DF15-3F6E-8FCE-778A58214B3A> /usr/lib/libresolv.9.dylib
0x906be000 - 0x906e3ffb com.apple.framework.familycontrols (4.1 - 410) <B1755756-BEA2-3205-ADAA-68FCC32E60BD> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyCon trols
0x906e4000 - 0x906f9fff com.apple.ImageCapture (8.0 - 8.0) <B8BD421F-D5A9-3FB4-8E89-AD5CFC0D4030> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x9072a000 - 0x9073aff2 com.apple.LangAnalysis (1.7.0 - 1.7.0) <875363E7-6D02-3229-A9DD-E5A5568A7D61> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x9073b000 - 0x9073fffe libcache.dylib (57) <834FDCA7-FE3B-33CC-A12A-E11E202477EC> /usr/lib/system/libcache.dylib
0x909ae000 - 0x90b26ff5 com.apple.QuartzCore (1.8 - 304.3) <F2EFC117-CDC6-3252-A4A8-880965764385> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x90bc9000 - 0x90bc9fff com.apple.vecLib (3.8 - vecLib 3.8) <83160DD1-5614-3E34-80EB-97041016EF1F> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x90bca000 - 0x90c19ff6 libTIFF.dylib (850) <78E121A6-92A2-3120-883C-7AA3C2966F9C> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x90c66000 - 0x90c6afff com.apple.CommonPanels (1.2.5 - 94) <6B3E7E53-7708-3DA2-8C50-59C2B4735DE1> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x90c6b000 - 0x90c88fff libCRFSuite.dylib (33) <C9D72D0C-871A-39A2-8AFB-682D11AE7D0D> /usr/lib/libCRFSuite.dylib
0x90c89000 - 0x90c89fff com.apple.Accelerate.vecLib (3.8 - vecLib 3.8) <908B8D40-3FB5-3047-B482-3DF95025ECFC> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x90c8a000 - 0x90ca1fff com.apple.GenerationalStorage (1.1 - 132.3) <DD0AA3DB-376D-37F3-AC5B-17AC9B9E0A63> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/Gene rationalStorage
0x90ca2000 - 0x91085fff com.apple.HIToolbox (2.0 - 626.1) <ECC3F04F-C4B7-35BF-B10E-183B749DAB92> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x91086000 - 0x91094ff7 libz.1.dylib (43) <245F1B61-2276-3BBB-9891-99934116D833> /usr/lib/libz.1.dylib
0x91095000 - 0x910b4ff3 com.apple.Ubiquity (1.2 - 243.15) <E10A2937-D671-3D14-AF8D-BA25E601F458> /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity
0x910b5000 - 0x910f7fff libauto.dylib (185.4) <3098A75E-438E-3F18-BAAC-CD8F1CC7C2F7> /usr/lib/libauto.dylib
0x910f9000 - 0x9115afff com.apple.audio.CoreAudio (4.1.1 - 4.1.1) <A3B911DB-77DF-3037-A47A-634B08E5727D> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x9115b000 - 0x911bfff7 com.apple.datadetectorscore (4.1 - 269.3) <C11C2014-298E-3E2B-9F5D-02CCD3CA4AB3> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDe tectorsCore
0x911c0000 - 0x9127eff3 com.apple.ColorSync (4.8.0 - 4.8.0) <EFEDCB37-4F20-3CEC-A185-5D2976E11BAC> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x9128d000 - 0x91290fff com.apple.help (1.3.2 - 42) <AD7EB1F0-A068-3A2C-9D59-38E59CEC0D96> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x91291000 - 0x912a7fff com.apple.CFOpenDirectory (10.8 - 151.10) <3640B988-F915-3E0D-897C-CB04C95BA601> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpen Directory.framework/Versions/A/CFOpenDirectory
0x912a8000 - 0x912aafff com.apple.securityhi (4.0 - 55002) <79E3B880-3AB7-3BF3-9CDF-117A45599545> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x912d1000 - 0x912ddff8 libbz2.1.0.dylib (29) <7031A4C0-784A-3EAA-93DF-EA1F26CC9264> /usr/lib/libbz2.1.0.dylib
0x912de000 - 0x912dffff libDiagnosticMessagesClient.dylib (8) <39B3D25A-148A-3936-B800-0D393A00E64F> /usr/lib/libDiagnosticMessagesClient.dylib
0x912e0000 - 0x912eefff com.apple.opengl (1.8.9 - 1.8.9) <1872D2CD-00A8-30D1-8ECC-B663F4E4C530> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x912f1000 - 0x912f3ffd libCVMSPluginSupport.dylib (8.9.2) <D6D0BB75-42DA-3772-AB5E-CBD59B343393> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginS upport.dylib
0x913dc000 - 0x91428fff libcorecrypto.dylib (106.2) <20EBADBA-D6D6-36F0-AE80-168E9AF13DB6> /usr/lib/system/libcorecrypto.dylib
0x91429000 - 0x91682ff5 com.apple.JavaScriptCore (8536 - 8536.30) <24A2ACA7-6E51-30C6-B9AE-17A77E511735> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
0x91683000 - 0x91695fff libbsm.0.dylib (32) <DADD385E-FE53-3458-94FB-E316A6345108> /usr/lib/libbsm.0.dylib
0x91696000 - 0x918adfff com.apple.CoreData (106.1 - 407.7) <EC4B8297-8E01-3778-A8A4-E8747F91109D> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x918ae000 - 0x918ccff3 com.apple.openscripting (1.3.6 - 148.3) <F3422C02-5ACB-343A-987B-A2D58EA2F5A8> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x918e5000 - 0x918e5fff com.apple.CoreServices (57 - 57) <956C6C6D-A5DD-314F-9C57-4A61D41F30CE> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x918e6000 - 0x91919ffb com.apple.GSS (3.0 - 2.0) <9566A96D-C296-3ABD-A12A-E274C81C0B25> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x9191a000 - 0x91974fff com.apple.Symbolication (1.3 - 93) <A839CFC2-F870-3652-B353-15A55D88F88D> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolicat ion
0x91975000 - 0x91a49ff3 com.apple.backup.framework (1.4.3 - 1.4.3) <6EA22ED3-BA18-3A37-AE05-5D6FDA3F372F> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
0x91a4a000 - 0x91a4afff libsystem_blocks.dylib (59) <3A743C5D-CFA5-37D8-80A8-B6795A9DB04F> /usr/lib/system/libsystem_blocks.dylib
0x91a8e000 - 0x91a97ff9 com.apple.CommonAuth (3.0 - 2.0) <34C4768C-EF8D-3DBA-AFB7-09148C8672DB> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
0x91cc9000 - 0x91e52ff7 com.apple.vImage (6.0 - 6.0) <1D1F67FE-4F75-3689-BEF6-4A46C8039E70> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x91e53000 - 0x91e53fff com.apple.Cocoa (6.7 - 19) <354094F0-F36B-36F9-BF5F-FD60590FBEB9> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x92251000 - 0x922cdff3 com.apple.Metadata (10.7.0 - 707.11) <F9BB5BBE-69D0-3309-8280-2303EB1DC455> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x922ce000 - 0x922ceffd com.apple.audio.units.AudioUnit (1.9 - 1.9) <F7638E43-F885-372E-9DAE-24D0C21AA66E> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x922cf000 - 0x922d8ffd com.apple.audio.SoundManager (4.0 - 4.0) <ABC5FE40-B222-36EB-9905-5C8C4BFD8C87> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
0x922d9000 - 0x92370ff7 com.apple.ink.framework (10.8.2 - 150) <A9C3B735-7D5F-3D7D-AA70-2CC852D09CDE> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x92753000 - 0x92762fff libGL.dylib (8.9.2) <1082B9A5-9AA3-35D4-968B-3A3FE15B1ED7> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92763000 - 0x928b1ff3 com.apple.CFNetwork (596.4.3 - 596.4.3) <547BD138-E902-35F0-B6EC-41DD06794B22> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x928b2000 - 0x928b6fff com.apple.OpenDirectory (10.8 - 151.10) <A1858D81-086F-3BF5-87E3-9B70409FFDF6> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x928c1000 - 0x92906ff7 com.apple.NavigationServices (3.7 - 200) <F6531764-6E43-3AF3-ACDD-8A5551EF016A> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
0x92a18000 - 0x92a9dff7 com.apple.SearchKit (1.4.0 - 1.4.0) <454E950F-291C-3E95-8F35-05CA0AD6B327> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x92c8a000 - 0x92d25fff com.apple.CoreSymbolication (3.0 - 117) <2BBBE224-301D-3931-AEF2-DD967A6E9172> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSy mbolication
0x92d26000 - 0x92dd5ff7 com.apple.CoreText (260.0 - 275.16) <873ADCD9-D361-3753-A220-CDD289196AD8> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
0x92dd6000 - 0x92e31fff com.apple.htmlrendering (77 - 1.1.4) <5C0C669F-AE07-3983-B38F-EB829B5CE609> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
0x92e32000 - 0x92e32fff com.apple.Accelerate (1.8 - Accelerate 1.8) <4EC0548E-3A3F-310D-A366-47B51D5B6398> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x92ec9000 - 0x92f43ff3 com.apple.securityfoundation (6.0 - 55115.4) <8A3DA1FE-1985-3ECB-945A-6B1E853B4BDC> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
0x92f8a000 - 0x93073ff7 libxml2.2.dylib (22.3) <015A4FA6-5BB9-3F95-AFB8-B9281E22685B> /usr/lib/libxml2.2.dylib
0x93074000 - 0x93c30ff3 com.apple.AppKit (6.8 - 1187.39) <ACA24416-D910-39B8-9387-52A6C6A561F8> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x93d8f000 - 0x93d99fff libCSync.A.dylib (332) <86C5C84F-11EC-39C0-9FAC-A93FDEEC3117> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x93d9a000 - 0x93dcbfff com.apple.DictionaryServices (1.2 - 184.4) <A31BB2CE-6965-3610-8B11-EA26EC6D7EEA> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
0x94459000 - 0x9445afff libquarantine.dylib (52.1) <094A1501-373E-3397-B632-8F7C5AC8EFD5> /usr/lib/system/libquarantine.dylib
0x9445b000 - 0x94470fff com.apple.speech.synthesis.framework (4.1.12 - 4.1.12) <DE68CEB5-4959-3652-83B8-D2B00D3B932D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x94471000 - 0x944acfef libGLImage.dylib (8.9.2) <9D41F71E-E927-3767-A856-55480E20E9D9> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x944ad000 - 0x944b1ff7 libmacho.dylib (829) <5280A013-4F74-3F74-BE0C-7F612C49F1DC> /usr/lib/system/libmacho.dylib
0x944b2000 - 0x944d6fff libJPEG.dylib (850) <36FEAB05-86C5-33B9-9DE9-5FAD8AEBA15F> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x945ab000 - 0x945affff com.apple.IOSurface (86.0.4 - 86.0.4) <6431ACB6-561B-314F-9A2A-FAC1578FCC86> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x945bb000 - 0x949fdfff com.apple.CoreGraphics (1.600.0 - 332) <67E70F21-A0F1-356F-90B7-4B90C468EE2C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x949fe000 - 0x94a09fff libcommonCrypto.dylib (60027) <8EE30FA5-AA8D-3FA6-AB0F-05DA8B0425D9> /usr/lib/system/libcommonCrypto.dylib
0x94a0a000 - 0x94a37ffe libsystem_m.dylib (3022.6) <9975D9C3-3B71-38E3-AA21-C5C5F9D9C431> /usr/lib/system/libsystem_m.dylib
0x95080000 - 0x950c8ff5 com.apple.opencl (2.2.19 - 2.2.19) <968DD067-49D0-3B71-A96B-B3579698D992> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x9510a000 - 0x95137ffb com.apple.CoreServicesInternal (154.3 - 154.3) <A452602B-67CB-39C4-95EB-E59433C65774> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/Cor eServicesInternal
0x95138000 - 0x95192ffb com.apple.AE (645.6 - 645.6) <44556FF7-A869-399A-AEBB-F4E9263D9152> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
0x95193000 - 0x951fbff7 com.apple.framework.IOKit (2.0.1 - 755.24.1) <70DE925B-51E8-3C65-8928-FB49FD823D94> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x95206000 - 0x9521ffff com.apple.Kerberos (2.0 - 1) <9BDE8F4D-DBC3-34D1-852C-898D3655A611> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x95f5a000 - 0x95f61fff liblaunch.dylib (442.26.2) <310C99F8-0811-314D-9BB9-D0ED6DFA024B> /usr/lib/system/liblaunch.dylib
0x95f62000 - 0x9606dff7 libJP2.dylib (850) <3FFCEFA6-317A-34AF-8D99-AEBB017543C5> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x9606e000 - 0x96097ff7 libRIP.A.dylib (332) <521E60A6-A768-3CB8-B10D-D10EECD68A94> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x960ef000 - 0x960f5fff libGFXShared.dylib (8.9.2) <F3B0E66D-5C47-3A5A-A2CD-F0C58E8322C3> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.d ylib
0x960f6000 - 0x961b3feb libsystem_c.dylib (825.26) <6E35A83F-1A5B-3AF9-8C6D-D7B57B25FB63> /usr/lib/system/libsystem_c.dylib
0x96427000 - 0x96444fff libxpc.dylib (140.43) <C628073D-51A0-3541-A665-1121520508C6> /usr/lib/system/libxpc.dylib
0x96445000 - 0x9653dff9 libsqlite3.dylib (138.1) <AD7C5914-35F0-37A3-9238-A29D2E26C755> /usr/lib/libsqlite3.dylib
0x96540000 - 0x9658eff3 com.apple.SystemConfiguration (1.12.2 - 1.12.2) <15B4EFFC-22D1-3517-BE8C-7947DAA24729> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x9658f000 - 0x965e6ff7 com.apple.ScalableUserInterface (1.0 - 1) <2B5E454B-BC49-3E85-B54D-1950397C448C> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableU serInterface.framework/Versions/A/ScalableUserInterface
0x965e7000 - 0x96656ffb com.apple.Heimdal (3.0 - 2.0) <964D9952-B0F2-34F6-8265-1823C0D5EAB8> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
0x96657000 - 0x96677ffd com.apple.ChunkingLibrary (2.0 - 133.3) <FA45EAE8-BB10-3AEE-9FDC-C0C3A533FF48> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/Chunking Library
0x96678000 - 0x966dafff libc++.1.dylib (65.1) <C0CFF9FF-5D52-3EAE-B921-6AE1DA00A135> /usr/lib/libc++.1.dylib
0x966e1000 - 0x966e3fff libdyld.dylib (210.2.3) <05D6FF2A-F09B-309D-95F7-7AF10259C707> /usr/lib/system/libdyld.dylib
0x97119000 - 0x9717dff3 libstdc++.6.dylib (56) <F8FA490A-8F3C-3645-ABF5-78926CE9C62C> /usr/lib/libstdc++.6.dylib
0x9717e000 - 0x9717ffff liblangid.dylib (116) <E13CC8C5-5034-320A-A210-41A2BDE4F846> /usr/lib/liblangid.dylib
0x97180000 - 0x9718efff libxar.1.dylib (105) <343E4A3B-1D04-34A3-94C2-8C7C9A8F736B> /usr/lib/libxar.1.dylib
0x971c0000 - 0x97217ff3 com.apple.HIServices (1.20 - 417) <B8410ABC-E0DB-31EB-B923-17F3B65B5F4C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x97270000 - 0x9727afff libsystem_notify.dylib (98.5) <7EEE9475-18F8-3099-B0ED-23A3E528ABE0> /usr/lib/system/libsystem_notify.dylib
0x9727b000 - 0x973d4ffb com.apple.audio.toolbox.AudioToolbox (1.9 - 1.9) <8BF022FC-C38A-34AA-8469-D98294094659> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x973d5000 - 0x976f5ff3 com.apple.Foundation (6.8 - 945.18) <BDC56A93-45C5-3459-B307-65A1CCE702C5> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x97789000 - 0x97795ffa com.apple.CrashReporterSupport (10.8.3 - 418) <03BC564E-35FE-384E-87D6-6E0C55DF16E3> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/Cra shReporterSupport
0x97796000 - 0x97797fff libdnsinfo.dylib (453.19) <3B523729-84A8-3D0B-B58C-3FC185060E67> /usr/lib/system/libdnsinfo.dylib
0x97798000 - 0x977aaff7 libdispatch.dylib (228.23) <86EF7D45-2D97-3465-A449-95038AE5DABA> /usr/lib/system/libdispatch.dylib
0x977ab000 - 0x977acffd libunc.dylib (25) <58599CBF-E262-3CEA-AFE1-35560E0177DC> /usr/lib/system/libunc.dylib
0x97809000 - 0x97b0eff7 com.apple.CoreServices.CarbonCore (1037.6 - 1037.6) <4DB4B0C9-1377-3062-BE0E-CD3326ACDAF0> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x97b6c000 - 0x97c5dffc libiconv.2.dylib (34) <B096A9B7-83A6-31B3-8D2F-87D91910BF4C> /usr/lib/libiconv.2.dylib
0x97c5e000 - 0x97c5effd libOpenScriptingUtil.dylib (148.3) <87895E27-88E2-3249-8D0E-B17E76FB00C1> /usr/lib/libOpenScriptingUtil.dylib
0x97c5f000 - 0x97c79ffc libsystem_kernel.dylib (2050.24.15) <9E58DCC0-D5FF-37E1-AA7F-F2206719E138> /usr/lib/system/libsystem_kernel.dylib
0x97c7c000 - 0x97c80ffc libGIF.dylib (850) <45CD8B8F-7324-3187-B01C-8E16C04F33FA> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x97c81000 - 0x97d35fff com.apple.coreui (2.0 - 181.1) <C15ABF35-B7F5-34ED-A461-386DAF65D96B> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x97d36000 - 0x980eeffa libLAPACK.dylib (1073.4) <9A6E5EAD-F2F2-3D5C-B655-2B536DB477F2> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x980ef000 - 0x98181ffb libvMisc.dylib (380.6) <6DA3A03F-20BE-300D-A664-B50A7B4E4B1A> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x98182000 - 0x98182fff libkeymgr.dylib (25) <D5E93F7F-9315-3AD6-92C7-941F7B54C490> /usr/lib/system/libkeymgr.dylib
0x981de000 - 0x98202fff com.apple.PerformanceAnalysis (1.16 - 16) <18DE0F9F-1264-394D-AC56-6B2A1771DFBE> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/Perf ormanceAnalysis
0x98243000 - 0x982e3ff7 com.apple.QD (3.42.1 - 285.1) <BAAC13D2-1312-33C0-A255-FAB1D314C324> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x982e4000 - 0x98310ff7 libsystem_info.dylib (406.17) <AA5611DB-A944-3072-B6BE-ACAB08689547> /usr/lib/system/libsystem_info.dylib
0x98314000 - 0x98316ffb libRadiance.dylib (850) <83434287-A09E-3A3F-A1AC-085B563BA46D> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.d ylib
0x98690000 - 0x98728fff com.apple.CoreServices.OSServices (557.6 - 557.6) <8DEEED08-A4B3-3B08-8C2A-BDDBF005B43F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x988e2000 - 0x98907ff7 com.apple.CoreVideo (1.8 - 99.4) <A26DE896-32E0-3D5E-BA89-02AD23FA96B3> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x98908000 - 0x98a24ffb com.apple.desktopservices (1.7.4 - 1.7.4) <782D711D-7930-324A-9015-686C2F86DBA3> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x98a25000 - 0x98a25fff libSystem.B.dylib (169.3) <F479E729-89C7-3B4C-9731-678EB673A861> /usr/lib/libSystem.B.dylib
0x98a26000 - 0x98a32ffe libkxld.dylib (2050.24.15) <BEC097B0-9D9A-3484-99DB-0F537E71963E> /usr/lib/system/libkxld.dylib
0x98a33000 - 0x98a3cfff com.apple.CommerceCore (1.0 - 26.1) <8C28115C-6EC1-316D-9237-F4FBCBB778C5> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/C ommerceCore.framework/Versions/A/CommerceCore
0x98a3d000 - 0x98a43fff com.apple.print.framework.Print (8.0 - 258) <12AEAD24-6924-3923-9E4A-C5D21231E639> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x98a44000 - 0x98aaafff com.apple.print.framework.PrintCore (8.3 - 387.2) <0F7665F5-33F0-3661-9BE2-7DD2890E304B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x98ae3000 - 0x98aedfff com.apple.speech.recognition.framework (4.1.5 - 4.1.5) <B855E8B4-2EE3-3BFF-8547-98A0F084F9AF> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x98aee000 - 0x98d91ff3 com.apple.CoreImage (8.4.0 - 1.0.1) <C25B9EEC-4824-3088-BC08-2EA516C0728C> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage .framework/Versions/A/CoreImage
0x98d94000 - 0x98dd3ff7 com.apple.bom (12.0 - 192) <0637E52C-D151-37B3-904F-8656B2FD44DD> /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x98dd4000 - 0x98fbcffb com.apple.CoreFoundation (6.8 - 744.19) <DDD3AA21-5B5F-3D8F-B137-AD95FCA89064> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x98fbd000 - 0x98fc4fff libsystem_dnssd.dylib (379.38.1) <4F164CA8-4A4F-3B27-B88A-0926E2FEB7D4> /usr/lib/system/libsystem_dnssd.dylib
0x98fce000 - 0x98ff0fff libc++abi.dylib (26) <3AAA8D55-F5F6-362B-BA3C-CCAF0D3C8E27> /usr/lib/libc++abi.dylib
0x98ff1000 - 0x99033ffb com.apple.RemoteViewServices (2.0 - 80.6) <AE962502-4539-3893-A2EB-9D384652AEAC> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/Remot eViewServices
0x99086000 - 0x990a2fff libPng.dylib (850) <26AD967A-D55E-3C5A-A643-D9953136DE58> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x990a3000 - 0x990adffe com.apple.bsd.ServiceManagement (2.0 - 2.0) <9732BA61-D6F6-3644-82DA-FF0D6FEEFC69> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManage ment
0x990ae000 - 0x991bbff3 com.apple.ImageIO.framework (3.2.1 - 850) <C964E877-660E-3482-ACF9-EC25DFEAF307> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x99213000 - 0x9921aff3 com.apple.NetFS (5.0 - 4.0) <1F7041F2-4E97-368C-8F5D-24153D81BBDB> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x99251000 - 0x992c6ff7 com.apple.ApplicationServices.ATS (332 - 341.1) <BEE998BC-E4A5-3BA0-A6B5-31A1DFA1522C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x992ed000 - 0x993fa057 libobjc.A.dylib (532.2) <FA455371-7395-3D58-A89B-D1520612D1BC> /usr/lib/libobjc.A.dylib
0x993fb000 - 0x99677ff7 com.apple.QuickTime (7.7.1 - 2599.31) <D9571083-873B-3221-A7DF-23BAFC0F3467> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x99678000 - 0x996c6ffb libFontRegistry.dylib (100) <3B8350C2-4D8F-38C4-A22E-2F855D7E83D1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x99e63000 - 0x9a01fffd libicucore.A.dylib (491.11.3) <FF55E176-7D66-3DBB-AF86-84744C47A02C> /usr/lib/libicucore.A.dylib
0x9a020000 - 0x9a2e0ff3 com.apple.security (7.0 - 55179.13) <000FD8E9-D070-326A-B386-51314360FD5C> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x9a2e1000 - 0x9a2e4ff7 com.apple.TCC (1.0 - 1) <437D76CD-6437-3B55-BE2C-A53508858256> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
0x9a2e5000 - 0x9a31bffb com.apple.DebugSymbols (98 - 98) <9A9ADA0A-E487-3C8F-9998-286EE04C235A> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbol s
0x9a31c000 - 0x9a329ff7 com.apple.AppleFSCompression (49 - 1.0) <166AA1F8-E50A-3533-A3B5-8737C5118CC3> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/Apple FSCompression
0x9a32c000 - 0x9a32fffc libpam.2.dylib (20) <FCF74195-A99E-3B07-8E49-688D4A6F1E18> /usr/lib/libpam.2.dylib
0x9a360000 - 0x9a367ffb libunwind.dylib (35.1) <E1E8D8B3-3C78-3AB1-B398-C180DC6DCF05> /usr/lib/system/libunwind.dylib
0x9a368000 - 0x9a466ff7 libFontParser.dylib (84.6) <7D3EB3CC-527E-3A74-816A-59CAFD2260A4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontParser.dylib
0x9a46e000 - 0x9a46efff com.apple.Carbon (154 - 155) <C0A26E7B-28F1-3C7E-879E-A3CF3ED5111C> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x9a46f000 - 0x9a498fff libxslt.1.dylib (11.3) <0DE17DAA-66FF-3195-AADB-347BEB5E2EFA> /usr/lib/libxslt.1.dylib
0x9a499000 - 0x9a4ddff7 libGLU.dylib (8.9.2) <F33F6C73-7F89-3B5B-A50F-2AB57BBA314D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x9a4de000 - 0x9a4e1ff7 libcompiler_rt.dylib (30) <CE5DBDB4-0124-3E2B-9105-989DF98DD108> /usr/lib/system/libcompiler_rt.dylib
0x9a4e2000 - 0x9a4f0ff3 libsystem_network.dylib (77.10) <7FBF5A15-97BA-3721-943E-E77F0C40DBE1> /usr/lib/system/libsystem_network.dylib
0x9a4f1000 - 0x9a62cff7 libBLAS.dylib (1073.4) <FF74A147-05E1-37C4-BC10-7DEB57FE5326> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 2
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 314
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=146.1M resident=82.8M(57%) swapped_out_or_unallocated=63.3M(43%)
Writable regions: Total=69.4M written=1256K(2%) resident=2564K(4%) swapped_out=0K(0%) unallocated=66.9M(96%)
REGION TYPE VIRTUAL
=========== =======
CG shared images 96K
CoreServices 1072K
MALLOC 42.5M
MALLOC guard page 48K
Memory tag=242 12K
Memory tag=35 7284K
Stack 65.5M
VM_ALLOCATE 16.9M
__DATA 6616K
__DATA/__OBJC 124K
__IMAGE 528K
__IMPORT 16K
__LINKEDIT 39.9M
__OBJC 1812K
__PAGEZERO 4K
__TEXT 106.2M
__UNICODE 544K
mapped file 98.2M
shared memory 308K
=========== =======
TOTAL 387.2M -
Convert to class instance into string/binary
Hello friends,
is there a utility to convert a class instance into string or binary.
regards
kaushikTake a look at CL_ABAP_STRING_UTILITIES
Best!
Jim -
Dynamic class loading from String name
Hello all,
I have a question for dynamic class loading:
If I have a String variable that represents a class name, how can i use it to make dynamically an object of the class tha the string variable represents?
For example i have a string like this
String classname="String";
Using this i want to make a new String object .
Can anyone tell me how can i do this(example plz)?I have worked out the code and this works fine:
import java.lang.*;
class dynamictestname{
public dynamictestname() {
public static Class test(String objname){
try{
Class theClass = Class.forName(objname);
return theClass;
} catch (ClassNotFoundException e)
throw new NoClassDefFoundError (e.getMessage());
public static void main (String [] args){
String classname="java.lang.String";
Class thisClass=dynamictestname.test(classname);
try{
Object instance = thisClass.newInstance();
}catch(InstantiationException e){
}catch(IllegalAccessException ie){
}The new problem i 've faced is that i can't instatiate a new object by the class i have created.I saw some examples with use of the java.lang.reflect but this class i used with user created classes which have methods that the user wants to run dynamically.
I just want to make an object from the class and give it a value.
For example if the object i have created with the
Object instance = thisClass.newInstance();is an object of java.lang.String class
how can i do something like this below dynamically from instance object :
String x="TEST ";
Thanks for the help.. -
Creating Room Instance from Web Dynpro Development Component
Hi Experts,
I would like to instantiate a Room Instance based on a pre-created Room Template from within a Web Dynpro Development Component. I had a look at the <i>Collaboration Rooms API Cookbook</i>, which provides all the code examples I need, but which asks that I import the following classes:
import com.sap.ip.collaboration.room.api.IRooms;
import com.sapportals.portal.prt.runtime.PortalRuntime;
Problem is I don't have and can't find those libraries. I am developing in a track on the DTR and all solutions that I have found to the problems thus far require me to import a local jar file. Surely I should rather import a Software Component with the required library into my project? Does anyone know what the name of this Software Component is or what the correct way is to do this?
Also, a somewhat related problem. If I want to create a Room Instance from an Application Service, how would I go about doing this. Unlike with a Web Dynpro project, I can't setup the build path or Used DCs, so how will I gain access to that library?
Thank you,
JPBeevin, thanks for the reply.
I am aware that adding the jars manually to the build path is a possibility, but isn't this a local only solution? What I mean is, lets say I do this and check the code into the DTR - surely the code won't compile on my co-workers' machines as the paths to the jar files are different for them? Unless you mean to somehow add the jar file from the server, in which case could you please elaborate on how to do this?
This still doesn't solve the application service problem, does it? How can I access those library from the CAF DC?
Thanks -
What is the best way to handle the instantiation of a derived class from an existing base class.
I have a base class which is being created via remote_object [RemoteClass alias] from the server. I have other specialized classes that are derived from this baseclass, but serialization with the server always happens with the base class. The base class has meta data that defines what the derived class is, for example
[RemoteClass (alias="com.myco...')]
public Class Base
public var derivedType:String;
public function Base()
public Class Derived extends Base
public "some other data"
public function Derived()
In my Cairgorm command which retrieves this object from ther server I want to do this:
public function result (event: Object):void
var baseInstance:Base = event.result;
if (baseInstance.derivedType = "derived")
var derivedInstance:Derived = new Derived( baseInstance );
What is the most efficient way of doing this? It appears to me that doing a deep-copy/clone and instantiation of the derived class is pretty inefficient as far as memory allocation and data movement via the copy.Thanks for the assistance. Let me try to clarify.
MY UI requires a number of composite classes. The individual components of the composite classes are being transfered to/from the server at different times depending upone which component has changed state. The construction of the composite classes from the base class happens in my clients business logic.
Composition happens in a derived class; but server syncronization happens using the base class. When I recieve the object from Blazeds through the remote object event, it is in the form of the base class. I then need to instantiate the derived class and copy the elements of the base class into it (for later composite construction). And likewise when sending the base class back to the server, I need to upcast the derived class to its base class. But in this case just a mere upcast does not work. I actually need to create a new base class and copy the attrbutes into it. I believe this is limitation of how remoting works on Flex/AS3.
My question is, what is the best way to turn my base class into it's derived class so further composite construction can take place. The way I am currently doing it is to create a load method on the base class, that takes the base class as on argument. The load function, copies all of the instance attribute references from the base class to the target class.
public Class Base
public function Base()
public function load(fromClass:Base)
{ // copy the references for all of the instance attributes from the fromClass to this class }
Then, after I recieve the base class from the server. I create a new derived class and pass the base class into the load function like this:
for (var i:int=0; i < event.result.length; i++) {
var derived:Derived = new Derived();
derived.load(event.result[i]);
The drawbacks of this approach is that it now requires 2 extra instance creations per object serialization. One on recieving the object from the server and one sending it to the server. I assume copying references are pretty efficient. But, there is probably some GC issues. The worst of it is in code maintenance. The load function now has to be manually maintained and kept in sync with the server class.
It would be interesting to hear how others have solved this problem. The server side is an existing application with around 2M LOC, so changing the code on the server is a non-starter.
Thanks for your help. -
Problem referencing a newly created class instance - I don't understand why
Hi,
I am completely new to actionscript although I do come from a OOP background. I have been asked to trial Flash and Actionscript 3 in particular - so I do come with a few preconceptions on how I expect actionscript to behave.
I have a problem I donot understand. I have created a new class and to test it I use a simple test harness in the form of a .fla file.
The issue I have is when I create a new instance of the class and assign it to a variable, subsequent background changes to that instance of the class are not 'picked-up' when referenced through the variable. I would expect that given instance of class could be assigned to many different variables and any updates using one variable would accessible using any of the other variables.
My test class, XMLDataLoader, is coded as follows:
package {
public class XMLDataLoader {
import flash.events.*;
import flash.net.*;
import flash.utils.*
private var _xmlData:XML;
private var _xmlLoaded:Boolean;
public function XMLDataLoader(pFileName:String){
init(pFileName);
public function getXMLData():XML {
return this._xmlData;
public function XMLLoaded():Boolean {
return this._xmlLoaded;
private function init(pFileName:String):void
// Create the URLLoader instance to be able to load data
var loader:URLLoader = new URLLoader( );
var urlRequest:URLRequest = new URLRequest(pFileName);
this._xmlLoaded = false;
// Define the event handlers to listen for success and failure
loader.addEventListener ( Event.COMPLETE, handleComplete );
loader.load(urlRequest);
function handleComplete ( e:Event ):void
trace ( "The data has successfully loaded" );
this.xmlData = new XML(e.currentTarget.data);
this._xmlLoaded = true;
The class simply reads a text file and assigns its contents to the class variable _xmlData. The class variable _xmlLoaded identifies when the load is complete.
The test harness is a simple flash app consisting if a single timeline with 1 frame, 1 symbol on the stage and the following actionscript code:
import flash.events.TimerEvent;
var t:XMLDataLoader = new XMLDataLoader("Test Article.xml");
var xmlData:XML;
var waits:uint = 0;
wait(1);
function wait(ct:uint):void
var TimerInstance:Timer = new Timer(500, 1);
TimerInstance.addEventListener(TimerEvent.TIMER, TimerHandler);
TimerInstance.start();
function TimerHandler(event:TimerEvent):void
if(t.XMLLoaded()){
xmlData = t.getXMLData();
trace(xmlData.toXMLString);
} else {
trace(ct + " - Waiting....");
if (ct <= 10) {
wait(++ct);
The script defines a variable and assigns it a new instance of the XMLDataLoader. Originally, I immediately followed this with a trace statement but insuffient time had elapsed to allow the load to complete, so I had to introduce a wait function to force a delay. This wait function is recursive. It checks to see if the load is complete. If it is, a trace statement will outoput the xml. If not the function will call itself again (upto 10 times)
The resultant output is as follows:
The data has successfully loaded
1 - Waiting....
2 - Waiting....
3 - Waiting....
4 - Waiting....
5 - Waiting....
6 - Waiting....
7 - Waiting....
8 - Waiting....
9 - Waiting....
10 - Waiting....
According to this output, the XML has been loaded before the end of the first timer cycle but this is not detected in the test harness. I have stepped through the code in debug mode and I have confirmed that the XML was loaded, and the class variables where correctly set, including _xmlLoaded = true. However, in the test harness the instance both class variables are null. I don't believe this should be the case but obviously I must be wrong - can anyone explain where my logic is flawed. I did think scoping might be the problem but having tried a couple of modifications, I concluded that it wasn't.
Thanks in advance.never nest named functions. unnest TimerHandler and retest.
(and, you should be using listener to determine when loading is complete.) -
Creating class instances at different depths
I have a custom class called line that takes two sets of co
ordinates and draws a line between them.
The class uses _root.createEmptyMovieClip() to make a
container to draw in to but I need it to draw in to other movies on
the stage in a similar way to createEmptyMovieClip() eg
_root.childClip1.childClip2.line=new Line(x1,y1,x2,y2);
I have tried createEmptyMovieClip(),
this.createEmptyMovieClip(), _parent.createEmptyMovieClip() etc but
with no joy.
How can my Line constructor function get the path information
from the declaration or do I have to pass it as a parameter?Whenever I design a class, that class always takes a
target:MovieClip parameter. then I create a container for the class
inside that target. This way, I can place my class objects inside
any clip I so desire at any level. -
Creating Mime-messages from String data
How do I save string data of email received from Outlook Express by calling BufferedReader's readLine() method over a socket a connection so that it can be converted into MimeMessage.
Sorry but i didn't read your code snipppet so well.
So you have a Vector v wicht contains the client part of the dialog.
This is a typical conversation: ( you don't use EHLO or HELO handshake!? it's considered rude not to introduce yourself :) )
EHLO CLIENTNAME
250
MAIL FROM:<[email protected]>
250 MAIL FROM:<[email protected]> OK
RCPT TO:<[email protected]>
250 RCPT TO:<[email protected]> OK
DATA
354 Start mail input; end with <CRLF>.<CRLF>
Message-ID: <24569170.1093420595394.JavaMail.cau@PTWPC019>
From: [email protected]
To: [email protected]
Subject: something
Mime-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_0_17459938.1093420595224"
------=_Part_0_17459938.1093420595224
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
TEXT CONTENTS
------=_Part_0_17459938.1093420595224
Content-Type: text/html; charset=US-ASCII
Content-Transfer-Encoding: 7bit
<b>HTML CONTENTS<b>
------=_Part_0_17459938.1093420595224--
250 <412ADBC5000000B5> Mail accepted
QUIT
221 ontrob1.bmsg.nl QUIT
The results in the vector from DATA to the ending dot . should be the part of your constructor string;
Use this constructor
MimeMessage mm = new MimeMessage(null, ByteArrayInputStream( yourstring.getBytes() ) ) ;at this moment you can deconstruct the mime further.
maybe this code will help:
you should call the dumpPart method like this dumpPart( mm );
Store store;
Folder folder;
static boolean verbose = false;
static boolean debug = false;
static boolean showStructure = true;
private static void dumpPart(Part part) throws Exception {
if (part instanceof Message)
dumpEnvelope((Message) part);
/** //Dump input stream ..
InputStream is = part.getInputStream();
// If "is" is not already buffered, wrap a BufferedInputStream
// around it.
if (!(is instanceof BufferedInputStream))
is = new BufferedInputStream(is);
int c;
while ((c = is.read()) != -1)
System.err.write(c);
pr("CONTENT-TYPE: " + part.getContentType());
* Using isMimeType to determine the content type avoids
* fetching the actual content data until we need it.
if (part.isMimeType("text/plain")) {
pr("This is plain text");
pr("---------------------------");
if (!showStructure)
System.out.println((String) part.getContent());
} else if (part.isMimeType("multipart/*")) {
pr("This is a Multipart");
pr("---------------------------");
Multipart mp = (Multipart) part.getContent();
level++;
int count = mp.getCount();
for (int i = 0; i < count; i++)
dumpPart(mp.getBodyPart(i));
level--;
} else if (part.isMimeType("message/rfc822")) {
pr("This is a Nested Message");
pr("---------------------------");
level++;
dumpPart((Part) part.getContent());
level--;
} else if (!showStructure) {
* If we actually want to see the data, and it?s not a
* MIME type we know, fetch it and check its Java type.
Object o = part.getContent();
if (o instanceof String) {
pr("This is a string");
pr("---------------------------");
System.out.println((String) o);
} else if (o instanceof InputStream) {
System.err.println("HELLO CAU 1111");
pr("This is just an input stream");
pr("---------------------------");
InputStream is2 = (InputStream) o;
int c2;
while ((c2= is2.read()) != -1)
System.out.write(c2);
System.err.println("\nHELLO CAU");
} else {
pr("This is an unknown type");
pr("---------------------------");
pr(o.toString());
} else {
pr("This is an unknown type");
pr("---------------------------");
private static void dumpEnvelope(Message msg) throws Exception {
pr("This is the message envelope");
pr("---------------------------");
Address[] a;
// FROM
if ((a = msg.getFrom()) != null) {
for (int j = 0; j < a.length; j++)
pr("FROM: " + a[j].toString());
//TO
if ((a = msg.getRecipients(Message.RecipientType.TO)) != null) {
for (int j = 0; j < a.length; j++)
pr("TO: " + a[j].toString());
// SUBJECT
pr("SUBJECT: " + msg.getSubject());
// DATE
Date d = msg.getSentDate();
pr("SendDate: " + (d != null ? d.toString() : "UNKNOWN"));
//FLAGS
Flags flags = msg.getFlags();
StringBuffer sb = new StringBuffer();
Flags.Flag[] sf = flags.getSystemFlags(); // get the system flags
boolean first = true;
for (int i = 0; i < sf.length; i++) {
String s;
Flags.Flag f = sf;
if (f == Flags.Flag.ANSWERED)
s = "\\Answered";
else if (f == Flags.Flag.DELETED)
s = "\\Deleted";
else if (f == Flags.Flag.DRAFT)
s = "\\Draft";
else if (f == Flags.Flag.FLAGGED)
s = "\\Flagged";
else if (f == Flags.Flag.RECENT)
s = "\\Recent";
else if (f == Flags.Flag.SEEN)
s = "\\Seen";
else
continue; // skip it
if (first)
first = false;
else
sb.append(' ');
sb.append(s);
String[] uf = flags.getUserFlags(); // get user-flag strings
for (int i = 0; i < uf.length; i++) {
if (first)
first = false;
else
sb.append(' ');
sb.append(uf[i]);
pr("FLAGS: " + sb.toString());
// X-MAILER
String[] hdrs = msg.getHeader("X-Mailer");
if (hdrs != null)
pr("X-Mailer: " + hdrs[0]);
else
pr("X-Mailer NOT available");
static String indentStr = " ";
static int level = 0;
* Print a, possibly indented, string.
public static void pr(String s) {
if (showStructure)
System.out.print(indentStr.substring(0, level * 2));
System.out.println(s);
Tricae -
Create an instance of a class from class name
Hi,
I have the class name as a String variable. I need to create an instance from this class. How to do it in Java?
Thanks and regards, MarinaHello
see
[http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Class.html#forName(java.lang.String)]
and
[http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Class.html#newInstance()]
for Classes with paramterless constructor
or
[http://java.sun.com/j2se/1.4.2/docs/api/java/lang/reflect/Constructor.html#newInstance(java.lang.Object[])]
for Constructor with parameters
regards franz -
How to call a method from a class without creating an instance fromthisclas
I want to create a class with methods but I want to call methods from this class without creating an instance from this class. Is this possible?
Is there in Java something like class methods and object methods????keyword 'static' my friend.
public class foo {
public static void bar {
System.out.println ("hello");
foo.bar() -
Check if there is an instance from specific class
suppose i have i class with name FrmColor
and i want to write a program that show this Frame by clicking on a button like this
import FrmColor;
import java.awt.Button;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.awt.Frame;
public class Test extends Frame
private Button b;
public static void main(String args[])
new Test();
public Test()
super("Test");
b = new Button("Show Color");
b.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent evt){
b_aciotnPerformed(evt);
private void b_actionPerformed(ActionEvent evt)
if there is an instance of FrmColor then
bring FrmColor to Front
else
create an instance from this class
pleaze Help Me.hi,
what you want is a static int variable called count which is incremented everytime the constructor is called:
public static int count = 0;In the constructor, have:
count++;and a static method to return this variable:
public static int getCount() {
return count;
}You can then get this count:
FrmColor.getCount();This would be implemented in your code as follows:
private void b_actionPerformed(ActionEvent evt)
if(FrmColor.getCount() != 0)
bring FrmColor to Front
else
create an instance from this class -
Hello!
How create NSURL object from string witch contain spaces?
Example: @"http://Bugaga/?My Posts"
TIATake a look at stringByAddingPercentEscapesUsingEncoding in NSString.
-
Sending class instance to an external application
Hi,
I was wondering if it is possible to send an instance of a class that has been initialized and instantiated to an external application as a parameter to the application?
Thanks in advance.I dont thin that is posible since the java doc says
Class Class is special cased within the Serialization Stream Protocol. A Class instance is written initially into an ObjectOutputStream in the following format:
TC_CLASS ClassDescriptor
A ClassDescriptor is a special cased serialization of
a java.io.ObjectStreamClass instance.
A new handle is generated for the initial time the class descriptor is written into the stream. Future references to the class descriptor are written as references to the initial class descriptor instance.
So am not sure whether you can create new instances from the deserialized classes.
Maybe you are looking for
-
I have a new Dell computer and a new model HP Pro 400 color laserjet printer. I crashed the computer during the HP software installation. I know what caused the crash so that is no problem. The software automatically uninstalled. Now I cannot add alm
-
10.6.8 server hangs at boot
Hi all, I'm in dire need of some advice on getting out Xserve 10.6.8 server back up and running. The server crashed overnight, and this morning I can't get it to boot. I get the Apple log and spinning gears, and that's it. I've tried everything
-
Contact Pictures not displaying in texts...
At some point yesterday my contact pictures has stopped showing up in text messages. They still appear when calls are placed and in the actual contact information, but no longer are in texts. I have restarted my phone and also shut it off for over an
-
Firefox could not open 300 new tab with content loading
Dear All, Thanks for good support in web browser world.Directly i come to the question.I have excel sheet where it has 300 hyperlinks as given below(example links 3)My Excel macro is written in such a way that this will open all the link in firefox "
-
Photo I set as desktop comes out too zoomed in
Hello, When I try to set a a photo as my desk top image it comes out very zoomed in...quite beyond merely fitting to screen. Is it something to do with my wide screen? It even does this with 16:9 photos. Thanks for any help in advance. W