Don't understand error message from HTML parser?
I've written a simple test program to parse a simple html file.
Everything works fine accept for the <img src="test.gif"> tag.
It understands the img tag and the handleSimpleTag gets called.
I can even pick out the src attribute. But I get a very strange error message.
When I run the test program below on the test.html file (also below) I get the following output:
handleError(134) = req.att srcimg?
What does "req.att srcimg?" mean?!?!?
/John
This is my test program:
import javax.swing.text.html.*;
import javax.swing.text.*;
import javax.swing.text.html.parser.*;
import java.io.*;
public class htmltest extends HTMLEditorKit.ParserCallback
public htmltest()
super();
public void handleError(String errorMsg, int pos)
System.err.println("handleError("+pos+") = " + errorMsg);
static public void main (String[] argv) throws Exception
Reader reader = new FileReader("test.html");
new ParserDelegator().parse(reader, new htmltest(), false);
This is the "test.html" file
<html>
<head>
</head>
<body>
This is a plain text.<br>
This is <b>bold</b> and this is <i>itallic</i>!<br>
<img src="test.gif">
"This >is also a plain test text."<br>
</body>
</html>
----------------------------------------------------------------------
The handleError() method is not well documented any more than whole javax.swing.text.html package and its design structure. You can ignore the behavior of the method if other result of the parser and your HTML file are proper.
Similar Messages
-
Understanding error messages from console...help please
Hi,
I am getting there...almost...my classes compiled...so far so good...
However, when I hit the "Submit" button (class Booking) the program seems to get stuck on something ...and I don't how to understand the error message:
Here is the error message, underneath are the two classes involved (code):
D:\JBuilder8\jdk1.4\bin\appletviewer.exe Booking.html
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:394)
at java.lang.Integer.parseInt(Integer.java:476)
at Order.getPeople(Order.java:57)
at ConfirmationPopup.<init>(ConfirmationPopup.java:72)
at DetailsPopup.actionPerformed(DetailsPopup.java:152)
at java.awt.Button.processActionEvent(Button.java:381)
at java.awt.Button.processEvent(Button.java:350)
at java.awt.Component.dispatchEventImpl(Component.java:3598)
at java.awt.Component.dispatchEvent(Component.java:3439)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
import java.awt.*;
import java.awt.event.*;
import java.util.StringTokenizer;
public class DetailsPopup extends Frame implements ActionListener,ItemListener
TextField SName;
TextField FName;
TextField Email;
TextField CCard;
Choice ChoiceExpMonth;
Choice ChoiceExpYear;
Color LightBlue = new Color(180,180,255);
String a6;
String a7;
String a8;
String a4 = "1";
String a5 = "2003";
public DetailsPopup(String f,String co,String pr,String pe)
super(f);
a6 = co;
a7 = pr;
a8 = pe;
Button b3 = new Button ("Submit");
b3.addActionListener(this);
Panel panel = new Panel();
panel.setBackground(Color.yellow);
panel.add(b3);
add("South", panel);
Panel fieldPanel = new Panel();
fieldPanel.setBackground(LightBlue);
fieldPanel.setLayout(new GridLayout(0,1));
panel = new Panel();
panel.add(new Label("Surname"));
SName = new TextField(15);
panel.add(SName);
fieldPanel.add(panel);
panel = new Panel();
panel.add( new Label("First Name"));
FName = new TextField(15);
panel.add(FName);
fieldPanel.add(panel);
panel = new Panel();
panel.add( new Label("E-mail"));
Email = new TextField(15);
panel.add(Email);
fieldPanel.add(panel);
panel = new Panel();
panel.add( new Label("Credit/Debit Card"));
CCard = new TextField(16);
panel.add(CCard);
fieldPanel.add(panel);
panel = new Panel();
panel.add( new Label("Expiry Date"));
panel.add( new Label("Month"));
ChoiceExpMonth = new Choice();
ChoiceExpMonth.addItemListener(this);
panel.add(ChoiceExpMonth);
fieldPanel.add(panel);
int i = 1;
while (i < 13)
ChoiceExpMonth.addItem(new Integer(i).toString());
i++;
panel = new Panel();
panel.add(new Label("Year"));
ChoiceExpYear = new Choice();
ChoiceExpYear.addItemListener(this);
panel.add(ChoiceExpYear);
fieldPanel.add(panel);
int j = 2003;
while (j < 2008)
ChoiceExpYear.addItem(new Integer(j).toString());
j++;
add(fieldPanel, "Center");
setSize(400, 300);
setLocation(320,240);
setVisible(true);
//addWindowListener(new WindowAdapter() {
//public void windowClosing(WindowEvent e) {
//System.exit(0);
public void itemStateChanged(ItemEvent e) //read choice from ChoiceExpMonth and/or ChoiceExpYear DropDowns
if (e.getSource().equals (ChoiceExpMonth))
a4 = (String) e.getItem(); // When ChoiceExpMonth is modified
if (e.getSource().equals (ChoiceExpYear))
a5 = (String) e.getItem(); // When ChoiceExpYear is modified
public void actionPerformed( ActionEvent e)
String Name = "";
String First = "";
String Card = "";
String Mail = "";
String TestEmail = Email.getText();
StringTokenizer st = new StringTokenizer(TestEmail,"@");
if (SName.getText().length() == 0)
Name = "bad";
if (FName.getText().length() == 0)
First = "bad";
if (CCard.getText().length() != 16)
Card = "bad";
if(TestEmail.indexOf("@") == -1)
System.out.println("TestEmail has no '@' symbol");
if (st.countTokens() != 2)
Mail = "bad";
if (Name.equals("bad") || First.equals("bad") || Card.equals("bad") || Mail.equals("bad"))
Dialog Err = new Erratum (new Frame (),Name,First,Card,Mail);
else
dispose();
String a0 = SName.getText();
String a1 = FName.getText();
String a2 = Email.getText();
String a3 = CCard.getText();
ConfirmationPopup Conf = new ConfirmationPopup(new Frame(),a0,a1,a2,a3,a4,a5,a6,a7,a8);
//System.out.println("Name = " + Name + "\n" +
//"First = " + First + "\n" +
//"Card = " + Card + "\n" +
//"Mail = " + Mail);
//public static void main(String[] args) {
//new DetailsPopup("Chaos!");
class ConfirmationPopup
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
import java.awt.Dialog.*;
class ConfirmationPopup extends Dialog implements ActionListener
Dialog Confirmation;
Color LightBlue = new Color(180,180,255);
ConfirmationPopup(Frame f,String a0,String a1,String a2,String a3,String a4,String a5,String a6,String a7,String a8)
super(f);
String SName = a0;
String FName = a1;
String Email = a2;
String CCard = a3;
String ExpMonth = a4;
String ExpYear = a5;
String Course = a6;
String Price = a7;
String People = a8;
String[] c = {SName,FName,Email,CCard,ExpMonth,ExpYear,Course,Price,People};
Order order1 = new Order(c);
Button b6 = new Button ("OK"); //OK
b6.addActionListener(this);
Panel panel = new Panel();
panel.setBackground(LightBlue);
panel.add(b6);
add("South", panel);
Panel Datapanel = new Panel();
Datapanel.setBackground(LightBlue);
Datapanel.setLayout(new GridLayout(0,1));
panel = new Panel();
panel.add( new Label("Surname:"));
panel.add( new Label(order1.getSName()));
Datapanel.add(panel);
panel = new Panel();
panel.add( new Label("First Name:"));
panel.add( new Label(order1.getFName()));
Datapanel.add(panel);
panel = new Panel();
panel.add( new Label("E-mail:"));
panel.add( new Label(order1.getEmail()));
Datapanel.add(panel);
panel = new Panel();
panel.add( new Label("Credit/Debit Card:"));
panel.add( new Label(order1.getCCard()));
Datapanel.add(panel);
panel = new Panel();
panel.add( new Label("Expiry Date:"));
panel.add( new Label(order1.getExpMonth() +"/" +order1.getExpYear()));
Datapanel.add(panel);
panel = new Panel();
panel.add( new Label("Course booked:"));
panel.add( new Label(order1.getCourse()));
Datapanel.add(panel);
panel = new Panel();
panel.add( new Label("Number of persons:"));
panel.add( new Label(new Integer(order1.getPeople()).toString()));
Datapanel.add(panel);
panel = new Panel();
panel.add( new Label("Total Cost of your order"));
panel.add( new Label(new Integer(order1.getTotal()).toString()));
Datapanel.add(panel);
add(Datapanel, "Center");
setSize(400,300);
setLocation(320,240);
setTitle("Order Confirmation");
pack();
public void actionPerformed( ActionEvent e)
dispose();here is also the class Order
import java.util.*;
public class Order
private String[] OrderDetails = new String[9]; //create array 9 elements
Order(String[] c)
this.OrderDetails = c;
String getSName() //return Surname
String s = OrderDetails[0];
return s;
String getFName() //return First Name
String f = OrderDetails[1];
return f;
String getEmail() //return E-mail
String email = OrderDetails[2];
return email;
String getCCard() //return CCard number
String cc = OrderDetails[3];
return cc;
String getExpMonth() //return CCard Expiry Month
String expm = OrderDetails[4];
return expm;
String getExpYear() //return CCard Expiry Year
String expy = OrderDetails[5];
return expy;
String getCourse() //return Course's name
String course = OrderDetails[6];
return course;
int getPrice() //return Price (Full-Time, Part-Time, Concessions)
String price1 = OrderDetails[7];
int price = Integer.parseInt(price1);
return price;
int getPeople() //return number of participants
String people1 = OrderDetails[8];
int people = Integer.parseInt(people1);
return people;
int getTotal() //return total cost of booking
int Total = getPrice()*getPeople();
return Total;
} -
Don't understand error message.
Update: I'm looking for any ideas on this. I know it's hard without the full script. I'm more than happy to send it to you, but it is over 450 lines. All of the database functions work fine, as does an earlier version of this script from which there are only small changes to this version. I have searched through the the changes for several days.
I'm getting the following error message on a script that I briefly changed from one that worked fine. All the database manipulations work fine. This exists only on my computer right now. The messages are:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs\lorianorg01\ssregister\ss07-finalregis.php:4) in C:\xampp\htdocs\lorianorg01\ssregister\ss07-finalregis.php on line 76
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\lorianorg01\ssregister\ss07-finalregis.php:4) in C:\xampp\htdocs\lorianorg01\ssregister\ss07-finalregis.php on line 76
Here is the code, beginning at line 75:
//Establish session variables
session_start();
$_SESSION['ss_id'] = $regis_ss_id;
$_SESSION['ss_name'] = $regis_ss_name;
$_SESSION['ss_nomonths'] = $regis_ss_nomonths;
$_SESSION['ss_cost'] = $regis_ss_cost;
$_SESSION['ss_homelink'] = $regis_ss_link;
$_SESSION['email_address'] = $regis_email_address;
$_SESSION['first_name'] = $regis_first_name;
$_SESSION['last_name'] = $regis_last_name;Thanks for the reply!
What follows is first 135 lines of code. As I mentioned, this code in another script, works fine. I copied that code and pasted it into a new folder. I have made sure the links are still good and the database manipulations are all good using a new table. I believe that the problem is in the combination of copying the code and the changes I made. I have done a compare of the original and the changed scripts and studied it for hours to see if I can find an error. I've also put the code in Aptana to see if it picks anything up. Nothing.
<?php require_once('../Connections/classlist.php'); ?>
<?php require_once('../Connections/ssrecords.php'); ?>
<?php
// [07] This script finalizes the registration and produces letters to Lorian and the registrant.
//The above connections provide links to the LorianSchool database for classlist and ssrecords.
//This function, generated by Dreamweaver, determines the type of information being retrieved from the database.
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
?>
<?php
//Pick up the "record ID" (SS ID)
$colname_DetailRS1 = "-1";
if (isset($_GET['recordID'])) {
$colname_DetailRS1 = $_GET['recordID'];
//Get SS info from ssrecords table
mysql_select_db($database_classlist, $classlist);
$query_DetailRS1 = sprintf("SELECT * FROM ssrecords WHERE ssrecords.ss_id = %s", GetSQLValueString($colname_DetailRS1, "text"));
$DetailRS1 = mysql_query($query_DetailRS1, $classlist) or die(mysql_error());
$row_DetailRS1 = mysql_fetch_assoc($DetailRS1);
$totalRows_DetailRS1 = mysql_num_rows($DetailRS1);
$regis_ss_id = $row_DetailRS1['ss_id'];
$regis_ss_name = $row_DetailRS1['ss_name'];
$regis_ss_nomonths = $row_DetailRS1['ss_nomonths'];
$regis_ss_cost = $row_DetailRS1['ss_cost'];
$regis_ss_link = $row_DetailRS1['ss_homelink'];
// Pick up the email address
$colname_classentry = "-1";
if (isset($_GET['email_address'])) {
$colname_classentry = $_GET['email_address'];
//Get the registrant information from the nameregistration table
mysql_select_db($database_classlist, $classlist);
$query_classentry = sprintf("SELECT * FROM nameregistration WHERE nameregistration.email_address = %s", GetSQLValueString($colname_classentry, "text"));
$classentry = mysql_query($query_classentry, $classlist) or die(mysql_error());
$row_classentry = mysql_fetch_assoc($classentry);
$totalRows_classentry = mysql_num_rows($classentry);
$regis_email_address = $row_classentry['email_address'];
$regis_first_name = $row_classentry['first_name'];
$regis_last_name = $row_classentry['last_name'];
//Establish session variables
session_start();
$_SESSION['ss_id'] = $regis_ss_id;
$_SESSION['ss_name'] = $regis_ss_name;
$_SESSION['ss_nomonths'] = $regis_ss_nomonths;
$_SESSION['ss_cost'] = $regis_ss_cost;
$_SESSION['ss_homelink'] = $regis_ss_link;
$_SESSION['email_address'] = $regis_email_address;
$_SESSION['first_name'] = $regis_first_name;
$_SESSION['last_name'] = $regis_last_name;
//Prepare to write the class registration record in SSregis table
mysql_select_db($database_ssrecords, $ssrecords);
$query_registration = "SELECT * FROM ssregis";
$registration = mysql_query($query_registration, $ssrecords) or die(mysql_error());
$row_registration = mysql_fetch_assoc($registration);
$totalRows_registration = mysql_num_rows($registration);
$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
//On clicking Submit, insert a new record in the ssregis table
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
$regis_paid_code = $_POST["submit"];
$insertSQL = sprintf("INSERT INTO ssregis (email_address, ss_id, ss_cost, reg_date, paid_code) VALUES (%s, %s, %s, %s, %s)",
GetSQLValueString($regis_email_address, "text"),
GetSQLValueString($regis_ss_id, "text"),
GetSQLValueString($regis_ss_cost, "double"),
GetSQLValueString($regis_reg_date, "date"),
GetSQLValueString($regis_paid_code, "text"));
mysql_select_db($database_ssrecords, $ssrecords);
$Result1 = mysql_query($insertSQL, $ssrecords) or die(mysql_error());
$regis_regid = mysql_insert_id();
//Get ID of registration record just written in ssregis
mysql_select_db($database_ssrecords, $ssrecords);
$query_registration = "SELECT * FROM ssregis WHERE reg_id = '$regis_regid'";
$registration = mysql_query($query_registration, $classlist) or die(mysql_error());
$new_row = mysql_fetch_assoc($registration);
//If using PayPal go to Paypalregis.php
if ($regis_paid_code == "PayPal") {
$insertGoTo = "\ssregister\ss08-ppregis.php";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
$insertGoTo .= "®_id=".$new_row['reg_id'];
else {
//If not using PayPal go to Lorian Home page.
$insertGoTo = "lorianorg01/index.html";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
$insertGoTo .= "®_id=".$new_row['reg_id'];
header(sprintf("Location: %s", $insertGoTo)); -
Don't understand error messages and how to resolve them
I am having error messages that are confusing. I thought any fonts I used that were not web safe or in Typekit would turn to images, and there would be no problem. What are these errors about? When I view the site in Safari everything looks the way it should.
Thanks for your help.
Here is the site:
http://marystephens.businesscatalyst.com/index.htmlHi
As you guess i 'am a newbie!
I don't understand Inner Classes, particulary
members(methods & fields) that an Inner method is
able to manipulate.
So I know that the methods of an Inner class
(respectively Outer Class) instance can access
members (private or public) of an instance of the
Outer Class (respectively Inner Class).
I tried to answer to a quizz :
http://java.sun.com/developer/onlineTraining/new2java/
supplements/quizzes/January03.html
In the following class definition, which variables
are inaccessible within the method of the inner
class?
class Test1 {
public static int a = 1;
private static int b = 2;
public int c = 3;
private int d = 4;
public static class Inner {
int e = 5;
public void aMethod(int f) {
int g = 6;
// What can't be accessed here?
}A. b, c, d
B. c, d
C. b, c, d, f
D. None of them
In my opinion members (public or private) of the
Outer Class can be accessed by methods of the Inner
Class; e.g: a, b, c,d thus for me the answer is
D.
Obviously i'm wrong, but why?Inner class method can access all the private members of the class. But the inner class is static. So the non-static members cannot be accessed directly (i.e. c and d).
***Annie*** -
Don not understand error message
Hi Community,
since I updated my Developer Studio from 2.0.5 to 2.0.8
I'm permantly faced to a strange error message I can not deal with.
Error stacktrace:
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for View com.sap.knutsidea.AdminView.
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.<init>(DelegatingView.java:50)...
Would somebody be so kind and explain this to me? Thank's a lot for your always good help, Robert.Hi,
now It's running. You were right. But I got another problem now. The Behaviour of my WD Application changed.
I got a View which contains a tree control. For this tree control I implemented the method onActionSelect.
public void onActionSelect(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, com.sap.tut.wd.tree.wdp.IPrivateTreeView.ITreeNodeElement selectedElement )
//@@begin onActionSelect(ServerEvent)
if( selectedElement == null)
wdContext.currentContextElement().setLabelname("Element = null");
//wdThis.wdFirePlugToDispatcherView(selectedElement);
//@@end
If I check the parameter selectedElement now for null, I get true. That means this structure isn't filled out automatically anymore.
Do you know something about API changes or how to fix this problem? Regards and thank's a lot, Robert. -
After syncing my iPhone to outlook (via cord) I get an error message from Mobile Me. I don't even use Mobile Me. How do I get rid of it?
In your Uninstall a program control panel, uninstall the MobileMe control panel for Windows.
-
A way to display error messages from the program
Dear all,
I am looking forward to display a set of error messages(in a internal table) during the execution of the program to the user.
I wanted to know the better way of displaying error messages from my program with more options.
Well I tried out using displaying errors as ALV list/Grid or as simple list processing.
But I found some stanadard transactions (Like in MM and FI where errors are shown in a better way, but failed to find out how they are done.
Please guide me.
Thanks in advance
AryanTry to use application logging it has a very good way to display a set of messages.
[http://abap4.tripod.com/Using_Application_Logging.html|http://abap4.tripod.com/Using_Application_Logging.html]
Run this report in se38 an example sap report to understand logging way to show a set of messages
Report Name : SBAL_DEMO_01
Edited by: Vighneswaran CE on Dec 19, 2010 3:01 PM
Edited by: Vighneswaran CE on Dec 19, 2010 3:11 PM -
My printer works great but I keep getting error messages from HP Solutions Center
I'm using an HP Officejet J6480 All in One Printer on a Windows 7 64 Bit machine. The printer works great but I kept getting error messages from the HP Solutions Center every 15 seconds that popped up making it impossible to do work on my laptop so I uninstalled the Solutions Center to try to fix the problem. Now the printer won't print. Is there a way to re-install the Solutions Center and get rid of the pop up error messages?
hello Danagriz, unfortunately the plugin check page lags behind. adobe has released a critical patch for a vulnerability in its flash plugin, which is reportedly already exploited in the wild. therefore firefox will block insecure versions from running by default on websites for your protection.
https://helpx.adobe.com/security/products/flash-player/apsb14-27.html https://addons.mozilla.org/firefox/blocked/p794
please update to Adobe Flash Player version 16.0.0.235 as soon as possible, which you can download from http://www.adobe.com/products/flashplayer/distribution3.html (use the windows-exe for plugin-based browsers).
in order to update java, go to java.com (or if you don't need the plugin you can also uninstall it though the windows control panel) -
When sending an email through windows live I get an error message from WebKit2WebProcess.exe
Hi,
Every time when I try and send an email from windows live I get an error message from WebKit2WebProcess.exe.
Not sure if I deactivate this from Windows live whether I will compromise my security.
Any advice would be helpful.
Thanks,
BeckyThank you Matt. I'm sure this will be frustrating ...but the more I think about this problem there more info I have to share. The emails I write that do not get sent do end up in my "sent" folder but never reach the recipient. And, most perplexing, the issue/problem is sporadic. It was coming and going before I switched over to the SSL/TLS option in T-bird. And...since the switch it has reappeared and disappeared. I have made zero changes other than the above mentioned. I did get a security update today for T-bird perhaps this will help?
I read your link, thank you.
I obviously don't understand how these systems work. I'm baffled how an issue like this can come and go... -
To try to resolve this problem, I have done the following actions.
1 - I have run Disk Warrior.
2 - I have repaired permissions.
3 - I have deleted all plist that are either Cannon or Adobe.
4 - I have downloaded and installed the lastest versions of Adobe Reader and the Cannon printer drivers.
I am still unable to print PDF's.
In Safari, I can print only the first page. In a multipage PDF, Safari only seems to recognize the first page.
In Adobe Reader, I get an error message from my printer: "/usr/libexec/cups/filter/pstocupsraster failed".
Any help would be greatly appreicated!Quit Safari.
Open the Library folder in your home folder as follows:
☞ If running OS X 10.7 or later, hold down the option key and select Go ▹ Library from the Finder menu bar.
☞ If running an older version of OS X, select Go ▹ Go to Folder… from the Finder menu bar and copy the line below into the text box that opens:
~/Library
Delete the following items from the Library folder:
Caches/com.apple.Safari/Cache.db
Preferences/com.apple.quicktime.plugin.preferences.plist
Preferences/QuickTime Preferences
Relaunch Safari and test.
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ If you’re running OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.
Select "/var/log/cups/error_log" from the file list. Post the messages from the time of the last printing attempt.
Post the log text, please, not a screenshot. If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message. -
Error message from Internet Explorer v8.0.6
My Muse test site is currently on Business Catalyst. The url is http://wfax-test.businesscatalyst.com — my client says that they get an error message from Internet Explorer version 8.0.6 "MuseJSAssert: error calling selector function: error: a security problem occurred". The good news is that this only appears on the "Schedule" page of the site. Any idea what it could be? My client is afraid for me to put the site online because of this error message.
Hi Artby,
In your page, you have a link to "http://[email protected]//[email protected]" (Saturday Afternoon at 3:00). This link is technically a valid link, but I'm not sure it is what you intended. If you where looking to create an email there, you should remove the http:// in front of the link and Muse should properly create an email link. If you were trying to go to a website, I'd recommend you check the URL again to make sure you have it right.
The link is throwing a security error because we have to do some extra processing for some of our links, so we check each of the urls and try to determine if there is extra logic we need. In this case, this link is telling the browser you'd like to "login" to the site qemi.org with the username "apostle". IE 8, by default, will block us from reading information from this type of link in case there is a password, or in case we shouldn't know the username. It is a security measure (thus the error) and should pose no risk.
If you did intend to have that URL, then this won't quite work at the moment in Muse. To work around this, you could pull out this small snippet into a custom HTML element or something, which Muse won't try and process (though you'd need to remove the class "nonblock" from the link if you copy/pasted the Muse export code).
Hope that helps,
Andrew -
Error Message from VM TMS 13.0
Dear all,
We have receive some error message from the VM TMS 13.0, that is installed a month ago.
<ErrorCode 1000>
Message="Faulting application name: TMSSNMPService.exe, version: 1.0.4008.29206, time stamp: 0x4d12159c Faulting module name: mscorlib.ni.dll, version: 4.0.30319.18444, time stamp: 0x52717d7e Exception code: 0xc0000005 Fault offset: 0x0000000000cd5bf7 Faulting process id: 0x116c Faulting application start time: 0x01cf68076319516f Faulting application path: C:\\Program Files (x86)\\TANDBERG\\TMS\\Services\\TMSSNMPService.exeFaulting module path: C:\\Windows\\assembly\\NativeImages_v4.0.30319_64\\mscorlib\\abf62e6545d2802fc60286678a67e6bf\\mscorlib.ni.dll Report Id: 371654ff-d3fb-11e3-98ea-005056b1027a"
<ErrorCode 1026>
Message="Application: TMSSNMPService.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException Stack: at System.Runtime.InteropServices.Marshal.ReadInt64(IntPtr, Int32) at Tandberg.CommLib.SnmpLib.TrapHandling.SnmpTrapHandler.VbToObject(Tandberg.CommLib.SnmpLib.WinSnmp.SMIVALUE ByRef) at Tandberg.CommLib.SnmpLib.TrapHandling.SnmpTrapHandler.VblToHashtable(IntPtr) at Tandberg.CommLib.SnmpLib.TrapHandling.SnmpTrapHandler.OnSnmpMessage(IntPtr, IntPtr, Int32, UInt32, UInt32, IntPtr)"
<ErrorCode 7031>
Message="The TMSSnmpService service terminated unexpectedly. It has done this 1 time(s). The following corrective action will be taken in 60000 milliseconds:
Any comments on the above error?
Best Regards,
Ben LaiThis seems to be happening on 14.2.2 as well.
Component: Application Error
Severity: Warning
Event class: /App/Failed
Device class: /Server/Windows/WMI/TMS
Systems: None
Summary: Faulting application name: wmiprvse.exe, version: 6.1.7600.16385, time stamp: 0x4a5bc794
Faulting module name: ole32.dll, version: 6.1.7600.16624, time stamp: 0x4c2984e3
Exception code: 0xc0000005
Fault offset: 0x00000000000393a9
Faulting process id:
Message:
Faulting application name: wmiprvse.exe, version: 6.1.7600.16385, time stamp: 0x4a5bc794
Faulting module name: ole32.dll, version: 6.1.7600.16624, time stamp: 0x4c2984e3
Exception code: 0xc0000005
Fault offset: 0x00000000000393a9
Faulting process id: 0x39c4
Faulting application start time: 0x01d04d36eb9b6c36
Faulting application path: C:\Windows\system32\wbem\wmiprvse.exe
Faulting module path: C:\Windows\system32\ole32.dll
Report Id: e334bd6f-b990-11e4-aa1d-842b2b6be310
http://tools.cisco.com/security/center/viewAlert.x?alertId=29142 -
Error message from my time capsule
I get the following error message from my time capsule when I try to backup my HD:
There was a problem connecting to the server "XXXXX".
Check the server name or IP address, and then try again. If you continue to have problems, contact your system administrator.You have lost all network connection to the TC. This is not so unusual since Mavericks.
You have listed hardware but the more important part is OS you are running.
Have you done a restart of the TC? That often gets it going.
A full network restart in correct order is next. With everything off.. power up modem.. wait 2min.. power up TC.. wait 2min. Power up computers etc.
Still no luck. Factory reset the TC and start over. -
ADF-BC/JSF How to display acustom error message from a backing bean
Hi all
Can anybody provide an example of how to manipulate the list of error messages from a JSF backing bean.
In my code I use a different navigation case and this directs the user to the page displaying the error message but I am sure that there must be a more elegant way.
Thanks in advance
ThanassisThanks Kris
I think you 've put me on the right track here, it's just that in my case what I really want to do is prevent my users from editing records not belonging to their own group. This is done via a selectOne table component and then the backing bean code tests if the value #{row.UserGroup} matches the #{bindings.LoggedOnUserGroup.inputValue}. If the values are equal then the beans returns the navigation case to the edit page. Otherwise it returns the navigation case for the "cannot edit" page.
So what I am thinking is to return null and somehow raise the right kind of exception in order to display the error in the af:messages tag.
Thanassis -
How can I Fetch the error message from a OAF page
Hi,
A confirmation message is coming on the page,I want to catch the error message and depending on its value want to add some validation.
Is that possible to fetch the error message from the page?is it a confirmation message or an error message ?
Code in the OAF page would be raising an OAException with a message name defined in message dictionary.
you would need to look at the code to understand where this is thrown from and add your validation there.
Tapash
Maybe you are looking for
-
Function Module for getting the desired date
Hi All, I need a function module where in get the date value from Current date - 540 days. i,e System Date - 540 days = ???? Thanks Suresh
-
CS4 "Save as Adobe PDF" not working in Mountain Lion
CS4 Save as Adobe PDF not working in Mountain Lion Just bought a new Mac with mountain lion, installed CS4 design premium twice trying to fix this. When you go to "print" then "Save as Adobe PDF" the process fails with a pop-up saying "An error occur
-
How do I get my photoshop registered again when i am not able to de-activate it on the old computor
Hi Is there anyone that can assist me - my old computor totally crashed. I bought photoshop CS5 in Dec and loaded it onto my old computor prior to the crash. Now I am unable to de-activate it before re-registering it on my new computor. Thanks Ria
-
Hi I have this business rule which makes my table design very complex(at least for me) My application keeps track of all the patients who are admitted to the hospital with some diagnosis(disease) like TB,asthma,Heart attack etc.Also my application is
-
Not able to install GTK+-2.12.0 in Solaris 9: Pango link Error
Hi I am trying to install GTK+-2.12.0 in my solaris 9 machine from last couple of days but while doing ./configure its throwing error with Pango: checking Pango flags... -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/gl