Java.lang.NullPointerException when running JHeadstart Application Generato
When I run the Generator I get
java.lang.NullPointerException
In my console I get (after many DRAG OVER/DRAG EXIT messages):
(xml.XmlBeanDefinitionReader 150 ) Loading XML bean definitions from file [D:\work\Meld\ViewController\templates\config\jag-config.xml]
(xml.XmlBeanFactory 222 ) Creating shared instance of singleton bean 'pgItemModelHelper'
(xml.XmlBeanFactory 222 ) Creating shared instance of singleton bean 'velocityInitializer'
(xml.XmlBeanFactory 222 ) Creating shared instance of singleton bean 'formGroupLayoutFactory'
(xml.XmlBeanFactory 222 ) Creating shared instance of singleton bean 'formPageNameFormat'
(xml.XmlBeanFactory 222 ) Creating shared instance of singleton bean 'tableGroupLayoutFactory'
(xml.XmlBeanFactory 222 ) Creating shared instance of singleton bean 'tablePageNameFormat'
java.lang.NullPointerException
at oracle.jheadstart.dt.jag.bindinggenerator.PageUIModelGenerator.generateGroupBindings(PageUIModelGenerator.java:743)
at oracle.jheadstart.dt.jag.bindinggenerator.PageUIModelGenerator.generateInternal(PageUIModelGenerator.java:390)
at oracle.jheadstart.dt.jag.bindinggenerator.PageUIModelGenerator.generate(PageUIModelGenerator.java:249)
at oracle.jheadstart.dt.jag.JhsApplicationGenerator.generate(JhsApplicationGenerator.java:332)
at oracle.jheadstart.dt.jag.JhsApplicationGenerator.generate(JhsApplicationGenerator.java:361)
at oracle.jheadstart.dt.jag.jdev.JagRunner$1.run(JagRunner.java:80)
at java.lang.Thread.run(Thread.java:595)
JagRunner$1[103]: Invoking garbage collector
I am using JDeveloper 10.1.3.3.0.4157
and JHS 10.1.3.0.97
What could be the problem?
Thanks in advance,
Lebbol
Ok, I don't understand much from your stack dump there, but the ONLY time I've ever got a NullPointerException with the JAG is when I've deleted my bc4j.xcfg files from my ADF BC project in my application. I've fixed this by regenerating these files; which seems to occur when I open up my Application Module and then close it.
It's worth a shot I guess.
Similar Messages
-
Java.lang.NullPointerException when running weblogic on linux
Hi,
I installed the generic release of the Oracle WebLogic (wls1033_generic.jar) on my server (Ubuntu 64bit). When starting the application I am getting the following java exception. Is this a bug?
<Jun 22, 2010 9:29:51 AM EDT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.NullPointerException
java.lang.NullPointerException
at weblogic.deploy.internal.adminserver.DeploymentManager.getPendingDeploymentsForEditLockOwner(DeploymentManager.java:360)
at weblogic.management.provider.internal.EditAccessImpl.removePendingUpdateTasks(EditAccessImpl.java:560)
at weblogic.management.provider.internal.EditAccessImpl.undoUnsavedChanges(EditAccessImpl.java:555)
at weblogic.management.provider.internal.EditAccessImpl.acquireLock(EditAccessImpl.java:264)
at weblogic.management.provider.internal.EditAccessImpl.startEdit(EditAccessImpl.java:289)
Truncated. see log file for complete stacktrace
>
<Jun 22, 2010 9:29:51 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Jun 22, 2010 9:29:51 AM EDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Jun 22, 2010 9:29:51 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>Are you running the process as the user that installed WebLogic and have write permissions in the domain directory?
How did you create the domain? -
Java.lang.NullPointerException when trying to compile
Hi everybody!
I'm trying to compile a file using javax.tools.JavaCompiler but I get a java.lang.NullPointerException when running the program.
Here is my code:
public boolean CompExecFile(File filename){
boolean compRes = false;
try {
System.out.println(filename.getAbsolutePath());
JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
StandardJavaFileManager fileManager = compiler.getStandardFileManager(null, null, null); //line where I get the error
Iterable<? extends JavaFileObject> compilationUnits2 = fileManager.getJavaFileObjects(filename);
compRes = compiler.getTask(null, fileManager, null, null, null, compilationUnits2).call();
fileManager.close();
if (compRes) {
System.out.println ("Compilation was successful");
} else {
System.out.println ("Compilation failed");
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
return compRes;
}There error on the line "StandardJavaFileManager fileManager = compiler.getStandardFileManager(null, null, null);":
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException+
I've seen several examples using the parameters "null,null,null" but I don't know if it's good :(
Many thanks for your help.I've found something which could maybe be what I need to do but I'm not sure:
// Build a new ClassLoader using the given URLs, replace current Classloader
ClassLoader oldCL = Thread.currentThread().getContextClassLoader();
ClassLoader newCL = new URLClassLoader(myClasspathURLs, oldCL);
Thread.currentThread().setContextClassLoader(newCL);
System.out.println("Successfully replaced ClassLoader");
Class fooClass = newCL.loadClass(appClass); //which replaces the line "Class<?> tempFileClass = Class.forName("TempFile");" ?!Is that what I need to do?
EDIT: I've tried that but I still have the same problem:
File classFile = new File ("TempFile.class");
ClassLoader oldCL = Thread.currentThread().getContextClassLoader();
ClassLoader newCL = new URLClassLoader(new URL[] {classFile.toURL()}, oldCL);
Thread.currentThread().setContextClassLoader(newCL);
System.out.println("Successfully replaced ClassLoader");
Class tempFileClass = newCL.loadClass("TempFile");
Method main = tempFileClass.getMethod("main", String[].class);
main.invoke(null,new String[0]); Edited by: Foobrother on Jul 28, 2008 8:18 AM -
Java.lang.NullPointerException when deploying a PIA
I am having a problem deploying a PIA on PeopleTools 8.45.18 on Solaris 8 using WebLogic 8.1 sp 3. The error I experience is java.lang.NullPointerException when I run this command:
./setup.solaris -console -is:log /var/temp/piainstall.log
InstallShield Wizard
Initializing InstallShield Wizard...
Searching for Java(tm) Virtual Machine...
Welcome to the InstallShield Wizard for PeopleSoft Internet Architecture.
Using the InstallShield Wizard you will install PeopleSoft Internet
Architecture on your computer.
Version: 8.45.18
Note: If installing onto a BEA WebLogic Server, make sure to shutdown any
running web servers to avoid web server corruption.
Select Next to continue or Cancel to exit.
Press 1 for Next, 3 to Cancel or 4 to Redisplay [1]
Choose the setup type that best suits your needs.
[X] 1 - BEA WebLogic Server
[ ] 2 - IBM WebSphere Server
To select an item enter its number, or 0 when you are finished: [0]
Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1]
Please select the configuration to install.
[X] 1 - Single Server Domain
[ ] 2 - Multi Server Domain
[ ] 3 - Distributed Managed Server
To select an item enter its number, or 0 when you are finished: [0] 2
Enter 0 to continue or 1 to make another selection: [0]
Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1]
java.lang.NullPointerException
An error occurred during wizard bean change notification:
java.lang.NullPointerException
at PSChangeSharedLibPermission.PSSearchAndSet(PSChangeSharedLibPermission.java:67)
at PSChangeSharedLibPermission.execute(PSChangeSharedLibPermission.java:53)
at com.installshield.wizard.StandardWizardListener.execute(StandardWizardListener.java:123)
at com.installshield.wizard.StandardWizardListener.currentBeanChanged(StandardWizardListener.java:106)
at com.installshield.wizard.Wizard$RunThread.run(Wizard.java:1564)
any thoughts...please let me know if you have configured any RPS for the same.i faced a similar issue while i was trying to create an instance taken from oracle export dump taken from one of our client.our error got resolved when we changed the web profile to PROD. More often than not this is an issue with the webprofile. try changing the web profile one by one from dev to test to prod and kiosk.
if none of these resolves the issue, try ruuning version app engine program. this will update the ppltools version. in correct version may also some times cause this issue.
Please let me know if you have configured ldap. -
Java.lang.NullPointerException when trying to start UM
I get java.lang.NullPointerException when I try to start Unified Messaging using EM on a new Windows 2000 single-box installation. Has anyone enountered this problem?
I have also encountered same issue. Please let me know the solution in case you find it.
In fact after configuiring Oracle files as per the document provided at Oracle OTN site 'Collaboration handbook', I am unable to connect OID. As per log it says
2003/04/01:20:37:58[Oidmon]: Unable to connect to database, will retry after 20 sec
2003/04/01:21:20:21Starting Monitor Process, PID=2920
2003/04/01:21:20:21ORACLE_SID not set, setting to iasdb
2003/04/01:21:41:22Failed to fetch Process Table. ORA-12571: TNS:packet writer failure
I checked Listener, which was found ok, then I checked TNSPING, which executed ok.
I have dowloaded documents troubleshooting OID, but no success. The document itself says that architecture of OID is fairly complex and the log does not suggest much insight.
Any solution?
Regards,
Vipul -
Java.lang.NullPointerException when doing SQL on ms access
I am trying to perform Insert and delete commands on an access database and I continue to get a java.lang.NullPointerException when performing the action. Everything is fine when i do a Select * FROM..., I am able to read all of the information I ask for, but when performing the Insert/Delete commands I get the error. Any help would be appreciated, I will copy and past a portion of my code below. All of the fields and variable types match with what is in the database.
public void executeAddSecretary() throws SQLException{
String a,b;
a= txtSecLname.getText();
b= txtSecFname.getText();
statement.execute("INSERT INTO Contact_Sec (Sec_Lname,Sec_Fname) Values ('" + a + "', '" + b + "')");
System.out.println("updated Secretary");
public void executeDeleteContact() throws SQLException{
String a = "a";
statement.execute("DELETE FROM Contact WHERE Lname = ('" + a + "')");
System.out.println("deleted contact");
Thanks to anyone who can help me out.1) Use prepared statement instead of statement.
2) Do like this ...
PreparedStatement prepStmt = null;
try
String query="INSERT INTO Contact_Sec (Sec_Lname,Sec_Fname) Values (?,?)");
prepStmt = connection.prepareStatement(query);
prepStmt.setString(1, value1);
prepStmt.setString(2, value2);
prepStmt.executeUpdate();
catch (SQLException e)
throw e;
catch (Exception e)
throw e;
finally
try
if (prepStmt != null)
prepStmt.close();
} catch (Exception e) {}
try
if (connection != null)
connection.close();
} catch (Exception e) {}
}3) If you still get the null exception then put step wise System.out's
and debug it.
-Rohit -
Java.lang.NullPointerException when connecting to DB
Running what I think is the latest version of Oracle SQL Developer, 2.1.0.63.73 on JDK 1.6.0_17, Windows XP. Every 2nd or 3rd time I run SQL Dev, I get the following when I go to connect: Error Connecting, with the below in the "Details"
java.lang.NullPointerException
at oracle.dbtools.raptor.utils.TNSHelper$2.compare(TNSHelper.java:349)
at java.util.Arrays.mergeSort(Arrays.java:1270)
at java.util.Arrays.sort(Arrays.java:1210)
at java.util.Collections.sort(Collections.java:159)
at oracle.dbtools.raptor.utils.TNSHelper.getTNSEntries(TNSHelper.java:355)
at oracle.dbtools.raptor.utils.TNSHelper.getEntry(TNSHelper.java:216)
at oracle.dbtools.raptor.utils.Connections.populateConnectionInfo(Connections.java:645)
at oracle.dbtools.raptor.standalone.connection.RaptorConnectionCreator.getConnection(RaptorConnectionCreator.java:62)
at oracle.dbtools.raptor.dialogs.conn.ConnectionPrompt.promptForPassword(ConnectionPrompt.java:67)
at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:321)
at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:254)
at oracle.jdevimpl.db.adapter.CADatabaseFactory.createConnectionImpl(CADatabaseFactory.java:60)
at oracle.javatools.db.DatabaseFactory.createConnection(DatabaseFactory.java:534)
at oracle.javatools.db.DatabaseFactory.createDatabase(DatabaseFactory.java:208)
at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:607)
at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:562)
at oracle.dbtools.raptor.utils.Connections$ConnectionInfo.getDatabase(Connections.java:145)
at oracle.dbtools.raptor.utils.Connections.getConnection(Connections.java:874)
at oracle.dbtools.raptor.utils.Connections.getConnection(Connections.java:855)
at oracle.dbtools.raptor.navigator.DatabaseConnection.openConnectionImpl(DatabaseConnection.java:117)
at oracle.dbtools.raptor.navigator.AbstractConnectionNode.getConnection(AbstractConnectionNode.java:30)
at oracle.dbtools.raptor.navigator.ConnectionFilter.getFactory(ConnectionFilter.java:92)
at oracle.dbtools.raptor.navigator.ConnectionFilter$1.doWork(ConnectionFilter.java:117)
at oracle.dbtools.raptor.navigator.ConnectionFilter$1.doWork(ConnectionFilter.java:102)
at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:492)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Other times, it works fine. Anything I might have done wrong in installing this guy? Any thoughts?
Thanks, MichaelI'm agree ... His behavior is very strange.
At the first time, I decompressed zip file into a new dir and at the first run I agreed to import setup from previous version. From the beginning the v2.1 worked wrong.
After that, I removed all, new and previous versions. I deleted sqldeveloper folder and also service folder (under \Documents and Settings\...\Application data\...)
Also I searched into registry ...
Nothing to do ... also new installation hangs ...
So, perhaps I have to wait new release ... (perhaps the exceptions or the environment conflict will be fixed).
Thanks again.
Regards.
PS: Please, if you have other suggestions, let me know. Many Thanks. -
Java.lang.NullPointerException: When Get the PDF File Name
Hi,
i try to follow the blog on <b>Handling FileUpload and FileDownload in NetWeaver Developer Studio(NWDS) 2004S</b> on /people/rekha.malavathu2/blog/2006/12/12/handling-fileupload-and-filedownload-in-netweaver-developer-studionwds-2004s
as i create a fileupload and i wish to get the file name and the pdf, then i to run and deploy it but i get <b>java.lang.NullPointerException</b>
the code are as below when i click on send email button
IPrivateEmail.IFileUploadNodeNode node = wdContext.nodeFileUploadNode();
IPrivateEmail.IFileUploadNodeElement fileUploadEle = node.createFileUploadNodeElement();
try{
IWDResource resource = WDResourceFactory.createResource(wdContext.currentContextElement().getFileUploadUI().read(true), wdContext.currentContextElement().getFileUploadUI().getResourceName(), WDWebResourceType.PDF, true);
fileUploadEle.setFileUploadAttr(resource);
fileUploadEle.setFileUploadName(wdContext.currentContextElement().getFileUploadUI().getResourceName());
node.addElement(fileUploadEle);
}catch(Exception e){
wdComponentAPI.getMessageManager().reportSuccess("ERROR"+e.getMessage());
but i wonder which part of the code i did wrongly.. as i wish to insert into my send email code
Properties props = new Properties();
String host = "SMTP HOST";
props.put("mail.smtp.host", host);
Session session = Session.getInstance(props, null);
MimeMessage message = new MimeMessage(session);
Address toAddress = new InternetAddress();
Address fromAddress = new InternetAddress();
Address ccAddress = new InternetAddress();
Address bccAddress = new InternetAddress();
try
MimeMultipart multipart = new MimeMultipart();
BodyPart messageBodyPart = new MimeBodyPart();
if (! wdContext.currentEmailElement().getFrom().equals(""))
fromAddress = new InternetAddress(wdContext.currentEmailElement().getFrom());
message.setFrom(fromAddress);
if (! wdContext.currentEmailElement().getTo().equals(""))
toAddress = new InternetAddress(wdContext.currentEmailElement().getTo());
message.setRecipient(Message.RecipientType.TO, toAddress);
if (! wdContext.currentEmailElement().getCc().equals(""))
ccAddress = new InternetAddress(wdContext.currentEmailElement().getCc());
message.setRecipient(Message.RecipientType.CC, ccAddress);
if (! wdContext.currentEmailElement().getBcc().equals(""))
bccAddress = new InternetAddress(wdContext.currentEmailElement().getBcc());
message.setRecipient(Message.RecipientType.BCC, bccAddress);
if (! wdContext.currentEmailElement().getSubject().equals(""))
message.setSubject(wdContext.currentEmailElement().getSubject());
if (! wdContext.currentEmailElement().getBody().equals(""))
messageBodyPart.setText(wdContext.currentEmailElement().getBody());
multipart.addBodyPart(messageBodyPart);
messageBodyPart = new MimeBodyPart();
String filename = IWDResource.getResourceName();
DataSource source = new FileDataSource(filename);
messageBodyPart.setDataHandler(new DataHandler(source));
messageBodyPart.setFileName(source.getName());
messageBodyPart.setHeader("Content-Type","application/pdf");
multipart.addBodyPart(messageBodyPart);
message.setContent(multipart);
Transport.send(message);
catch (AddressException e)
wdComponentAPI.getMessageManager().reportWarning(e.getLocalizedMessage());
e.printStackTrace();
catch (SendFailedException e)
wdComponentAPI.getMessageManager().reportWarning(e.getLocalizedMessage());
e.printStackTrace();
catch (MessagingException e)
wdComponentAPI.getMessageManager().reportWarning(e.getLocalizedMessage());
e.printStackTrace();
so i wonder could anyone help me out.. as i need to get the pdf filename order to put into the variable call <b>filename</b> at the send mail code.
below is the error message
java.lang.NullPointerException
at com.sap.example.uploademail.Email.wdDoInit(Email.java:124)
at com.sap.example.uploademail.wdp.InternalEmail.wdDoInit(InternalEmail.java:146)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:183)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:178)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:748)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:283)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
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)facing same issue.
jdev 10.1.3.3.0, on expanding the database connection, I get a null pointer exception.
On the testing the connection it says 'success' though.
any inputs ? -
Java.lang.NullPointerException when scrolling in JComboBox
Hi everybody,
I use a JComboBox in my application. If I scroll it a NullPointerException is thrown:
java.lang.NullPointerException
at javax.swing.BufferStrategyPaintManager.flushAccumulatedRegion(BufferStrategyPaintManager.java:406)
at javax.swing.BufferStrategyPaintManager.copyArea(BufferStrategyPaintManager.java:334)
at javax.swing.RepaintManager.copyArea(RepaintManager.java:1143)
at javax.swing.JViewport.blitDoubleBuffered(JViewport.java:1604)
at javax.swing.JViewport.windowBlitPaint(JViewport.java:1573)
at javax.swing.JViewport.setViewPosition(JViewport.java:1118)
at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.vsbStateChanged(BasicScrollPaneUI.java:1027)
at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(BasicScrollPaneUI.java:1016)
at javax.swing.DefaultBoundedRangeModel.fireStateChanged(DefaultBoundedRangeModel.java:348)
at javax.swing.DefaultBoundedRangeModel.setRangeProperties(DefaultBoundedRangeModel.java:285)
at javax.swing.DefaultBoundedRangeModel.setValue(DefaultBoundedRangeModel.java:151)
at javax.swing.JScrollBar.setValue(JScrollBar.java:446)
at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.mouseWheelMoved(BasicScrollPaneUI.java:962)
at java.awt.Component.processMouseWheelEvent(Component.java:6126)
at java.awt.Component.processEvent(Component.java:5810)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchMouseWheelToAncestor(Component.java:4555)
at java.awt.Component.dispatchEventImpl(Component.java:4296)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4015)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)This is the code I execute:
public static void test()
Object[] items = new Object[10];
items[0] = 0;
items[1] = 1;
items[2] = 2;
items[3] = 3;
items[4] = 4;
items[5] = 5;
items[6] = 6;
items[7] = 7;
items[8] = 8;
items[9] = 9;
JFrame frame = new JFrame("Test frame");
JPanel panel = new JPanel();
panel.add(new JLabel("Combobox:"));
panel.add(new JComboBox(items));
frame.add(panel);
frame.pack();
frame.setVisible(true);
}The weird thing is that if I execute this piece of code outside my program, in a test class, everything goes fine. I am not sure how this is possible.
Best regards,
Jethro BorsjeYou not assign any ActionListener to your ComboBox ?Well, in my real-life implementation I plan to do so, however in the test() method I do not. And the problem is still there in the test method, so to answer your question: no I do not add an ActionListener to the JComoBox in my test case.
A little bit more info: when I scroll in the JComboBox the scrollwheel of my mouse, the scrollbar on the right side does not move, however the contents of the JComboBox does move. -
Java.lang.NullPointerException when added LOV to column
Hi,
I am getting java.lang.NullPointerException error when opening web adi spreadsheet (before it is even formatted) since I added LOV to one of the columns. I did following update:
UPDATE bne_interface_cols_b
SET val_id_col = 'LOOKUP_CODE',
val_mean_col = 'MEANING',
val_desc_col = 'DESCRIPTION',
val_type = 'TABLE',
lov_type = 'POPLIST',
val_obj_name = 'FND_LOOKUPS',
val_addl_w_c = 'LOOKUP_TYPE = ''SOURCE'''
WHERE interface_col_name = 'X_RELEASE_LOOKUP_CODE'
AND application_id = 200
AND interface_code = 'GENERAL_101_INTF';
BNE log is showing following:
CRITICAL ERROR BneAbstractXMLServlet.doRequest(), fatal exception: java.lang.NullPointerException
CRITICAL ERROR java.lang.NullPointerException
at oracle.apps.bne.repository.BneInterfaceCol.buildTableValidationQuery(BneInterfaceCol.java:684)
at oracle.apps.bne.repository.BneInterfaceCol.getTableLovQuery(BneInterfaceCol.java:582)
at oracle.apps.bne.repository.BneInterface.getTableLovQuery(BneInterface.java:771)
at oracle.apps.bne.repository.BneIntegrator.getTableLovQuery(BneIntegrator.java:927)
at oracle.apps.bne.repository.BneRenderableLayout.loadPopListData(BneRenderableLayout.java:1509)
at oracle.apps.bne.repository.BneRenderableLayout.loadLayoutColumnData(BneRenderableLayout.java:665)
at oracle.apps.bne.repository.BneRenderableLayout.loadLayoutHierarchyData(BneRenderableLayout.java:480)
at oracle.apps.bne.repository.BneRenderableLayout.<init>(BneRenderableLayout.java:116)
at oracle.apps.bne.repository.BneLayout.getRenderableLayout(BneLayout.java:2047)
at oracle.apps.bne.integrator.document.BneOAExcelViewer.validateParameters(BneOAExcelViewer.java:593)
at oracle.apps.bne.integrator.document.BneOAExcelViewer.getViewerBean(BneOAExcelViewer.java:234)
at oracle.apps.bne.integrator.document.BneAbstractViewer.toXML(BneAbstractViewer.java:468)
at oracle.apps.bne.integrator.document.BneViewerXMLService.handleRequest(BneViewerXMLService.java:177)
at oracle.apps.bne.framework.BneAbstractXMLServlet.doRequest(BneAbstractXMLServlet.java:613)
at oracle.apps.bne.framework.BneAbstractXMLServlet.doPost(BneAbstractXMLServlet.java:172)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:521)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:637)
Anybody knows what the problem is? Is there any other table that has to be updated? I am on 11.5.10.
Regards
PiotrWhy dont you try doing this from application.
Enable the integrator 'Web ADI - Interface Columns Integrator' using below query :
UPDATE bne.bne_integrators_b
set enabled_flag = 'Y'
where integrator_code = 'INTERFACE_COLS';
commit;Next create a WEB ADI Form Function and do form function association. Then attach this form function to WEB ADI Menu and this integrator will be visible.
Then call your custom integrator paiing application_id, interface_code and then populate the values/properties of individual column -
Java.lang.NullPointerException when deploying
My developers are running into an issue when deploying onto our BPM cluster. At times deployment fails giving these errors. Redeploy the same code immediately it works. It seems like it's only failing on the second managed server though...
####<Aug 15, 2013 2:02:32 PM EDT> <Error> <ServletContext-/soa-infra> <fnelbpmd102.fcso.net> <BPM-Appeals-Unit_server2> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <al0h> <> <6e6476ca04c34712:50a1c68c:140828b9bb2:-8000-0000000000017f6b> <1376589752759> <BEA-000000> <Error during deployment
oracle.fabric.common.FabricException: Operation failed - Member(Id=1, Timestamp=2013-08-15 11:11:18.596, Address=*removed*, MachineId=15781, Location=site:,machine:fnelbpmd101,process:17031, Role=WeblogicServer):Error occurred during deployment of component: Appeals to service engine: implementation.bpmn, for composite: Appeals: java.lang.NullPointerException; . Please see the server diagnostic logs on BPM-Appeals-Unit_server2 for details
at oracle.integration.platform.blocks.deploy.CompositeDeploymentCoordinatorMessages.throwOperationFailedOnNode(CompositeDeploymentCoordinatorMessages.java:132)
at oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl.submitRequestAndWaitForCompletion(CoherenceCompositeDeploymentCoordinatorImpl.java:338)
at oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl.coordinateCompositeRedeploy(CoherenceCompositeDeploymentCoordinatorImpl.java:244)
at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.overwriteExistingComposite(BaseDeployProcessor.java:435)
at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploySARs(BaseDeployProcessor.java:253)
at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:168)
at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:112)
at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeploy(DeployProcessor.java:100)
at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.process(DeployProcessor.java:81)
at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPostInsideLoggingSession(CompositeDeployerServlet.java:219)
at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPost(CompositeDeployerServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
This is the output from Enterprise Manager:
oracle.fabric.common.FabricException: Error occurred during deployment of component: Appeals to service engine: implementation.bpmn, for composite: Appeals: java.lang.NullPointerException
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:245)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:94)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.initDeployment(CompositeDeploymentManagerImpl.java:150)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.load(CompositeDeploymentManagerImpl.java:63)
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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.blocks.deploy.DeploymentEventPublisher.invoke(DeploymentEventPublisher.java:77)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy424.load(Unknown Source)
at oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl.handleNewDeploymentCommand(CoherenceCompositeDeploymentCoordinatorImpl.java:596)
at oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl.access$200(CoherenceCompositeDeploymentCoordinatorImpl.java:35)
at oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl$2.entryInserted(CoherenceCompositeDeploymentCoordinatorImpl.java:140)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:266)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:226)
at com.tangosol.util.MapListenerSupport.fireEvent(MapListenerSupport.java:568)
at com.tangosol.coherence.component.util.SafeNamedCache.translateMapEvent(SafeNamedCache.CDB:7)
at com.tangosol.coherence.component.util.SafeNamedCache.entryInserted(SafeNamedCache.CDB:1)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:266)
at com.tangosol.coherence.component.util.CacheEvent.run(CacheEvent.CDB:18)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher.onNotify(Service.CDB:26)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:662)
Caused by: oracle.fabric.common.FabricDeploymentException: java.lang.NullPointerException {rootCauses=[]}
at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.deploy(BPMNServiceEngine.java:492)
at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.deploy(BPMNServiceEngine.java:161)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:238)
... 27 more
Caused by: java.lang.NullPointerException
at java.util.Collections$UnmodifiableMap.<init>(Collections.java:1272)
at java.util.Collections.unmodifiableMap(Collections.java:1258)
at oracle.bpm.bpmn.engine.map.builder.BPMNCubeMapBuilderContext.getElementsByTagByProcessId(BPMNCubeMapBuilderContext.java:327)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.FlowNodeToRuntimeModelMapperImpl.getRuntimeId(FlowNodeToRuntimeModelMapperImpl.java:49)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.FlowNodeToRuntimeModelMapperImpl.getRuntimeId(FlowNodeToRuntimeModelMapperImpl.java:43)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.getUniqueFlowNodeId(AlterFlowModel.java:601)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.visitNode(AlterFlowModel.java:570)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseFromStart(AlterFlowModel.java:273)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseModel(AlterFlowModel.java:265)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverse(AlterFlowModel.java:434)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseNodeByType(AlterFlowModel.java:385)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseTargets(AlterFlowModel.java:351)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverse(AlterFlowModel.java:308)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverse(AlterFlowModel.java:462)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseNodeByType(AlterFlowModel.java:395)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseTargets(AlterFlowModel.java:351)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverse(AlterFlowModel.java:308)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverse(AlterFlowModel.java:462)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseNodeByType(AlterFlowModel.java:395)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseTargets(AlterFlowModel.java:351)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverse(AlterFlowModel.java:436)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseNodeByType(AlterFlowModel.java:385)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseTargets(AlterFlowModel.java:351)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverse(AlterFlowModel.java:308)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseNodeByType(AlterFlowModel.java:398)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseTargets(AlterFlowModel.java:351)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverse(AlterFlowModel.java:308)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseFromStart(AlterFlowModel.java:275)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.traverseModel(AlterFlowModel.java:265)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.AlterFlowModel.create(AlterFlowModel.java:55)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.ComponentMigrationSupport$ProcessInstanceSynchronizerImpl.build(ComponentMigrationSupport.java:701)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.ComponentInstanceMigrationAction$PreProcessTargetComponentAction.execute(ComponentInstanceMigrationAction.java:641)
at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.deploy(BPMNServiceEngine.java:484)
... 29 moreNot sure if this is related, but I just restarted the whole domain. Everything started fine, but as soon as the second server started the logs were bombarded with an 'MBean attribute access denied.' error....
MBean: com.oracle.jps:type=JpsCredentialStore
Operation: getPortableCredentialMap(java.lang.String)
Detail: Access denied. Required roles: Admin, executing subject: principals=[E1W3, IBPM-FCSO-Development, FCSO_IPM, C2C_Imaging, TMF_DME_USER, TMF_DME_ADMIN, TMF_PARTBN_USER, TMF_PARTBN_ADMIN, TMF_PDRC_USER, TMF_PDRC_ADMIN, TMF_ODC_USER, TMF_ODC_ADMIN, Linux-IBPM-FCSO-Development, Linux-IPM-FCSO-Development, CL_Rep_Appeals_FL_USVI, CL_Rep_Appeals_PR, AppealsBamReportViewers-Dev, AppealsBPMComposerViewProject-Dev, AppealsBPMComposerDeveloper-Dev, AppealsBPMComposerDesigner-Dev, AppealsBPMComposerDeployer-Dev, AppealsBPMComposerCreateProjectFromTemplate-Dev, AppealsBPMComposerCreateNewProject-Dev, AppealsBPMComposerDocumentProject-Dev, AppealsSOADesigner-Dev, AppealsSOAMonitor-Dev, AppealsSOAOperator-Dev, AppealsDeployer-BPM-Dev, AppealsOperator-BPM-Dev, AppealsDeployer-OSB-Dev, AppealsOperator-OSB-Dev]
java.lang.SecurityException: Access denied. Required roles: Admin, executing subject: principals=[E1W3, IBPM-FCSO-Development, FCSO_IPM, C2C_Imaging, TMF_DME_USER, TMF_DME_ADMIN, TMF_PARTBN_USER, TMF_PARTBN_ADMIN, TMF_PDRC_USER, TMF_PDRC_ADMIN, TMF_ODC_USER, TMF_ODC_ADMIN, Linux-IBPM-FCSO-Development, Linux-IPM-FCSO-Development, CL_Rep_Appeals_FL_USVI, CL_Rep_Appeals_PR, AppealsBamReportViewers-Dev, AppealsBPMComposerViewProject-Dev, AppealsBPMComposerDeveloper-Dev, AppealsBPMComposerDesigner-Dev, AppealsBPMComposerDeployer-Dev, AppealsBPMComposerCreateProjectFromTemplate-Dev, AppealsBPMComposerCreateNewProject-Dev, AppealsBPMComposerDocumentProject-Dev, AppealsSOADesigner-Dev, AppealsSOAMonitor-Dev, AppealsSOAOperator-Dev, AppealsDeployer-BPM-Dev, AppealsOperator-BPM-Dev, AppealsDeployer-OSB-Dev, AppealsOperator-OSB-Dev]
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.checkAccess(AbstractMBeanSecurityInterceptor.java:371)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.checkOperationAccess(AbstractMBeanSecurityInterceptor.java:288)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalInvoke(AbstractMBeanSecurityInterceptor.java:189)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor$2.run(JpsJmxInterceptor.java:358)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalInvoke(JpsJmxInterceptor.java:374)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalInvoke(ContextClassLoaderMBeanInterceptor.java:103)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.as.jmx.framework.generic.spi.interceptors.MBeanRestartInterceptor.internalInvoke(MBeanRestartInterceptor.java:116)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalInvoke(LoggingMBeanInterceptor.java:524)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.invoke(OracleStandardEmitterMBean.java:924)
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterConfigMBean.doInvoke(OracleStandardEmitterConfigMBean.java:398)
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterConfigMBean.invoke(OracleStandardEmitterConfigMBean.java:365)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:349)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:263)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:65)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:444)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:663)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:661)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:654)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1454)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:74)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1295)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1394)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:818)
at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)
at javax.management.remote.rmi.RMIConnectionImpl_1036_WLStub.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
at weblogic.management.remote.wlx.ClientProvider$WLXMBeanServerConnectionWrapper.invoke(ClientProvider.java:291)
at weblogic.management.remote.wlx.ClientProvider$WLXMBeanServerConnectionWrapper.invoke(ClientProvider.java:291)
at oracle.sysman.emas.sdk.discovery.util.MonitoringCredentialsUtil.getMonitoringUidAndPassword(MonitoringCredentialsUtil.java:130)
at oracle.sysman.emas.sdk.discovery.util.MonitoringCredentialsUtil.getMonitoringUidAndPasswordForFarm(MonitoringCredentialsUtil.java:107)
at oracle.sysman.emas.sdk.model.mas.WLTransientTargetProvider.updateProperties(WLTransientTargetProvider.java:418)
at oracle.sysman.emas.sdk.model.mas.WLTransientTargetProvider.getTransientTargets(WLTransientTargetProvider.java:218)
at oracle.sysman.emdrep.repoless.TransientTargetCache.getCachedTargets(TransientTargetCache.java:196)
at oracle.sysman.emdrep.repoless.RepolessTargetManager.pollAllTransientTargets(RepolessTargetManager.java:1486)
at oracle.sysman.emdrep.repoless.RepolessTargetManager.getAllTargets(RepolessTargetManager.java:1591)
at oracle.sysman.emdrep.repoless.RepolessTargetManager.getTargets(RepolessTargetManager.java:1116)
at oracle.sysman.emSDK.repoless.TargetManager.getTargets(TargetManager.java:98)
at oracle.sysman.emSDK.tgt.targetaccess.TargetManager.getAllTargetInstances(TargetManager.java:152)
at oracle.sysman.emSDK.tgt.targetaccess.TargetManager.getAllTargetInstances(TargetManager.java:125)
at oracle.sysman.core.model.targetauth.AppServerLogin.loginAction(AppServerLogin.java:1360)
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.el.parser.AstValue.invoke(AstValue.java:187)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:890)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:379)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
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:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:102)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:183)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: java.lang.SecurityException: Access denied. Required roles: Admin, executing subject: principals=[E1W3, IBPM-FCSO-Development, FCSO_IPM, C2C_Imaging, TMF_DME_USER, TMF_DME_ADMIN, TMF_PARTBN_USER, TMF_PARTBN_ADMIN, TMF_PDRC_USER, TMF_PDRC_ADMIN, TMF_ODC_USER, TMF_ODC_ADMIN, Linux-IBPM-FCSO-Development, Linux-IPM-FCSO-Development, CL_Rep_Appeals_FL_USVI, CL_Rep_Appeals_PR, AppealsBamReportViewers-Dev, AppealsBPMComposerViewProject-Dev, AppealsBPMComposerDeveloper-Dev, AppealsBPMComposerDesigner-Dev, AppealsBPMComposerDeployer-Dev, AppealsBPMComposerCreateProjectFromTemplate-Dev, AppealsBPMComposerCreateNewProject-Dev, AppealsBPMComposerDocumentProject-Dev, AppealsSOADesigner-Dev, AppealsSOAMonitor-Dev, AppealsSOAOperator-Dev, AppealsDeployer-BPM-Dev, AppealsOperator-BPM-Dev, AppealsDeployer-OSB-Dev, AppealsOperator-OSB-Dev]
at oracle.as.jmx.framework.wls.spi.security.WLSMBeanSecurityHelper.isInWlsGlobalSecurityRoles(WLSMBeanSecurityHelper.java:245)
at oracle.as.jmx.framework.wls.spi.security.WLSMBeanSecurityHelper.checkGlobalSecurityRoleBasedAccess(WLSMBeanSecurityHelper.java:139)
at oracle.as.jmx.framework.wls.spi.security.WLSConfigMBeanSecurityInterceptor.checkGlobalRoleBasedAccess(WLSConfigMBeanSecurityInterceptor.java:46)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.checkAccess(AbstractMBeanSecurityInterceptor.java:347)
... 126 more
After this there's a "failed to execurte hearbeat update" error as well... -
Urgent - java.lang.NullPointerException when deploying a WAR file
Hello
I am trying to deploy a WAR file on 9iAS rel 2 using the Enterprise Manager. On the web page, I provide the .war file along with application name and url mapping. When I click on deploy, i get an error back which just says java.lang.NullPointerException. There is no stack trace.
Until now, I have been working on my own PC using tomcat, and the war file works fine in tomcat.
I am presuming that there will be a log file where more information will be available, but I do not know where the log file is kept. The Oracle 9iAS is installed on Solaris.
Any help with this would be greatly appreciated.
Thanks.
JayProblem Solved
The problem was the web.xml file which contained some elements that are only valid for servlet 2.4 (used on tomcat) but not on 2.2(used in oracle).
Jay. -
Java.lang.OutOfMemoryError when running java concurrent program
Hi,
i had written a java concurrent program to create the content items into Oracle Content Manager (OCM). Process the records from interface table and create the content items into OCM by calling the API IBC_CITEM_ADMIN_GRP.upsert_item().
I run the concurrent program with 2000 records in interface table, it's an one to one process, 563 records are processed and 563 content items are created successfully in OCM. After 563 records continuously throws the Exception
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.put_line('EX - bundle validation others--');
x_return_status := FND_API.G_RET_STS_ERROR;
FND_MESSAGE.Set_Name('IBC', 'A_BUNDLE_ERROR');
FND_MESSAGE.set_token('SITUATION', 'VALIDATION');
FND_MSG_PUB.ADD;
IF IBC_DEBUG_PVT.debug_enabled THEN
IBC_DEBUG_PVT.end_process(
IBC_DEBUG_PVT.make_parameter_list(
p_tag => 'OUTPUT',
p_parms => JTF_VARCHAR2_TABLE_4000(
'x_return_status', '*** EXCEPTION *** [' || SQLERRM || ']'
END IF;
in IBC_CITEM_ADMIN_GRP.validate_attribute_bundle() API.
Again running the concurrent program it process another 563 records. Can any one help me to fix this issue?
i figured out the exception. When debug the error, i got the actual error message like this
ORA-29532: Java call terminated by uncaught Java exception: java.lang.OutOfMemoryError
ORA-29532: Java call terminated by uncaught Java exception: java.lang.NullPointerException
ORA-29532: Java call terminated by uncaught Java exception: java.lang.ArrayIndexOutOfBoundsException: -2048 < 0
for this issue i increased the heap memory size up to 1024MB. Still i have the same issue. Can any one help to fix the issue?ORA-29532: Java call terminated by uncaught Java
exception: java.lang.NullPointerException
ORA-29532: Java call terminated by uncaught Java
exception: java.lang.ArrayIndexOutOfBoundsException:
-2048 < 0Aren't the null pointer and arrayindexoutofbounds, the ones which you get when you are trying to read beyond your array? (example: when your loop tries to access the 563rd element in your array, since your array index starts from 0)?
May be if you can try to write out your elements in the array, you might see what it is croaking about.
Thanks,
Chiru -
Java.lang.NullPointerException when connect to the J2EE engine
I want to connect to the J2EE engine ,but the error message "java.lang.NullPointerException" is displayed in the console. Please help me ! Thank you !! The full error exception like this:
java.lang.NullPointerException
at com.sap.engine.services.adminadapter.gui.tasks.LoginTask.connectActio
n(LoginTask.java:191)
at com.sap.engine.services.adminadapter.gui.tasks.LoginTask.run(LoginTas
k.java:79)
at java.lang.Thread.run(Thread.java:534)Hi:
The whole errror message like this:(deploy aborted error message)
2009/4/27 上午 08:53:52 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[001]Deployment aborted
Settings
SDM host : 10.138.6.10
SDM port : 50118
URL to deploy : file:/C:/DOCUME1/F3221789/LOCALS1/Temp/temp53268foxconn.com~bbs_demo.ear
Result
=> deployment aborted : file:/C:/DOCUME1/F3221789/LOCALS1/Temp/temp53268foxconn.com~bbs_demo.ear
Aborted: development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22':
Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool. For more information, see SAP note 701654.
com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: Wrong security credentials detected while trying to obtain connection to the J2EE Engine.
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
Deployment exception : The deployment of at least one item aborted
The Log infomation is like this:
2009/4/27 上午 08:53:52 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
[001]Additional log information about the deployment
<!LOGHEADER[START]/>
<!HELP[Manual modification of the header may cause parsing problem!]/>
<!LOGGINGVERSION[1.5.3.7185 - 630]/>
<!NAME[D:\usr\sap\SCM\DVEBMGS01\SDM\program\log\sdmcl20090427005331.log]/>
<!PATTERN[sdmcl20090427005331.log]/>
<!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
<!ENCODING[MS950]/>
<!LOGHEADER[END]/>
Apr 27, 2009 8:53:32 AM Info: -
Starting deployment -
Apr 27, 2009 8:53:32 AM Info: Error handling strategy: OnErrorStop
Apr 27, 2009 8:53:32 AM Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
Apr 27, 2009 8:53:32 AM Info: Update strategy: UpdateAllVersions
Apr 27, 2009 8:53:32 AM Info: Starting deployment prerequisites:
Apr 27, 2009 8:53:36 AM Info: Loading selected archives...
Apr 27, 2009 8:53:36 AM Info: Loading archive 'D:\usr\sap\SCM\DVEBMGS01\SDM\program\temp\temp53268foxconn.com~bbs_demo.ear'
Apr 27, 2009 8:53:37 AM Info: Selected archives successfully loaded.
Apr 27, 2009 8:53:37 AM Info: Actions per selected component:
Apr 27, 2009 8:53:37 AM Info: Update: Selected development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22' updates currently deployed development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.23.14.34.21'.
Apr 27, 2009 8:53:37 AM Info: Ending deployment prerequisites. All items are correct.
Apr 27, 2009 8:53:39 AM Error: Unable to compare host[sidcsms.foxconn.com] and host[GDS-SF-F21789] Throwable: java.net.UnknownHostException Throwable message: GDS-SF-F21789: GDS-SF-F21789
Apr 27, 2009 8:53:39 AM Info: Saved current Engine state.
Apr 27, 2009 8:53:39 AM Info: Starting: Update: Selected development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22' updates currently deployed development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.23.14.34.21'.
Apr 27, 2009 8:53:39 AM Info: SDA to be deployed: D:\usr\sap\SCM\DVEBMGS01\SDM\root\origin\foxconn.com\bbs_demo\LOKAL\0.2009.04.27.08.53.22\temp53268foxconn.com~bbs_demo.ear
Apr 27, 2009 8:53:39 AM Info: Software type of SDA: J2EE
Apr 27, 2009 8:53:40 AM Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
Apr 27, 2009 8:53:43 AM Error: Unable to compare host[sidcsms.foxconn.com] and host[GDS-SF-F21789] Throwable: java.net.UnknownHostException Throwable message: GDS-SF-F21789: GDS-SF-F21789
Apr 27, 2009 8:53:44 AM Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
Apr 27, 2009 8:53:44 AM Error: Aborted: development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22':
Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool. For more information, see SAP note 701654.
com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: Wrong security credentials detected while trying to obtain connection to the J2EE Engine.
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
Apr 27, 2009 8:53:44 AM Info: Starting to save the repository
Apr 27, 2009 8:53:44 AM Info: Finished saving the repository
Apr 27, 2009 8:53:44 AM Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
Apr 27, 2009 8:53:44 AM Error: -
At least one of the Deployments failed -
Edited by: sap-abap-tw on Apr 27, 2009 3:01 AM -
Java.lang.NullPointerException when creating portal Rule Collection
Dear SDNs,
We have upgraded recently our portal ssytem from 6.0 to 7.0 SR3 (sp14), it went well, but when i am trying to create a new Rule collection in the Portal Display, it is throwing a Null pointer excception.
Please find the exact error below.
java.lang.NullPointerException
* at com.sap.portal.resolving.ui.RuleEditorEditModeEnabler.enableEditMode(RuleEditorEditModeEnabler.java:38)*
* at com.sap.portal.admin.editor.Editor.handleEditModeEnabling(Editor.java:614)*
* at com.sap.portal.admin.editor.Editor.handleEditMode(Editor.java:543)*
* at com.sap.portal.admin.editor.Editor.initEditor(Editor.java:505)*
* at com.sap.portal.admin.editor.pane.EditorPaneWrapper.initPane(EditorPaneWrapper.java:82)*
* at com.sap.portal.admin.editor.pane.EditorPaneWrapper.mySetupComponent(EditorPaneWrapper.java:122)*
* at com.sapportals.admin.wizardframework.components.FlowContainer.setupComponent(FlowContainer.java:129)*
* at com.sapportals.admin.wizardframework.core.TrivialPaneFactory.getComponent(TrivialPaneFactory.java:35)*
* at com.sapportals.admin.wizardframework.core.WizardInstance.doWizard(WizardInstance.java:229)*
* at com.sap.portal.admin.editor.Editor.doWizard(Editor.java:605)*
* at com.sap.portal.admin.editor.Editor.run(Editor.java:150)*
* at com.sap.portal.admin.editor.AbstractEditorComponent.doContent(AbstractEditorComponent.java:59)*
* at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)*
* at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)*
* at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)*
* at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)*
* at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)*
* at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)*
* at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)*
* at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)*
* at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)*
* at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)*
* at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)*
* at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)*
* at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)*
* at java.security.AccessController.doPrivileged(Native Method)*
* at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)*
* at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*
* at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)*
* at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*
* at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)*
* at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)*
* at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)*
* at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)*
* at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)*
* at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)*
* at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)*
* at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)*
* 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:102)*
* at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)*
Let me know your suggestions to solve to this.
Your inputs will be appericated.
Thanks,
SireeshaHi Sireesha.
This exception means that you don't have enough permissions to edit the master rule collection. Add your user to a super admin user group or, if it is not applicable due to your company policy, provide full control rights (not only read/right).
Best regards,
Aliaksandr Zhukau
Maybe you are looking for
-
A question before I buy a Zen Mic
I was wondering if you can use the zen micro with itunes. Sense most of my songs were bought off of itunes. Thanks in advance.Message Edited by masterchief35 on 05-06-2005 06:05 AMMessage Edited by masterchief35 on 05-06-2005 06:06 AM
-
SQL Developer 1.5.1 and 64-bit Vista
I have reviewed some of the post and looking at differnt JDK's. The application comes up; however, I can't create a connection. I hit the plus button and nothing happens. Any new news?
-
im unable to open pdf in browser and cannot located setting in adobe xi settings or in browser settings.....enhanced protected mode is disabled and plug-in is enabled....help....?
-
Hi All I was trying to create a Partitioning with Maxl script and in the process Essbase went down. I logged back and try to create one partition then it is giving me error saying object database name does not exist. I cannot see any partition for th
-
Support for Lotus notes R8.
I have seen the supported platform documentation of XI3.1 it show that only Lotus notes R6 and R7 is supported . Could you please let us know the exact information about the R8 support, mean to say when it going to support with BO and what is time fr