General supplementary error: General Error
After every call that i end or text message i send "general supplementary error: General Error" is been shown. why is this message shown every time and how to resolve this problem?
imankit234,
Perform a hard reset by removing the battery from the BlackBerry smartphone and reinserting it. Then complete a "Register Now" in the Host Routing Table as shown here:
http://bbry.lv/eaMdF6
If this fails to resolve the issue you may want to contact your wireless service provider for further assistance.
Cheers,
-FB
Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
Be sure to click Kudos! for those who have helped you.
Click "Accept as a Solution" for posts that have solved your issue(s)!
Similar Messages
-
Since switching to Firefox this week, when I click on a hyperlink in an e-mail in Outlook, I get this message, "General failure. An error occurred in sending the command to the application." It doesn't open a new window or do anything. Any work around to fix this?
See this lnk for a fix, it worked for me!
http://www.pcworld.com/article/200103/fix_outlook_general_failure_error_for_email_links.html -
Continuing from the original question above...
The full error message reads:
Application Error
General Exception
Name: com.aurigma.imageuploader.ImageUploader
ClassNotFoundException: com.aurigma.imageuploader.ImageUploader.class
This seems to be tied in with an update to Java 7, but my software won't allow me to proceed w/o the update. As soon as I update Java, the system gets corrupted and I just continually get the above message. I've done all I know to do, and I'm on my 4th 'restore', all the way back to June 14th. I really need this resolved, as my livelihood depends, in part on uploading pix I take in the field.
I'm using a 2.3Gh dual-core PC w/ 4 Gs of RAM on a totally updated WIndows XP operating system using Mozilla Firefox.
PLEASE, if there's a fix readily available, or if you can help me find one, I would be most seriously grateful.
Thank you!!!Does this software run in Firefox, or is it a stand-alone program?
Assuming it is a stand-alone program:
If you need to stick with an older version of Java until that software is updated, you can disable Java in your web browers to protect against its vulnerabilities. Naturally this will disable some website features (for example, this uploader on sites that use it). To disable Java in all browsers, you can use the Java control panel, security tab and uncheck the box to use Java in browsers.
(I don't know whether that takes effect immediately or after exiting and restarting the browsers.) -
Org.xml.sax.SAXException: Error:General Schema Error
I am getting the error below. Any clues/workarounds? I am
using WL 6.1.
Thanks in advance,
Eva
The following files are below:
Validate.java
BMDefaultHandler.java
validate.xml
validate.xsd
org.xml.sax.SAXException: Error:General Schema Error: Grammar with uri:http://schemas.xmlsoap.org/soap/envelope/
, can not be
found; schema namespace maybe wrong:
Xerces supports schemas from the "http://www.w3.org/2001/XMLSchema" namespace
or
the instance document's namespace may not match the targetNamespace of the schema.
at
com.bluemartini.xml.BMDefaultHandler.error(BMDefaultHandler.java:32)
at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1249)
at
org.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLEr
ror(XMLValidator.java:1821)
at
org.apache.xerces.validators.common.XMLValidator.validateElementAndAttr
ibutes(XMLValidator.java:3232)
at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLVa
lidator.java:1229)
at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentS
canner.java:1806)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispat
ch(XMLDocumentScanner.java:949)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentSca
nner.java:381)
at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.ja
va:195)
at
javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:191)
at com.bluemartini.test.Validate.main(Validate.java:32)
===Validate.java
package com.bluemartini.test;
import java.io.*;
import org.w3c.dom.*;
import com.bluemartini.xml.*;
// JAXP imports
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.ParserConfigurationException;
* Sample test case.
* Eva Flora
public class Validate {
public static void main(String[] argv) {
try {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setNamespaceAware(true);
factory.setValidating(true);
factory.setAttribute("http://xml.org/sax/features/validation", Boolean.TRUE);
factory.setAttribute("http://apache.org/xml/features/validation/schema",
Boolean.TRUE);
DocumentBuilder builder = factory.newDocumentBuilder();
BMDefaultHandler bmErrorHandler = new BMDefaultHandler();
builder.setErrorHandler(bmErrorHandler);
File temp = new File("validate.xml");
Document doc = builder.parse(temp);
} catch (Exception e) {
e.printStackTrace();
===BMDefaultHandler.java
package com.bluemartini.xml;
import com.bluemartini.dna.*;
import org.xml.sax.helpers.DefaultHandler;
import org.xml.sax.*;
public class BMDefaultHandler extends
DefaultHandler
public BMDefaultHandler()
public void warning(SAXParseException spe)
throws SAXException
System.out.println("Warning: " + spe.getMessage());
public void error(SAXParseException spe)
throws SAXException
throw new SAXException("Error:" + spe.getMessage());
public void fatalError(SAXParseException spe)
throws SAXException
throw new SAXException("Fatal Error: " + spe.getMessage());
===validate.xml
<?xml version="1.0" encoding="UTF-8"?>
<soapns:Envelope xmlns:soapns="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" xmlns:test="http://www.test.com"
xsi:noNamespaceSchemaLocation="validate.xsd">
<soapns:Header/>
<soapns:Body>
<test:GWSMapRequestMessage>
</test:GWSMapRequestMessage>
</soapns:Body>
</soapns:Envelope>
===validate.xsd
<schema xmlns="http://www.w3.org/2000/10/XMLSchema">
<element name="GWSMapRequestMessage" type="TestType"/>
<complexType name="TestType">
</complexType>
</schema>I am getting the error below. Any clues/workarounds? I am
using WL 6.1.
Thanks in advance,
Eva
The following files are below:
Validate.java
BMDefaultHandler.java
validate.xml
validate.xsd
org.xml.sax.SAXException: Error:General Schema Error: Grammar with uri:http://schemas.xmlsoap.org/soap/envelope/
, can not be
found; schema namespace maybe wrong:
Xerces supports schemas from the "http://www.w3.org/2001/XMLSchema" namespace
or
the instance document's namespace may not match the targetNamespace of the schema.
at
com.bluemartini.xml.BMDefaultHandler.error(BMDefaultHandler.java:32)
at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1249)
at
org.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLEr
ror(XMLValidator.java:1821)
at
org.apache.xerces.validators.common.XMLValidator.validateElementAndAttr
ibutes(XMLValidator.java:3232)
at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLVa
lidator.java:1229)
at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentS
canner.java:1806)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispat
ch(XMLDocumentScanner.java:949)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentSca
nner.java:381)
at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.ja
va:195)
at
javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:191)
at com.bluemartini.test.Validate.main(Validate.java:32)
===Validate.java
package com.bluemartini.test;
import java.io.*;
import org.w3c.dom.*;
import com.bluemartini.xml.*;
// JAXP imports
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.ParserConfigurationException;
* Sample test case.
* Eva Flora
public class Validate {
public static void main(String[] argv) {
try {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setNamespaceAware(true);
factory.setValidating(true);
factory.setAttribute("http://xml.org/sax/features/validation", Boolean.TRUE);
factory.setAttribute("http://apache.org/xml/features/validation/schema",
Boolean.TRUE);
DocumentBuilder builder = factory.newDocumentBuilder();
BMDefaultHandler bmErrorHandler = new BMDefaultHandler();
builder.setErrorHandler(bmErrorHandler);
File temp = new File("validate.xml");
Document doc = builder.parse(temp);
} catch (Exception e) {
e.printStackTrace();
===BMDefaultHandler.java
package com.bluemartini.xml;
import com.bluemartini.dna.*;
import org.xml.sax.helpers.DefaultHandler;
import org.xml.sax.*;
public class BMDefaultHandler extends
DefaultHandler
public BMDefaultHandler()
public void warning(SAXParseException spe)
throws SAXException
System.out.println("Warning: " + spe.getMessage());
public void error(SAXParseException spe)
throws SAXException
throw new SAXException("Error:" + spe.getMessage());
public void fatalError(SAXParseException spe)
throws SAXException
throw new SAXException("Fatal Error: " + spe.getMessage());
===validate.xml
<?xml version="1.0" encoding="UTF-8"?>
<soapns:Envelope xmlns:soapns="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" xmlns:test="http://www.test.com"
xsi:noNamespaceSchemaLocation="validate.xsd">
<soapns:Header/>
<soapns:Body>
<test:GWSMapRequestMessage>
</test:GWSMapRequestMessage>
</soapns:Body>
</soapns:Envelope>
===validate.xsd
<schema xmlns="http://www.w3.org/2000/10/XMLSchema">
<element name="GWSMapRequestMessage" type="TestType"/>
<complexType name="TestType">
</complexType>
</schema> -
Org.xml.sax.SAXException: Error:General Schema Error: Grammar
I am getting the error below. Any clues/workarounds? I am
using WL 6.1.
Thanks in advance,
Eva
The following files are below:
Validate.java
BMDefaultHandler.java
validate.xml
validate.xsd
org.xml.sax.SAXException: Error:General Schema Error: Grammar with uri:http://schemas.xmlsoap.org/soap/envelope/
, can not be
found; schema namespace maybe wrong:
Xerces supports schemas from the "http://www.w3.org/2001/XMLSchema" namespace
or
the instance document's namespace may not match the targetNamespace of the schema.
at
com.bluemartini.xml.BMDefaultHandler.error(BMDefaultHandler.java:32)
at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1249)
at
org.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLEr
ror(XMLValidator.java:1821)
at
org.apache.xerces.validators.common.XMLValidator.validateElementAndAttr
ibutes(XMLValidator.java:3232)
at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLVa
lidator.java:1229)
at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentS
canner.java:1806)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispat
ch(XMLDocumentScanner.java:949)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentSca
nner.java:381)
at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.ja
va:195)
at
javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:191)
at com.bluemartini.test.Validate.main(Validate.java:32)
===Validate.java
package com.bluemartini.test;
import java.io.*;
import org.w3c.dom.*;
import com.bluemartini.xml.*;
// JAXP imports
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.ParserConfigurationException;
* Sample test case.
* Eva Flora
public class Validate {
public static void main(String[] argv) {
try {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setNamespaceAware(true);
factory.setValidating(true);
factory.setAttribute("http://xml.org/sax/features/validation", Boolean.TRUE);
factory.setAttribute("http://apache.org/xml/features/validation/schema",
Boolean.TRUE);
DocumentBuilder builder = factory.newDocumentBuilder();
BMDefaultHandler bmErrorHandler = new BMDefaultHandler();
builder.setErrorHandler(bmErrorHandler);
File temp = new File("validate.xml");
Document doc = builder.parse(temp);
} catch (Exception e) {
e.printStackTrace();
===BMDefaultHandler.java
package com.bluemartini.xml;
import com.bluemartini.dna.*;
import org.xml.sax.helpers.DefaultHandler;
import org.xml.sax.*;
public class BMDefaultHandler extends
DefaultHandler
public BMDefaultHandler()
public void warning(SAXParseException spe)
throws SAXException
System.out.println("Warning: " + spe.getMessage());
public void error(SAXParseException spe)
throws SAXException
throw new SAXException("Error:" + spe.getMessage());
public void fatalError(SAXParseException spe)
throws SAXException
throw new SAXException("Fatal Error: " + spe.getMessage());
===validate.xml
<?xml version="1.0" encoding="UTF-8"?>
<soapns:Envelope xmlns:soapns="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" xmlns:test="http://www.test.com"
xsi:noNamespaceSchemaLocation="validate.xsd">
<soapns:Header/>
<soapns:Body>
<test:GWSMapRequestMessage>
</test:GWSMapRequestMessage>
</soapns:Body>
</soapns:Envelope>
===validate.xsd
<schema xmlns="http://www.w3.org/2000/10/XMLSchema">
<element name="GWSMapRequestMessage" type="TestType"/>
<complexType name="TestType">
</complexType>
</schema>I guess the problem is due to the schema namespace
you are using.
xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
pls try with :
"http://www.w3.org/2001/XMLSchema"
regards,
-manoj
"Eva Flora" <[email protected]> wrote in message
news:[email protected]...
I am getting the error below. Any clues/workarounds? I am
using WL 6.1.
Thanks in advance,
Eva
The following files are below:
Validate.java
BMDefaultHandler.java
validate.xml
validate.xsd
org.xml.sax.SAXException: Error:General Schema Error: Grammar with
uri:http://schemas.xmlsoap.org/soap/envelope/
, can not be
found; schema namespace maybe wrong:
Xerces supports schemas from the "http://www.w3.org/2001/XMLSchema"
namespace
or
the instance document's namespace may not match the targetNamespace of the
schema.
at
com.bluemartini.xml.BMDefaultHandler.error(BMDefaultHandler.java:32)
at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1249)
at
org.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLEr
ror(XMLValidator.java:1821)
at
org.apache.xerces.validators.common.XMLValidator.validateElementAndAttr
ibutes(XMLValidator.java:3232)
at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLVa
lidator.java:1229)
at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentS
canner.java:1806)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispat
ch(XMLDocumentScanner.java:949)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentSca
nner.java:381)
at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.ja
va:195)
at
javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:191)
at com.bluemartini.test.Validate.main(Validate.java:32)
===Validate.java
package com.bluemartini.test;
import java.io.*;
import org.w3c.dom.*;
import com.bluemartini.xml.*;
// JAXP imports
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.ParserConfigurationException;
* Sample test case.
* Eva Flora
public class Validate {
public static void main(String[] argv) {
try {
DocumentBuilderFactory factory =
DocumentBuilderFactory.newInstance();
factory.setNamespaceAware(true);
factory.setValidating(true);
factory.setAttribute("http://xml.org/sax/features/validation",
Boolean.TRUE);
factory.setAttribute("http://apache.org/xml/features/validation/schema",
Boolean.TRUE);
DocumentBuilder builder = factory.newDocumentBuilder();
BMDefaultHandler bmErrorHandler = new BMDefaultHandler();
builder.setErrorHandler(bmErrorHandler);
File temp = new File("validate.xml");
Document doc = builder.parse(temp);
} catch (Exception e) {
e.printStackTrace();
===BMDefaultHandler.java
package com.bluemartini.xml;
import com.bluemartini.dna.*;
import org.xml.sax.helpers.DefaultHandler;
import org.xml.sax.*;
public class BMDefaultHandler extends
DefaultHandler
public BMDefaultHandler()
public void warning(SAXParseException spe)
throws SAXException
System.out.println("Warning: " + spe.getMessage());
public void error(SAXParseException spe)
throws SAXException
throw new SAXException("Error:" + spe.getMessage());
public void fatalError(SAXParseException spe)
throws SAXException
throw new SAXException("Fatal Error: " + spe.getMessage());
===validate.xml
<?xml version="1.0" encoding="UTF-8"?>
<soapns:Envelope xmlns:soapns="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
xmlns:test="http://www.test.com"
xsi:noNamespaceSchemaLocation="validate.xsd">
<soapns:Header/>
<soapns:Body>
<test:GWSMapRequestMessage>
</test:GWSMapRequestMessage>
</soapns:Body>
</soapns:Envelope>
===validate.xsd
<schema xmlns="http://www.w3.org/2000/10/XMLSchema">
<element name="GWSMapRequestMessage" type="TestType"/>
<complexType name="TestType">
</complexType>
</schema>
[att1.html] -
Error message-----General error (34) Error : out of memory
Im trying to open a sequence & im getting an error message general error (34) Error out of memory
wont open sequence
any ideasHow much free space do you have on your scratch disk
What amount of RAM?
Read this thread:
http://discussions.apple.com/thread.jspa?messageID=1162802� -
" SYSTEM ERROR" with ERROR CATEGORY: Message and ERROR ID : GENERAL
HI all
I m doing JDBC -> XI -> SOAP -> XI -> FILE ( XML) scenario .I have implemented it using BPM .
But ,In MONI , i am getting a "SYSTEM ERROR " with "ERROR CATEGORY : MESSAGE" and "ERROR ID : GENERAL" .and
One thing more is there my all adapters are active (JDBC,FILE) in runtime workbench but SOAP adapters i am not able to see it there as its services are not defined in there .Is this problem is because SOAP adapters are not defined in runtime workbench ?Hi Colin
I are using SP 3.0
I have checked the Communication channel monitoring and Adapter monitering also but in mine case when i want to see the SOAP adapter in adapter monitoring , the SOAP ICON is disabled there ,so i am not able to see whats the status of my SOAP adapter i have used in my scenario
Thanks and Regards
Abhishek -
Error.General Installation Error for EVERY Browser, MAC OSX 10.8
Error.General Installation Error for EVERY Browser... running MAC, OS X 10.8.3 (12D78)
Try this installer http://fpdownload.macromedia.com/get/flashplayer/current/licensing/mac/install_flash_playe r_11_osx.dmg
-
Tengo un macbook 2010:
- OSX versión 10.8.5
-procesador: 2,4 GHz Intel Core 2 Duo
-4 GB de memoria RAM
Uso Safari 6.2.
Durante varias horas he estado tratando de instalar el flash player en mi computador, he probado todos los pasos posibles para poder hacerlo. Desde desinstalarlo, instalarlo desde limpio y así con todos los pasos que ofrece la pagina de Adobe. Al final, siempre sucede lo mismo, llega al 5% de instalación en algunos casos y otras hasta el 95% pero siempre me arroja "error general de instalación". ¿Qué puedo hacer?
De antemano, gracias!Por si a alguien le sirve les comento cual fue la resolución del problema. Al parecer por alguna razón el certificado de CA Intermedio "Developer ID Certification Authority" tenia una configuración personalizada de confianza. Restaurando esta opción al valor por omisión el certificado paso a ser confiable (como se muestra en la imagen) y dejaron de dar errores los instaladores.
Quizá Adobe podría mostrar un mensaje más acorde cuando falla la instalación por la confianza en el certificado.
Saludos -
What type of errors generally we wil get in script and smartform?
what type of errors generally we wil get in script and smartform?
Hi,
Script and Smartforms are used to Output the outgoing Document print in any orgn.
Mostly the problem is the allignment of windows on the page.
Data problems are very little. printing of pages, ie. particular data should come in first page and other on second page,
and the address should not come in 2 pages,
displaying of currency related fields errors, texts related errors are the mostly occuring errors.
reward if useful
regards,
Anji -
Application Error General Exception
Everytime I leave a pogo game it say Application Error General Exception Jave.lang.Null Pointer Exception: null pData. How do I fix this?
Hi,
I'm receiving the same error whenever the JRE is running and I close IE. So, basically I get this error when closing IE after visiting any website that uses an applet. Everything seems to work fine until the time comes to close IE.
I am using IE 7 and Java Plug-in 1.6.0_07. I have tried uninstalling then reinstalling Java (there were several Java entries in my Windows Control Panel - Add / Remove Prorams).
When I try to close IE, I get a pop-up dialog that says "General Exception" Name: applet name (this value changes depending on what applet currently running). java.lang.NullPointerException: null pData.
When I click Details, I see a stack trace below:
java.lang.NullPointerException: null pData
at sun.awt.windows.WComponentPeer.hide(Native Method)
at java.awt.Component.removeNotify(Unknown Source)
at java.awt.Container.removeNotify(Unknown Source)
at java.awt.Container.removeAll(Unknown Source)
at sun.plugin.viewer.frame.IExplorerEmbeddedFrame.windowClosed(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Any help would be much appreciated. -
Getting weird error: "General Photoshop error occurred".
Hi Guys,
I am trying to get the info(font, color, alignment etc.) of text kind layer in Photoshop CC. My script is as follows,
var textLayer = activeDocument.activeLayer.textItem;
var fontName = textLayer.font;
try{
var textColor = "R: " + textLayer.color.rgb.red + " G: " + textLayer.color.rgb.green + " B: " + textLayer.color.rgb.blue;
catch(e){alert(e);}
try
var textAlignment = textLayer.justification.toString();
catch(e){alert(e);}
On setting the color value R - 0, B - 0 and G - 0 or alignment 'Left' and create a text layer after this. I encountered an error
"Error: General Photshop error occurred. This functionality may not be available in this version of Photoshop.
- <no additional information available> "
If I set some other color value and other alignment and create the text and get its info, script works fine.
Or If I change the values and revert it back to 'Left' alignment and R-0, B-0 and G-0 then I am able to get the values with the above script.
I get this error at first time only and after that script works fine
I also run this script with CS5 version, Its working fine there. But I don't know why I am getting this error in CC version.
Am I doing something wrong here or Is it some issue with Photoshop CC.
Any help would be appriciated.
Thanks..Is your text layer using a layer style? If so, this routine should find the font and color in use.
var fontsInUse = [];
var colorsInUse = [];
if ( documents.length > 0 ) {
GetFontUsage( activeDocument.layers, fontsInUse );
alert( fontsInUse );
GetColorUsage( activeDocument.layers, colorsInUse );
alert( colorsInUse );
} else {
alert( "Please open a document." );
function GetFontUsage( l, f ) {
for ( var i = 0; i < l.length; i++ ) {
if ( l[i].typename == "LayerSet" ) {
GetFontUsage( l[i].layers, f );
} else if ( l[i].typename == "ArtLayer" && l[i].kind == LayerKind.TEXT ) {
try {
f.push( l[i].textItem.font );
catch(e) {
f.push( GetFontUsageFromDescriptor( l[i] ) );
function GetColorUsage( l, f ) {
for ( var i = 0; i < l.length; i++ ) {
if ( l[i].typename == "LayerSet" ) {
GetFontUsage( l[i].layers, f );
} else if ( l[i].typename == "ArtLayer" && l[i].kind == LayerKind.TEXT ) {
try {
f.push( Math.round(l[i].textItem.color.rgb.red) + ":" +
Math.round(l[i].textItem.color.rgb.green) + ":" +
Math.round(l[i].textItem.color.rgb.blue));
catch(e) {
f.push( GetColorUsageFromDescriptor( l[i] ) );
// text layer probably has a layer style
// we will try to select the layer
// pull the descriptor
// and see if we can find a font
function GetFontUsageFromDescriptor( l ) {
var layerFontName = "";
var lastActive = activeDocument.activeLayer;
activeDocument.activeLayer = l;
var ktextKeyStr = stringIDToTypeID("textKey");
var ref = new ActionReference();
ref.putProperty(charIDToTypeID('Prpr'), ktextKeyStr);
ref.putEnumerated(charIDToTypeID('Lyr '), charIDToTypeID('Ordn'),
charIDToTypeID('Trgt'));
var desc = executeActionGet(ref);
if ( desc.hasKey( ktextKeyStr ) ) {
var descText = desc.getObjectValue( ktextKeyStr );
var kparagraphStyleRangeStr = stringIDToTypeID( "paragraphStyleRange" );
if ( descText.hasKey( kparagraphStyleRangeStr ) ) {
var paraList = descText.getList( kparagraphStyleRangeStr );
var kparagraphStyleStr = stringIDToTypeID("paragraphStyle");
var paraDesc = paraList.getObjectValue( 0 );
if ( paraDesc.hasKey( kparagraphStyleStr ) ) {
var paraStyle = paraDesc.getObjectValue( kparagraphStyleStr );
var kdefaultStyleStr = stringIDToTypeID("defaultStyle");
if ( paraStyle.hasKey( kdefaultStyleStr ) ) {
var defStyle = paraStyle.getObjectValue( kdefaultStyleStr );
var kfontPostScriptNameStr = stringIDToTypeID("fontPostScriptName");
if ( defStyle.hasKey( kfontPostScriptNameStr ) ) {
layerFontName = defStyle.getString( kfontPostScriptNameStr );
activeDocument.activeLayer = lastActive;
return layerFontName;
// text layer probably has a layer style
// we will try to select the layer
// pull the descriptor
// and see if we can find a color
function GetColorUsageFromDescriptor( l ) {
var layerColor = "";
var lastActive = activeDocument.activeLayer;
activeDocument.activeLayer = l;
var ktextKeyStr = stringIDToTypeID("textKey");
var ref = new ActionReference();
ref.putProperty(charIDToTypeID('Prpr'), ktextKeyStr);
ref.putEnumerated(charIDToTypeID('Lyr '), charIDToTypeID('Ordn'),
charIDToTypeID('Trgt'));
var desc = executeActionGet(ref);
if ( desc.hasKey( ktextKeyStr ) ) {
var descText = desc.getObjectValue( ktextKeyStr );
var kparagraphStyleRangeStr = stringIDToTypeID( "paragraphStyleRange" );
if ( descText.hasKey( kparagraphStyleRangeStr ) ) {
var paraList = descText.getList( kparagraphStyleRangeStr );
var kparagraphStyleStr = stringIDToTypeID("paragraphStyle");
var paraDesc = paraList.getObjectValue( 0 );
if ( paraDesc.hasKey( kparagraphStyleStr ) ) {
var paraStyle = paraDesc.getObjectValue( kparagraphStyleStr );
var kdefaultStyleStr = stringIDToTypeID("defaultStyle");
if ( paraStyle.hasKey( kdefaultStyleStr ) ) {
var defStyle = paraStyle.getObjectValue( kdefaultStyleStr );
var kColorStr = stringIDToTypeID("color");
if ( defStyle.hasKey( kColorStr ) ) {
var colorDesc = defStyle.getObjectValue( kColorStr );
layerColor += Math.round( colorDesc.getInteger( stringIDToTypeID("red" ) ) ) + ":";
layerColor += Math.round( colorDesc.getInteger( stringIDToTypeID("green" ) ) ) + ":";
layerColor += Math.round( colorDesc.getInteger( stringIDToTypeID("blue" ) ) );
activeDocument.activeLayer = lastActive;
return layerColor; -
Error general impresora 0X610000f6
error general impresora 0X610000f6
Hello fescamilla:
Click on this link. http://www.fixya.com/support/t4313348-error_message_0x610000f6 -
Installazione dell'Add-on MyColorPicker non riuscita: messaggio di errore generale.
cosa posso fare ?
what can i do ?
grazie !For this issue, we recommend upgrading your version of Extension Manager to the latest build.
For CS6, it is 6.0.8.28
For CC, it is 7.3.2.39
You can obtain the latest versions from the CC Desktop App, free to download from: https://creative.adobe.com/products/creative-cloud -
4i Viewer "General exception during connect" error
4i Viewer servlet runs but with the following error --- "General exception during connect" (in the lower LH part of webpage). We're using a distributed setup: a WinNT4(sp6a)/IIS 4.0/JRun 3.0 machine and a Discoverer 4i server (WinNT4 sp6a). Plus has been tested and works (applet to EUL/db). JRun classpath is set correctly because the servlet starts. Does anyone know how to resolve this issue with the servlet connection to Discoverer services (servlet->Locator->Session)?
hi,
did you got the solution i am having same problem.
Maybe you are looking for
-
Have Family Mobile with 2 phones and only one Apple ID can all be controlled by the main phone?
-
How to Increase the number of string boxes?
I have attached a VI in which the number of string boxes in "No:, Questions , Ok/not Ok, Remarks " are eight. Can any one help me by changing the number of String/ Numeric boxes from 8 to 50 in all the items? I am very new to labview and i got this V
-
I see this in my options, "Data Services: On." What are data services? Do I need it on all the time? Does it waste battery? Owner of the BlackBerry Pearl Flip 8220
-
Time convertion b/w BST to GMT
Hi Guys, Is there any Oracle function to convert British time Zone(BST) to Green wich meen time Zone(GMT). if it is there would you please help me by Explaining that.. I need to covert Trade execution time from BST to GMT wich should Need to be in GM
-
I do not have a speech bubble option in Preview...
The latest version of Preview app from OS X Mountain Lion onward feature a couple of fun menu items that let you quickly add comic book styled speech bubbles to any photo. It's extremely easy to use, but it's also easy to overlook, so here's how to u