FileReader error
Hi,
I keep getting this error cannot find symbol - constructor FileReader(java.io.File)
Anybody got any ideas
BufferedReader bufferedFileReader = new BufferedReader(new FileReader(originalFile));Edited by: EJP on 5/10/2010 12:03 (corrected your title)
Hard to tell without the exact, complete error message and a reasonable snippet of code. However, since java.io.FileReader definitely does have a c'tor that takes a java.io.File, the best guess is that you've got a class called FileReader in the same package as your current class (or imported from some other non-java.io package).
This is why it's a bad idea to give classes the same names as commonly-used classes in the core API.
Similar Messages
-
I get the following error, but don't know why it can't find the file. Is there anything in this script that would call "\" instead of "/"? Is there any line of code that will switch a wayward "\" back?
01-09-24 09:37:02 - path="" :jsp: init
2001-09-24 09:43:42 - path="" :LoginServlet: init
2001-09-24 09:44:15 - path="" :CourseServlet: init
2001-09-24 09:46:48 - path="" :LessonServlet: init
2001-09-24 09:46:54 - path="" :Error: /usr/local/apache/sites/tesco.spinweb.net/htdocs/cmi/courses\Food Service/Intro/AU00.html (No such file or directory)
The script is below. Thanks for any help anyone can provide me.
import cmi.xml.AU;
import cmi.xml.Block;
import cmi.xml.CourseReader;
import cmi.xml.CSFElement;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.PrintWriter;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Vector;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import javax.servlet.http.HttpServlet;
import org.jdom.JDOMException;
public class LessonServlet extends HttpServlet
public void init (ServletConfig config) throws ServletException
super.init (config);
try {
Class.forName (GlobalData.DatabaseDriverName);
_jdbcConnection = DriverManager.getConnection (GlobalData.DatabaseName, "tesco", "scorm");
_jdbcConnection.setAutoCommit (true);
//should I do this?
//_jdbcConnection.setAutoCommit (false);
//load serialized course data
loadCourseData();
catch (Exception xcp) {
xcp.printStackTrace();
getServletContext().log("Error: " + xcp.getMessage());
public void doGet( HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException
boolean normalMode = true;
try {
HttpSession session = request.getSession (true);
//can I load the session given the id??
//System.out.println ("Lesson.valid session " + session.getId() + ": " + request.isRequestedSessionIdValid());
response.setContentType ("text/html");
JDBCHelper dbHelper = new JDBCHelper (_jdbcConnection);
//get student ID
Integer studentID = (Integer) session.getAttribute ("studentID");
//get course ID
Integer courseID = (Integer) session.getAttribute ("courseID");
//get lesson ID
String lessonID = request.getParameter ("lessonID");
if (lessonID == null) {
lessonID = (String) session.getAttribute ("lessonID");
if (studentID == null || courseID == null || lessonID == null) {
//reset session data by re-logging the user
sendProfileError (response.getOutputStream());
return;
//store lesson ID in session
session.setAttribute ("lessonID", lessonID);
String auID = request.getParameter ("auID");
String mode = request.getParameter ("mode");
if (mode != null) {
session.setAttribute ("mode", mode);
else {
mode = (String) session.getAttribute ("mode");
if (mode.equalsIgnoreCase ("review")) {
normalMode = false;
else {
normalMode = true;
//synchronize access to course hash table
synchronized (_courseHash)
//make sure _courseHash is in tact
if (_courseHash == null) {
//try reloading it....
loadCourseData();
if (_courseHash == null) {
//error
response.getOutputStream().close();
throw new IOException ("Corrupt course data");
if (! _courseHash.containsKey (courseID.toString())) {
//try reloading it....
loadCourseData();
if (! _courseHash.containsKey (courseID.toString())) {
//error
response.getOutputStream().close();
throw new IOException ("Corrupt course data (course not found)");
if (auID == null) {
//show course menu
Hashtable hash = (Hashtable) _courseHash.get (courseID.toString());
sendAvailableAUs (hash, studentID.intValue(), courseID.intValue(), lessonID, response.getOutputStream(), response, dbHelper);
return;
//if AU has not been attempted, initialize it
Integer auDataID = new Integer (getAUDataID (studentID.intValue(), courseID.intValue(), lessonID, auID, dbHelper));
//if (getAUDataID (studentID.intValue(), courseID.intValue(), lessonID, auID, dbHelper) == -1) {
if (auDataID.intValue() == -1) {
int newID = initializeAUData (studentID.intValue(), courseID.intValue(), lessonID, auID, dbHelper);
dbHelper.addAUToPath (studentID.intValue(), courseID.intValue(), lessonID, auID);
auDataID = new Integer (newID);
session.setAttribute ("AUID", auID);
session.setAttribute ("AUDataID", auDataID);
sendAU (studentID.intValue(), courseID.intValue(), lessonID, auID, auDataID.intValue(), normalMode, response.getOutputStream(), dbHelper);
//to do: detailed messages should be sent to the client depending on which
// exception was thrown. Don't have one try/catch....have one for each situation
catch (Exception e) {
e.printStackTrace();
getServletContext().log("Error: " + e.getMessage());
public void destroy()
try {
if (_jdbcConnection != null) {
_jdbcConnection.close();
catch (Exception ignored) {}
private int initializeAUData (int studentID, int courseID, String lessonID, String auID, JDBCHelper dbHelper)
String sqlQuery = null;
ResultSet results = null;
try {
//get student's name
sqlQuery = "SELECT Full_Name" +
" FROM " + GlobalData.StudentTable +
" WHERE Student_ID = " + studentID;
results = dbHelper.doQuery (sqlQuery);
if (! results.next()) {
//error
return -1;
String studentName = results.getString (1);
results.close();
//the lock prevents CMIServlet from reading AU_ID before it's committed
//sqlQuery = "LOCK TABLES " + GlobalData.AUDataTable + " WRITE;";
//System.out.println (sqlQuery);
//dbHelper.executeUpdate (sqlQuery);
sqlQuery = "Insert Into " + GlobalData.AUDataTable +
"(Course_ID, Lesson_ID, AU_ID, student_id, student_name, lesson_location, credit," +
" lesson_status, entry, exit, score_raw, score_max, score_min, total_time," +
" session_time, lesson_mode, suspend_data, launch_data, Evaluation_ID, Objective_ID)" +
" Values (" + courseID + ", '" + lessonID + "', '" + auID + "', " + studentID + ", '" + studentName + "'," +
" 'NA', 'credit'," + " 'not attempted', 'ab-initio', " + "'NA', " + 0 + ", " + 0 + ", " + 0 +
", '00:00:00.0', '00:00:00.0', " + " 'normal'" + ", 'NA', " + "'NA', " + 0 + ", " + 0 + ");";
dbHelper.executeUpdate (sqlQuery);
return getAUDataID (studentID, courseID, lessonID,auID, dbHelper);
//sqlQuery = "UNLOCK TABLES;";
//System.out.println (sqlQuery);
//dbHelper.executeUpdate (sqlQuery);
catch (Exception e) {
e.printStackTrace();
getServletContext().log("Error: " + e.getMessage());
return -1;
private int getAUDataID (int studentID, int courseID, String lessonID, String auID, JDBCHelper dbHelper)
throws SQLException
String sqlQuery = "SELECT AUData_ID, lesson_status, lesson_mode, exit" +
" FROM " + GlobalData.AUDataTable +
" WHERE student_id = " + studentID +
" AND Course_ID = " + courseID +
" AND Lesson_ID = " + "'" + lessonID + "'" +
" AND AU_ID = '" + auID + "';";
ResultSet results = dbHelper.doQuery (sqlQuery);
if (results.next()) {
return results.getInt ("AUData_ID");
return -1;
private void sendAU (int studentID, int courseID, String lessonID, String auID, int auDataID, boolean normalMode, ServletOutputStream htmlOut, JDBCHelper dbHelper)
throws IOException, ClassNotFoundException
Hashtable hash = null;
synchronized (_courseHash)
hash = (Hashtable) _courseHash.get (String.valueOf (courseID));
if (hash == null) {
loadCourseData();
hash = (Hashtable) _courseHash.get (String.valueOf (courseID));
if (hash == null) {
throw new IOException ("Corrupt course data (course not found)");
AU au = (AU) hash.get (auID);
try {
if (! normalMode) {
dbHelper.setReviewMode (auDataID);
String courseFileName = getFileName (String.valueOf (courseID), dbHelper);
File file = new File (courseFileName);
//create absolute path to file so we can resolve relative URLs
String newFileName = file.getParent() + "\\" + au.getLaunchParams();
BufferedReader buf = new BufferedReader (new FileReader (newFileName));
PrintWriter htmlWriter = new PrintWriter (htmlOut);
String temp;
htmlWriter.write (getAUHtml (au.getLaunchParams()));
htmlWriter.flush();
htmlWriter.close();
catch (Exception e) {
e.printStackTrace();
getServletContext().log("Error: " + e.getMessage());
private String getAUHtml (String path){
path = path.replace ('\\','/');
String response;
response = "<html>\n" +
"<head>\n" +
"</head>\n" +
"<body>\n" +
"<script language=\"JavaScript\">\n" +
"document.location = \"/cmi/courses/" + path + "\"\n" +
//"win = window.open ('','displayWindow','menubar=yes,scrollbars=yes,status=yes,width=300,height=300');\n" +
//"window.onload = \"win.close();\"" +
"</script>\n" +
"</body>\n" +
"</html>\n";
return response;
private void sendAvailableAUs (Hashtable hash, int studentID, int courseID, String lessonID, ServletOutputStream out, HttpServletResponse response, JDBCHelper dbHelper)
StringBuffer buf = new StringBuffer (200);
Block block = (Block) hash.get (lessonID);
AU au = null;
try {
Vector completedAUs = dbHelper.getCompletedAUs (studentID, courseID, lessonID);
buf.append ("<html>\n" +
"<head>\n" +
"<title>" + block.getTitle() + " units</title>\n" +
"<script language=\"JavaScript\">\n" +
"function go() {\n" +
" var form = document.goForm;\n" +
" var index = form.gotoSelect.selectedIndex;\n" +
" if (index == 0) {\n" +
" document.location = \"/servlet/CourseServlet?courseID=" + courseID + "\";\n" +
" }\n" +
" else if (index == 1) {\n" +
" top.restart();\n" +
" }\n" +
"}\n" +
"</script>\n" +
"</head>\n" +
"<body background=\"/cmi/images/marble.jpg\">\n" +
"<center><h1><b><u>" + block.getTitle() + "</u></b></h1></center>\n" +
"<p></p>\n<p></p>\n" +
"<b>" + block.getTitle() + " contains the following units: </b>\n" +
"<dl>\n");
Enumeration enum = block.getChildren();
while (enum.hasMoreElements()) {
String temp = (String) enum.nextElement();
CSFElement element = (CSFElement) hash.get (temp);
if (element.getType().equals ("au")) {
au = (AU) element;
if (completedAUs.contains (au.getID())) {
buf.append ("<dt><p><img src=\"/cmi/images/node2.gif\"><a href=\"/servlet/LessonServlet?lessonID=" + block.getID() + "&auID=" + au.getID() + "&mode=review\">" + au.getTitle() + " (<i>review</i>) </a></p></dt>\n");
else {
buf.append ("<dt><p><img src=\"/cmi/images/node.gif\"><a href=\"" + response.encodeURL ("/servlet/LessonServlet?lessonID=" + block.getID() + "&auID=" + au.getID() + "&mode=normal") + "\">" + au.getTitle() + "</a></p></dt>\n");
else if (element.getType().equals ("block")) {
buf.append ("<dt><p><img src=\"/cmi/images/folder.gif\"><a href=\"" + response.encodeURL ("/servlet/LessonServlet?lessonID=" + element.getID() + "&mode=normal") + "\">" + element.getTitle() + "</a></p></dt>\n");
buf.append ("</dl>\n" +
"<br><br>\n" +
"<form name=\"goForm\">\n" +
"<select name=\"gotoSelect\">\n" +
" <option value=\"lesson\">Lesson Menu</option>\n" +
" <option value=\"exit\">Exit LMS</option>\n" +
"</select>\n" +
"<input type=\"button\" value=\"Go\" onClick=\"go()\">\n" +
"</form>\n" +
"</body>\n" +
"</html>");
PrintWriter writer = new PrintWriter (out);
writer.write (buf.toString());
writer.flush();
writer.close();
catch (Exception e) {
e.printStackTrace();
getServletContext().log("Error: " + e.getMessage());
private String getFileName (String courseID, JDBCHelper dbHelper)
throws ClassNotFoundException, SQLException
ResultSet results = null;
String fileName = null;
String sqlQuery = "SELECT CourseFile" +
" FROM Course" +
" WHERE Course_ID = " + Integer.parseInt (courseID) + ";";
results = dbHelper.doQuery (sqlQuery);
if (results.next()) {
fileName = results.getString (1);
else {
//need to do more than this :)
System.out.println("crap");
results.close();
return fileName;
private void loadCourseData()
throws IOException, ClassNotFoundException
//load serialized course data
File file = new File (GlobalData.DataFileName);
if (! file.exists()) {
//error
throw new FileNotFoundException (GlobalData.DataFileName + " not found.");
FileInputStream fis = new FileInputStream (GlobalData.DataFileName);
ObjectInputStream ois = new ObjectInputStream (fis);
_courseHash = (Hashtable) ois.readObject();
ois.close();
private void sendProfileError (ServletOutputStream out)
String html = "<html>\n" +
"<body>\n" +
"<p>An error has occurred with your profile. Please " +
"<a href=\"\" onClick=\"top.restart(); return true\">login again</a>" +
"</body>\n" +
"</html>\n";
PrintWriter writer = new PrintWriter (out);
writer.write (html);
writer.flush();
writer.close();
private Connection _jdbcConnection;
private Hashtable _courseHash;I know that is where my error is, but why and where is
the script calling it up way?You wrote it right? check out the sendAU() method, there is line
String newFileName = file.getParent() + "\\" + au.getLaunchParams(); -
Error when invoking pl/sql web service from bpel
Hi!
I have a simple 'Hello World' pl/sql web service. When i invoke it in asynchronous BPEL process, a local WSDL file is automatically generated for the parterlink used. The process even gets successfully deployed without any warning or error. But in the BPEL console when I create an instance, its alwaya being faulted and the audit give the following error at invoke:
"{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown. less
<remoteFault>
<part name="code" >
<code>Server.userException</code>
</part>
<part name="summary" >
<summary>when invoking endpointAddress 'null', java.net.UnknownHostException: www.proxy.us.oracle.com</summary>
</part>
<part name="detail" >
<detail>AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.net.UnknownHostException: www.proxy.us.oracle.com faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:java.net.UnknownHostException: www.proxy.us.oracle.com at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153) at java.net.Socket.connect(Socket.java:452) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.collaxa.thirdparty.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:155) at org.collaxa.thirdparty.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:117) at org.collaxa.thirdparty.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:158) at org.collaxa.thirdparty.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:450) at org.collaxa.thirdparty.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:94) at org.collaxa.thirdparty.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.collaxa.thirdparty.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.collaxa.thirdparty.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.collaxa.thirdparty.apache.axis.client.AxisClient.invoke(AxisClient.java:147) at org.collaxa.thirdparty.apache.axis.client.Call.invokeEngine(Call.java:2732) at org.collaxa.thirdparty.apache.axis.client.Call.invoke(Call.java:2715) at org.collaxa.thirdparty.apache.axis.client.Call.invoke(Call.java:1737) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.invokeAXISMessaging(WSIFOperation_ApacheAxis.java:2113) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.invokeRequestResponseOperation(WSIFOperation_ApacheAxis.java:1611) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.executeRequestResponseOperation(WSIFOperation_ApacheAxis.java:1083) at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:452) at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:327) at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:189) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:601) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:317) at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:188) at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3408) at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1836) at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:166) at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:252) at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5438) at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1217) at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:511) at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:335) at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.java:1796) at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125) at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70) at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86) at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123) at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755) at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534) {http://xml.apache.org/axis/}hostname:NewUser-lap </detail>
</part>
</remoteFault>
Can anybody please tell what could be the problem,
Thanking in advance,
Deepika.www.proxy.us.oracle.com -> www-proxy.us.oracle.com - looks like set in the obsetenv.bat file
-
Getting Error while decrypt a file using Blowfish algorithm
I am using blowfish algorithm for encrypt and decrypt my file. this is my code for encrypting decrypting .
while i am running program i am getting an Exception
Exception in thread "main" javax.crypto.BadPaddingException: Given final block not properly padded
at com.sun.crypto.provider.SunJCE_h.b(DashoA6275)
at com.sun.crypto.provider.SunJCE_h.b(DashoA6275)
at com.sun.crypto.provider.BlowfishCipher.engineDoFinal(DashoA6275)
at javax.crypto.Cipher.doFinal(DashoA12275)
at Blowfishexe.main(Blowfishexe.java:65)
import java.security.*;
import javax.crypto.*;
import javax.crypto.spec.*;
import java.io.*;
import org.bouncycastle.crypto.CryptoException;
import org.bouncycastle.crypto.KeyGenerationParameters;
import org.bouncycastle.crypto.engines.DESedeEngine;
import org.bouncycastle.crypto.generators.DESedeKeyGenerator;
import org.bouncycastle.crypto.modes.CBCBlockCipher;
import org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher;
import org.bouncycastle.crypto.params.DESedeParameters;
import org.bouncycastle.crypto.params.KeyParameter;
import org.bouncycastle.util.encoders.Hex;
public class Blowfishexe {
public static void main(String[] args) throws Exception {
KeyGenerator kgen = KeyGenerator.getInstance("Blowfish");
kgen.init(128);
String keyfile="C:\\Encryption\\BlowfishKey.dat";
SecretKey skey = kgen.generateKey();
byte[] raw = skey.getEncoded();
SecretKeySpec skeySpec = new SecretKeySpec(raw, "Blowfish");
System.out.println("key"+raw);
byte[] keyBytes = skey.getEncoded();
byte[] keyhex = Hex.encode(keyBytes);
BufferedOutputStream keystream =
new BufferedOutputStream(new FileOutputStream(keyfile));
keystream.write(keyhex, 0, keyhex.length);
keystream.flush();
keystream.close();
Cipher cipher = Cipher.getInstance("Blowfish");
cipher.init(Cipher.ENCRYPT_MODE, skeySpec);
System.out.println("secretKey"+skeySpec);
FileOutputStream fos=new FileOutputStream("C:\\Encryption\\credit11.txt");
BufferedReader br=new BufferedReader(new FileReader("C:\\Encryption\\credit.txt"));
String text=null;
byte[] plainText=null;
byte[] cipherText=null;
while((text=br.readLine())!=null)
System.out.println(text);
plainText = text.getBytes();
cipherText = cipher.doFinal(plainText);
fos.write(cipherText);
br.close();
fos.close();
cipher.init(Cipher.DECRYPT_MODE, skeySpec);
FileOutputStream fos1=new FileOutputStream("C:\\Encryption\\BlowfishOutput.txt");
BufferedReader br1=new BufferedReader(new FileReader("C:\\Encryption\\credit11.txt"));
String text1=null;
/*while((text1=br1.readLine())!=null)
System.out.println("text is"+text1);
plainText=text1.getBytes("UTF8");
cipherText=cipher.doFinal(plainText);
fos1.write(cipherText);
br1.close();
fos1.close();
//byte[] encrypted = cipher.doFinal("This is just an example".getBytes());
//System.out.println("encrypted value"+encrypted);*/
Any one pls tell me how to slove my problem
thanks in advancehi
i got the solution. its working now
but blowfish key ranges from 56 to448
while i am writing the code as
KeyGenerator keyGenerator = KeyGenerator.getInstance("Blowfish");
keyGenerator.init(448);
this code is generating the key upto 448 bits
but coming to encoding or decode section key length is not accepting
cipher.init(Cipher.ENCRYPT_MODE, key);
Exception in thread "main" java.security.InvalidKeyException: Illegal key size or default parameters
at javax.crypto.Cipher.a(DashoA12275)
at javax.crypto.Cipher.a(DashoA12275)
at javax.crypto.Cipher.a(DashoA12275)
at javax.crypto.Cipher.init(DashoA12275)
at javax.crypto.Cipher.init(DashoA12275)
at Blowfish1.main(Blowfish1.java:46)
i am getting this error
what is the solution for this type of exception.
thank you -
Error in creation of target node
Sender MessageType:
1 .Root 1..1
2. Message header 1..1
3 -code
3-Name
3-HeaderNote
2. Data Range 1..1
3-No
3-type
2. Invoice header 1..unbounded
3 - Indicator
3 -invoicetype
3--invoicecode
3 -number
3 -no of line items
3 -note
3 *lineitem 1..unbounded
4 -numb
4 -type
Receiver Message type
1 Root 1..1
2 * Message header 1..1
3 -code
3 -Name
3-HeaderNote
2*Invoiceconfirm 1..unbounded
3-ReqID
3 -ID
3 -Typecode
3-CateCode
3-Note
Mapping : between sender receiver
2* Invoice header 1..unbounded -
>> 2 *Invoiceconfirm 1..unbounded
3- Indicator -
>> 3-ID
3 -invoicetype -
>> 3-Typecode
3--invoicecode -
>>3 -CateCode
3 -number -
>>- 3- ReqID
3 -no of line items
3 -note -
>>> 3-Note
3 *lineitem 1..unbounded
4-numb
4 -type
<u>File Content Conversion:</u>
Recordsetname: sender root
NAmesapce: http:
recordsetStructure : MessageHeader,1,DataRange,1,InvoiceHeader,*
recordsetpermessage:1
keyfieldname: keyfield
<b>Parameters:</b>
MessageHeader,3,DataRange,3,InvoiceHeader,*,LineItemOfInvoice,11
MessageHeader.fieldNames = keyfield,Name,HeaderNote
MessageHeade.keyfieldvalue=1
MessageHeader.fieldSeparator= ~~
MessageHeader.endSeparator=nl
<b>DataRange.fieldNames =keyfield,type
DataRange.keyfieldvalue=2
DataRange.fieldSeparator =~~
DataRange.endSeparator=nl</b>
InvoiceHeader.fieldNames: Indicator,keyfield, invoicecode, number, no of line items, note
InvoiceHeade.keyfieldvalue=2
InvoiceHeade.fieldSeparator =~~
<b>There Is no error in filesender :</b>
File is getting picked.
<b>In sxmb_moni:</b>
Cannot create target element /ns0:Root/ Invoiceconfirm /TypeCode. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD at com.sap.aii.mappingtool.tf7.AMappingProgram.processNodesender structure:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:CN_GoldenTax_SJJK0201FileMessage xmlns:ns0="http://sap.com/xi/AP/Globalization">
<MessageHeader>
<b> <HeaderCode/></b>
<HeaderName/>
<HeaderNote/>
</MessageHeader>
<DataRange>
<b> <NumberOfInvoices/></b>
<BeginningDateInvoices/>
<EndDateInvoicesSelected/>
</DataRange>
<InvoiceHeader>
<CancellationIndicator/>
<GoodsListIndicator/>
<InvoiceType/>
<b> <InvoiceTypeCode/></b>
<InvoiceNumber/>
<NumberOfLineItems/>
<InvoiceDate/>
<TaxMonth/>
<BillingDocumentNumber/>
<NetVATamount/>
<TaxRate/>
<TaxAmount/>
<ClientName/>
<ClientTaxCode/>
<ClientAddressPhone/>
<ClientBankAccount/>
<SellerName/>
<SellerTaxCode/>
<SellerAddressPhone/>
<SellerBankAccount/>
<Note/>
<NameofInvoiceIssuer/>
<NameofVerifier/>
<NameofCollector/>
<LineItemOfInvoice>
<DiscountRowSymbol/>
<ProductDescription/>
<Specification/>
<UnitsofMeasure/>
<Quantity/>
<NetVATamount/>
<TaxAmount/>
<TaxRate/>
<UnitPrice/>
<ModeOfUnitPrice/>
<ProductTaxItem/>
</LineItemOfInvoice>
</InvoiceHeader>
</ns0:CN_GoldenTax_SJJK0201FileMessage>
Receiver structure in Sxmb_moni:
<?xml version="1.0" encoding="utf-8" ?>
- <ns:CN_GoldenTax_SJJK0201FileMessage xmlns:ns="http://sap.com/xi/AP/Globalization">
- <MessageHeader>
<b> <keyfield>201</keyfield></b>
<HeaderName>19980201</HeaderName>
<HeaderNote>2</HeaderNote>
</MessageHeader>
- <DataRange>
<b> <keyfield>2</keyfield></b>
<BeginningDateInvoices>19980501</BeginningDateInvoices>
<EndDateInvoicesSelected>19980531</EndDateInvoicesSelected>
</DataRange>
- <InvoiceHeader>
<CancellationIndicator>1</CancellationIndicator>
<GoodsListIndicator>0</GoodsListIndicator>
<InvoiceType>0</InvoiceType>
<b> <keyfield>1306981140</keyfield></b>
<InvoiceNumber>00010004</InvoiceNumber>
<NumberOOfLineItems>1</NumberOOfLineItems>
<InvoiceDate>19980512</InvoiceDate>
<TaxMonth>05</TaxMonth>
<BillingDocumentNumber>96110002</BillingDocumentNumber>
<NetVATamount>76233.35</NetVATamount>
<TaxRate>0.17</TaxRate>
<TaxAmount>11076.66</TaxAmount>
<ClientName>1</ClientName>
<ClientTaxCode>321000789010005</ClientTaxCode>
<ClientAddressPhone>12</ClientAddressPhone>
<ClientBankAccount>123</ClientBankAccount>
<SellerName>12</SellerName>
<SellerTaxCode>130601000000000</SellerTaxCode>
<SellerAddressPhone>233352051</SellerAddressPhone>
<SellerBankAccount>2345326113357211</SellerBankAccount>
<Note>234</Note>
<NameofInvoiceIssuer>1</NameofInvoiceIssuer>
<NameofVerifier>2</NameofVerifier>
<NameofCollector>3</NameofCollector>
</InvoiceHeader>
</ns:CN_GoldenTax_SJJK0201FileMessage>
If I use this in test of mapping : It gives error inovicetypecode not created.
As u can see it has keyfield in sxmb_moni instaead.
Howsover if I remove keyfieldwith invoicetypecode It works fine.
So i think the name is not matched.
So in conversion parameter how I cann retain the name insted of keyfield.
As I also want to use the keyfieldvalue to identify a record in file -
Problem with PDFBox-0.7.3 library - Runtime Error
Hello,
The problem is inside the method "chamaConversor".
" conversor.pdfToText(arquivoPdf,arquivoTxt);" make a file.txt from one file.pdf. After that it don?t return the control to "ConstrutorDeTemplate2.java", and show the following error message:
Exception in thread "AWT-EventQueue-O" java.lang.NoClassDefFoundError : org/fontbox/afm/FontMetric
at org.pdfbox.pdmodel.font.PDFont.getAFM (PDFont.java:334)
I am using the NetBeans IDE 5.5.
I have added all of these libraries below to my project from c:\Program Files\netbeans-5.5\PDFBox-0.7.3\external:
* FontBox-0.1.0-dev.jar
* ant.jar
* bcmail-jdk14-132.jar
* junit.jar
* bcprov-jdk14-132.jar
* lucene-core-2.0.0.jar
* checkstyle-all-4.2.jar
* lucene-demos-2.0.0.jar
and PDFBox-0.7.3.jar from c:\Program Files\netbeans-5.5\PDFBox-0.7.3\lib.
There are no more jar from PDFBox-0.7.3 directory.
All of these libraries are in "Compile-time Libraries" option in Project Properties. Should I add they to "Run-time Libraries" option?
What is going on?
Thank you!
* ConstrutorDeTemplate2.java
* Created on 11 de Agosto de 2007, 14:54
* @author
package br.unifacs.dis2007.template2;
// Java core packages
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.text.*;
import java.util.*;
// Java extension packages
import javax.swing.*;
import org.pdfbox.*;
public class ConstrutorDeTemplate2 extends JFrame
implements ActionListener {
private JTextField enterField;
private JTextArea outputArea;
private BufferedWriter out;
private String word;
private PdfToText conversor = new PdfToText();
// ajusta a interface do usu?rio
public ConstrutorDeTemplate2()
super( "Testing class File" );
enterField = new JTextField("Digite aqui o nome do arquivo :" );
enterField.addActionListener( this );
outputArea = new JTextArea();
ScrollPane scrollPane = new ScrollPane();
scrollPane.add( outputArea );
Container container = getContentPane();
container.add( enterField, BorderLayout.NORTH );
container.add( scrollPane, BorderLayout.CENTER );
setSize( 400, 400 );
show();
// Exibe as informa??es sobre o arquivo especificado pelo usu?rio
public void actionPerformed( ActionEvent actionEvent )
File name = new File( actionEvent.getActionCommand() );
// Se o arquivo existe, envia para a sa?da as informa??es sobre ele
if ( name.exists() ) {
outputArea.setText(
name.getName() + " exists\n" +
( name.isFile () ?
"is a file\n" : "is not a file\n" ) +
( name.isDirectory() ?
"is a directory\n" : "is not a directory\n" ) +
( name.isAbsolute() ? "is absolute path\n" :
"is not absolute path\n" ) +
"Last modified: " + name.lastModified() +
"\nLength: " + name.length () +
"\nPath: " + name.getPath() +
"\nAbsolute path: " + name.getAbsolutePath() +
"\nParent: " + name.getParent() );
// informa??o de sa?da se "name" ? um arquivo
if ( name.isFile() ) {
String nameString = String.valueOf(name.getPath());
String nameTeste = new String(nameString);
if (nameString.endsWith(".pdf"))
nameTeste = chamaConversor(nameString);
else
if (nameString.endsWith(".doc"))
nameTeste = chamaConversorDoc(nameString); // chama conversor de arquivos DOC
else
if (nameString.endsWith(".txt"))
nameTeste = nameString;
// se o arquivo termina com ".txt"
if (nameTeste.endsWith(".txt"))
// acrescenta conte?do do arquivo ? ?rea de sa?da
try {
// Create the tokenizer to read from a file
FileReader rd = new FileReader(nameTeste);
StreamTokenizer st = new StreamTokenizer(rd);
// Prepare the tokenizer for Java-style tokenizing rules
st.parseNumbers();
st.wordChars('_', '_');
st.eolIsSignificant (true);
// If whitespace is not to be discarded, make this call
st.ordinaryChars(0, ' ');
// These calls caused comments to be discarded
st.slashSlashComments(true);
st.slashStarComments(true);
// Parse the file
int token = st.nextToken();
String word_ant = "";
outputArea.append( " \n" );
out = new BufferedWriter(new FileWriter(nameTeste, true));
while (token != StreamTokenizer.TT_EOF) {
token = st.nextToken();
if (token == StreamTokenizer.TT_EOL){
//out.write(word);
out.flush();
out = new BufferedWriter(new FileWriter(nameTeste, true));
//outputArea.append( word + "\n" );
// out.append ( "\n" );
switch (token) {
case StreamTokenizer.TT_NUMBER:
// A number was found; the value is in nval
double num = st.nval;
break;
case StreamTokenizer.TT_WORD:
// A word was found; the value is in sval
word = st.sval;
// if (word_ant.equals("a") || word_ant.equals("an") || word_ant.equals("the") || word_ant.equals("The") || word_ant.equals("An"))
outputArea.append( word.toString() + " \n " );
// out.append( word + " " );
// word_ant = word;
break;
case '"':
// A double-quoted string was found; sval contains the contents
String dquoteVal = st.sval;
break;
case '\'':
// A single-quoted string was found; sval contains the contents
String squoteVal = st.sval;
break;
case StreamTokenizer.TT_EOL:
// End of line character found
break;
case StreamTokenizer.TT_EOF:
// End of file has been reached
break;
default:
// A regular character was found; the value is the token itself
char ch = (char)st.ttype;
break;
} // fim do switch
} // fim do while
rd.close();
out.close();
} // fim do try
// process file processing problems
catch( IOException ioException ) {
JOptionPane.showMessageDialog( this,
"FILE ERROR",
"FILE ERROR", JOptionPane.ERROR_MESSAGE );
} // fim do if da linha 92 - testa se o arquivo ? do tipo texto
} // fim do if da linha 78 - testa se ? um arquivo
// output directory listing
else if ( name.isDirectory() ) {
String directory[] = name.list();
outputArea.append( "\n\nDirectory contents:\n");
for ( int i = 0; i < directory.length; i++ )
outputArea.append( directory[ i ] + "\n" );
} // fim do else if da linha 184 - testa se ? um diret?rio
} // fim do if da linha 62 - testa se o arquivo existe
// not file or directory, output error message
else {
JOptionPane.showMessageDialog( this,
actionEvent.getActionCommand() + " Does Not Exist",
"ERROR", JOptionPane.ERROR_MESSAGE );
} // fim do m?todo actionPerformed
// m?todo que chama o conversor
public String chamaConversor(String arquivoPdf){
String arquivoTxt = new String(arquivoPdf);
arquivoTxt = arquivoPdf.replace(".pdf", ".txt");
try {
conversor.pdfToText(arquivoPdf,arquivoTxt);
catch (Exception ex) {
ex.printStackTrace();
return (arquivoTxt);
// executa a aplica??o
public static void main( String args[] )
ConstrutorDeTemplate2 application = new ConstrutorDeTemplate2();
application.setDefaultCloseOperation (
JFrame.EXIT_ON_CLOSE );
} // fim do m?todo main
} // fim da classe ExtratorDeSubstantivos2
* PdfToText.java
* Created on 11 de Agosto de 2007, 10:57
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
//package br.unifacs.dis2007.template2;
* @author www
package br.unifacs.dis2007.template2;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.Writer;
import java.net.MalformedURLException;
import java.net.URL ;
import org.pdfbox.pdmodel.PDDocument;
import org.pdfbox.pdmodel.encryption.AccessPermission;
import org.pdfbox.pdmodel.encryption.StandardDecryptionMaterial;
import org.pdfbox.util.PDFText2HTML;
import org.pdfbox.pdmodel.font.PDFont.* ;
import org.pdfbox.util.PDFTextStripper;
import org.pdfbox.util.*;
import org.pdfbox.pdmodel.*;
public class PdfToText
public void pdfToText( String pdfFile, String textFile) throws Exception
Writer output = null;
PDDocument document = null;
try
try
//basically try to load it from a url first and if the URL
//is not recognized then try to load it from the file system.
URL url = new URL( pdfFile );
document = PDDocument.load( url );
String fileName = url.getFile();
if( textFile == null && fileName.length () >4 )
File outputFile =
new File( fileName.substring( 0,fileName.length() -4 ) + ".txt" );
textFile = outputFile.getName();
catch( MalformedURLException e )
document = PDDocument.load( pdfFile );
if( textFile == null && pdfFile.length() >4 )
textFile = pdfFile.substring( 0,pdfFile.length() -4 ) + ".txt";
//use default encoding
output = new OutputStreamWriter( new FileOutputStream( textFile ) );
PDFTextStripper stripper = null;
stripper = new PDFTextStripper();
stripper.writeText( document, output );
finally
if( output != null )
output.close();
if( document != null )
document.close();
}//finally
}//end funcao
All of these libraries are in "Compile-time
Libraries" option in Project Properties. Should I add
they to "Run-time Libraries" option?Yes -
Program will run with errors, but not at all in a .jar file
First off, here is my program right now:
import java.io.*;
import java.util.*;
import javax.swing.JOptionPane;
public class prune
public static void main(String args[])
String steamid="",time="";
BufferedReader infile = null;
BufferedWriter outfile = null;
FileReader fr = null;
FileWriter wr = null;
StringTokenizer strtk = null;
String line = null;
JOptionPane.showMessageDialog
(null, "Vault.ini Pruner v2");
String filepath = JOptionPane.showInputDialog("Enter the filepath to your vault.ini file.");
String strdeletenumber = JOptionPane.showInputDialog("Enter the number that vault entries under will be deleted");
int deletenumber = Integer.parseInt(strdeletenumber);
try
infile = new BufferedReader(new FileReader(filepath));
outfile = new BufferedWriter(new FileWriter(filepath));
catch(IOException ioe)
JOptionPane.showMessageDialog
(null, "Can't open vault.ini:" + ioe);
try
while((line=infile.readLine())!=null)
strtk = new StringTokenizer(line);
steamid = strtk.nextToken();
time = strtk.nextToken();
if(Integer.parseInt(time)>=deletenumber)
outfile.write(steamid);
outfile.write(" ");
outfile.write(time);
outfile.newLine();
catch(IOException ioe)
JOptionPane.showMessageDialog
(null, "Error:" + ioe);
try
outfile.close();
infile.close();
catch(IOException ioe)
JOptionPane.showMessageDialog
(null, "Error:" + ioe);
System.exit(0);
}The program is supposed to open a vault.ini file and delete entries with a number lower than specified.
Vault files are set up like this:
STEAMID:X:XXXX 100000
Right now if I run the program through command prompt it erases both the vault.ini and new vault.ini. I am also trying to put it in an executable jar file and when I do that I get a "Failed to load main class manifest attribute" error. Any ideas on what is causing this?I don't know what is happening. I put your exact code into a small build environment and used a build file for ant that I have and it works just fine. Manifest files are a total pain which is why I use a tool to generate it. I know that the last line has to be blank and that no line can be over a certain length.
You've now spent several days avoiding ant and I got it running with ant in about 3 minutes. I'm really missing something.
For reference, the build file is below should you change your mind. Put your prune.java in a new directory named "src" and save this file below as build.xml in the parent directory of "src". Run the program with java -jar lib/prune.jar
<project name="jartest" default="main" basedir=".">
<!-- location properties -->
<property name="src.dir" location="src" />
<property name="dest.classes.dir" location="classes" />
<property name="dest.lib.dir" location="lib" />
<!-- value properties -->
<property name="dest.lib.name" value="prune.jar" />
<property name="main.class" value="prune" />
<!-- compile time value properties -->
<property name="compile.debug" value="true" />
<property name="compile.optimize" value="false" />
<property name="compile.deprecation" value="true" />
<property name="compile.source" value="1.4"/>
<property name="compile.target" value="1.4"/>
<!-- build -->
<target name="main" depends="compile,jar" />
<target name="compile">
<mkdir dir="${dest.classes.dir}"/>
<mkdir dir="${dest.lib.dir}"/>
<javac srcdir="${src.dir}"
destdir="${dest.classes.dir}"
debug="${compile.debug}"
deprecation="${compile.deprecation}"
optimize="${compile.optimize}"
source="${compile.source}"
target="${compile.target}" >
</javac>
</target>
<!-- clean -->
<target name="clean">
<delete dir="${dest.classes.dir}"/>
<delete dir="${dest.lib.dir}"/>
</target>
<!-- jar -->
<target name="jar" depends="compile">
<jar destfile="${dest.lib.dir}/${dest.lib.name}"
basedir="${dest.classes.dir}">
<manifest>
<attribute name="Built-By" value="${user.name}"/>
<attribute name="Main-Class" value="${main.class}" />
</manifest>
</jar>
</target>
</project> -
FileReader and StringTokenizer
what I'm trying to do is to read String and Double date in a txt document here my code:
import java.io.*;
import java.util.*;
public class partie1 {
static final int limite_colones=10;
static final int limite_lignes=10;
static final int limite_matieres=5;
static final int limite_eleves=15;
static final String titre="�cole secondaire Cartierville";
static String nomEleve[]=new String[limite_eleves];
static double notesEleve[][]=new double[limite_eleves][limite_matieres];
public static void main(String[] args)throws IOException {
String ligne,ficEleve="c:/ficEleves.txt";
BufferedReader ficnomlogique=new BufferedReader(new FileReader(new File(ficEleve)));
while ((ligne=ficnomlogique.readLine())!=null){
StringTokenizer ligneTemp=new StringTokenizer (ligne,":");
for(int i=0;i<15;i++){
nomEleve=ligneTemp.nextToken();
System.out.println(nomEleve[i]);
for(int j=0;j<5;j++){
notesEleve[i][j]=Double.parseDouble(ligneTemp.nextToken());
System.out.println(notesEleve[i][j]);
and this is what they give me as error message:
Alain
100.0
90.0
88.0
60.0
65.0
Exception in thread "main" java.util.NoSuchElementException
at java.util.StringTokenizer.nextToken(Unknow Source)
at partiel.main(partie1.java:20)
so i understand that it doesnt change ligne or doesnt do the for correctly but i can't figure where is my mistake.
thank for your helpWhat do the records in the file look like?
This code:
for(int i=0;i<15;i++){
nomEleve=ligneTemp.nextToken();
System.out.println(nomEleve[i]);
for(int j=0;j<5;j++){
notesEleve[i][j]=Double.parseDouble(ligneTemp.nextToken());
System.out.println(notesEleve[i][j]);
will call nextToken() on each line 15 + (15 * 5) = 90 times.
Does each line contain 90 tokens? -
I have a program written which uses the print report function. Everything works fine in the uncompiled code, my report prints just fine. I can compile my project all the way to a full installer. When I run the executable I get the error:
Error 7 occurred at Get LV Class Default Value.vi
With the following text:
Possible reason(s):
LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
=========================
NI-488: Non-existent board.
Complete call chain:
Get LV Class Default Value.vi
NI_report.lvclass:New Report.vi
print report.vi
EMS V3.0 streamline.vi
LabVIEW attempted to load the class at this path:
H:\InMotion\EMS\builds\EMS_01\Emissions Analyzer\EMS.exe\1abvi3w\vi.lib\Utility\NIReport.llb\Standard Report\NI_Standard Report.lvclass
"EMS V3.0 streamline.vi" is my main vi, "print report.vi" is the subvi that creates and prints the report based on all the information sent to it. I get no warning when I compile this to an executable. I already tried repairing both LV SP1 and the report generator toolkit. No change after I compile to an exe.
Any help would be appreciated. Thanks.
Garrett HerningOk, I tried that... and now I get an error when I try to compile to an executable... This is right at the end of the build and will not let me build an executable.
Error:
An error has occurred. Expand the Details section for more information.
Details:
Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
Error 7 occurred at Invoke Node in AB_Build.lvclass:Copy_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_EXE.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_Application.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller
Possible reason(s):
LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
=========================
NI-488: Non-existent board.
Method Name: Linker:Write Info To File -
the following error ocurs when i try and instruct icloud system preferences for notes to sync i
Any ideas how to fix this please
kind regards
Stewart
Process: System Preferences [676]
Path: /Applications/System Preferences.app/Contents/MacOS/System Preferences
Identifier: com.apple.systempreferences
Version: 12.0 (12.0)
Build Info: SystemPrefsApp-232001000000000~1
Code Type: X86-64 (Native)
Parent Process: launchd [171]
User ID: 501
Date/Time: 2013-03-30 19:32:18.555 +0000
OS Version: Mac OS X 10.8.3 (12D78)
Report Version: 10
Interval Since Last Report: 3046 sec
Crashes Since Last Report: 49
Per-App Interval Since Last Report: 551 sec
Per-App Crashes Since Last Report: 8
Anonymous UUID: 1058A160-30E2-6CE7-59E6-15890C1D5B62
Crashed Thread: 4 +[Library _mergeRestoreMessageLibraryIDsToUpdate:] Dispatch queue: com.apple.root.default-overcommit-priority
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
com.apple.preferences.icloud v.223 (iCloud)
objc[676]: GC: forcing GC OFF because OBJC_DISABLE_GC is set
*** Terminating app due to uncaught exception 'MFSQLiteException', reason: 'checking for existence of object'
Performing @selector(enableServicePressed:) from sender NSButton 0x7fe672e11eb0
terminate called throwing an exception
abort() called
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff8ab93b06 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff872fd3f0 objc_exception_throw + 43
2 Message 0x00007fff8e6f6fef sqliteObjectExists + 388
3 Message 0x00007fff8e648ec2 databaseIsEmpty + 34
4 Message 0x00007fff8e570f8b +[Library executeBlock:isWriter:useTransaction:isPrivileged:] + 3369
5 Message 0x00007fff8e5915d1 +[Library sendMessagesMatchingQuery:to:options:] + 398
6 Message 0x00007fff8e58db62 +[Library sendMessagesMatchingCriterion:to:options:] + 1677
7 Message 0x00007fff8e58d37c +[Library messagesMatchingCriterion:options:] + 119
8 Message 0x00007fff8e62d981 +[Library _mergeRestoreMessageLibraryIDsToUpdate:] + 174
9 CoreFoundation 0x00007fff8ab8709c __invoking___ + 140
10 CoreFoundation 0x00007fff8ab86f37 -[NSInvocation invoke] + 263
11 CoreMessage 0x00007fff8591feb2 -[ThrowingInvocationOperation main] + 33
12 CoreMessage 0x00007fff858cc042 -[_MFInvocationOperation main] + 431
13 Foundation 0x00007fff87674036 -[__NSOperationInternal start] + 684
14 Foundation 0x00007fff8767b861 __block_global_6 + 129
15 libdispatch.dylib 0x00007fff86d9bf01 _dispatch_call_block_and_release + 15
16 libdispatch.dylib 0x00007fff86d980b6 _dispatch_client_callout + 8
17 libdispatch.dylib 0x00007fff86d991fa _dispatch_worker_thread2 + 304
18 libsystem_c.dylib 0x00007fff8df12d0b _pthread_wqthread + 404
19 libsystem_c.dylib 0x00007fff8defd1d1 start_wqthread + 13
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff850e56c2 semaphore_wait_trap + 10
1 libdispatch.dylib 0x00007fff86d9b486 _dispatch_semaphore_wait_slow + 241
2 libxpc.dylib 0x00007fff8a108e1f xpc_connection_send_message_with_reply_sync + 127
3 com.apple.AOSKit 0x00007fff8c1b4d9d -[AOSAgentConnection sendMessageWithPayload:replyHandler:isAsync:] + 346
4 com.apple.AOSKit 0x00007fff8c1ae39d +[AOSUtilities makeAgentRequestWithAccount:type:args:callback:maxRetries:] + 764
5 com.apple.AOSKit 0x00007fff8c19a7cf AOSAccountCopyInfo + 212
6 com.apple.AOSAccounts 0x00007fff8674d591 MMCopyAccountType + 65
7 com.apple.icloud.iaplugin 0x0000000105f347b3 0x105f2b000 + 38835
8 com.apple.icloud.iaplugin 0x0000000105f32711 0x105f2b000 + 30481
9 com.apple.CoreFoundation 0x00007fff8ab45eda _CFXNotificationPost + 2554
10 com.apple.Foundation 0x00007fff8762de26 -[NSNotificationCenter postNotificationName:object:userInfo:] + 64
11 com.apple.AppKit 0x00007fff85c6b989 -[NSApplication sendAction:to:from:] + 342
12 com.apple.AppKit 0x00007fff85c6b7e7 -[NSControl sendAction:to:] + 85
13 com.apple.AppKit 0x00007fff85c6b71b -[NSCell _sendActionFrom:] + 138
14 com.apple.AppKit 0x00007fff85c69c03 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1855
15 com.apple.AppKit 0x00007fff85c69451 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 504
16 com.apple.AppKit 0x00007fff85c68bcc -[NSControl mouseDown:] + 820
17 com.apple.AppKit 0x00007fff85c98e47 forwardMethod + 125
18 com.apple.AppKit 0x00007fff85c6053e -[NSWindow sendEvent:] + 6853
19 com.apple.systempreferences 0x0000000105ca15b2 0x105c9a000 + 30130
20 com.apple.AppKit 0x00007fff85c5c674 -[NSApplication sendEvent:] + 5761
21 com.apple.systempreferences 0x0000000105ca09a8 0x105c9a000 + 27048
22 com.apple.AppKit 0x00007fff85b7224a -[NSApplication run] + 636
23 com.apple.AppKit 0x00007fff85b16c06 NSApplicationMain + 869
24 libdyld.dylib 0x00007fff8f1f77e1 start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff850e7d16 kevent + 10
1 libdispatch.dylib 0x00007fff86d9adea _dispatch_mgr_invoke + 883
2 libdispatch.dylib 0x00007fff86d9a9ee _dispatch_mgr_thread + 54
Thread 2:: Dispatch queue: com.apple.iCloudHelper.xpcq
0 libsystem_kernel.dylib 0x00007fff850e5686 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff850e4c42 mach_msg + 70
2 liblaunch.dylib 0x00007fff8d59e7c4 0x7fff8d59b000 + 14276
3 liblaunch.dylib 0x00007fff8d59d4d9 bootstrap_look_up3 + 69
4 libxpc.dylib 0x00007fff8a106c21 _xpc_connection_bootstrap_look_up_slow + 371
5 libxpc.dylib 0x00007fff8a105c82 _xpc_connection_init + 1062
6 libdispatch.dylib 0x00007fff86d980b6 _dispatch_client_callout + 8
7 libdispatch.dylib 0x00007fff86d9947f _dispatch_queue_drain + 235
8 libdispatch.dylib 0x00007fff86d992f1 _dispatch_queue_invoke + 52
9 libdispatch.dylib 0x00007fff86d991c3 _dispatch_worker_thread2 + 249
10 libsystem_c.dylib 0x00007fff8df12d0b _pthread_wqthread + 404
11 libsystem_c.dylib 0x00007fff8defd1d1 start_wqthread + 13
Thread 3:: Dispatch queue: com.apple.Dataclass.Notes
0 libsystem_kernel.dylib 0x00007fff850e56c2 semaphore_wait_trap + 10
1 libdispatch.dylib 0x00007fff86d9b486 _dispatch_semaphore_wait_slow + 241
2 com.apple.Notes.framework 0x000000010b61c43c -[NotesMigratorClient sync_importMailAccounts] + 377
3 com.apple.Notes.iaplugin 0x000000010b5e7b0f 0x10b5e5000 + 11023
4 com.apple.AOSAccounts 0x00007fff86747bac AccountUIDForUser(NSString*, NSString*, NSString*, NSString*) + 118
5 com.apple.AOSAccounts 0x00007fff86747d90 MailProvider::isAccountActive(__CFString const*) + 46
6 com.apple.AOSAccounts 0x00007fff8674822b __SetEnabled_block_invoke_0286 + 90
7 libdispatch.dylib 0x00007fff86d9bf01 _dispatch_call_block_and_release + 15
8 libdispatch.dylib 0x00007fff86d980b6 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff86d9947f _dispatch_queue_drain + 235
10 libdispatch.dylib 0x00007fff86d992f1 _dispatch_queue_invoke + 52
11 libdispatch.dylib 0x00007fff86d991c3 _dispatch_worker_thread2 + 249
12 libsystem_c.dylib 0x00007fff8df12d0b _pthread_wqthread + 404
13 libsystem_c.dylib 0x00007fff8defd1d1 start_wqthread + 13
Thread 4 Crashed:: +[Library _mergeRestoreMessageLibraryIDsToUpdate:] Dispatch queue: com.apple.root.default-overcommit-priority
0 libsystem_kernel.dylib 0x00007fff850e7212 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff8df11b54 pthread_kill + 90
2 libsystem_c.dylib 0x00007fff8df55dce abort + 143
3 libc++abi.dylib 0x00007fff9105b9eb abort_message + 257
4 libc++abi.dylib 0x00007fff9105939a default_terminate() + 28
5 libobjc.A.dylib 0x00007fff872fd873 _objc_terminate() + 91
6 libc++.1.dylib 0x00007fff88b518fe std::terminate() + 20
7 libobjc.A.dylib 0x00007fff872fd5de objc_terminate + 9
8 libdispatch.dylib 0x00007fff86d980ca _dispatch_client_callout + 28
9 libdispatch.dylib 0x00007fff86d991fa _dispatch_worker_thread2 + 304
10 libsystem_c.dylib 0x00007fff8df12d0b _pthread_wqthread + 404
11 libsystem_c.dylib 0x00007fff8defd1d1 start_wqthread + 13
Thread 5:: Dispatch queue: com.apple.NotesMigratorService.xpcq
0 libsystem_kernel.dylib 0x00007fff850e5686 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff850e4c42 mach_msg + 70
2 liblaunch.dylib 0x00007fff8d59e7c4 0x7fff8d59b000 + 14276
3 liblaunch.dylib 0x00007fff8d59d4d9 bootstrap_look_up3 + 69
4 libxpc.dylib 0x00007fff8a106c21 _xpc_connection_bootstrap_look_up_slow + 371
5 libxpc.dylib 0x00007fff8a105c82 _xpc_connection_init + 1062
6 libdispatch.dylib 0x00007fff86d980b6 _dispatch_client_callout + 8
7 libdispatch.dylib 0x00007fff86d9947f _dispatch_queue_drain + 235
8 libdispatch.dylib 0x00007fff86d992f1 _dispatch_queue_invoke + 52
9 libdispatch.dylib 0x00007fff86d991c3 _dispatch_worker_thread2 + 249
10 libsystem_c.dylib 0x00007fff8df12d0b _pthread_wqthread + 404
11 libsystem_c.dylib 0x00007fff8defd1d1 start_wqthread + 13
Thread 4 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x0000000109680cd8 rdx: 0x0000000000000000
rdi: 0x000000000000631b rsi: 0x0000000000000006 rbp: 0x0000000109680d00 rsp: 0x0000000109680cd8
r8: 0x00007fff759b6278 r9: 0x0000000109680ce0 r10: 0x0000000030000000 r11: 0x0000000000000206
r12: 0x0000000109680e60 r13: 0x00007fff74c39e08 r14: 0x0000000109681000 r15: 0x0000000109680d40
rip: 0x00007fff850e7212 rfl: 0x0000000000000206 cr2: 0x00007fff759afff0
Logical CPU: 0
Binary Images:
0x105c9a000 - 0x105cbdfff com.apple.systempreferences (12.0 - 12.0) <0249AAAE-AA18-3A55-BBCE-D870C940E8C7> /Applications/System Preferences.app/Contents/MacOS/System Preferences
0x105eec000 - 0x105ef2ff7 com.apple.preferences.icloud (1.1 - 223) <7DC4812C-C81E-3D45-B123-F009810DC462> /System/Library/PreferencePanes/iCloudPref.prefPane/Contents/MacOS/iCloudPref
0x105efa000 - 0x105f04ff7 com.apple.AppleSRP (5.0 - 1) <16B1431A-295A-386B-9159-A396877D6FE3> /System/Library/PrivateFrameworks/AppleSRP.framework/Versions/A/AppleSRP
0x105f0b000 - 0x105f1dff7 com.apple.syncservices.syncservicesui (7.1 - 713.1) <0BDA0163-EBA8-3923-AF99-9BDD92CD4E2D> /System/Library/PrivateFrameworks/SyncServicesUI.framework/Versions/A/SyncServi cesUI
0x105f2b000 - 0x105f47fff com.apple.icloud.iaplugin (1.0.1 - 238.5) <182DE70D-0255-3D0F-BE81-C7D56E069089> /System/Library/InternetAccounts/iCloud.iaplugin/Contents/MacOS/iCloud
0x105f5b000 - 0x105f63fff com.apple.mail.iaplugin (6.3 - 1503) <656944F5-B9E6-3AE9-B816-4F7D24838C08> /System/Library/InternetAccounts/Mail.iaplugin/Contents/MacOS/Mail
0x107b10000 - 0x107b13ff7 com.apple.NotesImporter (1.2 - 103) <BE5191A4-12FB-3990-88DC-0A083F97F17D> /System/Library/PrivateFrameworks/Notes.framework/Versions/A/PlugIns/NotesImpor ter.bundle/Contents/MacOS/NotesImporter
0x107ba5000 - 0x107ba5ff9 +cl_kernels (???) <7798B379-E787-485F-91C3-F8946607AE99> cl_kernels
0x107bae000 - 0x107bb7fe7 libcldcpuengine.dylib (2.2.16) <DB9678F6-7D50-384A-A961-6109B61D1607> /System/Library/Frameworks/OpenCL.framework/Libraries/libcldcpuengine.dylib
0x107bd1000 - 0x107bd2ffb +cl_kernels (???) <970849E0-DEAD-4B31-93F7-B232A995928F> cl_kernels
0x109aef000 - 0x109b89ff7 unorm8_bgra.dylib (2.2.16) <5D62BED8-DF5D-3C51-94B4-57368FF10DDB> /System/Library/Frameworks/OpenCL.framework/Libraries/ImageFormats/unorm8_bgra. dylib
0x10b34e000 - 0x10b34eff9 +cl_kernels (???) <0BA97827-DE65-4ABD-97A8-5C270DDB7240> cl_kernels
0x10b352000 - 0x10b352ff3 +cl_kernels (???) <AB3EC88D-62CE-49D9-B0FE-A8DC2854345A> cl_kernels
0x10b35a000 - 0x10b35ffff com.apple.audio.AppleHDAHALPlugIn (2.3.7 - 2.3.7fc4) <39BF351C-010A-3CBB-AE72-265C5C809E1B> /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bun dle/Contents/MacOS/AppleHDAHALPlugIn
0x10b374000 - 0x10b40aff7 unorm8_rgba.dylib (2.2.16) <853BEBC4-AED9-3CE2-B91D-3D666E7C7C8F> /System/Library/Frameworks/OpenCL.framework/Libraries/ImageFormats/unorm8_rgba. dylib
0x10b429000 - 0x10b483fff com.apple.AOSUI (1.1 - 150) <B0095CFE-8A28-3C89-A55B-73C628DDE66D> /System/Library/PrivateFrameworks/AOSUI.framework/Versions/A/AOSUI
0x10b4d5000 - 0x10b4d7fff apop.so (169) <2A1CAD32-5734-3D4E-868B-E773DCD192B5> /usr/lib/sasl2/apop.so
0x10b4db000 - 0x10b4effff dhx.so (169) <3C4D7E51-F30B-3A5B-9BB6-4426EC607E10> /usr/lib/sasl2/dhx.so
0x10b4fb000 - 0x10b504ff7 digestmd5WebDAV.so (169) <D1EF0A0E-92FA-321F-9445-DD08A64C2493> /usr/lib/sasl2/digestmd5WebDAV.so
0x10b509000 - 0x10b50bfff libanonymous.2.so (166) <6417EA9E-4202-31DA-A086-B58F1E92C931> /usr/lib/sasl2/libanonymous.2.so
0x10b510000 - 0x10b513fff libcrammd5.2.so (166) <866C8DD4-5086-376A-BFC7-897A40327DB4> /usr/lib/sasl2/libcrammd5.2.so
0x10b518000 - 0x10b521ff7 libdigestmd5.2.so (166) <F2344A08-F032-35D3-9EBB-F147D4100517> /usr/lib/sasl2/libdigestmd5.2.so
0x10b526000 - 0x10b52bfff libgssapiv2.2.so (166) <83A21AF3-FB42-3ACC-B6ED-26B23388C4F4> /usr/lib/sasl2/libgssapiv2.2.so
0x10b530000 - 0x10b532fff login.so (166) <1F868238-FB26-3477-B31C-67DB400D6F68> /usr/lib/sasl2/login.so
0x10b536000 - 0x10b53bfff libntlm.so (166) <82608FB8-E225-39FF-BC83-B9D3F89D7CEC> /usr/lib/sasl2/libntlm.so
0x10b540000 - 0x10b547fff libotp.2.so (166) <2AE53E63-A826-3E20-9B4D-476CC712410D> /usr/lib/sasl2/libotp.2.so
0x10b550000 - 0x10b552fff libplain.2.so (166) <074D7604-3435-3E01-A86B-FF102001FC5B> /usr/lib/sasl2/libplain.2.so
0x10b556000 - 0x10b55afff libpps.so (169) <3C150ECF-0D94-3DBE-8AB6-7B0070700699> /usr/lib/sasl2/libpps.so
0x10b55f000 - 0x10b562fff mschapv2.so (169) <9DAC741E-6BB8-3DFA-85AD-532EB20E780B> /usr/lib/sasl2/mschapv2.so
0x10b567000 - 0x10b594fff com.apple.DirectoryService.PasswordServerFramework (10.8 - 27.1) <81194DEC-984F-3099-B537-F70394F8492C> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordS erver
0x10b5aa000 - 0x10b5acfff pwauxprop.so (387.1) <94457D86-AB48-33B6-8C01-F08C3BC6CE53> /usr/lib/sasl2/pwauxprop.so
0x10b5b1000 - 0x10b5b4fff shadow_auxprop.so (169) <FE9BCBA3-7F30-303B-A815-8FADE514246E> /usr/lib/sasl2/shadow_auxprop.so
0x10b5b9000 - 0x10b5bbfff smb_nt.so (169) <F6798ECD-BBC9-3055-96E9-3A9836E36E7A> /usr/lib/sasl2/smb_nt.so
0x10b5c0000 - 0x10b5c3fff smb_ntlmv2.so (169) <FB9D0145-0F31-3FA1-A6B4-5F8530CC60CA> /usr/lib/sasl2/smb_ntlmv2.so
0x10b5c8000 - 0x10b5d0ff7 com.apple.calendar.iaplugin (6.0 - 1249) <8A7C7FF8-98D1-36BC-B9FD-EDCB91915B95> /System/Library/InternetAccounts/Calendar.iaplugin/Contents/MacOS/Calendar
0x10b5d9000 - 0x10b5deff7 com.apple.contacts.iaplugin (2.1 - 1169) <ABDD0396-6065-3D03-8CC5-F15FBE626280> /System/Library/InternetAccounts/AddressBook.iaplugin/Contents/MacOS/AddressBoo k
0x10b5e5000 - 0x10b5ebff7 com.apple.Notes.iaplugin (1.2 - 103) <CD2FB5A9-38B9-3F48-A6B8-50D56E70353D> /System/Library/InternetAccounts/Notes.iaplugin/Contents/MacOS/Notes
0x10b5f2000 - 0x10b634ff7 com.apple.Notes.framework (1.2 - 103) <5F2CD221-805B-3050-AC07-FFBB4541780A> /System/Library/PrivateFrameworks/Notes.framework/Versions/A/Notes
0x10b83c000 - 0x10b83dfff com.apple.AddressBook.LocalSourceBundle (2.1 - 1169) <641DB5BF-1E7A-3090-8AA3-CB11262B43FC> /System/Library/Address Book Plug-Ins/LocalSource.sourcebundle/Contents/MacOS/LocalSource
0x10b858000 - 0x10b85bfff com.apple.DirectoryServicesSource (2.1 - 1169) <C1DDD61F-2F1E-3D21-80C2-38FC23DD9871> /System/Library/Address Book Plug-Ins/DirectoryServices.sourcebundle/Contents/MacOS/DirectoryServices
0x10bbfe000 - 0x10bc51fff com.apple.AddressBook.CardDAVPlugin (10.8 - 333) <14C01B09-7E73-30C2-9882-AF4223A1A4F0> /System/Library/Address Book Plug-Ins/CardDAVPlugin.sourcebundle/Contents/MacOS/CardDAVPlugin
0x10bc7d000 - 0x10bc8eff7 com.apple.NSServerNotificationCenter (5.0 - 5.0) <5A605DD1-CB86-3677-B87E-039E88331FC5> /System/Library/Frameworks/ServerNotification.framework/Versions/A/ServerNotifi cation
0x10bd33000 - 0x10bd34ffa +cl_kernels (???) <8DB72174-D4C1-4DE7-A542-1DBD769095E2> cl_kernels
0x7fff6589a000 - 0x7fff658ce93f dyld (210.2.3) <6900F2BA-DB48-3B78-B668-58FC0CF6BCB8> /usr/lib/dyld
0x7fff84511000 - 0x7fff84570fff com.apple.AE (645.6 - 645.6) <44F403C1-660A-3543-AB9C-3902E02F936F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
0x7fff84601000 - 0x7fff84876fff com.apple.CalendarStore (6.0 - 1249) <EDF94D24-0BFF-366E-851F-0F5C82455648> /System/Library/Frameworks/CalendarStore.framework/Versions/A/CalendarStore
0x7fff84877000 - 0x7fff84c70fe7 com.apple.MediaToolbox (1.0 - 926.87) <8346DAFC-88E5-350E-90E1-C98B180488C2> /System/Library/Frameworks/MediaToolbox.framework/Versions/A/MediaToolbox
0x7fff84c71000 - 0x7fff84c7dfff libCSync.A.dylib (331.0.4) <C7043BB7-284D-3B9F-A5CB-78ADE691B2D4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x7fff84c7e000 - 0x7fff84c85fff com.apple.NetFS (5.0 - 4.0) <82E24B9A-7742-3DA3-9E99-ED267D98C05E> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x7fff84c86000 - 0x7fff850c2fff com.apple.VideoToolbox (1.0 - 926.87) <7319477A-4A3D-3233-AAD1-31F9C9429DA7> /System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox
0x7fff850c3000 - 0x7fff850c7fff com.apple.FindMyMac (2.1 - 2.1) <EF5351E8-4BA3-3EE2-8358-0436EF4EC041> /System/Library/PrivateFrameworks/FindMyMac.framework/Versions/A/FindMyMac
0x7fff850d5000 - 0x7fff850f0ff7 libsystem_kernel.dylib (2050.22.13) <5A961E2A-CFB8-362B-BC43-122704AEB047> /usr/lib/system/libsystem_kernel.dylib
0x7fff850f1000 - 0x7fff850f3fff libquarantine.dylib (52) <4BE2E642-A14F-340A-B482-5BD2AEFD9C24> /usr/lib/system/libquarantine.dylib
0x7fff850f4000 - 0x7fff85137ff7 com.apple.bom (12.0 - 192) <0BF1F2D2-3648-36B7-BE4B-551A0173209B> /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x7fff85636000 - 0x7fff85640fff libcsfde.dylib (296.16) <DE03E28D-7979-3C31-9F46-2A7337CE0DBA> /usr/lib/libcsfde.dylib
0x7fff85641000 - 0x7fff85841fff libicucore.A.dylib (491.11.2) <FD6282D8-DF3F-3842-8C2E-CF478D2B9669> /usr/lib/libicucore.A.dylib
0x7fff8589d000 - 0x7fff858a1ff7 com.apple.CommonPanels (1.2.5 - 94) <AAC003DE-2D6E-38B7-B66B-1F3DA91E7245> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x7fff858a2000 - 0x7fff8595aff7 com.apple.CoreMessage (1.0 - 1503) <8C8B4C77-6985-3750-A54C-9806550C1C62> /System/Library/PrivateFrameworks/CoreMessage.framework/Versions/A/CoreMessage
0x7fff85a26000 - 0x7fff86653ff7 com.apple.AppKit (6.8 - 1187.37) <FAEA8B77-210F-3C0F-B9CF-85A7595CCA26> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7fff86654000 - 0x7fff86676ff7 com.apple.Kerberos (2.0 - 1) <C49B8820-34ED-39D7-A407-A3E854153556> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x7fff86677000 - 0x7fff866e5fff com.apple.framework.IOKit (2.0.1 - 755.22.5) <1547DA6F-9793-30A2-8E92-7368DE84D46C> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff866e6000 - 0x7fff86742fff com.apple.corelocation (1239.40 - 1239.40) <2F743CD8-A9F5-3375-A3B0-BB0D756FC239> /System/Library/Frameworks/CoreLocation.framework/Versions/A/CoreLocation
0x7fff86743000 - 0x7fff86765fff com.apple.AOSAccounts (1.1.2 - 1.1.95) <9A1A8780-1F48-3CCA-96EB-D3137F93B676> /System/Library/PrivateFrameworks/AOSAccounts.framework/Versions/A/AOSAccounts
0x7fff86766000 - 0x7fff8679afff com.apple.securityinterface (6.0 - 55024.4) <614C9B8E-2056-3A41-9A01-DAF74C97CC43> /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
0x7fff8686b000 - 0x7fff8686dff7 com.apple.print.framework.Print (8.0 - 258) <34666CC2-B86D-3313-B3B6-A9977AD593DA> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x7fff8686e000 - 0x7fff86872fff libpam.2.dylib (20) <C8F45864-5B58-3237-87E1-2C258A1D73B8> /usr/lib/libpam.2.dylib
0x7fff86881000 - 0x7fff868acfff libxslt.1.dylib (11.3) <441776B8-9130-3893-956F-39C85FFA644F> /usr/lib/libxslt.1.dylib
0x7fff868f5000 - 0x7fff86d12fff FaceCoreLight (2.4.1) <DDAFFD7A-D312-3407-A010-5AEF3E17831B> /System/Library/PrivateFrameworks/FaceCoreLight.framework/Versions/A/FaceCoreLi ght
0x7fff86d96000 - 0x7fff86dabff7 libdispatch.dylib (228.23) <D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib
0x7fff86dac000 - 0x7fff86ea9ff7 libxml2.2.dylib (22.3) <47B09CB2-C636-3024-8B55-6040F7829B4C> /usr/lib/libxml2.2.dylib
0x7fff86eaa000 - 0x7fff86eacff7 libunc.dylib (25) <92805328-CD36-34FF-9436-571AB0485072> /usr/lib/system/libunc.dylib
0x7fff86ef4000 - 0x7fff86f4dfff com.apple.ImageCaptureCore (5.0.2 - 5.0.2) <D6A71984-8FA2-3964-87C6-1936460FDF8C> /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCo re
0x7fff86f4e000 - 0x7fff86fe9fff com.apple.CoreSymbolication (3.0 - 117) <C304FDB8-2FF7-34BC-858A-2B96C2B039D5> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSy mbolication
0x7fff86fea000 - 0x7fff86febff7 libremovefile.dylib (23.2) <6763BC8E-18B8-3AD9-8FFA-B43713A7264F> /usr/lib/system/libremovefile.dylib
0x7fff86fec000 - 0x7fff86ffafff libcommonCrypto.dylib (60027) <BAAFE0C9-BB86-3CA7-88C0-E3CBA98DA06F> /usr/lib/system/libcommonCrypto.dylib
0x7fff8720d000 - 0x7fff8723bfff com.apple.CoreServicesInternal (154.2 - 154.2) <3E6196E6-F3B4-316F-9E1F-13B6B9694C7E> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/Cor eServicesInternal
0x7fff8723c000 - 0x7fff87299ff7 com.apple.audio.CoreAudio (4.1.1 - 4.1.1) <D15F3FB3-BE53-3545-AD37-9A25A597FE3C> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x7fff8729a000 - 0x7fff872e4ff7 libGLU.dylib (8.7.25) <C243C6D3-3384-3DB1-BB15-E27B65C87294> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x7fff872e5000 - 0x7fff872e8fff com.apple.help (1.3.2 - 42) <343904FE-3022-3573-97D6-5FE17F8643BA> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x7fff872e9000 - 0x7fff872ebfff libCVMSPluginSupport.dylib (8.7.25) <A45E21E3-4B40-39B0-A8B6-411526A84F47> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginS upport.dylib
0x7fff872ec000 - 0x7fff8740492f libobjc.A.dylib (532.2) <90D31928-F48D-3E37-874F-220A51FD9E37> /usr/lib/libobjc.A.dylib
0x7fff87405000 - 0x7fff87410ff7 com.apple.aps.framework (3.0 - 3.0) <2041AD84-4279-3ECC-A13E-AC6698BB1A67> /System/Library/PrivateFrameworks/ApplePushService.framework/Versions/A/ApplePu shService
0x7fff87411000 - 0x7fff87460ff7 libFontRegistry.dylib (100) <2E03D7DA-9B8F-31BB-8FB5-3D3B6272127F> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x7fff87461000 - 0x7fff8755efff libsqlite3.dylib (138.1) <ADE9CB98-D77D-300C-A32A-556B7440769F> /usr/lib/libsqlite3.dylib
0x7fff8755f000 - 0x7fff8755ffff com.apple.CoreServices (57 - 57) <9DD44CB0-C644-35C3-8F57-0B41B3EC147D> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x7fff87560000 - 0x7fff875a0ff7 com.apple.MediaKit (14 - 687) <8AAA8CC3-3ACD-34A5-9E57-9B24AD8AFD4D> /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
0x7fff875a1000 - 0x7fff875e4ff7 com.apple.RemoteViewServices (2.0 - 80.6) <5CFA361D-4853-3ACC-9EFC-A2AC1F43BA4B> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/Remot eViewServices
0x7fff875e5000 - 0x7fff87942ff7 com.apple.Foundation (6.8 - 945.16) <89BD68FD-72C8-35C1-94C6-3A07F097C50D> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff87943000 - 0x7fff87944ff7 libdnsinfo.dylib (453.19) <14202FFB-C3CA-3FCC-94B0-14611BF8692D> /usr/lib/system/libdnsinfo.dylib
0x7fff8796e000 - 0x7fff8798fff7 libCRFSuite.dylib (33) <736ABE58-8DED-3289-A042-C25AF7AE5B23> /usr/lib/libCRFSuite.dylib
0x7fff87990000 - 0x7fff87997fff libcopyfile.dylib (89) <876573D0-E907-3566-A108-577EAD1B6182> /usr/lib/system/libcopyfile.dylib
0x7fff87998000 - 0x7fff87a72fff com.apple.backup.framework (1.4.2 - 1.4.2) <0B557393-CD2A-3076-BED2-F28D02E1EC1D> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
0x7fff87a73000 - 0x7fff87d44ff7 com.apple.security (7.0 - 55179.11) <73958084-5BBC-3597-A751-7370B0C247E5> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x7fff87d45000 - 0x7fff87e43fff com.apple.QuickLookUIFramework (4.0 - 555.5) <EE02B332-20F3-3226-A022-D71B808E1CC4> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.f ramework/Versions/A/QuickLookUI
0x7fff87e44000 - 0x7fff87e7bff7 libssl.0.9.8.dylib (47) <923945E6-C489-3406-903B-A362410753F8> /usr/lib/libssl.0.9.8.dylib
0x7fff87e7c000 - 0x7fff87ec7fff com.apple.framework.CoreWLAN (3.0.2 - 302.12) <896D75EB-069B-3674-936E-27A81568BECB> /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN
0x7fff87ec8000 - 0x7fff87f06fff com.apple.PassKit (1.0 - 1) <EB8C9B79-65A3-36BA-B5CF-D2DB0B036EFB> /System/Library/PrivateFrameworks/PassKit.framework/Versions/A/PassKit
0x7fff87f07000 - 0x7fff87f12ff7 com.apple.ProtocolBuffer (2 - 104) <3270C172-1437-3080-9E53-3E2DCA9AE2EC> /System/Library/PrivateFrameworks/ProtocolBuffer.framework/Versions/A/ProtocolB uffer
0x7fff87f13000 - 0x7fff87f7cfff libstdc++.6.dylib (56) <EAA2B53E-EADE-39CF-A0EF-FB9D4940672A> /usr/lib/libstdc++.6.dylib
0x7fff87f7d000 - 0x7fff87f9efff com.apple.Ubiquity (1.2 - 243.15) <C9A7EE77-B637-3676-B667-C0843BBB0409> /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity
0x7fff87fa1000 - 0x7fff87fadfff com.apple.CrashReporterSupport (10.8.3 - 417) <48EDDDF3-5720-39D6-B51F-D9AFB93327B3> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/Cra shReporterSupport
0x7fff87fae000 - 0x7fff88005ff7 com.apple.AppleVAFramework (5.0.19 - 5.0.19) <541A7DBE-F8E4-3023-A3C0-8D5A2A550CFB> /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA
0x7fff88006000 - 0x7fff88013ff7 com.apple.NetAuth (4.0 - 4.0) <F5BC7D7D-AF28-3C83-A674-DADA48FF7810> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
0x7fff88014000 - 0x7fff8804ffff com.apple.LDAPFramework (2.4.28 - 194.5) <67FBDB29-3B9F-309A-BA7C-AA5921D9A4FB> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x7fff8805b000 - 0x7fff8807aff7 libresolv.9.dylib (51) <0882DC2D-A892-31FF-AD8C-0BB518C48B23> /usr/lib/libresolv.9.dylib
0x7fff8807b000 - 0x7fff880fcfff com.apple.Metadata (10.7.0 - 707.5) <4140B1F6-7D73-33C7-B3F2-4DB349C31AE9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x7fff880fd000 - 0x7fff8810afff libbz2.1.0.dylib (29) <CE9785E8-B535-3504-B392-82F0064D9AF2> /usr/lib/libbz2.1.0.dylib
0x7fff8810b000 - 0x7fff88118fff com.apple.KerberosHelper (4.0 - 1.0) <6815439D-1A03-3251-99FE-CC24CF4C93C5> /System/Library/PrivateFrameworks/KerberosHelper.framework/Versions/A/KerberosH elper
0x7fff88119000 - 0x7fff88119fff com.apple.ApplicationServices (45 - 45) <A3ABF20B-ED3A-32B5-830E-B37831A45A80> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x7fff8811f000 - 0x7fff8812eff7 libxar.1.dylib (105) <370ED355-E516-311E-BAFD-D80633A84BE1> /usr/lib/libxar.1.dylib
0x7fff88132000 - 0x7fff883cdfff com.apple.JavaScriptCore (8536 - 8536.28.10) <BC911515-D051-3E2E-8E57-D36878407C60> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
0x7fff883ce000 - 0x7fff883cefff com.apple.quartzframework (1.5 - 1.5) <6403C982-0D45-37EE-A0F0-0EF8BCFEF440> /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
0x7fff883cf000 - 0x7fff883daff7 com.apple.CalendarAgentLink (1.0 - 37) <B794F739-3AA0-395E-B8EA-3E9DECA10890> /System/Library/PrivateFrameworks/CalendarAgentLink.framework/Versions/A/Calend arAgentLink
0x7fff883db000 - 0x7fff88610ff7 com.apple.CoreData (106.1 - 407.7) <A676E1A4-2144-376B-92B8-B450DD1D78E5> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x7fff88611000 - 0x7fff886e4ff7 com.apple.DiscRecording (7.0 - 7000.2.4) <9DA3C0A7-0AB9-3DD1-9D84-737BB0014F1E> /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
0x7fff886e5000 - 0x7fff886e6fff libodfde.dylib (18) <015DD2A0-D59A-3547-909D-7C028A65C312> /usr/lib/libodfde.dylib
0x7fff88720000 - 0x7fff88723ff7 com.apple.LoginUICore (2.0 - 2.0) <C1911200-E442-3B99-AB91-C135703D55DF> /System/Library/PrivateFrameworks/LoginUIKit.framework/Versions/A/Frameworks/Lo ginUICore.framework/Versions/A/LoginUICore
0x7fff88724000 - 0x7fff88750ff7 libRIP.A.dylib (331.0.4) <4B261CE2-524E-3FA9-9437-B70DAC1EAB95> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x7fff88751000 - 0x7fff88816ff7 com.apple.coreui (2.0 - 181.1) <83D2C92D-6842-3C9D-9289-39D5B4554C3A> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x7fff88817000 - 0x7fff88876fff com.apple.IMAP (6.0 - 1503) <BA336D11-AD1A-3CAF-A9AE-F98AAACCCD54> /System/Library/PrivateFrameworks/IMAP.framework/Versions/A/IMAP
0x7fff88877000 - 0x7fff88885ff7 libsystem_network.dylib (77.10) <0D99F24E-56FE-380F-B81B-4A4C630EE587> /usr/lib/system/libsystem_network.dylib
0x7fff88886000 - 0x7fff88886fff com.apple.Accelerate.vecLib (3.8 - vecLib 3.8) <B5A18EE8-DF81-38DD-ACAF-7076B2A26225> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x7fff88887000 - 0x7fff8888bff7 com.apple.TCC (1.0 - 1) <F2F3B753-FC73-3543-8BBE-859FDBB4D6A6> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
0x7fff8888c000 - 0x7fff88893fff libGFXShared.dylib (8.7.25) <869580B2-39CB-30C3-B76E-73BB4894B6B7> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.d ylib
0x7fff88894000 - 0x7fff88b42ff7 com.apple.imageKit (2.2 - 670) <F9B50A59-A749-333C-A8D9-C8A92C649AA9> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.fram ework/Versions/A/ImageKit
0x7fff88b43000 - 0x7fff88b49ff7 libunwind.dylib (35.1) <21703D36-2DAB-3D8B-8442-EAAB23C060D3> /usr/lib/system/libunwind.dylib
0x7fff88b4a000 - 0x7fff88bb2ff7 libc++.1.dylib (65.1) <20E31B90-19B9-3C2A-A9EB-474E08F9FE05> /usr/lib/libc++.1.dylib
0x7fff88bb3000 - 0x7fff88be9fff com.apple.DebugSymbols (98 - 98) <14E788B1-4EB2-3FD7-934B-849534DFC198> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbol s
0x7fff88c45000 - 0x7fff88c6dfff libJPEG.dylib (849) <5C9052F6-D0B3-39CC-8302-468B43D694D5> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x7fff88c6e000 - 0x7fff88d63fff libiconv.2.dylib (34) <FEE8B996-EB44-37FA-B96E-D379664DEFE1> /usr/lib/libiconv.2.dylib
0x7fff88d64000 - 0x7fff88d67fff com.apple.AppleSystemInfo (2.0 - 2) <BC221376-361F-3F85-B284-DC251D3BB442> /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/AppleSys temInfo
0x7fff8954e000 - 0x7fff89552fff com.apple.IOSurface (86.0.4 - 86.0.4) <26F01CD4-B76B-37A3-989D-66E8140542B3> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x7fff89553000 - 0x7fff8965efff libFontParser.dylib (84.6) <96C42E49-79A6-3475-B5E4-6A782599A6DA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontParser.dylib
0x7fff8965f000 - 0x7fff896bbff7 com.apple.Symbolication (1.3 - 93) <D5044687-E424-31CF-B120-667143E6B9C1> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolicat ion
0x7fff896f5000 - 0x7fff89751fff com.apple.QuickLookFramework (4.0 - 555.5) <8B9EAC35-98F3-3BF0-8B15-3A5FE39F150A> /System/Library/Frameworks/QuickLook.framework/Versions/A/QuickLook
0x7fff89752000 - 0x7fff89900fff com.apple.QuartzCore (1.8 - 304.2) <234EABE1-067C-3DAE-BEAC-674526E232C2> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x7fff89901000 - 0x7fff8990bfff com.apple.speech.recognition.framework (4.1.5 - 4.1.5) <D803919C-3102-3515-A178-61E9C86C46A1> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x7fff8990c000 - 0x7fff8990cffd com.apple.audio.units.AudioUnit (1.8 - 1.8) <173346B7-614C-380B-8E80-9BD1BE501674> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x7fff8990d000 - 0x7fff89934ff7 com.apple.PerformanceAnalysis (1.16 - 16) <E4888388-F41B-313E-9CBB-5807D077BDA9> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/Perf ormanceAnalysis
0x7fff89935000 - 0x7fff89c65fff com.apple.HIToolbox (2.0 - 626.1) <656D08C2-9068-3532-ABDD-32EC5057CCB2> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x7fff89c66000 - 0x7fff89d17fff com.apple.LaunchServices (539.7 - 539.7) <DA7C602E-5E01-31B8-925D-B45360CA089F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
0x7fff89d18000 - 0x7fff89d6fff7 com.apple.ScalableUserInterface (1.0 - 1) <F1D43DFB-1796-361B-AD4B-39F1EED3BE19> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableU serInterface.framework/Versions/A/ScalableUserInterface
0x7fff89d70000 - 0x7fff89e89fff com.apple.ImageIO.framework (3.2.0 - 849) <C52AED41-A7C2-300B-91FA-5AF73718D243> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x7fff89e8a000 - 0x7fff89f8cfff libJP2.dylib (849) <4EEA33EB-AF9F-365D-A572-F7D11AD1C76F> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x7fff89f8d000 - 0x7fff89f98ff7 com.apple.DisplayServicesFW (2.7.2 - 357) <EC87A00D-FE9C-3CFE-A98C-063C3D23085A> /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayS ervices
0x7fff89f99000 - 0x7fff89fc3ff7 com.apple.CoreVideo (1.8 - 99.4) <E5082966-6D81-3973-A05A-38AA5B85F886> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x7fff89fc4000 - 0x7fff8a001fef libGLImage.dylib (8.7.25) <139A9892-A6F2-3F49-87FB-E7AC3F56E003> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x7fff8a038000 - 0x7fff8a064fff com.apple.quartzfilters (1.8.0 - 1.7.0) <B8DE45D7-1827-3379-A478-1A574A1D11D9> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzFilters .framework/Versions/A/QuartzFilters
0x7fff8a0fd000 - 0x7fff8a11fff7 libxpc.dylib (140.42) <BBE558BD-5E55-35E4-89ED-1AA6B056D05A> /usr/lib/system/libxpc.dylib
0x7fff8a120000 - 0x7fff8a16bfff com.apple.CoreMedia (1.0 - 926.87) <F51205F8-A102-359C-A9A3-22A48524C081> /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
0x7fff8a1bc000 - 0x7fff8a22bfff com.apple.WhitePagesFramework (10.7.0 - 141.0) <65B30FD8-DEC0-31D4-8E7F-CBCB987D7A48> /System/Library/PrivateFrameworks/WhitePages.framework/Versions/A/WhitePages
0x7fff8a22c000 - 0x7fff8a23bfff com.apple.opengl (1.8.7 - 1.8.7) <26F7FF79-6BB2-3968-B70D-71D4E07C9551> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x7fff8a23c000 - 0x7fff8a256fff com.apple.CoreMediaAuthoring (2.1 - 914) <F0E11E75-03DA-3622-B614-2257EBDABF25> /System/Library/PrivateFrameworks/CoreMediaAuthoring.framework/Versions/A/CoreM ediaAuthoring
0x7fff8a257000 - 0x7fff8a277fff libPng.dylib (849) <F4C23A55-F17B-3E4F-9E80-BC97F778BA49> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x7fff8a27e000 - 0x7fff8a2a5fff com.apple.framework.familycontrols (4.1 - 410) <50F5A52C-8FB6-300A-977D-5CFDE4D5796B> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyCon trols
0x7fff8a2a6000 - 0x7fff8a2a6fff com.apple.Carbon (154 - 155) <CC5AA589-242E-3BE1-B776-7D4FFD93D0C1> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x7fff8a2a7000 - 0x7fff8aa4efff com.apple.CoreAUC (6.16.13 - 6.16.13) <8CBFBC9C-0773-3DEB-AF99-989008CB2B36> /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC
0x7fff8aa4f000 - 0x7fff8aa60ff7 libsasl2.2.dylib (166) <649CAE0E-8FFE-3C60-A849-BE6300E4B726> /usr/lib/libsasl2.2.dylib
0x7fff8aa61000 - 0x7fff8aaffff7 com.apple.ink.framework (10.8.2 - 150) <3D8D16A2-7E01-3EA1-B637-83A36D353308> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x7fff8ab00000 - 0x7fff8aceaff7 com.apple.CoreFoundation (6.8 - 744.18) <A60C3C9B-3764-3291-844C-C487ACF77C2C> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff8aceb000 - 0x7fff8acf4ff7 com.apple.CommerceCore (1.0 - 26.1) <40A129A8-4E5D-3C7A-B299-8CB203C4C65D> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/C ommerceCore.framework/Versions/A/CommerceCore
0x7fff8ad11000 - 0x7fff8ad55fff libcups.2.dylib (327.3) <71E771A1-0489-3417-8A4A-56A2C930F80C> /usr/lib/libcups.2.dylib
0x7fff8ad7c000 - 0x7fff8ae0dfff com.apple.CorePDF (2.0 - 2) <EB5660B1-0D79-34F3-B242-B559AE0A5B4A> /System/Library/PrivateFrameworks/CorePDF.framework/Versions/A/CorePDF
0x7fff8ae0e000 - 0x7fff8af5ffff com.apple.audio.toolbox.AudioToolbox (1.8 - 1.8) <C680EE1A-B4ED-3E77-A08C-DC47922ACA33> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x7fff8af60000 - 0x7fff8b223ff7 com.apple.AddressBook.framework (7.1 - 1169) <5FFF3765-414A-3633-ADE5-337CD4B9A102> /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
0x7fff8b224000 - 0x7fff8b23fff7 com.apple.frameworks.preferencepanes (15.1 - 15.1) <8A3CDC5B-9FA5-32EB-A066-F19874193B92> /System/Library/Frameworks/PreferencePanes.framework/Versions/A/PreferencePanes
0x7fff8b240000 - 0x7fff8b295ff7 libTIFF.dylib (849) <C4D0E196-9319-319B-AF72-8B63FB5AF71B> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x7fff8b2c8000 - 0x7fff8b317ff7 libcorecrypto.dylib (106.2) <CE0C29A3-C420-339B-ADAA-52F4683233CC> /usr/lib/system/libcorecrypto.dylib
0x7fff8b318000 - 0x7fff8b323fff com.apple.CommonAuth (3.0 - 2.0) <7A953C1F-8B18-3E46-9BEA-26D9B5B7745D> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
0x7fff8b324000 - 0x7fff8b47dff7 com.apple.syncservices (7.1 - 713.1) <1B20AF09-C1E5-3B70-A57F-177A4D92E403> /System/Library/Frameworks/SyncServices.framework/Versions/A/SyncServices
0x7fff8b47e000 - 0x7fff8b48fff7 com.apple.CalendarFoundation (1.0 - 29) <2C84D3EB-844E-39DA-A848-43FC42707168> /System/Library/PrivateFrameworks/CalendarFoundation.framework/Versions/A/Calen darFoundation
0x7fff8b505000 - 0x7fff8b511ff7 com.apple.DirectoryService.Framework (10.8 - 151.10) <5AA375C4-9FD4-3F4F-849D-0329E0D5DC04> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
0x7fff8b512000 - 0x7fff8b63cff7 com.apple.avfoundation (2.0 - 361.32) <E99A8D44-3283-377D-AF56-65F9651CEA8E> /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation
0x7fff8b63d000 - 0x7fff8b6faff7 com.apple.ColorSync (4.8.0 - 4.8.0) <6CE333AE-EDDB-3768-9598-9DB38041DC55> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x7fff8b716000 - 0x7fff8b7b0fff libvMisc.dylib (380.6) <714336EA-1C0E-3735-B31C-19DFDAAF6221> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x7fff8b7b1000 - 0x7fff8b80bff7 com.apple.opencl (2.2.18 - 2.2.18) <4A78E53C-17B0-3B2D-A9EA-EF8720FE4134> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x7fff8b80c000 - 0x7fff8b83aff7 libsystem_m.dylib (3022.6) <B434BE5C-25AB-3EBD-BAA7-5304B34E3441> /usr/lib/system/libsystem_m.dylib
0x7fff8b83b000 - 0x7fff8b875ff7 com.apple.GSS (3.0 - 2.0) <970CAE00-1437-3F4E-B677-0FDB3714C08C> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x7fff8b876000 - 0x7fff8bb1aff7 com.apple.CoreImage (8.2.4 - 1.0.1) <4A6B017F-B9F7-36DA-943D-A95611F147EA> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage .framework/Versions/A/CoreImage
0x7fff8bb1b000 - 0x7fff8bb78fff com.apple.ExchangeWebServices (3.0 - 157) <58BFD72E-27F3-3F22-A421-B883FACA0E19> /System/Library/PrivateFrameworks/ExchangeWebServices.framework/Versions/A/Exch angeWebServices
0x7fff8bb79000 - 0x7fff8bbe9fff com.apple.ISSupport (1.9.8 - 56) <23ED7650-2705-355A-9F11-409A9981AC53> /System/Library/PrivateFrameworks/ISSupport.framework/Versions/A/ISSupport
0x7fff8bbea000 - 0x7fff8bbebff7 libSystem.B.dylib (169.3) <FF25248A-574C-32DB-952F-B948C389B2A4> /usr/lib/libSystem.B.dylib
0x7fff8bbec000 - 0x7fff8bc18fff com.apple.framework.Apple80211 (8.3.2 - 832.18.1) <5D601780-9AD9-31C9-9AB5-716D8634CB78> /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
0x7fff8bc19000 - 0x7fff8bcb6ff7 com.apple.PDFKit (2.7.3 - 2.7.3) <5AE5FD4E-658F-38BC-90DD-C2B28E17ED34> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framew ork/Versions/A/PDFKit
0x7fff8bcb7000 - 0x7fff8bd11fff com.apple.print.framework.PrintCore (8.3 - 387.2) <5BA0CBED-4D80-386A-9646-F835C9805B71> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x7fff8bd12000 - 0x7fff8bd48fff libsystem_info.dylib (406.17) <4FFCA242-7F04-365F-87A6-D4EFB89503C1> /usr/lib/system/libsystem_info.dylib
0x7fff8bd49000 - 0x7fff8bd51ff7 com.apple.AppSandbox (2.0 - 1) <2E28B3EA-EAD8-3632-862D-60286FE70D79> /System/Library/PrivateFrameworks/AppSandbox.framework/Versions/A/AppSandbox
0x7fff8bd52000 - 0x7fff8beb0fef com.apple.MediaControlSender (1.7 - 170.20) <853BE89D-49B0-3922-9ED5-DDBDE9A97356> /System/Library/PrivateFrameworks/MediaControlSender.framework/Versions/A/Media ControlSender
0x7fff8beb1000 - 0x7fff8bebcfff libsystem_notify.dylib (98.5) <C49275CC-835A-3207-AFBA-8C01374927B6> /usr/lib/system/libsystem_notify.dylib
0x7fff8bec0000 - 0x7fff8bef1ff7 com.apple.DictionaryServices (1.2 - 184.4) <FB0540FF-5034-3591-A28D-6887FBC220F7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
0x7fff8bef2000 - 0x7fff8bf7fff7 com.apple.SearchKit (1.4.0 - 1.4.0) <C7F43889-F8BF-3CB9-AD66-11AEFCBCEDE7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x7fff8bf80000 - 0x7fff8bf84fff libMatch.1.dylib (17) <E10E50F3-25F8-3B9B-AA11-923E40F5FFDD> /usr/lib/libMatch.1.dylib
0x7fff8bf85000 - 0x7fff8bf85fff libkeymgr.dylib (25) <CC9E3394-BE16-397F-926B-E579B60EE429> /usr/lib/system/libkeymgr.dylib
0x7fff8bf86000 - 0x7fff8bfedfff com.apple.coredav (1.0.1 - 179.7) <EEFBD7EA-82F4-32AB-8D2B-541D74FB764A> /System/Library/PrivateFrameworks/CoreDAV.framework/Versions/A/CoreDAV
0x7fff8bfee000 - 0x7fff8bffcff7 libkxld.dylib (2050.22.13) <4AAF0573-8632-3D06-BE32-C5675F77638D> /usr/lib/system/libkxld.dylib
0x7fff8bffd000 - 0x7fff8c06aff7 com.apple.datadetectorscore (4.1 - 269.2) <4FD4A7CE-BB00-3AAB-B7AA-AE395D5400EC> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDe tectorsCore
0x7fff8c06b000 - 0x7fff8c079fff com.apple.Librarian (1.1 - 1) <5AC28666-7642-395F-A923-C6F8A274BBBD> /System/Library/PrivateFrameworks/Librarian.framework/Versions/A/Librarian
0x7fff8c084000 - 0x7fff8c089fff libcompiler_rt.dylib (30) <08F8731D-5961-39F1-AD00-4590321D24A9> /usr/lib/system/libcompiler_rt.dylib
0x7fff8c132000 - 0x7fff8c142fff com.apple.FileSync.framework (8.0 - 606) <570A8365-80AA-394C-A245-599327A65516> /System/Library/PrivateFrameworks/FileSync.framework/Versions/A/FileSync
0x7fff8c143000 - 0x7fff8c143fff com.apple.AOSMigrate (1.0 - 1) <585B1483-490E-32DD-97DC-B9279E9D3490> /System/Library/PrivateFrameworks/AOSMigrate.framework/Versions/A/AOSMigrate
0x7fff8c170000 - 0x7fff8c176fff libmacho.dylib (829) <BF332AD9-E89F-387E-92A4-6E1AB74BD4D9> /usr/lib/system/libmacho.dylib
0x7fff8c177000 - 0x7fff8c177fff com.apple.vecLib (3.8 - vecLib 3.8) <794317C7-4E38-338A-A874-5E18001C8503> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x7fff8c193000 - 0x7fff8c198fff libcache.dylib (57) <65187C6E-3FBF-3EB8-A1AA-389445E2984D> /usr/lib/system/libcache.dylib
0x7fff8c199000 - 0x7fff8c419ff7 com.apple.AOSKit (1.05 - 152.2) <43361229-45F3-3946-A11A-CC0FF2129F06> /System/Library/PrivateFrameworks/AOSKit.framework/Versions/A/AOSKit
0x7fff8c41a000 - 0x7fff8c50bff7 com.apple.DiskImagesFramework (10.8.3 - 345) <F9FAEAF0-B9A5-34DF-94B7-926FB03AD5F6> /System/Library/PrivateFrameworks/DiskImages.framework/Versions/A/DiskImages
0x7fff8c519000 - 0x7fff8c536ff7 com.apple.openscripting (1.3.6 - 148.3) <C008F56A-1E01-3D4C-A9AF-97799D0FAE69> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x7fff8c537000 - 0x7fff8c6a8ff7 com.apple.QTKit (7.7.1 - 2599.24) <A2153722-268B-3293-B9E3-CB59273CDE41> /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit
0x7fff8c6c1000 - 0x7fff8c6c1fff com.apple.Cocoa (6.7 - 19) <1F77945C-F37A-3171-B22E-F7AB0FCBB4D4> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x7fff8ca4e000 - 0x7fff8cb20ff7 com.apple.CoreText (260.0 - 275.16) <5BFC1D67-6A6F-38BC-9D90-9C712684EDAC> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
0x7fff8cb21000 - 0x7fff8cb6afff com.apple.framework.CoreWiFi (1.2.2 - 122.12) <D237551E-0E2C-30FB-8FAA-003D8F25E819> /System/Library/Frameworks/CoreWiFi.framework/Versions/A/CoreWiFi
0x7fff8cb6b000 - 0x7fff8cb6dfff com.apple.TrustEvaluationAgent (2.0 - 23) <A97D348B-32BF-3E52-8DF2-59BFAD21E1A3> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/Tru stEvaluationAgent
0x7fff8cb6e000 - 0x7fff8cb72ff7 com.apple.SecCodeWrapper (2.0 - 1) <E8C5B9D5-A62A-3467-A9DF-441021EF2C0E> /System/Library/PrivateFrameworks/SecCodeWrapper.framework/Versions/A/SecCodeWr apper
0x7fff8cb73000 - 0x7fff8cbf2ff7 com.apple.securityfoundation (6.0 - 55115.4) <64EDD2F2-4DE2-3DE5-BE57-43D413853CF9> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
0x7fff8cbf3000 - 0x7fff8cbf4fff liblangid.dylib (116) <864C409D-D56B-383E-9B44-A435A47F2346> /usr/lib/liblangid.dylib
0x7fff8cbf5000 - 0x7fff8cc02fff com.apple.AppleFSCompression (49 - 1.0) <5508344A-2A7E-3122-9562-6F363910A80E> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/Apple FSCompression
0x7fff8cc03000 - 0x7fff8d5936ff com.apple.CoreGraphics (1.600.0 - 331.0.4) <4953961C-96DC-39D7-ADF5-B767F2A7E4E1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x7fff8d594000 - 0x7fff8d59afff libCGXCoreImage.A.dylib (331.0.4) <004875C9-182C-34E9-B6C8-5B2BF2A998E1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGXCoreImage.A.dylib
0x7fff8d59b000 - 0x7fff8d5a3fff liblaunch.dylib (442.26.2) <2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib
0x7fff8d5a4000 - 0x7fff8d829ff7 com.apple.RawCamera.bundle (4.03 - 676) <BC5109D0-87F4-3F88-8DBD-3330B6524913> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
0x7fff8d82a000 - 0x7fff8d82bff7 libsystem_sandbox.dylib (220.2) <6838A6FD-8626-3356-BB4F-BB4787216207> /usr/lib/system/libsystem_sandbox.dylib
0x7fff8d82c000 - 0x7fff8d86bff7 com.apple.QD (3.42 - 285) <8DF36FCA-C06B-30F4-A631-7BE2FF7E56D1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x7fff8d86c000 - 0x7fff8d86efff com.apple.securityhi (4.0 - 55002) <9B6CBA92-123F-3307-A2D7-D77A8D3BF87E> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x7fff8d86f000 - 0x7fff8d873fff libCGXType.A.dylib (331.0.4) <251D4D2D-92B9-3D56-B348-CD67397F71FE> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
0x7fff8d874000 - 0x7fff8d874ff7 com.apple.SafariServices.framework (8536 - 8536.28.10) <0A50A10A-E261-3F73-8343-D9EC34AA98F1> /System/Library/PrivateFrameworks/SafariServices.framework/Versions/A/SafariSer vices
0x7fff8d875000 - 0x7fff8da00ff7 com.apple.WebKit (8536 - 8536.28.10) <792FA1F3-68F2-36F8-A070-898B3682F5DE> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
0x7fff8da01000 - 0x7fff8da28ff7 com.apple.speech.LatentSemanticMappingFramework (2.9.3 - 2.9.3) <CDB23C93-853B-3F18-985C-6D32D4704F26> /System/Library/Frameworks/LatentSemanticMapping.framework/Versions/A/LatentSem anticMapping
0x7fff8da29000 - 0x7fff8da3cff7 libbsm.0.dylib (32) <F497D3CE-40D9-3551-84B4-3D5E39600737> /usr/lib/libbsm.0.dylib
0x7fff8da3d000 - 0x7fff8db5dfff com.apple.desktopservices (1.7.3 - 1.7.3) <707F77D2-EC0E-3431-840F-B984BD7ABDD6> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x7fff8db5e000 - 0x7fff8dba6fff libcurl.4.dylib (69.2) <EBDBF42D-E4A6-3D05-A76B-2817D79D59E2> /usr/lib/libcurl.4.dylib
0x7fff8dba7000 - 0x7fff8dbf3ff7 libauto.dylib (185.1) <73CDC482-16E3-3FC7-9BB4-FBA2DA44DBC2> /usr/lib/libauto.dylib
0x7fff8dbf4000 - 0x7fff8dc26fff com.apple.framework.Admin (12.0 - 12.0) <21E02DE3-B255-3A55-8F55-7FC9EE864C06> /System/Library/PrivateFrameworks/Admin.framework/Versions/A/Admin
0x7fff8dc56000 - 0x7fff8dc5bfff com.apple.OpenDirectory (10.8 - 151.10) <3EE3D15A-3C79-3FF1-9A95-7CE2F065E542> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x7fff8dc5c000 - 0x7fff8dd5efff libcrypto.0.9.8.dylib (47) <74F165AD-4572-3B26-B0E2-A97477FE59D0> /usr/lib/libcrypto.0.9.8.dylib
0x7fff8dd5f000 - 0x7fff8dd9bfff com.apple.GeoServices (1.0 - 1) <DB382348-EBFA-3AD5-888B-7F4640F41834> /System/Library/PrivateFrameworks/GeoServices.framework/Versions/A/GeoServices
0x7fff8dd9c000 - 0x7fff8dda0fff libGIF.dylib (849) <6A664B4D-0A88-33F7-9064-0CD159AB9CE9> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x7fff8dda1000 - 0x7fff8dda2fff libsystem_blocks.dylib (59) <D92DCBC3-541C-37BD-AADE-ACC75A0C59C8> /usr/lib/system/libsystem_blocks.dylib
0x7fff8dda7000 - 0x7fff8ddb2ff7 com.apple.bsd.ServiceManagement (2.0 - 2.0) <C12962D5-85FB-349E-AA56-64F4F487F219> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManage ment
0x7fff8ddb3000 - 0x7fff8ddc9fff com.apple.MultitouchSupport.framework (235.29 - 235.29) <617EC8F1-BCE7-3553-86DD-F857866E1257> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/Multit ouchSupport
Deleting the System Preference or other .plist file
-
Getting Error while creating Document object after parsing XML String
Hi All,
I have been trying to parse an XML string using the StringReader and InputSource interface but when I am trying to create Document Object using Parse() method getting error like
[Fatal Error] :2:6: The processing instruction target matching "[xX][mM][lL]" is not allowed.
seorg.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
Please find the code below which i have been experimenting with:
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.StringReader;
import java.util.List;
import java.util.*;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
import java.io.*;
public class TestMain {
public static void main(String[] args) {
String file = "";
file = loadFileContent("C:\\Test.xml");
System.out.println("contents >> "+file);
parseQuickLinksFileContent(file);
public static void parseQuickLinksFileContent(String fileContents) {
PWMQuickLinksModelVO objPWMQuickLinksModelVO = new PWMQuickLinksModelVO();
try {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
StringReader objRd = new StringReader(fileContents);
InputSource objIs = new InputSource(objRd);
Document document = builder.parse(objIs); // HERE I am getting Error.
System.out.println(document.toString());
What is happening while I am using builder.parse() method ???
Thanks,
Rajendra.Getting following error
[Fatal Error] :2:6: The processing instruction target matching "[xX][mM][lL]" is not allowed.
seorg.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed. -
Error in date format when I load a CSV file
I am using Oracle G10 XE and I am trying to load data into my database from comma separated files.
When I load the data from a CSV file which has the date with the following format "DD/MM/YYYY", I received the following error "ORA-01843: not a valid month".
I have the NSL_LANG set to AMERICAN. I have tried the following command: "ALTER SESSION SET NLS DATE FORMAT="DD/MM/YYYY" and this does nothing. When I try to run "SELECT SYSDATE "NOW" FROM DUAL;" I get the date in this format "10-NOV-06".
I will appreciate any help about migrating my data with date fields in format DD//MM/YYYY.
Sincerely,
PolonioSee Re: Get error in date when I load a CSV file
-
import java.io.*;
import java.util.*;
import java.sql.*;
public class ReadCSVFile
public void StatementQuery(String Version , String Doctype_id)
String docfamilyid,docfamilyid_upd;
String sqlstr = "select DOCFAMILYID_ID from master table where doctypeid=\""+Doctype_id+"\"";
public static void main(String[] args)
ReadCSVFile obj = new ReadCSVFile();
String str,doctype=null,version=null,doctype_id=null;
int i=0;
String prevdoctype,prevdoctype_id;
try
BufferedReader in = new BufferedReader(new FileReader("RecordsNet_DocType_List1.csv"));
while ((str = in.readLine()) != null)
String s[] = str.split(",");//splitting string based on ','
if (s[1]!=null)
doctype_id=s[1];
if (s[5]!=null)
doctype=s[5].trim();
if (s[8]!=null)
version=s[8];
if (s[1].length()==0 && s[5].length()==0)
System.out.println("Another version for "+ prevdoctype_id);
if ( doctype.equalsIgnoreCase("Statement")) {
obj.StatementQuery(version,doctype_id);
prevdoctype_id=doctype_id;
if ( doctype.equalsIgnoreCase("Report Class A")) {
//System.out.println("Report Class A"+ i + doctype);
prevdoctype_id=doctype_id;
if ( doctype.equalsIgnoreCase("Report Class B")) {
//System.out.println("Report Class B"+ i + doctype);
prevdoctype_id=doctype_id;
if ( doctype.equalsIgnoreCase("Report Class D")) {
//System.out.println(doctype);
prevdoctype_id=doctype_id;
if ( doctype.equalsIgnoreCase("Trade Confirm")) {
//System.out.println("Trade Confirm"+ i + doctype);
prevdoctype_id=doctype_id;
in.close();
catch (IOException e)
}//class main end
}// class ReadCSVFile end
error is
variable prevdoctype_id might not have been initialized
if i initialize it then it get's initialized everytime..but when some parameters are blank in a file i just want to resuse the value stored in variable prevdoctype_idif i initialize it then it get's initialized everytime.You only need to initialize it one time outside of the while loop for example by setting it to null then the variable is initialized and it will not be overwritte each time.
btw. the
if (s[X]!=null)seems to be wrong.
a) array indices are 0 based. i.e. the first index is 0
b) split returns an array of Strings based on the regular expression
so will split return a one element array for the String "token 1" containing ["token 1"]
a three element array for the String "token 1, token 2, token 3", containing ["token 1", "token 2", "token 3"]
You should replace your
if (s[X]!=null) {
}by
if (s.length > X) {
} -
Iam getting error while running the xml report
Hi,
I designed the template by using subtemplate.If I run the concurrent program I am getting error like
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.UTF8
Thanks,
Bhuvana.Whats the error?
Maybe post the log file so we can see the full file -
I am trying to run this code that I got from a textbook. The only thing that I changed was the name of the file that was to be read in. It was "inventory.dat" and I changed it to "clients.txt".
The code compiled fine but when I went to run it I got the following error:
Exception in thread "main" java.util.NoSuchElementException
at java.util.StringTokenizer.nextToken(Unknown Source)
at CheckInventory.man(CheckInventory.java:34)
What does this error mean? And why didn't it work? I took it right out of my textbook. Any insight would be appreciated.
// CheckInventory.java Author: Lewis/Loftus
// Demonstrates the use of a character file input stream.
import java.io.*;
import java.util.StringTokenizer;
public class CheckInventory
// Reads data about a store inventory from an input file,
// creating an array of InventoryItem objects, then prints them.
public static void main (String[] args)
final int MAX = 100;
InventoryItem[] items = new InventoryItem[MAX];
StringTokenizer tokenizer;
String line, name, file = "clients.txt";
int units, count = 0;
float price;
try
FileReader fr = new FileReader ("clients.txt");
BufferedReader inFile = new BufferedReader (fr);
line = inFile.readLine();
while (line != null)
tokenizer = new StringTokenizer (line);
name = tokenizer.nextToken();
try
units = Integer.parseInt (tokenizer.nextToken());
price = Float.parseFloat (tokenizer.nextToken());
items[count++] = new InventoryItem (name, units, price);
catch (NumberFormatException exception)
System.out.println ("Error in input. Line ignored:");
System.out.println (line);
line = inFile.readLine();
inFile.close();
for (int scan = 0; scan < count; scan++)
System.out.println (items[scan]);
catch (FileNotFoundException exception)
System.out.println ("The file " + file + " was not found.");
catch (IOException exception)
System.out.println (exception);
// InventoryItem.java Author: Lewis/Loftus
// Represents an item in the inventory.
import java.text.DecimalFormat;
public class InventoryItem
private String name;
private int units; // number of available units of this item
private float price; // price per unit of this item
private DecimalFormat fmt;
// Sets up this item with the specified information.
public InventoryItem (String itemName, int numUnits, float cost)
name = itemName;
units = numUnits;
price = cost;
fmt = new DecimalFormat ("0.##");
// Returns information about this item as a string.
public String toString()
return name + ":\t" + units + " at " + price + " = " +
fmt.format ((units * price));
}clients.txt
Widget 14 3.35
spoke 132 0.32
wrap 58 1.92
thing 28 4.17when I went to run it I got the following error:
Exception in thread "main" java.util.NoSuchElementException
at java.util.StringTokenizer.nextToken(Unknown Source)
at CheckInventory.man(CheckInventory.java:34)
What does this error mean?It means that when you called nextToken() there weren't any more tokens. In other words the input line didn't contain as many tokens as you expected.
Maybe you are looking for
-
How to back up files from a MacBook to an XP PC
Hi I am a non-professional but reasonably competent PC fixer for friends and family, within the MS Windows product set thus far. A friend's son has dropped his MacBook and now has the '?' question mark on boot. He has taken it to an Apple Genius, wh
-
I'm getting the "No Free Channel available" error message after some time looping through the FOR-NEXT below. It is very hard to reproduce, some times it does happens sometimes it's just fine. I'd like to know what causes it??? I thought I can throug
-
Major problems after 10.4.11 update!
Warning: think seriously before upgrading to 10.4.11. I did this recently and the following happened: Update went well - computer started normally Then noticed that the Air Port wasnt working - was unable to find my network. After a restart, there wa
-
How to skip lines in FCC Sender
Hi to all. I have an scenario file to file(XML). I want to avoid two lines at the end of the file. I not use any mapping because is map This is my payload XLine1 aaaa bbb ccc ddd XLine2 aaaa bbb ccc ddd XLine3 aaaa bbb ccc ddd XLine4 aaaa bbb ccc ddd
-
Random missing hyperlinks from Word to PDF
Am using XP/Word2003/Acrobat 8.1 When converting a 5 page doc file to pdf, not all of the hyperlinks are created. Have examined the doc and all links are ok and work from there. The links created in the PDF also work, just not all make the transition