Internal Exception: java.lang.NoSuchFieldException

i have a java app that displays data from a table called MasterScrip using jpa. i wish to add an extra field to my table but, when i add an extra field named 'change' to my database table MasterScrip i get following exception, when i remove the field, the app works fine
Exception [EclipseLink-0] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.IntegrityException
Descriptor Exceptions:
Exception [EclipseLink-59] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The instance variable [change] is not defined in the domain class [entity.MasterScrip], or it is not accessible.
Internal Exception: java.lang.NoSuchFieldException: change
Mapping: org.eclipse.persistence.mappings.DirectToFieldMapping[change-->StockCommodityDB.MasterScrip.Change]
Descriptor: RelationalDescriptor(entity.MasterScrip --> [DatabaseTable(StockCommodityDB.MasterScrip)])
//stack trace with ejbTransactionRolledBackException
entity MasterScrip.java:
* To change this template, choose Tools | Templates
* and open the template in the editor.
package entity;
import java.io.Serializable;
import java.util.Collection;
import javax.persistence.Basic;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
* @author root
@Entity
@Table(name = "MasterScrip", catalog = "StockCommodityDB", schema = "")
@XmlRootElement
@NamedQueries({
@NamedQuery(name = "MasterScrip.findAll", query = "SELECT m FROM MasterScrip m"),
@NamedQuery(name = "MasterScrip.findByScripID", query = "SELECT m FROM MasterScrip m WHERE m.scripID = :scripID"),
@NamedQuery(name = "MasterScrip.findByScripSymbol", query = "SELECT m FROM MasterScrip m WHERE m.scripSymbol = :scripSymbol"),
@NamedQuery(name = "MasterScrip.findByType", query = "SELECT m FROM MasterScrip m WHERE m.type = :type"),
@NamedQuery(name = "MasterScrip.findByCompanyName", query = "SELECT m FROM MasterScrip m WHERE m.companyName = :companyName"),
@NamedQuery(name = "MasterScrip.findByLastTradedPrice", query = "SELECT m FROM MasterScrip m WHERE m.lastTradedPrice = :lastTradedPrice"),
@NamedQuery(name = "MasterScrip.findByLastTradedQuantity", query = "SELECT m FROM MasterScrip m WHERE m.lastTradedQuantity = :lastTradedQuantity"),
@NamedQuery(name = "MasterScrip.findByOpenPrice", query = "SELECT m FROM MasterScrip m WHERE m.openPrice = :openPrice"),
@NamedQuery(name = "MasterScrip.findByHighPrice", query = "SELECT m FROM MasterScrip m WHERE m.highPrice = :highPrice"),
@NamedQuery(name = "MasterScrip.findByLowPrice", query = "SELECT m FROM MasterScrip m WHERE m.lowPrice = :lowPrice"),
@NamedQuery(name = "MasterScrip.findByTotalTradedQuantity", query = "SELECT m FROM MasterScrip m WHERE m.totalTradedQuantity = :totalTradedQuantity"),
@NamedQuery(name = "MasterScrip.findByVolume", query = "SELECT m FROM MasterScrip m WHERE m.volume = :volume"),
@NamedQuery(name = "MasterScrip.findByExchange", query = "SELECT m FROM MasterScrip m WHERE m.exchange = :exchange"),
@NamedQuery(name = "MasterScrip.findByBrokerageCharge", query = "SELECT m FROM MasterScrip m WHERE m.brokerageCharge = :brokerageCharge"),
@NamedQuery(name = "MasterScrip.findByPreviousClose", query = "SELECT m FROM MasterScrip m WHERE m.previousClose = :previousClose"),
@NamedQuery(name = "MasterScrip.findByChange", query = "SELECT m FROM MasterScrip m WHERE m.change = :change")})
public class MasterScrip implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Basic(optional = false)
@NotNull
@Column(name = "ScripID", nullable = false)
private Integer scripID;
@Size(max = 15)
@Column(name = "ScripSymbol", length = 15)
private String scripSymbol;
@Size(max = 10)
@Column(name = "Type", length = 10)
private String type;
@Size(max = 50)
@Column(name = "CompanyName", length = 50)
private String companyName;
// @Max(value=?) @Min(value=?)//if you know range of your decimal fields consider using these annotations to enforce field validation
@Column(name = "LastTradedPrice", precision = 22)
private Double lastTradedPrice;
@Column(name = "LastTradedQuantity")
private Integer lastTradedQuantity;
@Column(name = "OpenPrice", precision = 22)
private Double openPrice;
@Column(name = "HighPrice", precision = 22)
private Double highPrice;
@Column(name = "LowPrice", precision = 22)
private Double lowPrice;
@Column(name = "TotalTradedQuantity")
private Integer totalTradedQuantity;
@Column(name = "Volume")
private Integer volume;
@Size(max = 30)
@Column(name = "Exchange", length = 30)
private String exchange;
@Column(name = "BrokerageCharge", precision = 22)
private Double brokerageCharge;
@Column(name = "PreviousClose", precision = 22)
private Double previousClose;
@Column(name = "Change", precision = 22)
private Double change;
@JoinColumn(name = "CommoditySubCategoryID", referencedColumnName = "CommoditySubCategoryID")
@ManyToOne(fetch = FetchType.EAGER)
private CommoditySubCategoryMaster commoditySubCategoryID;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "scripID", fetch = FetchType.EAGER)
private Collection<UserStock> userStockCollection;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "scripID", fetch = FetchType.EAGER)
private Collection<UserTrack> userTrackCollection;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "scripID", fetch = FetchType.EAGER)
private Collection<OrderStock> orderStockCollection;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "scripID", fetch = FetchType.EAGER)
private Collection<TradeStock> tradeStockCollection;
public MasterScrip() {
public MasterScrip(Integer scripID) {
this.scripID = scripID;
public Integer getScripID() {
return scripID;
public void setScripID(Integer scripID) {
this.scripID = scripID;
public String getScripSymbol() {
return scripSymbol;
public void setScripSymbol(String scripSymbol) {
this.scripSymbol = scripSymbol;
public String getType() {
return type;
public void setType(String type) {
this.type = type;
public String getCompanyName() {
return companyName;
public void setCompanyName(String companyName) {
this.companyName = companyName;
public Double getLastTradedPrice() {
return lastTradedPrice;
public void setLastTradedPrice(Double lastTradedPrice) {
this.lastTradedPrice = lastTradedPrice;
public Integer getLastTradedQuantity() {
return lastTradedQuantity;
public void setLastTradedQuantity(Integer lastTradedQuantity) {
this.lastTradedQuantity = lastTradedQuantity;
public Double getOpenPrice() {
return openPrice;
public void setOpenPrice(Double openPrice) {
this.openPrice = openPrice;
public Double getHighPrice() {
return highPrice;
public void setHighPrice(Double highPrice) {
this.highPrice = highPrice;
public Double getLowPrice() {
return lowPrice;
public void setLowPrice(Double lowPrice) {
this.lowPrice = lowPrice;
public Integer getTotalTradedQuantity() {
return totalTradedQuantity;
public void setTotalTradedQuantity(Integer totalTradedQuantity) {
this.totalTradedQuantity = totalTradedQuantity;
public Integer getVolume() {
return volume;
public void setVolume(Integer volume) {
this.volume = volume;
public String getExchange() {
return exchange;
public void setExchange(String exchange) {
this.exchange = exchange;
public Double getBrokerageCharge() {
return brokerageCharge;
public void setBrokerageCharge(Double brokerageCharge) {
this.brokerageCharge = brokerageCharge;
public Double getPreviousClose() {
return previousClose;
public void setPreviousClose(Double previousClose) {
this.previousClose = previousClose;
public Double getChange() {
return change;
public void setChange(Double change) {
this.change = change;
public CommoditySubCategoryMaster getCommoditySubCategoryID() {
return commoditySubCategoryID;
public void setCommoditySubCategoryID(CommoditySubCategoryMaster commoditySubCategoryID) {
this.commoditySubCategoryID = commoditySubCategoryID;
@XmlTransient
public Collection<UserStock> getUserStockCollection() {
return userStockCollection;
public void setUserStockCollection(Collection<UserStock> userStockCollection) {
this.userStockCollection = userStockCollection;
@XmlTransient
public Collection<UserTrack> getUserTrackCollection() {
return userTrackCollection;
public void setUserTrackCollection(Collection<UserTrack> userTrackCollection) {
this.userTrackCollection = userTrackCollection;
@XmlTransient
public Collection<OrderStock> getOrderStockCollection() {
return orderStockCollection;
public void setOrderStockCollection(Collection<OrderStock> orderStockCollection) {
this.orderStockCollection = orderStockCollection;
@XmlTransient
public Collection<TradeStock> getTradeStockCollection() {
return tradeStockCollection;
public void setTradeStockCollection(Collection<TradeStock> tradeStockCollection) {
this.tradeStockCollection = tradeStockCollection;
@Override
public int hashCode() {
int hash = 0;
hash += (scripID != null ? scripID.hashCode() : 0);
return hash;
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof MasterScrip)) {
return false;
MasterScrip other = (MasterScrip) object;
if ((this.scripID == null && other.scripID != null) || (this.scripID != null && !this.scripID.equals(other.scripID))) {
return false;
return true;
@Override
public String toString() {
return "entity.MasterScrip[ scripID=" + scripID + " ]";
what could be the reason of this exception? how do i solve it?

i cleaned and built the app and redeployed it. now i am getting the following exception:
Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Change, CompanyName, Exchange, HighPrice, LastTradedPrice, LastTradedQuantity, L' at line 1
Error Code: 1064
Call: SELECT ScripID, BrokerageCharge, Change, CompanyName, Exchange, HighPrice, LastTradedPrice, LastTradedQuantity, LowPrice, OpenPrice, PreviousClose, ScripSymbol, TotalTradedQuantity, Type, Volume, CommoditySubCategoryID FROM StockCommodityDB.MasterScrip
Query: ReadAllQuery(name="MasterScrip.findAll" referenceClass=MasterScrip sql="SELECT ScripID, BrokerageCharge, Change, CompanyName, Exchange, HighPrice, LastTradedPrice, LastTradedQuantity, LowPrice, OpenPrice, PreviousClose, ScripSymbol, TotalTradedQuantity, Type, Volume, CommoditySubCategoryID FROM StockCommodityDB.MasterScrip")
     at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:333)
where am i wrong?

Similar Messages

  • 500 Internal Server Error OracleJSP: JSP Error: Exception:java.lang.NullPoi

    500 Internal Server Error
    OracleJSP:
    JSP Error:
    Request URI:/ForecastVsActualWithProgressBarWebApp/htdocs/forecastvsactualportlet/processing.jsp
    Exception:
    java.lang.NullPointerException at java.net.URLClassLoader$1.run(URLClassLoader.java:190) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:282) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:282) at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.java:143) at java.lang.ClassLoader.loadClass(ClassLoader.java:282) at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.java:143) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at oracle.jsp.parse.JspUtils.loadClassJDK(JspUtils.java:256) at oracle.jsp.parse.JspUtils.loadClass(JspUtils.java:246) at oracle.jsp.parse.JspRTTag.<init>(JspRTTag.java:149) at oracle.jsp.parse.JspParseState.createTagParser(JspParseState.java:575) at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:693) at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:184) at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:154) at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:428) at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:284) at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:483) at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:542) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:305) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)
    --------------------------------------------------------------------------------

    Is this related to a download from Oracle website?
    You might want to post more information and the "question" here.

  • Exception: java.lang.ClassCastException: HTTPClient.HttpURLConnection

    Hi All,
    I am getting below exception when I am trying to establish HTTPS connection using
    Exception: java.lang.ClassCastException: HTTPClient.HttpURLConnection
    sometime my code works and some time it gives me this exception
    below is the exception which i traced in a log file
    2008/09/11 01:07:57->1_1210001776_0:1_1210001776_0URL CONNECTION CALLED https://netfundstest.com/fsu/router
    2008/09/11 01:07:57->1_1210001776_0:1_1210001776_0URL CONNECTION Created HTTPClient.HttpURLConnection[https://netfundstest.com/fsu/router]
    2008/09/11 01:07:57->1_1210001776_0:entered into else Block
    2008/09/11 01:07:57->1_1210001776_0:1_1210001776_0Error URLC Not a instance of HTTPS Connection: HTTPClient.HttpURLConnection[https://netfundstest.com/fsu/router]
    2008/09/11 01:07:57->1_1210001776_0:Exception: java.lang.ClassCastException: HTTPClient.HttpURLConnection
    In the success case when my HTTPS connection gets established I am getting following in the log file.
    2008/08/24 11:51:28->1_1210001776_0:1_1210001776_0URL CONNECTION CALLED https://netfunds.com/fsu/router
    2008/08/24 11:51:28->1_1210001776_0:1_1210001776_0URL CONNECTION Created com.sun.net.ssl.internal.www.protocol.https.DelegateHttpsURLConnection:https://netfunds.com/fsu/router
    Here is the code which I am using
    I am importing following packages in my code
    import java.security.*;
    import java.security.cert.*;
    //import javax.net.ssl.*;
    import javax.net.ssl.SSLSocket;
    import javax.net.ssl.SSLSocketFactory;
    import javax.net.ssl.HandshakeCompletedListener;
    import javax.net.ssl.HandshakeCompletedEvent;
    import javax.net.ssl.SSLSession;
    import java.net.*;
    import java.util.*;
    import java.io.*;
    //import javax.security.cert.*;
    import com.sun.net.ssl.*;
    //import org.apache.xalan.*;
    //import org.apache.xerces.*;
    import org.apache.xerces.dom.*;
    import org.apache.xml.serialize.*;
    import javax.xml.parsers.*;
    import org.w3c.dom.*;
    import oracle.xml.classgen.*;
    try
    System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
    System.setProperty("https.proxyHost",geProxy);
    System.setProperty("https.proxyPort",geProxyPort);
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    int n=0;
    while(n<3)
    debugMsg(instCount+"URL CONNECTION CALLED " + fsuFrontEndURL);
    url = new URL(fsuFrontEndURL);
    /* Changed to include Tunnel code */
    urlc = url.openConnection();
    debugMsg(instCount+"URL CONNECTION Created " + urlc);
    if (urlc instanceof com.sun.net.ssl.HttpsURLConnection)
    debugMsg("entered into If Block");
    debugMsg("Value of n:" + n);
    ((com.sun.net.ssl.HttpsURLConnection) urlc).setSSLSocketFactory(new SSLTunnelSocketFactory(geProxy, geProxyPort));
    ((com.sun.net.ssl.HttpsURLConnection) urlc).setRequestMethod("POST");
    debugMsg("after If Block");
    break;
    else {
    try{
    debugMsg("entered into else Block");
    ((javax.net.ssl.HttpsURLConnection) urlc).setSSLSocketFactory(new SSLTunnelSocketFactory(geProxy, geProxyPort));
    ((javax.net.ssl.HttpsURLConnection) urlc).setRequestMethod("POST");
    debugMsg("after else Block");
    break;
    catch(Exception e) {
    debugMsg(instCount+"Error URLC Not a instance of HTTPS Connection: " + urlc);
    debugMsg("Exception: " + e);
    I am using JDK 1.5 and Apache/1.3.19
    Can anyone help me out ....?

    for URL'S Starting with HTTPS only.....Sometimes it works and sometimes it gives me the classcast exception
    As soon as I bounces my Apache application server...then it starts working...I dont know why its happening like that..
    Is there any issue with the Ports I am trying to connect or some Apache configuration files settings are getting changed ?

  • Servlet failed with Exception java.lang.LinkageError: Class javax/servlet/ServletConfig

              Hi
              I registered a web app with Weblogic 5.1 in the weblogic.properties file. I try
              to run the web app from my browser typing http://localhost:7001/xxx(Webapp name)
              and a jsp page. Following is the error I get. It would be helpful if some one
              could point me to a fix for this problem
              Tue May 01 13:56:41 CDT 2001:<I> <ServletContext-omxclient> Generated java file:
              D:\weblogic\myserver\omxclient\_tmp_war\jsp_servlet\_omx\_login.java
              Tue May 01 13:56:43 CDT 2001:<E> <ServletContext-omxclient> Servlet failed with
              Exception
              java.lang.LinkageError: Class javax/servlet/ServletConfig violates loader constr
              aints
              at jsp_servlet._omx._login._jspService(_login.java:59)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:105)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:123)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:742)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:686)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              ContextManager.java:247)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              a:361)
              at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              

              Sorry, I didn't look very closely - the exception is for
              javax.servlet.ServletConfig - should be in weblogicaux.jar.
              Is there anything wrong with it? What service pack are you
              using? Could be a problem with weblogic.policy.
              mike
              >>java.lang.LinkageError: Class javax/servlet/ServletConfig
              "KC" <[email protected]> wrote:
              >
              >Hi Mike
              >The login.jsp page just contains a javascript function and two text boxes
              >in it.
              >Will try making changing it. If that is not the issue could you let me
              >know of
              >any other issues.
              >
              >"mreiche" <[email protected]> wrote:
              >>
              >>I would guess that login.jsp is a very large JSP and that
              >>the generated service method is too large for the classloader's
              >>liking. Try making it smaller.
              >>
              >>Mike
              >>
              >>
              >>"KC" <[email protected]> wrote:
              >>>
              >>>Hi
              >>>I registered a web app with Weblogic 5.1 in the weblogic.properties
              >>file.
              >>>I try
              >>>to run the web app from my browser typing http://localhost:7001/xxx(Webapp
              >>>name)
              >>>and a jsp page. Following is the error I get. It would be helpful if
              >>>some one
              >>>could point me to a fix for this problem
              >>>
              >>>Tue May 01 13:56:41 CDT 2001:<I> <ServletContext-omxclient> Generated
              >>>java file:
              >>> D:\weblogic\myserver\omxclient\_tmp_war\jsp_servlet\_omx\_login.java
              >>>Tue May 01 13:56:43 CDT 2001:<E> <ServletContext-omxclient> Servlet
              >>failed
              >>>with
              >>>Exception
              >>>java.lang.LinkageError: Class javax/servlet/ServletConfig violates
              >loader
              >>>constr
              >>>aints
              >>> at jsp_servlet._omx._login._jspService(_login.java:59)
              >>> at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              >>> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              >>>pl.java:105)
              >>> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              >>>pl.java:123)
              >>> at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              >>>textImpl.java:742)
              >>> at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              >>>textImpl.java:686)
              >>> at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              >>>ContextManager.java:247)
              >>> at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              >>>a:361)
              >>> at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
              >>>
              >>> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >>>
              >>>
              >>
              >
              

  • Servlet failed with Exception java.lang.IllegalStateException: Response already committed

    Hi,
    can someone help with this issue. I've been getting this error in my logs since for the past 3 days and I don't know how to resolve it.
    os-aix-64 bit
    wls:10.3
    ####<Aug 25, 2014 11:36:18 AM GMT+05:30> <Error> <HTTP> <XXX-XXXXXX-XX> <examplesServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1408946778196> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@2ee12ee1 - appName: 'consoleapp', name: 'console', context-path: '/console', spec-version: '2.5'] Servlet failed with Exception
    java.lang.IllegalStateException: Response already committed
            at weblogic.servlet.internal.ServletResponseImpl.objectIfCommitted(ServletResponseImpl.java:1553)
            at weblogic.servlet.internal.ServletResponseImpl.sendRedirect(ServletResponseImpl.java:838)
            at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:136)
            at com.bea.netuix.nf.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:50)
            at com.bea.netuix.servlets.controls.content.NetuiContent.handleRedirect(NetuiContent.java:234)
            at com.bea.netuix.servlets.controls.content.NetuiContent.handlePreRenderResponseState(NetuiContent.java:630)
            at com.bea.netuix.servlets.controls.content.StrutsContent.handlePreRenderResponseState(StrutsContent.java:224)
            at com.bea.netuix.servlets.controls.content.NetuiContent.preRender(NetuiContent.java:310)
            at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:428)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:727)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
            at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:146)
            at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
            at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
            at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
            at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:162)
            at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
            at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
            at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:211)
            at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:196)
            at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:54)
            at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
            at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(Unknown Source)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    TIA,
    Vamsi

    Can someone please help me with this issue.

  • Uncaught exception: java.lang.​ArrayStore​Exception

    I recently started getting the subject message each time I reboot my phone. I attached part of the Event Log, below, that may help identify the software activity at the time the exception occurred. The problem started some time after I upgraded several apps (listed below). I have tried deleting those apps and then reinstalling them one at a time and in different order. Those apps apparently do not directly cause the exception.
    I would appreciate any insights, suggestions, etc. I would like to try to rectify the issue without resorting to wiping my device and then reinstalling firmware, software, and databases.
    Thank you.
    Recent upgrades:
    BB App World: 4.0.0.65
    BB ID: 6.3.0.14
    BB Messenger: 7.0.0.126
    Twitter: 4.0.0.15
    Phone OS (since Sept 2012):
    OS: 6.0.0.747
    Platform: 6.6.0.247
    guid:0xA9D098450BA333E9 time: Fri Dec 21 07:17:33 2012  severity:0 type:2 app:HomeScreen App data&colon;HomeScreen registerAction net_rim_bb_appworld.AppWorld
    guid:0xA9D098450BA333E9 time: Fri Dec 21 07:17:33 2012  severity:0 type:2 app:HomeScreen App data&colon;HomeScreen registerAction net_rim_bb_phone_app.Voicemail
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:33 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data&colon;Freg   3496565495017856138   9008
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:34 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data&colon;Freg   4245256458327981580   9008
    guid:0xDDA0BC913B6AAEEC time: Fri Dec 21 07:17:34 2012  severity:0 type:2 apphoneApp data&colon;PHONE-ons=null
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:34 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data&colon;ICrg   9008   4294967306
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:34 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data&colon;ICrg   9008   4294967305
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:34 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data&colon;ICrg   9008   4295032841
    guid:0xBA21D3682F165617 time: Fri Dec 21 07:17:34 2012  severity:4 type:2 app:net.rimlib.paymentsdk.internal.contentHandler.​DefaultConten data&colon;Payment daemon was successfully shutdown.
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:34 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data&colon;ICrg   9008   4295098376
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:34 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data&colon;MIrg   9008   4294967306
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:34 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data&colon;MIrg   9008   4294967306
    guid:0x97C9F5F641D25E5F time: Fri Dec 21 07:17:34 2012  severity:0 type:2 appystem data&colon;cphs   0
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:34 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data&colon;MIrg   9008   4294967305
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:35 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data&colon;MIrg   9008   4294967305
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:35 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data&colon;MIrg   9008   4295032841
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:35 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data&colon;MIrg   9008   4295032841
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:35 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data&colon;MIrg   9008   4295098376
    guid:0x427397A2FBEABF07 time: Fri Dec 21 07:17:35 2012  severity:0 type:2 app:net.rim.ribbon.systemstatus data&colon;New text:null
    guid:0xDDA0BC913B6AAEEC time: Fri Dec 21 07:17:36 2012  severity:0 type:2 apphoneApp data&colon;PHONE-ons=null
    guid:0xDDA0BC913B6AAEEC time: Fri Dec 21 07:17:36 2012  severity:0 type:2 apphoneApp data&colon;ACS Portrait
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 27
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 26
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 25
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 24
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 23
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 22
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 21
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 20
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 19
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 18
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 17
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 16
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 15
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 14
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 13
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 12
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 11
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 10
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 9
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 8
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 7
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 6
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data&colon;NPWE RibbonLauncherApp@8c8b99e8 5
    guid:0xDDA0BC913B6AAEEC time: Fri Dec 21 07:17:38 2012  severity:0 type:2 apphoneApp data&colon;PHONE-ons=null
    guid:0xC31770293597F1DE time: Fri Dec 21 07:17:38 2012  severity:0 type:2 app:USF data&colon;USF[ (COM) Help - 11373ms (11.373s ) ]
    guid:0xA9D098450BA333E9 time: Fri Dec 21 07:17:39 2012  severity:0 type:2 app:HomeScreen App data&colon;TraceBackMessage: Uncaught exception: java.lang.ArrayStoreException
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:39 2012  severity:0 type:2 app:UI data&colon;GS+Q2 6c66464enet.rim.device.internal.ui.component.Trace​BackDialog
    guid:0xA9D098450BA333E9 time: Fri Dec 21 07:17:39 2012  severity:0 type:2 app:HomeScreen App data&colon;TraceBackMessage: Uncaught exception: java.lang.ArrayStoreException
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:39 2012  severity:0 type:2 app:UI data&colon;GS+Q2 a95e1259net.rim.device.internal.ui.component.Trace​BackDialog
    guid:0x97C9F5F641D25E5F time: Fri Dec 21 07:17:39 2012  severity:0 type:2 appystem data&colon;AMOS com_emacberry_FileScout(216)
    guid:0xC1A90F9B4F904C57 time: Fri Dec 21 07:17:39 2012  severity:5 type:2 app:App Perms data&colon;d com_emacberry_FileScout:13
    guid:0xC1A90F9B4F904C57 time: Fri Dec 21 07:17:39 2012  severity:5 type:2 app:App Perms data&colon;d com_emacberry_FileScout:29
    guid:0xC1A90F9B4F904C57 time: Fri Dec 21 07:17:39 2012  severity:5 type:2 app:App Perms data&colon;d com_emacberry_FileScout:34
    guid:0xA9D098450BA333E9 time: Fri Dec 21 07:17:40 2012  severity:0 type:2 app:HomeScreen App data&colon;HomeScreen registerAction net_rim_bb_qm_msn.Windows Live Messenger

    Hello!
    Given your description, I fear you have no choice but the drastic measure you dislike...if something has introduced OS level corruption, then nothing less will cure that. You may want to try this procedure to perhaps narrow down the precise causal item:
    Load your OS "bare bones"...if anything is optional, do not install it.
    If the behavior presents immediately, then try a different OS with step 1
    If the behavior does not immediately present, then run for as long as it takes for you to be sure that the behavior will not present.
    Add one thing -- no matter how tempting, just one.
    If the behavior does not present immediately, then again run for long enough to be sure it will not have the same problem
    Repeat steps 4 and 5 until all things are loaded or the behavior presents
    When the behavior presents, you know the culprit...the last thing you loaded.
    If the behavior does not re-present, then you know that either step 1 or 2 cured it.
    If the behavior presents no matter what, then you likely have a hardware level issue for which no amount of OS or software can cure.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • BB 8800 gives error "uncaught exception: java.lang.​ClassCastE​xception"

    Hi,
    after connecting the 8800 via bluetooth with the new RNS310 radio in my car the 8800 shows the error message "uncaught exception: java.lang.ClassCastException" when the RNS310 tries to access the phone book and to download it to the radio-internal phone book. The option for the bluetooth connection in the 8800 is set to
    - not "visible",
    - address book transfer "all entries",
    The event log shows the folllowing entries:
    guid:0x9C3CD62E3320B498 timeUTC) Wed Aug 10 17:28:53 2011  severity:1 type:3 app:Java Exception data:
     ClassCastException
     No detail message
     net_rim_bluetooth
      BluetoothDeviceManagerImpl
      getAddressCards
      0x1C68
     net_rim_bluetooth
      PBAPServer
      <private>
      0xA270
     net_rim_bluetooth
      PBAPServer
      <private>
      0xA650
     net_rim_bluetooth
      PBAPServer
      onGet
      0x9EAA
     net_rim_bluetooth-1
      OBEXServerSession
      handleNextRequest
      0x29E1
     net_rim_bluetooth-1
      OBEXServerSession
      run
      0x2769
     net_rim_cldc-1
      Thread
      run
      0xB767
    Is there any possibility to update the 8800 software / firmware to get rid of the error? I always have to disconnect the battery and restart.

    There is a loader.exe tool located in C:\Program Files\Common Files\Research In Motion\AppLoader (or if you are using a 64 bit C:\Program Files (X86)\Common Files\Research In Motion\AppLoader
    Remove the battery from your BlackBerry and launch the Loader tool. You will see either USB PIN: Unknown or your actual device PIN.
    As the loading process starts, there will be a list of steps to be completed in the loading process. One of those steps listed will say "Wait for Device Initialization". When you see the arrow get to this steps, reinsert your battery.
    If you still get the same error, let me know and we will investigate further from there.
    Good luck!
    -HMthePirate
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Clientgen Exception - java.lang.VerifyError:Cannot inherit from final class

    When i create a client jar from webservice ear the ant taks fails with compiler errors, such as:
    CreateProxy:
    [clientgen] Generating client jar for earname.ear(WebServiceName_WS) ...
    BUILD FAILED
    java.lang.VerifyError: Cannot inherit from final class
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:480)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:182)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:224)
    at weblogic.webservice.server.WebServiceFactory.loadNonArrayClass(WebServiceFactory.java:1318)
    at weblogic.webservice.server.WebServiceFactory.loadClass(WebServiceFactory.java:1293)
    at weblogic.webservice.server.WebServiceFactory.initTypeMaps(WebServiceFactory.java:384)
    at weblogic.webservice.server.WebServiceFactory.createFromMBean(WebServiceFactory.java:184)
    at weblogic.webservice.tools.build.internal.WSDLGenImpl.getWebServiceRuntime(WSDLGenImpl.java:240)
    at weblogic.webservice.tools.build.internal.WSDLGenImpl.run(WSDLGenImpl.java:135)
    at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromEAR(ClientGenImpl.java:438)
    at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.java:345)
    at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doClientGen(ClientGenTask.java:351)
    at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:208)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    at org.apache.tools.ant.Main.runBuild(Main.java:609)
    at org.apache.tools.ant.Main.start(Main.java:196)
    at org.apache.tools.ant.Main.main(Main.java:235)
    Total time: 25 seconds
    This is a ant command:
    <clientgen ear="${build}/earname.ear" onlyConvenienceMethod="true" warName="webservice.war" serviceName="WebServiceName_WS" packageName="my.package.webservices.generated" autotype="true" clientJar="${build.dist}/client/WebServiceName_WS.jar" overwrite="false" useServerTypes="true" keepGenerated="false" generateAsyncMethods="false" saveWsdl="true" j2me="false" useLowerCaseMethodNames="true" typePackageName="my.package.webservices.generated" usePortNameAsMethodName="false" />
    My webservice do not include any final class.
    I'm using WebLogic 8.1 SP4.Is there a solution for above problem?
    Thanks.
    Regards.

    Hi all,
    I m also facing quite similar problem.
    I have one sample JMX program, which i want to collect data from weblogic 9.2.
    but when i compile sample program on jdk 1.4 and run it on JDK 1.4 it throws following exception
    java.lang.VerifyError: class weblogic.utils.classloaders.GenericCl
    assLoader overrides final method .
    ERROR 02/13 09:54:03 Stderr 700100 at java.lang.ClassLoader.defineClass0(Native Method)
    ERROR 02/13 09:54:03 Stderr 700100 at java.lang.ClassLoader.defineClass(Unknown Source)
    ERROR 02/13 09:54:03 Stderr 700100 at java.security.SecureClassLoader.defineClass(Unknown Source)
    ERROR 02/13 09:54:03 Stderr 700100 at java.net.URLClassLoader.defineClass(Unknown Source)
    ERROR 02/13 09:54:03 Stderr 700100 at java.net.URLClassLoader.access$100(Unknown Source)
    ERROR 02/13 09:54:03 Stderr 700100 at java.net.URLClassLoader$1.run(Unknown Source)
    ERROR 02/13 09:54:03 Stderr 700100 at java.security.AccessController.doPrivileged(Native Method)
    ERROR 02/13 09:54:03 Stderr 700100 at java.net.URLClassLoader.findClass(Unknown Source)
    ERROR 02/13 09:54:03 Stderr 700100 at java.lang.ClassLoader.loadClass(Unknown Source)
    ERROR 02/13 09:54:03 Stderr 700100 at java.lang.ClassLoader.loadClass(Unknown Source)
    but sample program works fine if i run it on JDK 1.5..
    can someone tell me...wats reason?
    Thanks
    Nihil

  • What could cause "Internal error: java.lang.NullPointerException: can't not add null to SWF frame" when using compc?

    using flex sdk 4.6, and air sdk 15.0.0.356
    we get the following error when using compc in our ant build:
    [java] Internal error: java.lang.NullPointerException: can't not add null to SWF frame
    [java] at com.adobe.flash.swf.SWFFrame.addTag(SWFFrame.java:77)
    [java] at com.adobe.flash.compiler.internal.units.requests.SWFTagsRequestResult.addToFrame(SWFTagsR equestResult.java:114)
    [java] at com.adobe.flash.compiler.internal.targets.SWFTarget.addCompilationUnitsAndDependenciesToF rame(SWFTarget.java:398)
    [java] at com.adobe.flash.compiler.internal.targets.SWFTarget$FramesInformation.createFrame(SWFTarg et.java:838)
    [java] at com.adobe.flash.compiler.internal.targets.SWFTarget$FramesInformation.createFrames(SWFTar get.java:875)
    [java] at com.adobe.flash.compiler.internal.targets.SWFTarget.build(SWFTarget.java:243)
    [java] at com.adobe.flash.compiler.internal.targets.SWCTarget.buildLibrarySWF(SWCTarget.java:348)
    [java] at com.adobe.flash.compiler.internal.targets.SWCTarget.build(SWCTarget.java:128)
    [java] at com.adobe.flash.compiler.clients.COMPC.buildArtifact(COMPC.java:144)
    [java] at com.adobe.flash.compiler.clients.MXMLC.compile(MXMLC.java:541)
    [java] at com.adobe.flash.compiler.clients.MXMLC.mainNoExit(MXMLC.java:230)
    [java] at com.adobe.flash.compiler.clients.MXMLC.mainNoExit(MXMLC.java:184)
    [java] at com.adobe.flash.compiler.clients.COMPC.staticMainNoExit(COMPC.java:75)
    [java] at com.adobe.flash.compiler.clients.COMPC.main(COMPC.java:62)
    which seems to be rather vague, and offers no clue as to what caused the problem. so, my question is, what could cause this error?
    these are the compiler options we use in the build file:
    <java jar="${flex.compc.jar}" dir="." fork="true" failonerror="true">
          <jvmarg value="-Xmx512m" />
          <arg line="@{options} ${_compc.libpath} ${_compc.externspath} ${_compc.includespath}" />
          <arg value="+flexlib=${flex.frameworks.dir}" />
          <arg value="-load-config=@{config}" />
          <arg value="-source-path=@{src.dir}" />
          <arg value="-include-sources=@{src.dir}" />
          <arg value="-output=@{dest}" />
          <arg value="-swf-version=@{swf.version}"/>
          <arg value="-debug=${flash.debug}"/>
          <arg value="-advanced-telemetry"/>
    </java>
    assume that the properties resolve to correct values, since all projects (except one) call this task and compile successfully. the error must come from this one project that fails, but we don't know why.
    any ideas?

    You could be running out of memory, try increasing the -Xmx512m value to -Xmx1024m or another value that you prefer

  • Getting error Servlet failed with Exception java.lang.IllegalStateException

    Hi
    I am getting this error throughout the server when i am trying to download a pdf from that page.
    Im attaching the error console
    2011 5:10:26 PM CEST> <Error> <HTTP> <aczocc08x.vfcz.dc-ratingen.de> <ShopSrv1_1_pre> <[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1306163426535> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@172d19e - appName: 'OCC', name: '/shop', context-path: '/shop'] Servlet failed with Exception
    java.lang.IllegalStateException: Cannot resize buffer - 76438 bytes have already been written (Servlet 2.3, sec. 5.1)
         at weblogic.servlet.internal.ServletResponseImpl.setBufferSize(ServletResponseImpl.java:338)
         at weblogic.servlet.jsp.PageContextImpl.initialize(PageContextImpl.java:74)
         at weblogic.servlet.jsp.PageContextImpl.<init>(PageContextImpl.java:110)
         at weblogic.servlet.jsp.JspFactoryImpl.getPageContext(JspFactoryImpl.java:40)
         at jsp_servlet._checkout._order.__cart_thank_45_you._jspService(__cart_thank_45_you.java:644)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at vodafone.servlet.security.HttpsEnforcingFilter.doFilter(HttpsEnforcingFilter.java:39)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at atg.servlet.pipeline.TailPipelineServlet.service(TailPipelineServlet.java:90)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:202)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:279)
         at vodafone.dynamo.servlet.LocaleRedirector.service(LocaleRedirector.java:75)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:279)
         at atg.servlet.dafpipeline.RecordingServlet.service(RecordingServlet.java:280)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.servlet.http.CookieBufferServlet.service(CookieBufferServlet.java:97)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.userprofiling.ExpiredPasswordServlet.service(ExpiredPasswordServlet.java:356)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.servlet.pipeline.MimeTyperPipelineServlet.service(MimeTyperPipelineServlet.java:206)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:565)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2442)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:128)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:191)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:602)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:169)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:461)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at vodafone.servlets.ServletHelper.service(ServletHelper.java:34)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at vodafone.dynamo.servlet.DefaultCatalogFixer.service(DefaultCatalogFixer.java:54)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.commerce.profile.VodafoneSSOProfileRequestServlet.service(VodafoneSSOProfileRequestServlet.java:231)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:480)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at vodafone.session.SessionSynchronizationServlet.service(SessionSynchronizationServlet.java:38)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:469)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:370)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.userprofiling.sso.PassportServlet.service(PassportServlet.java:561)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:91)
         at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
         at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1100)
         at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:782)
         at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:231)
         at atg.filter.dspjsp.PageFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    >
    Anyone has any idea or faced this issue before please guide me what is the cause, i have got a feeling that this may be because server has run out of memory.

    i havn't written anything before calling set buiffer sizeSo why does the exception message say the opposite?
    I can see that error may be because of a jsp named cart_thank-you.jspSo can I. So have a look at it. It is writing something before the other thing is calling setBufferSize().
    you can see that in erro logSo can you.

  • Failed loading disp class "HSIService". Exception java.lang.ClassCastExcep

    <Failed loading disp class "HSIService". Exception java.lang.ClassCastExcep
    Posted: 12 Aug 2004 13:36 PM Reply
    I am receiving the following error in most all of the logs when trying to run/test this web service. The service worked fine a day ago, then this happened. I finally rebuilt it entirely in workshop, it ran a couple of times between changes and then started producing this error again. The workshop test browser either states "DispMessage is null" on the test form or if the form appears then it says "get" is not supported for the operation .... and maybe other weird stuff.
    Can you give me an idea of where to specifically look for the problem?? Complete error message is below:
    ####<Aug 12, 2004 3:40:16 PM EDT> <Error> <WLW> <KLRAY8Z> <cgServer>
    <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<anonymous>> <>
    <Failed loading disp class "HSIService". Exception java.lang.ClassCastException at
    com.bea.wlw.runtime.core.dispatcher.TypeUtils.validate(TypeUtils.java:1130)
    at com.bea.wlw.runtime.jws.dispatcher.JwsDispClass.<init>(JwsDispClass.java:398)
    at com.bea.wlw.runtime.jws.dispatcher.JwsDispFile.createPrimaryDispClass(JwsDispFile.java:52)
    at com.bea.wlw.runtime.core.dispatcher.DispFile.<init>(DispFile.java:162)
    at com.bea.wlw.runtime.jws.dispatcher.JwsDispFile.<init>(JwsDispFile.java:44)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at com.bea.wlw.runtime.core.dispatcher.DispUnit.loadDispFile(DispUnit.java:219)
    at com.bea.wlw.runtime.core.dispatcher.DispUnit.<init>(DispUnit.java:153)
    at com.bea.wlw.runtime.core.dispatcher.DispCache.ensureDispUnit(DispCache.java:553)
    at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.getDispUnit(HttpServerHelper.java:491)
    at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.executeGetRequest(HttpServerHelper.java:531)
    at com.bea.wlw.runtime.core.dispatcher.HttpServer.doGet(HttpServer.java:81)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6354)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    --------------------------------------------------------

    FYI - solved this problem. The problem was that I had set a callback handler as an operation like so:
    * @common:operation
    * @common:message-buffer enable="true"
    * @jws:conversation phase="finish"
    public void mycontrol_mycallbackhandler()
    Apparently callback handler's can not be operations.

  • Internal Exception: java.sql.SQLException: Closed ConnectionError Code: 170

    I have the following situation:
    When accidentaly toplink loose connection with database server for short time and request coming from client in the same time toplink close connection with database server and generate the following exception:
    Exception [TOPLINK-4002] (Oracle TopLink - 10g Developer Preview 3 (10.1.3.0 ) (Build 041116)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: Closed ConnectionError Code: 17008
         at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:272)
    Problem is because toplink does not renew the connection with database server. Anybody know how to resolve this situation ?
    Mention:
    Application is build around toplink server session that serve client giving them clientsession and unitofwork.

    Hi
    I am getting this exception randomly, I want my application to be flexible. I am using Glassfish V2.1.1, Toplink Essentials, Windows linux, Oracle 11g database.
    Below is the stacktrace :
    Local Exception Stack:
    Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.1 (Build b31g-fcs (10/19/2009))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: Closed Connection
    Error Code: 17008
    Call: SELECT t0.CRITICALITY, t0.USER_TAG_IDENT, t0.SEGMENT_GROUP_YN, t0.NAME, t0.GMT_LAST_UPDATED, t0.LONG_DESCRIPTION, t0.CS_TYPE_DB_SITE, t0.CS_TYPE_DB_ID, t0.CS_TYPE_CODE, t0.SEGMENT_SITE, t0.SEGMENT_ID, t0.RSTAT_TYPE_CODE, t0.LAST_UPD_DB_SITE, t0.LAST_UPD_DB_ID, t0.SG_DB_SITE, t0.SG_DB_ID, t0.SG_TYPE_CODE FROM SEGMENT t0, ROW_STATUS_TYPE t2, SEGMENT_TYPE t1 WHERE ((((t0.SEGMENT_ID NOT IN (SELECT t3.CHILD_SG_ID FROM SEGMENT_CHILD t3 WHERE (t3.SEGMENT_SITE = ?)) AND (t0.SEGMENT_SITE = ?)) AND (t1.SG_TYPE_CODE = ?)) AND (t2.RSTAT_TYPE_COD = ?)) AND (((t1.SG_DB_SITE = t0.SG_DB_SITE) AND ((t1.SG_DB_ID = t0.SG_DB_ID) AND (t1.SG_TYPE_CODE = t0.SG_TYPE_CODE))) AND (t2.RSTAT_TYPE_COD = t0.RSTAT_TYPE_CODE))) ORDER BY t0.USER_TAG_IDENT ASC
         bind => [0000000100000001, 0000000100000001, 9, 1]
    Query: ReportQuery(com.esrg.jpa.Segment)
         at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:319)
         at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:566)
         at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:452)
         at oracle.toplink.essentials.threetier.ServerSession.executeCall(ServerSession.java:473)
         at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:228)
         at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:214)
         at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:285)
         at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.selectAllRows(DatasourceCallQueryMechanism.java:615)
         at oracle.toplink.essentials.internal.queryframework.ExpressionQueryMechanism.selectAllRowsFromTable(ExpressionQueryMechanism.java:2416)
         at oracle.toplink.essentials.internal.queryframework.ExpressionQueryMechanism.selectAllReportQueryRows(ExpressionQueryMechanism.java:2382)
         at oracle.toplink.essentials.queryframework.ReportQuery.executeDatabaseQuery(ReportQuery.java:802)
         at oracle.toplink.essentials.queryframework.DatabaseQuery.execute(DatabaseQuery.java:628)
         at oracle.toplink.essentials.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:692)
         at oracle.toplink.essentials.queryframework.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:746)
         at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2244)
         at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:952)
         at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:924)
         at oracle.toplink.essentials.internal.ejb.cmp3.base.EJBQueryImpl.executeReadQuery(EJBQueryImpl.java:367)
         at oracle.toplink.essentials.internal.ejb.cmp3.base.EJBQueryImpl.getResultList(EJBQueryImpl.java:478)
         at com.sun.enterprise.util.QueryWrapper.getResultList(QueryWrapper.java:196)
         at com.esrgtech.erm.viewer.segment.eRMViewerSegmentBean.findSystem(eRMViewerSegmentBean.java:537)
         at com.esrgtech.erm.viewer.segment.eRMViewerSegmentBean.getTree(eRMViewerSegmentBean.java:131)
         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:597)
         at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1011)
         at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:175)
         at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2929)
         at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4020)
         at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:197)
         at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:127)
         at $Proxy60.getTree(Unknown Source)
         at com.esrgtech.erm.DataViewerSession.getTree(DataViewerSession.java:237)
         at com.esrgtech.erm.ui.dashboard.DashboardLeft.buildTree(DashboardLeft.java:88)
         at com.esrgtech.erm.ui.dashboard.DashboardLeft.<init>(DashboardLeft.java:48)
         at com.esrgtech.erm.ui.dashboard.Dashboard.createLeftContent(Dashboard.java:55)
         at com.esrgtech.erm.ui.base.WebPageTwoColLeft180.buildPage(WebPageTwoColLeft180.java:58)
         at com.esrgtech.erm.ui.dashboard.Dashboard.<init>(Dashboard.java:34)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:192)
         at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:57)
         at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:81)
         at com.esrgtech.erm.ui.signin.SignInPanel.onSignInSucceeded(SignInPanel.java:236)
         at com.esrgtech.erm.ui.signin.SignInPanel$SignInForm.onSubmit(SignInPanel.java:116)
         at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1536)
         at org.apache.wicket.markup.html.form.Form.process(Form.java:925)
         at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:887)
         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:597)
         at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:182)
         at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73)
         at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
         at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
         at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
         at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
         at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
         at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479)
         at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
         at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
         at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: java.sql.SQLException: Closed Connection
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
         at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:840)
         at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:759)
         at com.sun.gjc.spi.base.ConnectionHolder.prepareStatement(ConnectionHolder.java:475)
         at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.prepareStatement(DatabaseAccessor.java:1162)
         at oracle.toplink.essentials.internal.databaseaccess.DatabaseCall.prepareStatement(DatabaseCall.java:612)
         at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:485)
         ... 90 more
    Need Help.....

  • Runtime exception java.lang.ClassNotFoundException on executing Stored Proc

    I am getting the below error when I try to execute a stored proc in Pointbase from weblogic.
    java.sql.SQLException: The external "DbLog::insLog" routine had the following runtime exception "java.lang.ClassNotFoundException: DbLog"
    import java.sql.*; import com.pointbase.jdbc.*; public class DbLog { static Connection conn = null; static Statement m_stmt; static Statement l_stmt; static CallableStatement m_callStmt = null; public boolean logPreAuth() { try { String I_URL = "jdbc:pointbase:server://localhost:9093/weblogic_eval"; conn = DriverManager.getConnection(I_URL, "PBSYSADMIN", "PBSYSADMIN"); /*String SQL_CREATE_PROC = "CREATE PROCEDURE insLog(IN P1 VARCHAR(30))" + " LANGUAGE JAVA" + " SPECIFIC insLog" + " DETERMINISTIC" + " NO SQL" + " EXTERNAL NAME \"DbLog::insLog\"" + " PARAMETER STYLE SQL"; m_stmt = conn.createStatement(); m_stmt.executeUpdate(SQL_CREATE_PROC); m_stmt.close(); */ Commented out because it throwed error saying, The routine "INSLOG" in schema "PBPUBLIC" already exists in system table SYSROUTINES. m_callStmt = conn.prepareCall("{ call insLog(?) }"); m_callStmt.setString(1, "Success!!"); m_callStmt.execute(); } catch (Exception e) { logger.error("Error in logPreAuth method" + e); } return true; } public static void insLog(String test) { try { l_stmt = conn.createStatement(); l_stmt.executeUpdate("Insert into logs values('" + test + "')"); l_stmt.close(); conn.close(); } catch (Exception e) { } }
    Please let me know how to solve this.

    I setted the classpath in commEnv.cmd as follows,
    set POINTBASE_HOME=%WL_HOME%\common\eval\pointbase
    set POINTBASE_CLIENT_CLASSPATH=%POINTBASE_HOME%\lib\pbclient57.jar
    set POINTBASE_CLASSPATH=%POINTBASE_HOME%\lib\pbembedded57.jar;%POINTBASE_CLIENT_CLASSPATH%;C:\bea\user_projects\workspaces\work1\utility\build\classes
    set POINTBASE_TOOLS=%POINTBASE_HOME%\lib\pbtools57.jar
    My DbLog class in the path, C:\bea\user_projects\workspaces\Work1\util\build\classes\net\local\util\common
    FYI, net\local\util\common is the package.
    But when I try to execute the page which calls RequestFilter.java, I am getting the following error,
    Error 500--Internal Server Error
    java.lang.NoClassDefFoundError: Could not initialize class net.local.util.common.DbLog
    Please find the code below,
    --RequestFilter.java
    import net.local.util.common.DbLog;  
    public final class RequestFilter {  
    public void log() {  
    DbLog dblog = new DbLog();  
    dblog.logPreAuth();  
    }  --DbLog.java
    package net.local.util.common;  
    import java.sql.*;  
    import org.apache.log4j.Logger;  
    import com.pointbase.jdbc.*;  
    public class DbLog {  
        private static final Logger logger = Logger.getLogger(DbLog.class);  
        private static boolean DEBUGGING = logger.isDebugEnabled();  
        private Connection conn = null;  
        private Statement m_stmt;  
        private Statement l_stmt;  
        private CallableStatement m_callStmt = null;  
        //static ResultSet l_rs = null;  
    public DbLog() {  
        logger.info("DbLog constructor called");  
        init();  
    public void init() {  
        logger.info("DbLog init called");  
    public void logPreAuth() {  
            try {  
                logger.info("Inside logPreAuth method");  
                String I_URL = "jdbc:pointbase:server://localhost:9093/weblogic_eval";  
                Class.forName("com.pointbase.jdbc.jdbcUniversalDriver").newInstance();  
                //Class.forName("com.pointbase.jdbc.jdbcDataSource");  
                conn = DriverManager.getConnection(I_URL, "PBPUBLIC", "PBPUBLIC");  
            String SQL_CREATE_PROC = "CREATE PROCEDURE insLog(IN P1 VARCHAR(30))" 
                    + " LANGUAGE JAVA" 
                    + " SPECIFIC insLog" 
                    + " DETERMINISTIC" 
                    + " NO SQL" 
                    + " EXTERNAL NAME \"DbLog::insLog\"" 
                    + " PARAMETER STYLE SQL";   
                m_stmt = conn.createStatement();  
                m_stmt.executeUpdate(SQL_CREATE_PROC);  
                m_stmt.close();    
                m_callStmt = conn.prepareCall("{ call PBPUBLIC.insLog(?) }");  
                m_callStmt.setString(1, "Success!!");  
                m_callStmt.execute();   
            catch (Exception e) {  
                logger.error("Error in logPreAuth method" + e);  
    public void insLog(String test)  
        try {  
            l_stmt = conn.createStatement();  
            l_stmt.execute("Insert into logs values('" + test + "')");  
            l_stmt.close();  
            conn.close();  
        catch (Exception e) {  

  • Exception:[java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationSe

    I'm using a User defined function "getFGN" to call a Java Class developed in NWDS. the source in NWDS has no errors when it is build. But when i Run the code i get error below.
    Buy using the Debugging facility in NWDS i can see that the problem is this code linie:
    <i>SldApplicationServiceInterface srvContext = (SldApplicationServiceInterface) jndiContext.lookup(SldApplicationServiceInterface.KEY);</i>
    <u><b>NWDS Log</b></u>
    07:50:12 Start of test
    Exception:[java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationServiceInterface] in class com.sap.xi.tf._SAP_APPL_Invoice_to_CustomerInvoice_ method getFGN$[“invoicenumber”, CUSTOMER, com.sap.aii.mappingtool.tf3.rt.Context@daa46b]
    com.sap.aii.utilxi.misc.api.BaseRuntimeException: Exception:[java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationServiceInterface] in class com.sap.xi.tf._SAP_APPL_Invoice_to_CustomerInvoice_ method getFGN$[“invoicenumber”, CUSTOMER, com.sap.aii.mappingtool.tf3.rt.Context@daa46b]
    at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:56)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:186)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:298)
    at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:63)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:77)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:259)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Root Cause:
    java.lang.reflect.InvocationTargetException
    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 com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:47)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:186)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:298)
    at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:63)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:77)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:259)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationServiceInterface
    at com.danfoss.xi.mapping.util.GenerateFileNumber.getFileGeneratedNumber(GenerateFileNumber.java:53)
    at com.sap.xi.tf._SAP_APPL_Invoice_to_CustomerInvoice_.getFGN$(_SAP_APPL_Invoice_to_CustomerInvoice_.java:2556)
    ... 29 more
    RuntimeException in Message-Mapping transformation: Exception:[java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationServiceInterface] in class com.sap.xi.tf._SAP_APPL_Invoice_to_CustomerInvoice_ method getFGN$[“invoicenumber”, CUSTOMER, com.sap.aii.mappingtool.tf3.rt.Context@daa46b]

    Hi,
    Looks like your CLASSPATH is not set properly...Just try to Put the Jar inside "<DOMAIN_HOME>\lib" directory...in that case u need not to alter anything in the Classpath variable...it will be appended at the end of Classpath at the run time, Using Extended Directory ClassLoader.
    by default Classpath settings doesnt take effect if we specify it in the startScript of Servers but we start them using NodeManagers...So if you are using Nodemanagers to start your Servers... then you can follow the below link to set the Classpath & Memory Arguments http://weblogic-wonders.com/weblogic/2010/03/26/nodemanager-based-managedservers-setting-mem_args/
    Thanks
    Jay SenSharma
    http://weblogic-wonders.com/weblogic (WebLogic Wonders Are Here)

  • Regarding Internal Exception: java.sql.SQLException

    While deploying the application we are encounter a following error,
    Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: FATAL: sorry, too many clients already
    Error Code: 0
    Deployment error:
    Please give me a suggession for this error.
    Thanks,

    While deploying the application we are encounter a following error,
    Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: FATAL: sorry, too many clients already
    Error Code: 0
    Deployment error:
    Please give me a suggession for this error.
    Thanks,

Maybe you are looking for