Nullpoint exception when population HtmlPanelGrid
Hello All.
I Have battled with this problem for two solid days now, I realy need you guys help on this one. The following code workes in another part of my program but on this part, I just can't get it right and end up with a nullpoint exception.
Here are some code:
test.jsp
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<f:view>
<html>
<head>
<title>Test</title>
</head>
<body bgcolor="#ffffff">
<h:form id="testform">
<h:panelGrid id="listData" binding="#{TestBean.listData}" />
</h:form>
</body>
</html>
</f:view>
TestBean.class (modified to sute forum posting)
package beans.backingBeans;
import beans.BeanFactory;
//do relevant imports
public class TestBean {
private HtmlPanelGrid listData; //panelgrid that holds data
public CreateSurveyBean() {
populateData();
public HtmlPanelGrid getListData() {
return listData;
public void setListData(HtmlPanelGrid listData) {
this.listData = listData;
* fetch data to HtmlPanelGrid
* @param
* @return void
public void populateData() {
Application application = FacesContext.getCurrentInstance().getApplication(); //getApplication context
List children = getListData().getChildren(); //get children of component
children.clear(); //clear children
List dataSet = BeanFactory.geInstance().getData(); //get populationData from factoryBean
for(int i=0; i<questionSet.size(); i++) {
//irrelevant code that create som content for HtmlPanelGrid
children.add(item);
faces-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<faces-config xmlns="http://java.sun.com/JSF/Configuration">
<managed-bean>
<description>SurveyBean</description>
<display-name>SurveyBean</display-name>
<managed-bean-name>SurveyBean</managed-bean-name>
<managed-bean-class>beans.backingBeans.SurveyBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
</faces-config>
Nullpoint exception (from the webserver logfile)
java.lang.NullPointerException at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206) at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154) at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:386) at javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:999) at javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1026) at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:739) at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)
The exception seems to come from the row:
List children = getListData().getChildren(); //get children of component
in the testBean.class file. As I said before. This has worked in other parts of the program but now it doesn't. After some debugging runs I have found out that the getListData -method indead returns null, But I can't figure out why.
Well, Sometimes the question is more complex than the answer ;-)
Thanks for the help.
It still puzzels me that I don't have to instanciate the HtmlPanelGrid at the other jsf page in my app. It seems as it gets instanciated by some pagical means because I don't have a
HtmlPanelGrid data = new HtmlPanelGrid();
or
data = foo;
Anywhere.
The only thing that separates the two jsf pages from eachother is that in the case that workes, the page reloads several times before I present the HtmlPanelGrid. Can this be the answer somehow?
Well... Anyhwo. It workes!
Similar Messages
-
Nullpointer exception when calling Task.getPayloadAsElement()
Hi all,
I have deployed an simple bpel in my 10.1.3.1 bpel engine. The proces contains a simpel human tasks, which I want to complete using the human workflow 10.1.3 api. This is the task message which includes my payload:
initiateTask_ApproveLoanRequestTask
[2006/12/04 20:59:48]
Invoked 2-way operation "initiateTask" on partner "TaskService".
- <messages>
- <initiateTaskInput>
- <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
- <initiateTask xmlns="http://xmlns.oracle.com/bpel/workflow/taskService">
- <task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
<title>
Aprove Loan Request task
</title>
- <payload>
- <approveLoanRequestPayload xmlns="http://xmlns.oracle.com/approveLoanRequest">
<nameRequester>
Tom
</nameRequester>
<loanRequest>
1000
</loanRequest>
<currency/>
<isApproved/>
</approveLoanRequestPayload>
</payload>
<taskDefinitionURI>
http://xesoa1.iteye.local:8894/orabpel/default/approveLoanRequest/1.0/ApproveLoanRequestTask/ApproveLoanRequestTask.task
</taskDefinitionURI>
<creator>
Tom
</creator>
<ownerUser>
bpeladmin
</ownerUser>
<ownerGroup/>
<priority>
3
</priority>
<identityContext/>
<userComment/>
<attachment/>
- <processInfo>
<domainId>
default
</domainId>
<instanceId>
100008
</instanceId>
<processId>
approveLoanRequest
</processId>
<processName>
approveLoanRequest
</processName>
<processType>
BPEL
</processType>
<processVersion>
1.0
</processVersion>
</processInfo>
<systemAttributes/>
<systemMessageAttributes/>
<titleResourceKey/>
<callback/>
<identificationKey/>
</task>
</initiateTask>
</part>
</initiateTaskInput>
- <initiateTaskResponseMessage>
- <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
- <initiateTaskResponse xmlns="http://xmlns.oracle.com/bpel/workflow/taskService">
- <workflowContext xmlns="http://xmlns.oracle.com/bpel/workflow/common">
- <credential>
<login>
bpeladmin
</login>
<identityContext>
jazn.com
</identityContext>
</credential>
<token>
13PdID5l3hQSt5QrDDwIyW0GK01koYzxtTLKFTV8e75uWJsSEkJuTRpE7+PJfcK3VL1koQYczeHlUE3fl4yvA9GAsezTFonLuQtb84khaEJpaOUFsBflwg1c5n7J/JE37eJW6HeqoT2utGTwWCfWP3Pm9InF5TUTQkqsguXpd29z+qEllTtnbJAbSRtyeUu5TtQGzcQcBWedYko8rql7XGSFba/O5DJriVW/nrgH7oC5c4diUencB0aVZzWTW2jrOogcTxbQfk8=
</token>
</workflowContext>
- <task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
<title>
Aprove Loan Request task
</title>
- <payload>
- <approveLoanRequestPayload xmlns="http://xmlns.oracle.com/approveLoanRequest">
<nameRequester>
Tom
</nameRequester>
<loanRequest>
1000
</loanRequest>
<currency/>
<isApproved/>
</approveLoanRequestPayload>
- <approveLoanRequestPayload xmlns="http://xmlns.oracle.com/approveLoanRequest">
<nameRequester>
Tom
</nameRequester>
<loanRequest>
1000
</loanRequest>
<currency/>
<isApproved/>
</approveLoanRequestPayload>
</payload>
<taskDefinitionURI>
http://xesoa1.iteye.local:8894/orabpel/default/approveLoanRequest/1.0/ApproveLoanRequestTask/ApproveLoanRequestTask.task
</taskDefinitionURI>
<creator>
Tom
</creator>
<ownerUser>
bpeladmin
</ownerUser>
<ownerGroup/>
<priority>
3
</priority>
<identityContext>
jazn.com
</identityContext>
<userComment/>
<attachment/>
- <processInfo>
<domainId>
default
</domainId>
<instanceId>
100008
</instanceId>
<processId>
approveLoanRequest
</processId>
<processName>
approveLoanRequest
</processName>
<processType>
BPEL
</processType>
<processVersion>
1.0
</processVersion>
</processInfo>
- <systemAttributes>
<approvalDuration>
0
</approvalDuration>
<assignedDate>
2006-12-04T20:59:47.547+01:00
</assignedDate>
- <assigneeGroups>
<id>
Supervisor
</id>
</assigneeGroups>
<createdDate>
2006-12-04T20:59:47.555+01:00
</createdDate>
<digitalSignatureRequired>
false
</digitalSignatureRequired>
<expirationDate/>
<inShortHistory>
true
</inShortHistory>
<isGroup>
true
</isGroup>
<numberOfTimesModified>
1
</numberOfTimesModified>
<passwordRequiredOnUpdate>
false
</passwordRequiredOnUpdate>
<pushbackSequence>
-1
</pushbackSequence>
<secureNotifications>
false
</secureNotifications>
<state>
ASSIGNED
</state>
<taskId>
2043f79925decda1:559dec6a:10f4e2a1a3b:-7ac9
</taskId>
<taskNumber>
10063
</taskNumber>
- <updatedBy>
<id>
Tom
</id>
</updatedBy>
<updatedDate>
2006-12-04T20:59:47.555+01:00
</updatedDate>
<version>
1
</version>
<versionReason>
TASK_VERSION_REASON_INITIATED
</versionReason>
<taskDefinitionId>
default_approveLoanRequest_1.0_ApproveLoanRequestTask
</taskDefinitionId>
<taskDefinitionName>
ApproveLoanRequestTask
</taskDefinitionName>
</systemAttributes>
<systemMessageAttributes/>
<titleResourceKey/>
<callback/>
<identificationKey/>
</task>
</initiateTaskResponse>
</part>
</initiateTaskResponseMessage>
</messages>
When I want to parse the payload to binding objects the method task.getPayloadAsElement returns a nullpointer exception. I'm using the Remote client variant of the API.
I hope some one can help me on this issue.
Thanks in advance!
-TomThe task payload is not populated when fetching a list of tasks using the queryTasks() method. You need to explicitly call getTaskDetailsById() or getTaskDetailsByNumber() to retrieve the complete task with the payload. Then the method task.getPayloadAsElement() should return you the payload as expected.
-
Selfservice API fails :nullpointer exception when creating Trading Partners
When I am using the sample file and xsd that's supplied I get this error
oracle> java oracle.tip.adapter.b2b.selfservice.TradingPartnerManager tp7.xml
EntityResolver called: publicID- SystemID- OrclTPProfileV2-6.xsd
java.lang.NullPointerException
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processSupportedBusinessAction(TradingPartnerManager.java:742)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processOperationalCapability(TradingPartnerManager.java:529)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processTradingPartner(TradingPartnerManager.java:412)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processTPProfiles(TradingPartnerManager.java:229)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.main(TradingPartnerManager.java:182)
Exception in thread "main" Error -: AIP-11001: Transaction closed: Error -: AIP-11001: Transaction closed
at oracle.tip.buslogic.common.Transaction.commit(Transaction.java:72)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processTPProfiles(TradingPartnerManager.java:297)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.main(TradingPartnerManager.java:182)
Caused by: Error -: AIP-11001: Transaction closed
at oracle.tip.repos.core.driver.CatalogTransaction.commit(CatalogTransaction.java:1464)
at oracle.tip.buslogic.common.Transaction.commit(Transaction.java:70)
... 2 more
When I validated the xml with the xsd it failed (attributes for ExchangeProtocolRevision), so I fixed them and tried again , now oracle started complaing the xml is invalid when in xml spy it was showing as vaid against the xsd.
I got other errors like
org.xml.sax.SAXParseException: <Line 80, Column 55>: XML-24536: (Error) Missing Attribute 'Version'
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:428)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:290)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:287)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:185)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processTPProfiles(TradingPartnerManager.java:218)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.main(TradingPartnerManager.java:182)
Exception in thread "main" Error -: AIP-51960: An error occured while processing TP/Agreement XML: org.xml.sax.SAXParseException: <Line 80, Column 55>: XML-24536: (Error) Missing Attribute 'Version'
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:303)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:287)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:185)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processTPProfiles(TradingPartnerManager.java:218)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.main(TradingPartnerManager.java:182)
and
oracle> java oracle.tip.adapter.b2b.selfservice.TradingPartnerManager tp7.xml
EntityResolver called: publicID- SystemID- OrclTPProfileV2-6.xsd
Error:
org.xml.sax.SAXParseException: <Line 81, Column 107>: XML-24535: (Error) Attribute 'Protocol' not expected.
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:428)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:290)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:287)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:185)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processTPProfiles(TradingPartnerManager.java:218)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.main(TradingPartnerManager.java:182)
Exception in thread "main" Error -: AIP-51960: An error occured while processing TP/Agreement XML: org.xml.sax.SAXParseException: <Line 81, Column 107>: XML-24535: (Error) Attribute 'Protocol' not expected.
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:303)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:287)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:185)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processTPProfiles(TradingPartnerManager.java:218)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.main(TradingPartnerManager.java:182)
the xsd that was supplied clearly indicates that the attributes for ExchangeProtocolRevision
are name , Protocol and Revision where as teh xml has just Version.
can some one look into this and let me know where the issue is ?
Thanks,
KalyanHi Ramesh/Dheeraj,
Tested Dev Patch and sent comments couple of days back, can you review and let me know the status
Thanks,
Kalyan -
NullPointer exception when using XMLIdentityStore to get UserProfile etc
I am attempting to use the oracle.security.idm package to retrieve user profile information from the application server.
My code looks something like:
Hashtable env = new Hashtable();
env.put("ADF_IM_FILE_PATH", filePath);
env.put("ADF_IM_FILE_PERSISTENCE", "ALL");
env.put("ADF_IM_SUBSCRIBER_NAME", realm);
IdentityStoreFactory factory = new IdentityStoreFactoryBuilder().getIdentityStoreFactory("oracle.security.idm.providers.jaznxml.XMLIdentityStoreFactory", env);
IdentityStore identityStore = factory.getIdentityStoreInstance(env);
I have similar code working well for OID, based on the example documentation (http://download.oracle.com/docs/cd/B32110_01/web.1013/b28957/userrole.htm). Unfortunately, there is little documentation for the XML provider -- I've been relying on the decompiled samples embedded in identitystore.jar.
The call to getIdentityStoreInstance(env) in my code above fails with a NullPointerException and the following stack trace:
oracle.security.idm.providers.jaznxml.XMLIdentityStore.<init>(XMLIdentityStore.java:83)
oracle.security.idm.providers.jaznxml.XMLIdentityStoreFactory.getIdentityStoreInstance(XMLIdentityStoreFactory.java:59)
As far as I can tell, it's getting at least as far as the call to jaznConfig.getRealmManager(); inside XMLIdentityStore, because it throws an exception from this method if I pass complete rubbish for the file path.
Has anybody at all been able to get this provider to work? Would anyone from Oracle with access to the source code be able to comment?
See also: Regarding identitystore.jar to get userprofile- User and Role API FrameworkCongrats Darek!
That function really works... here is my program test:
package integracao.sap.teste;
import java.util.Properties;
import integracao.sap.config.ConfigUtil;
import integracao.sap.funcao.RFC_READ_TABLE;
import com.sap.mw.jco.IRepository;
import com.sap.mw.jco.JCO;
public class TestJCOError {
private static Properties config;
private static JCO.Client createJCOClient(){
JCO.Client client = JCO.createClient(config.getProperty("numClient"), config.getProperty("user"), config.getProperty("password"), "EN", config.getProperty("host"), config.getProperty("numPrograma"));
return (client);
@param args
public static void main(String[] args) {
config = ConfigUtil.getConfig();
JCO.Client client = createJCOClient();
client.connect();
IRepository repository = JCO.createRepository("REP", client);
JCO.Function func = RFC_READ_TABLE.createFunction(repository);
func.getImportParameterList().setValue("MARC", "QUERY_TABLE");
func.getImportParameterList().setValue(";", "DELIMITER");
func.getTableParameterList().getTable("OPTIONS").appendRow();
func.getTableParameterList().getTable("OPTIONS").setValue("MATNR = '000000000000000011'", "TEXT");
func.getTableParameterList().getTable("FIELDS").appendRow();
func.getTableParameterList().getTable("FIELDS").setValue("MATNR", "FIELDNAME");
client.execute(func);
JCO.Table table = func.getTableParameterList().getTable("DATA");
System.out.println("NumRows: " + table.getNumRows());
System.out.println("Content: " + table.getValue("WA"));
Result:
NumRows: 1
Content: 000000000000000011
Hope it helps everybody!
Regards,
Danilo Andrade -
ArrayList nullpointer exception
I'm creating a game called bubblebreaker in Java, with the principle off model, view and controller classes.
In my model class I create a list of bubble objects. In the view I make these bubbles visible and in the controller class I react on external events (mouseclicks, ...)
My design is almost finished but I'm having some troubles removing my selected bubbles.
When I have selected my bubbles I want to remove them with another click on that bubble.
In the method deleteBub(Bubble delete) I will use the "set" method from the arraylist and make the bubble object "null":
protected void deleteBub(Bubble delete) {
bubbleList.set(delete.getNumber(), null);
}This is the error:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
+ at Model.deleteBub(Model.java:69)+
It also points to this method:
In the view class I check if the object is null:
protected void drawBub(Bubble bubb, Graphics g) {
if(bubb!=null) {
g.setColor(bubb.getColor());
g.fillOval(20*bubb.getX(), 20*bubb.getY(), 20*model.getRadius(), 20*model.getRadius());
else System.out.println(bubb.getNumber() + " is null");
}There are no compilation errors. I just get a nullpointer exception when I click the second time on a bubble, so when it should be made null.
Edited by: Lektroluv on May 5, 2009 2:22 AMI think I'm not on the same level as you.
The set command replaces the original bubble object with null, wright?
So for example the list changes from this:
new Bubble(.....)
new Bubble(.....)
new Bubble(.....)
new Bubble(.....)
...to this:
new Bubble(.....)
null
new Bubble(.....)
null
new Bubble(.....)
new Bubble(.....)
...The second list isn't good, because it has "nulls" in it?!?!? --> nullpointer exception?
What I've done next is in stead off replacing it with null, replacing it with new Bubble(BLACK ...)
new Bubble(.....)
new Bubble(BLACK ...)
new Bubble(.....)
new Bubble(BLACK ...)
new Bubble(.....)
new Bubble(.....)
...Edited by: Lektroluv on May 5, 2009 8:37 AM
Edited by: Lektroluv on May 5, 2009 8:37 AM -
Getting nullpointer exception in Tomcap using getRealPath()
Hi,
I have the following code snippet, but getting nullpoint exception when I try to read a file in jsp.
String realPath = this.getServletConfig().getServletContext().getRealPath("//AUDIT_TRAIL.xml");
File fileDef = new File(realPath);
Can someone tell me what I am doing wrong, or how i can read a file in jsp that works in tomcat 5why the double slash? / is not a special character ( b]backslash is, and so you would need \\)
The file is sitting in the root of your web app?
String realPath = this.getServletConfig().getServletContext().getRealPath("/AUDIT_TRAIL.xml");
// and if it doesn't work, try this to see what it IS looking up
String realPath1 = this.getServletConfig().getServletContext().getRealPath("/");
System.out.println(realPath1);If you ware loading a file, you might consider using the getResourceAsStream() method.
Cheers,
evnafets -
Null Pointer Exception when working with Custom Sql
I viewed the video on adding Custom Sql and everything seemed to work fine with regards to adding it to my report. However, I get a null pointer exception when I add a field from the Custom Sql table to the report and try to run the report including if I try to View Sql. There doesn't seem to be a stacktrace that I can show.
BTW... this was a work around for not being able to use Stored Procedures... I have killed 2 days now working on different ways to work around the Stored Procedure thing
Thanks,
SteveHi,
I'm trying to use a custom sql in my report. I could successfully create a custom SQL and add it to my report in the designer. But I'm getting NullPointer exception when I try to see the results in Preview. Can someone please help me resolve this issue.
Thanks! -
Nullpointer error when trying to test dispatcher in Identity Center
Hi all,
I am getting a nullpointer exception when I am trying to test my dispatcher in Identity Center. In tools/options/java I have defined where the java.exe and jvm.ddl are located.
I had tried to use a Java 1.6 before, but I got a 126 error which did not get me as far. It was 64 bit, so I have installed various versions of Java 1.5 32 bit and have tried them all with the same result as below.
I am running Identity Center 7.2 the latest patch (7.20.3.0-ORA-2011-11-16 with schema 1050).
Simple fix?
Thanks.
================================================
Running MxDispatcher_idf_dispatcher.
MxDispatcher version: 7.2.00.0 Built: 22.11.2010 18:36:12 (c) Copyright 2008 SAP
AG. All rights reserved.
Java VM: Sun Microsystems Inc. Version: 1.5.0_07
Java home: C:\Program Files (x86)\Java\jdk1.5.0_07\jre
Java lib/ext: C:\Program Files (x86)\Java\jdk1.5.0_07\jre\lib\ext
CLASSPATH: C:\usr\sap\IdM\Identity Center\Java\mxdispatcher.jar;C:\usr\sap\IdM\I
dentity Center\Java\mxmcapi.jar;C:\SAP\Oracle_OCI_10_2\ojdbc14.jar;
java.lang.NullPointerException
at com.sap.idm.ic.services.api.MXMCApi_Connection.getConnection(MXMCApi_
Connection.java:70)
at com.sap.idm.ic.services.api.MXMCApi_Connection.<init>(MXMCApi_Connect
ion.java:49)
at com.sap.idm.ic.services.api.MXMCApi_Connection.getInstance(MXMCApi_Co
nnection.java:22)
at com.sap.idm.ic.services.api.disp.MXMCApi_CTX_Dispatcher.getInstance(M
XMCApi_CTX_Dispatcher.java:39)
at com.sap.idm.ic.services.dispatcher.MxDispatcher.main(MxDispatcher.jav
a:170)
C:\Windows\system32>
Edited by: Chad Chromwell on Dec 7, 2011 6:25 PMI was able to get past the issue with testing the dispatcher. I added the mxdispatcher.jar and mxmcapi.jar to the classpath.
So the test of the dispatcher looks fine. But when I try to actually run a job in the Identity Center, nothing seems to happen. I ran these jobs in 7.1 without a problem, but not now. When I click run now on the job, an entry never appears in the System log or Job log for the Job. Used to before.
In the MMC, AS Java process is running and I can get to the NWA via the web broswer on port 50000.
Not sure what is wrong.
Running MxDispatcher_idf_dispatcher.
MxDispatcher version: 7.2.00.0 Built: 22.11.2010 18:36:12 (c) Copyright 2008 SAP
AG. All rights reserved.
Java VM: Sun Microsystems Inc. Version: 1.5.0_12
Java home: C:\Java\jre1.5.0_12
Java lib/ext: C:\Java\jre1.5.0_12\lib\ext
CLASSPATH: C:\SAP\IdM\IC72\Java\mxdispatcher.jar;C:\SAP\IdM\IC72\Java\mxmcapi.ja
r;C:\SAP\Oracle_OCI_10_2\ojdbc5.jar;
[11.12.2011 18:53:21-883] - MxDispatcher:Waiting for succesfull start-up of the
thread:RELOAD
[11.12.2011 18:53:21-883] - MxDispatcher:Main loop for thread:IDS_DispThread-REL
OAD-idf_dispatcher
[11.12.2011 18:53:21-884] - MxDispatcher:Started thread:IDS_DispThread-RELOAD-id
f_dispatcher
[11.12.2011 18:53:21-884] - MxDispatcher:THREAD BODY Execution:IDS_DispThread-RE
LOAD-idf_dispatcher
[11.12.2011 18:53:21-884] - MxDispatcher:Reading main MxDispatcher configuration
[11.12.2011 18:53:21-888] - MxDispatcher:Global constant DISPATCHER_POLICY_TYPE
not found, using default = 0
[11.12.2011 18:53:21-888] - MxDispatcher:Global constant MX_MAX_CONCURRENT_RUNTI
ME_ENGINES not found, using default = 9999
[11.12.2011 18:53:21-979] - run_java: "C:\Java\jre1.5.0_12\bin\java.exe" -cp "C
:\SAP\IdM\IC72\Java\DSE.jar;C:\SAP\IdM\IC72\Java;C:\SAP\IdM\IC72\Java\sapjco.jar
;C:\SAP\Oracle_OCI_10_2\ojdbc5.jar;C:\SAP\IdM\IC72\Java\mxdispatcher.jar;C;SAP\I
dM\IC72\Java\mxmcapi.jar;C:\SAP\IdM\IC72\Java\mxdispatcher.jar;C:\SAP\IdM\IC72\J
ava\mxmcapi.jar;C:\SAP\Oracle_OCI_10_2\ojdbc5.jar; " "-DDSE_HOME=C:\SAP\IdM\IC72
" com.sap.idm.ic.DSERunTime "Drivers=com.microsoft.jdbc.sqlserver.SQLServerDrive
r;com.microsoft.sqlserver.jdbc.SQLServerDriver;com.sap.dbtech.jdbc.DriverSapDB;o
rg.gjt.mm.mysql.Driver;sun.jdbc.odbc.JdbcOdbcDriver;oracle.jdbc.driver.OracleDri
ver;COM.ibm.db2.jdbc.app.DB2Driver;COM.ibm.db2.jcc.DB2Driver;COM.ibm.db2.jdbc.ne
t.DB2Driver;com.sap.db.jdbc.Driver;oracle.jdbc.driver.OracleDriver" "DatabaseURL
=jdbc:oracle:thin:mxmc_rt/****@localhost:1521:ORCL" Machine=idf_dispatcher Log
Level=4 StackTrace=2 loop
[11.12.2011 18:53:27-191] - run_java: "C:\Java\jre1.5.0_12\bin\java.exe" -cp "C
:\SAP\IdM\IC72\Java\DSE.jar;C:\SAP\IdM\IC72\Java;C:\SAP\IdM\IC72\Java\sapjco.jar
;C:\SAP\Oracle_OCI_10_2\ojdbc5.jar;C:\SAP\IdM\IC72\Java\mxdispatcher.jar;C;SAP\I
dM\IC72\Java\mxmcapi.jar;C:\SAP\IdM\IC72\Java\mxdispatcher.jar;C:\SAP\IdM\IC72\J
ava\mxmcapi.jar;C:\SAP\Oracle_OCI_10_2\ojdbc5.jar; " "-DDSE_HOME=C:\SAP\IdM\IC72
" com.sap.idm.ic.DSERunTime "Drivers=com.microsoft.jdbc.sqlserver.SQLServerDrive
r;com.microsoft.sqlserver.jdbc.SQLServerDriver;com.sap.dbtech.jdbc.DriverSapDB;o
rg.gjt.mm.mysql.Driver;sun.jdbc.odbc.JdbcOdbcDriver;oracle.jdbc.driver.OracleDri
ver;COM.ibm.db2.jdbc.app.DB2Driver;COM.ibm.db2.jcc.DB2Driver;COM.ibm.db2.jdbc.ne
t.DB2Driver;com.sap.db.jdbc.Driver;oracle.jdbc.driver.OracleDriver" "DatabaseURL
=jdbc:oracle:thin:mxmc_rt/****@localhost:1521:ORCL" Machine=idf_dispatcher Log
Level=4 StackTrace=2 loop -
Nullpointer exception... any help would be appreciated
In advance, I apologize for any ignorance which I may obviously have... I'm in the process of learning Java, and am used to C/C++... In any case, I'm running into a nullpointer exception while 'compiling', which I'm having trouble figuring out... I'll list everything below, but this message will be rather long, as I will try to include everything I can. For this reason, I will ask my questions here, at the top:
1) A null pointer exception, I believe, is generated when something is being referenced which is currently null, for example "a=null; a.b;" yields a null pointer exception. However, is there any other way that one is generated?
2) Are there methods to figure out what/why something is null other than simply looking at it? As shown below, it seems that just looking at it runs you in a circle from line to line, file to file, which leads you back to the beginning where nothing is actually null... (I'm probably just not seeing it, but that seems to be what's happening to me)
So now, on to the actual code:
The following is a printout of the debugging info:
~/bin/jdk*/bin/java -classpath classes jamie.Main
java.lang.NullPointerException
at jamie.Main.Sys_Log(Main.java:110)
at jamie.Main.Setup(Main.java:142)
at jamie.Main.main(Main.java:54)
Exception in thread "main" java.lang.NullPointerException
at jamie.Main.Sys_Log(Main.java:110)
at jamie.Main.Shutdown(Main.java:182)
at jamie.Main.main(Main.java:92)And a short excerpt of each. (*) indicates line which error originates:
20 ) private static Log sys_log;
108 ) static void Sys_Log(String msg)
109 ) {
110*) sys_log.Log(msg);
111 ) }
142*) Sys_Log("Server warming up...");
182*) Sys_Log("Server shutting down...");
50 ) public static void main(String[] args)
51 ) {
52 ) try
53 ) {
54*) Setup();
85 ) catch(Exception e)
86 ) {
87 ) e.printStackTrace(System.out);
88 ) err_log.Log(e.toString());
89 ) }
90 ) finally
91 ) {
92*) Shutdown();
93 ) }Now, various things that I have tried, and their result (you can probably skip this section, as these were mostly futile efforts):
What seems odd to me is that the initial error is on line 110, which is the logging function Sys_Log. Since it's a null pointer exception, I would assume that sys_log is null? and thus in calling Log we're generating that error... I'm not entirely sure that that makes sense, though. Additionally, and what I find odd, is that if I change it to what I will list below, I get a slew of other seemingly unrelated problems:
20 ) private static Log sys_log;
108 ) static void Sys_Log(String msg)
109 ) {
110#) if (sys_log!=null)
111 ) sys_log.Log(msg);
112 ) }This results in a problem with function Err_Log, which I change the same way, resulting in the following:
java.lang.NullPointerException
at jamie.Area_LUL.Load(Area_LUL.java:23)
at jamie.Main.Setup(Main.java:161)
at jamie.Main.main(Main.java:55)
Exception in thread "main" java.lang.NullPointerException
at jamie.Main.Shutdown(Main.java:186)
at jamie.Main.main(Main.java:93)In Main.java the following lines are generating the error:
160 ) lul = new Area_LUL();
161*) lul.Load();And in Area_LUL.java I also have the following:
14 )class Area_LUL implements LoaderUnloader
15 ){
16 ) public void Load()
17 ) {
18 ) try
19 ) {
20 ) areadir = new File("./areas/");
21 ) SAXParser p = SAXParserFactory.newInstance().newSAXParser();
22 )
23*) for(File curr : areadir.listFiles(new Area_Filter()))
24 ) {
25 ) p.parse(curr, new XMLParser());
26 ) }
27 ) }Where in the above, the for statement is generating the null pointer exception... which would tell me that areadir is null, however it is defined as new File("./areas/"); Also, lul (defined as new Area_LUL(); is generating the same error, though it is clearly defined in Area_LUL.java at the top of the last excerpt.
Also, LoaderUnloader is defined in another file as follows:
interface LoaderUnloader
void Load();
void Unload();
}which are defined in Area_LUL in Area_LUL.java .
A major theory which I currently have is that the compiler is beginning with my main.java file, and not seeing the class definition in another file, and thus attributing the class obj I create as null, which is causing the error, but I also am not sure if this is possible...
My imports for Main.java are as follows:
package jamie;
import java.io.*;
import java.util.*;I'm not entirely sure what the package is including, however I do have a jamie.jar file in another directory (../../dist) (could be referencing that?). Also, to compile the source I am using the following command:
~/bin/jdk*/bin/java -classpath classes jamie.MainHowever my classpath (I believe) isn't set to include all my files in the given directory. I wouldn't believe that this would be an issue, however if it could possibly be causing this, I can figure out how to set it properly. Also, this should mean I'm starting with Main.java, and perhaps I am right in concluding that it isn't referencing Area_LUL in another file properly, which is setting it as null?
In any case... Any help would be greatly appreciated. This has been a bit of a struggle for about a month now, trying various resources, moving things around, etc... Thanks so much for your time in reading,
-JessI'm not able to follow the program flow from your post. Please create a small standalone program that exhibits the problem and post that back here.
Your assumption re a NPE is correct, that's the only way they're generated.
There are no "canned" methods to resolve NPEs. The best solution is to put System.out.println statements for all of the involved objects and variables immediately preceeding the error line (in this case, 110) and something will show null. Usually that's enough info to backtrace to the real cause. -
How to catch exception when have max connection pool
hi,
i have define in oracle user that i could have max 10 sessions at the same time.
I have jdbc datasource & connection pool defined at glassfish server(JSF application).
now, if in application is too many queries to the database then i have error: nullpointer exception - becouse when i try to do:
con = Database.createConnection(); - it generates nullpointer exception becouse there isn't free connection pool
i try to catch exception like this:
public List getrep_dws_wnioski_wstrzymane_graph() { int i = 0; try { con = Database.createConnection(); ps = (Statement) con.createStatement(); rs = ps.executeQuery("select data, klasa, ile_dni_wstrzymana, ile_wnioskow from stg1230.dwsww_wstrzymane_dws8 order by data, klasa, ile_dni_wstrzymana, ile_wnioskow"); while(rs.next()){ rep_dws_wnioski_wstrzymane_graph.add(i,new get_rep_dws_wnioski_wstrzymane_graph(rs.getString(1),rs.getString(2),rs.getString(3),rs.getString(4))); i++; } } catch (NamingException e) { e.printStackTrace(); } catch (SQLException e) { e.printStackTrace(); } catch (NullPointerException e) { e.printStackTrace(); throw new NoConnectionException(); // catch null 1 } finally { try { con.close(); } catch (SQLException e) { e.printStackTrace(); } catch (NullPointerException e) { e.printStackTrace(); throw new NoConnectionException(); // catch null 2 } } return rep_dws_wnioski_wstrzymane_graph; }
but at line:
con.close();
i have nullpointerexception
and
at line
throw new NoConnectionException(); // catch null 2
i have: caused by exception.NoConnectionException
what's wrong with my exception class? how to resolve it?
public class NoConnectionException extends RuntimeException{ public NoConnectionException(String msg, Throwable cause){ super(msg, cause); } public NoConnectionException(){ super(); } }
at web.xml i have defined:
<error-page> <exception-type>exception.NoConnectionException</exception-type> <location>/NoConnectionExceptionPage.jsp</location> </error-page>thanks,
i did it and i have error:
java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: ORA-02391: exceeded simultaneous SESSIONS_PER_USER limit
at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:115)
at logic.Database.createConnection(Database.java:37): conn = ds.getConnection();
public class Database {
public static Connection createConnection() throws NamingException,
SQLException {
Connection conn = null;
try{
Context ctx = new InitialContext();
if (ctx == null) {
throw new NamingException("No initial context");
DataSource ds = (DataSource) ctx.lookup("jdbc/OracleReports");
if (ds == null) {
throw new NamingException("No data source");
conn = ds.getConnection(); // here's exception when max connections to database
if (conn == null) {
throw new SQLException("No database connection");
} catch (NamingException e) {
e.printStackTrace();
throw new NoConnectionException();
} catch (SQLException e) {
e.printStackTrace();
throw new NoConnectionException();
catch (NullPointerException e) {
e.printStackTrace();
throw new NoConnectionException(); // obsluga bledy na wypadek jesli braknie wolnych polaczen do bazy
return conn;
}and at my ealier code i have error:
at logic.GetDataOracle.getrep_dws_wnioski_wstrzymane_graph(GetDataOracle.java:192)
at line: con = Database.createConnection();
in code:
public List getrep_dws_wnioski_wstrzymane_graph() {
int i = 0;
try {
con = Database.createConnection();
ps = (Statement) con.createStatement();
rs = ps.executeQuery("select data, klasa, ile_dni_wstrzymana, ile_wnioskow from stg1230.dwsww_wstrzymane_dws8 order by data, klasa, ile_dni_wstrzymana, ile_wnioskow");
while(rs.next()){
rep_dws_wnioski_wstrzymane_graph.add(i,new get_rep_dws_wnioski_wstrzymane_graph(rs.getString(1),rs.getString(2),rs.getString(3),rs.getString(4)));
i++;
} catch (NamingException e) {
e.printStackTrace();
} catch (SQLException e) {
e.printStackTrace();
} catch (NullPointerException e) {
e.printStackTrace();
throw new NoConnectionException();
} finally {
try {
if(con != null)
con.close();
} catch (SQLException e) {
e.printStackTrace();
} catch (NullPointerException e) {
e.printStackTrace();
throw new NoConnectionException();
return rep_dws_wnioski_wstrzymane_graph;
}so what's wrong?
i have limit max sessions 10 at oracle so i set at my connection pool 5 connections as max. But when i get max 5 sesssins and try to execute next query then i can't catch exception.. -
Java.lang.NullPointer Exception in File-RFC-File wtihout BPM scenario
Hi All,
I have implemented scenario File - RFC - File without BPM in PI7.1 according to below link by bhavesh
[File - RFC - File without a BPM - Possible from SP 19.;
but I am getting error java.lang.NullPointer Exception in Audit log of sender communication channel when it enters in ResponseOnewayBean.
I had implemented the same in PI 7.0 but there it was working fine.
Is there any limitations on the use of the above beans in PI7.1 as I could see two more threads on the same unanswered yet.
Please help me in resolving as it is priority task for me
Thanks,
AmitSometime back I saved this SAP Note 1261159 for this error. Not sure if it is still valid. Try to get it implemented.
Regards,
Prateek -
1 View linked to 2 CompCont: NullPointer Exception
Hi,
Here is the architecture of my app :
MainView --> CompContA --> ModelA (RFC function A)
........|
........|---> IntCompB --> CompContB --> Model B (RFC function B)
And here is the content of the MainView :
AdviceNumber : [
Z2_I_Rechercher_Avis_Input.AdviceNumber) | RefreshButton1
UserId : [Z2_I_Rechercher_Bottin_Input.UserId) | RefreshButton2
Name : [Z2_I_Rechercher_Avis_Input.Output.It_Infos_Bottin.Name)
Now, my application works when I populate an AdviceNumber and press the RefreshButton1. At the return, the name field is refreshed and I use some Java code to move the UserId that my function returned to the UserId of the screen. This works well.
Then if I change the value of the UserId in the screen and press the RefreshButton2, the second function returns me another name, and I use some Java code to move this name into the Name field of the screen. This works well too.
The problem is that I can't use the refreshButton2 first! I get a NullPointer exception.
And I know why, it's because the « Output » structure of my Z2_I_Rechercher_Avis_Input is not initialized (since the refreshButton1 has not been used yet).
But I can't find the right way to code it.
Can you help me, thanks!
Message was edited by:
Emanuel ChampagneI want the user to click on the button he wants.
I just need to know how to initialize the Output.Struc1 when the user decides to click on the RefreshButton2 First.
It's the line in bold that give me the error (but that line works well when the RefreshButton1 is used first!)
public void onActionRafraichirAvis(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionRafraichirAvis(ServerEvent)
//$$begin ActionButton(-775562010)
wdThis.wdGetAvisCompController().executeZ2_I_Rechercher_Avis_Input();
//$$end
// At the return, we need to refresh the values of the screen with the ones returned by the function.
// Access to the structure showed on the screen
IIt_Infos_BottinElement AvisInfosBottinEl = wdContext
.nodeIt_Infos_Bottin()
.currentIt_Infos_BottinElement();
// Access to the structure received by the RFC function
IIt_Z2I053TElement BottinEl = wdContext
.nodeIt_Z2I053T()
.currentIt_Z2I053TElement();
<b>AvisInfosBottinEl.setName(BottinEl.getName());</b>
Message was edited by:
Emanuel Champagne -
JUTreeNodeBinding question (nullpointer exception in getAttribute)
Hi,
I've got a question about a piece of code. I've used a JTree which displays a recursive tree, which is working fine. I want to do something when a node is selected. I have the following piece of code:
jTree1.addTreeSelectionListener(
new TreeSelectionListener()
public void valueChanged(TreeSelectionEvent e)
DefaultMutableTreeNode node = (DefaultMutableTreeNode)jTree1.getLastSelectedPathComponent();
if (node != null)
JUTreeNodeBinding tnb = (JUTreeNodeBinding)(node.getUserObject());
if (tnb!=null)
});this code is taken from some example I've read on this forum and slightly modified (I can't find the original posting).
Now, according to the sourcecompletion feature, tnb has methods like getAttribute, getAttributeDef. But when I call one of these methods on tnb (where the '...' is in the example above), I always get a nullpointer exception , somewhere inside the getAttribute call. (the variable 'tnb' itself is not null)
Why wouldn't this work? Shouldn't the getAttribute calls give me access to the attributes of the row from the view that corresponds the selected element?
The logwindow shows this for the nullpointer exception:
Exception occurred during event dispatching:
java.lang.NullPointerException
oracle.jbo.AttributeDef[] oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDefs()
JUCtrlValueBinding.java:173
oracle.jbo.AttributeDef oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(int)
JUCtrlValueBinding.java:239
void mypackage.PMyData$1.valueChanged(javax.swing.event.TreeSelectionEvent)
PMyData.java:332
void javax.swing.JTree.fireValueChanged(javax.swing.event.TreeSelectionEvent)
JTree.java:2269
void javax.swing.JTree$TreeSelectionRedirector.valueChanged(javax.swing.event.TreeSelectionEvent)
JTree.java:2575
void javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(javax.swing.event.TreeSelectionEvent)
DefaultTreeSelectionModel.java:612
void javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(java.util.Vector, javax.swing.tree.TreePath)
DefaultTreeSelectionModel.java:1006
void javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(javax.swing.tree.TreePath[])
DefaultTreeSelectionModel.java:288
void javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(javax.swing.tree.TreePath)
DefaultTreeSelectionModel.java:171
void javax.swing.JTree.setSelectionPath(javax.swing.tree.TreePath)
JTree.java:1088
void javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(javax.swing.tree.TreePath, java.awt.event.MouseEvent)
BasicTreeUI.java:2117
void javax.swing.plaf.basic.BasicTreeUI$MouseHandler.mousePressed(java.awt.event.MouseEvent)
BasicTreeUI.java:2683
void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
Component.java:3712
void java.awt.Component.processEvent(java.awt.AWTEvent)
Component.java:3544
void java.awt.Container.processEvent(java.awt.AWTEvent)
Container.java:1164
void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
Component.java:2593
void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
Container.java:1213
void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
Component.java:2497
void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
Container.java:2451
boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
Container.java:2210
boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
Container.java:2125
void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
Container.java:1200
void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
Window.java:926
void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
Component.java:2497
void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
EventQueue.java:339
boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
EventDispatchThread.java:131
void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
EventDispatchThread.java:98
void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
EventDispatchThread.java:93
void java.awt.EventDispatchThread.run()
EventDispatchThread.java:85Bit of a coincidence.. I was just running into the same problem. But if you check getAttributeDefs(), you'll see that there only is one attribute available, namely the one that is being displayed in the tree. (the 'description'-attribute)
Or at least, that's the case with my sitation.
I would love to be able to address all available attributes, eg. foreign key fields, but that doesn't seem possible.
At the moment, I'm using the following work-around, which of course is far from ideal:
Key key = tnb.getRowKey();
ViewObject vo = panelBinding.getApplicationModule().findViewObject("SomeVO");
Row[] rows = vo.findByKey(key);
if (rows == null || rows.length != 1)
System.out.println("Notice: not 1 rows");
return;
Row row = rows[0];
// now you can fetch all the attributes -
Java.lang.NullPointer exception and operating systems
Do different operating systems handle the NullPointer exception differently? I have an application that has a screen come up when you click a button. However, the app attempts to process some data before bring up the screen. Sometimes the data is null. The application works fine on linux red hat. However, the screen does not come up on HP Unix. I am not looking to fix the code (even though it may need fixed), but I am looking for an explanation why app works differently in this regard.
Do different operating systems handle the NullPointer
exception differently? Nope.
My guess is that the different OSes have different threading models. In one case X amount of work gets done in the non-GUI thread before the GUI thread tries to do its thing. In the other OS, X+1 amount of work gets done, leading to different states for the GUIs to act on. This is almost certainly a bug in your app. -
Java.Lang.NullPoint.Exception in OWB Mapping
Hello Everybody
We are building Data Warehouse using OWB Repository 9.2.0.2.0. When we are validating or deploying the created map we are getting Java.Lang.NullPoint.Exception. This leads to blank screen. We are unable to recover the map. Sometimes, synchronization works to recover the map, but not all the times.
Is there any solution to it?Mark
Is it possible to solve the problem without migrating? I have the details of error as follows --
java.lang.NullPointerException
java.lang.NullPointerException
at oracle.wh.service.impl.mapping.metadata.WBMappingGraphImpl.<init>(WBMappingGraphImpl.java:43)
at oracle.wh.service.impl.mapping.metadata.WBMappingGraphHelper.createMappingGraph(WBMappingGraphHelper.java:31)
at oracle.wh.ui.mapping.MappingGraphNew.drawStage(MappingGraphNew.java:2660)
at oracle.wh.ui.mapping.MappingGraphNew.setStage(MappingGraphNew.java:484)
at oracle.wh.ui.mapping.MappingEditorCanvas.refresh(MappingEditorCanvas.java:287)
at oracle.wh.ui.common.WhFolderEditor.refreshCanvas(WhFolderEditor.java:951)
at oracle.wh.ui.common.WhFolderEditor.refresh(WhFolderEditor.java:604)
at oracle.wh.ui.common.WhFolderEditor$1$MyRefresh.run(WhFolderEditor.java:424)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
I appreciate your feedback.
Cheers, Bana
Maybe you are looking for
-
Material ledger is not active in valuation area C002
Dear All, I have a Scheduling Agreement for a material 'A' with Vendor 'V' with diff prices with validity dates, I did the GR & when i am posting the invoice thro' miro, system is throwing error as above Material ledger is not active in valuation are
-
How to create Database Triggers
Hi Experts, We have this following requirement. Some external program is going to update a custom table. Whenever these updates will occur we need to maintain changes in another database table. How can we achieve this requirement? Thanks in advance.
-
I noticed that when I tried to use <uix:dateField> within a struts form (<html:form>) it does not bring up the calendar (datepicker). is there any way to get it to work within a struts form. If not will it be developed, or do I have to create the ent
-
I migrated my old IMac to new and Aperture won't let me import from camera
I migrated old iMac to new and Aperture will not let me import from camera from. Migrating created two users and I get an error message saying I do not have permission write. I have gone to get info and it says I have read and write permissions. iMac
-
Create a pie chart autoshape and specify exact angles
I am able to use the Pie Chart autoshape tool to create a new pie chart with segments. Is it possible to specify the exact angles I want for these segments?