Main method not found and how to put event handlers in an inner class

How would I put all the event handling methods in an inner class and I have another class that just that is just a main function, but when i try to run the project, it says main is not found. Here are the two classes, first one sets up everything and the second one is just main.
mport java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.io.*;
public class JournalFrame extends JFrame {
private JLabel dateLabel = new JLabel("Date: ");
private JTextField dateField = new JTextField(20);
private JPanel datePanel = new JPanel(new FlowLayout());
BorderLayout borderLayout1 = new BorderLayout();
JPanel radioPanel = new JPanel();
JPanel statusPanel = new JPanel();
JPanel textAreaPanel = new JPanel();
JPanel buttonPanel = new JPanel();
GridLayout gridLayout1 = new GridLayout();
FlowLayout flowLayout1 = new FlowLayout();
GridLayout gridLayout2 = new GridLayout();
GridLayout gridLayout3 = new GridLayout();
JRadioButton personalButton = new JRadioButton();
JRadioButton businessButton = new JRadioButton();
JLabel status = new JLabel();
JTextArea entryArea = new JTextArea();
JButton clearButton = new JButton();
JButton saveButton = new JButton();
ButtonGroup entryType = new ButtonGroup();
public JournalFrame(){
try {
jbInit();
catch(Exception e) {
e.printStackTrace();
private void initWidgets(){
private void jbInit() throws Exception {
this.getContentPane().setLayout(borderLayout1);
radioPanel.setLayout(gridLayout1);
statusPanel.setLayout(flowLayout1);
textAreaPanel.setLayout(gridLayout2);
buttonPanel.setLayout(gridLayout3);
personalButton.setSelected(true);
personalButton.setText("Personal");
personalButton.addActionListener(new JournalFrame_personalButton_actionAdapter(this));
businessButton.setText("Business");
status.setText("");
entryArea.setText("");
entryArea.setColumns(10);
entryArea.setLineWrap(true);
entryArea.setRows(30);
entryArea.setWrapStyleWord(true);
clearButton.setPreferredSize(new Dimension(125, 25));
clearButton.setText("Clear Journal Entry");
clearButton.addActionListener(new JournalFrame_clearButton_actionAdapter(this));
saveButton.setText("Save Journal Entry");
saveButton.addActionListener(new JournalFrame_saveButton_actionAdapter(this));
this.setTitle("Journal");
gridLayout3.setColumns(1);
gridLayout3.setRows(0);
this.getContentPane().add(datePanel, BorderLayout.NORTH);
this.getContentPane().add(radioPanel, BorderLayout.WEST);
this.getContentPane().add(textAreaPanel, BorderLayout.CENTER);
this.getContentPane().add(buttonPanel, BorderLayout.EAST);
entryType.add(personalButton);
entryType.add(businessButton);
datePanel.add(dateLabel);
datePanel.add(dateField);
radioPanel.add(personalButton, null);
radioPanel.add(businessButton, null);
textAreaPanel.add(entryArea, null);
buttonPanel.add(clearButton, null);
buttonPanel.add(saveButton, null);
this.getContentPane().add(statusPanel, BorderLayout.SOUTH);
statusPanel.add(status, null);
this.pack();
setDefaultCloseOperation(EXIT_ON_CLOSE);
private void saveEntry() throws IOException{
if( personalButton.isSelected())
String file = "Personal.txt";
BufferedWriter bw = new BufferedWriter(new FileWriter(file,true));
entryArea.getText();
bw.write("Date: " + dateField.getText());
bw.newLine();
bw.write(entryArea.getText());
bw.newLine();
bw.flush();
bw.close();
status.setText("Journal Entry Saved");
else if (businessButton.isSelected())
String file = "Business.txt";
BufferedWriter bw = new BufferedWriter(new FileWriter(file,true));
bw.write("Date: " + dateField.getText());
bw.newLine();
bw.write(entryArea.getText());
bw.newLine();
bw.flush();
bw.close();
status.setText("Journal Entry Saved");
void clearButton_actionPerformed(ActionEvent e) {
dateField.setText("");
entryArea.setText("");
status.setText("");
void saveButton_actionPerformed(ActionEvent e){
try{
saveEntry();
}catch(IOException error){
status.setText("Error: Could not save journal entry");
void personalButton_actionPerformed(ActionEvent e) {
class JournalFrame_clearButton_actionAdapter implements java.awt.event.ActionListener {
JournalFrame adaptee;
JournalFrame_clearButton_actionAdapter(JournalFrame adaptee) {
this.adaptee = adaptee;
public void actionPerformed(ActionEvent e) {
adaptee.clearButton_actionPerformed(e);
class JournalFrame_saveButton_actionAdapter implements java.awt.event.ActionListener {
JournalFrame adaptee;
JournalFrame_saveButton_actionAdapter(JournalFrame adaptee) {
this.adaptee = adaptee;
public void actionPerformed(ActionEvent e) {
adaptee.saveButton_actionPerformed(e);
class JournalFrame_personalButton_actionAdapter implements java.awt.event.ActionListener {
JournalFrame adaptee;
JournalFrame_personalButton_actionAdapter(JournalFrame adaptee) {
this.adaptee = adaptee;
public void actionPerformed(ActionEvent e) {
adaptee.personalButton_actionPerformed(e);
public class JournalApp {
public static void main(String args[])
JournalFrame journal = new JournalFrame();
journal.setVisible(true);
}

Bet you're trying "java JournalFrame" when you need to "java JournalApp".
Couple pointers toward good code.
1) Use white space (extra returns) to separate your code into logical "paragraphs" of thought.
2) Add comments. At a minimum a comment at the beginning should name the file, state its purpose, identify the programmer and date written. A comment at the end should state that you've reached the end. In the middle, any non-obvious code should be commented and closing braces or parens should have a comment stating what they close (if there is non-trivial separation from where they open).
Here's a sample:
// JournalFrame.java - this does ???
// saisoft, 4/18/03
// constructor
  private void jbInit() throws Exception {
    this.getContentPane().setLayout(borderLayout1);
    radioPanel.setLayout(gridLayout1);
    statusPanel.setLayout(flowLayout1);
    textAreaPanel.setLayout(gridLayout2);
    buttonPanel.setLayout(gridLayout3);
    personalButton.setSelected(true);
    personalButton.setText("Personal");
    personalButton.addActionListener(new JournalFrame_personalButton_actionAdapter(this));
    businessButton.setText("Business");
    status.setText("");
    entryArea.setText("");
    entryArea.setColumns(10);
    entryArea.setLineWrap(true);
    entryArea.setRows(30);
    entryArea.setWrapStyleWord(true);
} // end constructor
// end JournalFrame.java3) What would you expect to gain from that inner class? It might be more cool, but would it be more clear? I give the latter (clarity) a lot of importance.

Similar Messages

  • Main method not found and how to implement events in an inner class

    How would I put all the event handling methods in an inner class and I have another class that just that is just a main function, but when i try to run the project, it says main is not found. Here are the two classes, first one sets up everything and the second one is just main.
    mport java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    public class JournalFrame extends JFrame {
    private JLabel dateLabel = new JLabel("Date: ");
    private JTextField dateField = new JTextField(20);
    private JPanel datePanel = new JPanel(new FlowLayout());
    BorderLayout borderLayout1 = new BorderLayout();
    JPanel radioPanel = new JPanel();
    JPanel statusPanel = new JPanel();
    JPanel textAreaPanel = new JPanel();
    JPanel buttonPanel = new JPanel();
    GridLayout gridLayout1 = new GridLayout();
    FlowLayout flowLayout1 = new FlowLayout();
    GridLayout gridLayout2 = new GridLayout();
    GridLayout gridLayout3 = new GridLayout();
    JRadioButton personalButton = new JRadioButton();
    JRadioButton businessButton = new JRadioButton();
    JLabel status = new JLabel();
    JTextArea entryArea = new JTextArea();
    JButton clearButton = new JButton();
    JButton saveButton = new JButton();
    ButtonGroup entryType = new ButtonGroup();
    public JournalFrame(){
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    private void initWidgets(){
    private void jbInit() throws Exception {
    this.getContentPane().setLayout(borderLayout1);
    radioPanel.setLayout(gridLayout1);
    statusPanel.setLayout(flowLayout1);
    textAreaPanel.setLayout(gridLayout2);
    buttonPanel.setLayout(gridLayout3);
    personalButton.setSelected(true);
    personalButton.setText("Personal");
    personalButton.addActionListener(new JournalFrame_personalButton_actionAdapter(this));
    businessButton.setText("Business");
    status.setText("");
    entryArea.setText("");
    entryArea.setColumns(10);
    entryArea.setLineWrap(true);
    entryArea.setRows(30);
    entryArea.setWrapStyleWord(true);
    clearButton.setPreferredSize(new Dimension(125, 25));
    clearButton.setText("Clear Journal Entry");
    clearButton.addActionListener(new JournalFrame_clearButton_actionAdapter(this));
    saveButton.setText("Save Journal Entry");
    saveButton.addActionListener(new JournalFrame_saveButton_actionAdapter(this));
    this.setTitle("Journal");
    gridLayout3.setColumns(1);
    gridLayout3.setRows(0);
    this.getContentPane().add(datePanel, BorderLayout.NORTH);
    this.getContentPane().add(radioPanel, BorderLayout.WEST);
    this.getContentPane().add(textAreaPanel, BorderLayout.CENTER);
    this.getContentPane().add(buttonPanel, BorderLayout.EAST);
    entryType.add(personalButton);
    entryType.add(businessButton);
    datePanel.add(dateLabel);
    datePanel.add(dateField);
    radioPanel.add(personalButton, null);
    radioPanel.add(businessButton, null);
    textAreaPanel.add(entryArea, null);
    buttonPanel.add(clearButton, null);
    buttonPanel.add(saveButton, null);
    this.getContentPane().add(statusPanel, BorderLayout.SOUTH);
    statusPanel.add(status, null);
    this.pack();
    setDefaultCloseOperation(EXIT_ON_CLOSE);
    private void saveEntry() throws IOException{
    if( personalButton.isSelected())
    String file = "Personal.txt";
    BufferedWriter bw = new BufferedWriter(new FileWriter(file,true));
    entryArea.getText();
    bw.write("Date: " + dateField.getText());
    bw.newLine();
    bw.write(entryArea.getText());
    bw.newLine();
    bw.flush();
    bw.close();
    status.setText("Journal Entry Saved");
    else if (businessButton.isSelected())
    String file = "Business.txt";
    BufferedWriter bw = new BufferedWriter(new FileWriter(file,true));
    bw.write("Date: " + dateField.getText());
    bw.newLine();
    bw.write(entryArea.getText());
    bw.newLine();
    bw.flush();
    bw.close();
    status.setText("Journal Entry Saved");
    void clearButton_actionPerformed(ActionEvent e) {
    dateField.setText("");
    entryArea.setText("");
    status.setText("");
    void saveButton_actionPerformed(ActionEvent e){
    try{
    saveEntry();
    }catch(IOException error){
    status.setText("Error: Could not save journal entry");
    void personalButton_actionPerformed(ActionEvent e) {
    class JournalFrame_clearButton_actionAdapter implements java.awt.event.ActionListener {
    JournalFrame adaptee;
    JournalFrame_clearButton_actionAdapter(JournalFrame adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.clearButton_actionPerformed(e);
    class JournalFrame_saveButton_actionAdapter implements java.awt.event.ActionListener {
    JournalFrame adaptee;
    JournalFrame_saveButton_actionAdapter(JournalFrame adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.saveButton_actionPerformed(e);
    class JournalFrame_personalButton_actionAdapter implements java.awt.event.ActionListener {
    JournalFrame adaptee;
    JournalFrame_personalButton_actionAdapter(JournalFrame adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.personalButton_actionPerformed(e);
    public class JournalApp {
    public static void main(String args[])
    JournalFrame journal = new JournalFrame();
    journal.setVisible(true);
    }

    Here is the complete code (with crappy indentation) :
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    public class JournalFrame extends JFrame {
        private JLabel dateLabel = new JLabel("Date: ");
        private JTextField dateField = new JTextField(20);
        private JPanel datePanel = new JPanel(new FlowLayout());
        BorderLayout borderLayout1 = new BorderLayout();
        JPanel radioPanel = new JPanel();
        JPanel statusPanel = new JPanel();
        JPanel textAreaPanel = new JPanel();
        JPanel buttonPanel = new JPanel();
        GridLayout gridLayout1 = new GridLayout();
        FlowLayout flowLayout1 = new FlowLayout();
        GridLayout gridLayout2 = new GridLayout();
        GridLayout gridLayout3 = new GridLayout();
        JRadioButton personalButton = new JRadioButton();
        JRadioButton businessButton = new JRadioButton();
        JLabel status = new JLabel();
        JTextArea entryArea = new JTextArea();
        JButton clearButton = new JButton();
        JButton saveButton = new JButton();
        ButtonGroup entryType = new ButtonGroup();
        public JournalFrame(){
            try {
                jbInit();
            catch(Exception e){
                e.printStackTrace();
        private void initWidgets(){
        private void jbInit() throws Exception {
            this.getContentPane().setLayout(borderLayout1);
            radioPanel.setLayout(gridLayout1);
            statusPanel.setLayout(flowLayout1);
            textAreaPanel.setLayout(gridLayout2);
            buttonPanel.setLayout(gridLayout3);
            personalButton.setSelected(true);
            personalButton.setText("Personal");
            personalButton.addActionListener(new JournalFrame_personalButton_actionAdapter(this));
            businessButton.setText("Business");
            status.setText("");
            entryArea.setText("");
            entryArea.setColumns(10);
            entryArea.setLineWrap(true);
            entryArea.setRows(30);
            entryArea.setWrapStyleWord(true);
            clearButton.setPreferredSize(new Dimension(125, 25));
            clearButton.setText("Clear Journal Entry");
            clearButton.addActionListener(new JournalFrame_clearButton_actionAdapter(this));
            saveButton.setText("Save Journal Entry");
            saveButton.addActionListener(new JournalFrame_saveButton_actionAdapter(this));
            this.setTitle("Journal");
            gridLayout3.setColumns(1);
            gridLayout3.setRows(0);
            this.getContentPane().add(datePanel, BorderLayout.NORTH);
            this.getContentPane().add(radioPanel, BorderLayout.WEST);
            this.getContentPane().add(textAreaPanel, BorderLayout.CENTER);
            this.getContentPane().add(buttonPanel, BorderLayout.EAST);
            entryType.add(personalButton);
            entryType.add(businessButton);
            datePanel.add(dateLabel);
            datePanel.add(dateField);
            radioPanel.add(personalButton, null);
            radioPanel.add(businessButton, null);
            textAreaPanel.add(entryArea, null);
            buttonPanel.add(clearButton, null);
            buttonPanel.add(saveButton, null);
            this.getContentPane().add(statusPanel, BorderLayout.SOUTH);
            statusPanel.add(status, null);
            this.pack();
            setDefaultCloseOperation(EXIT_ON_CLOSE);
        private void saveEntry() throws IOException{
            if( personalButton.isSelected()){
                String file = "Personal.txt";
                BufferedWriter bw = new BufferedWriter(new FileWriter(file,true));
                entryArea.getText();
                bw.write("Date: " + dateField.getText());
                bw.newLine();
                bw.write(entryArea.getText());
                bw.newLine();
                bw.flush();
                bw.close();
                status.setText("Journal Entry Saved");
            else if (businessButton.isSelected()){
                String file = "Business.txt";
                BufferedWriter bw = new BufferedWriter(new FileWriter(file,true));
                bw.write("Date: " + dateField.getText());
                bw.newLine();
                bw.write(entryArea.getText());
                bw.newLine();
                bw.flush();
                bw.close();
                status.setText("Journal Entry Saved");
        void clearButton_actionPerformed(ActionEvent e) {
            dateField.setText("");
            entryArea.setText("");
            status.setText("");
        void saveButton_actionPerformed(ActionEvent e){
            try{saveEntry();}catch(IOException error){
                status.setText("Error: Could not save journal entry");
        void personalButton_actionPerformed(ActionEvent e) {
        class JournalFrame_clearButton_actionAdapter implements java.awt.event.ActionListener {
        JournalFrame adaptee;
        JournalFrame_clearButton_actionAdapter(JournalFrame adaptee) {
            this.adaptee = adaptee;
        public void actionPerformed(ActionEvent e) {
            adaptee.clearButton_actionPerformed(e);
    class JournalFrame_saveButton_actionAdapter implements java.awt.event.ActionListener {
        JournalFrame adaptee;
        JournalFrame_saveButton_actionAdapter(JournalFrame adaptee) {
            this.adaptee = adaptee;
        public void actionPerformed(ActionEvent e) {
            adaptee.saveButton_actionPerformed(e);
    class JournalFrame_personalButton_actionAdapter implements java.awt.event.ActionListener {
        JournalFrame adaptee;
        JournalFrame_personalButton_actionAdapter(JournalFrame adaptee) {
            this.adaptee = adaptee;
        public void actionPerformed(ActionEvent e) {
            adaptee.personalButton_actionPerformed(e);
    }BadLands

  • Method not found:Next.execute(javax.faces.event.ActionEvent)ADF11.1.1

    Hi ,
    I created simple app in ADF11g production version.this is working fine in Jdev IDE.
    In my application two pages are there.in first page just ADF ROF is there.there youcan see the rows in a dept table thru navigation contrlos.and a submit button to navigate to next page.in second page ,i have createinsert button,delete,commit,rollback buttons.and abutton to navigate to first page.
    I deployed the EAR successfully to Extervnal WLS10.3while testing it from Browser,
    First i got first row in my table along with Navigation contrlos and submit button of first page in the browser.when i am clicking on next button(to move to next row) it is giving the following error in information box.
    Method not found: Next.execute(javax.faces.event.ActionEvent).
    And the WLS server domain error log is:
         Oct 31, 2008 10:00:09 AM EDT     netuix     Warning     BEA-423420     Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=DiagnosticsViewDomainLogTablePage&DiagnosticsViewDomainLogTablePortlethandle=com.bea.console.handles.LogDispatchHandle%28%22AdminServer%3BDomainLog%22%29.
         Oct 31, 2008 10:00:41 AM EDT     oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl     Warning     ADFC-54008     ADFc: Replacing the ADF Page Lifecycle implementation with 'oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
         Oct 31, 2008 10:00:44 AM EDT     HTTP     Error     BEA-101017     [weblogic.servlet.internal.WebAppServletContext@2767c8 - appName: 'sailu', name: 'department_Application-viewcontroller-context-root', context-path: '/department_Application-viewcontroller-context-root', spec-version: '2.5', request: weblogic.servlet.internal.ServletRequestImpl@1f9449a[ GET /department_Application-viewcontroller-context-root/faces/Depvue1.jspx HTTP/1.1 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.17) Gecko/20080829 Firefox/2.0.0.17 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: ADMINCONSOLESESSION=G65pJLNKGrn9cqWKT2MYJNQThDyGwPhbTyhYv6G0JWf5GpbTyWB2!590494889 ]] Root cause of ServletException. java.lang.IllegalStateException: Cannot forward a response that is already committed at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:122) at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44) at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267) at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:475) at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:143) at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189) at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:188) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:652) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:243) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:203) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:278) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:102) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
         Oct 31, 2008 10:00:46 AM EDT     oracle.adf.share.security     Warning     BEA-000000     Unable to locate the credential for key Connection1 in F:\oracleWls\user_projects\domains\sailubase_domain\config\oracle.
         Oct 31, 2008 10:00:46 AM EDT     oracle.adf.share.jndi.ReferenceStoreHelper     Warning     BEA-000000     Incomplete connection information
         Oct 31, 2008 10:00:52 AM EDT     oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator     Error     BEA-000000     Server Exception during PPR, #1 javax.servlet.ServletException: Method not found: Next.execute(javax.faces.event.ActionEvent) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:270) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:278) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:102) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) javax.faces.el.EvaluationException: Method not found: Next.execute(javax.faces.event.ActionEvent) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1226) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:458) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:763) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:640) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:275) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:175) 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:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:278) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:102) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
         Oct 31, 2008 10:01:32 AM EDT     netuix     Warning     BEA-423420     Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=DiagnosticsViewDomainLogTablePage&DiagnosticsViewDomainLogTablePortlethandle=com.bea.console.handles.LogDispatchHandle%28%22AdminServer%3BDomainLog%22%29.
    And in this page when i am clicking on submit button to navigate to second page,it is not going to second page .it is in first page only.
    Can you tell me about this error and any changes to do for my code to get run my app on browser.
    I appreciate your help and time.

    Hi Frank,
    now my problem solved .just i created one more application newly and deployed it on External WLS.
    Now i am able to see all the rows in my DEPT table in my first page of app thru navigation contrlos.
    In the same way i am able to see all rows in second page also.and also able to edit the rows thru commit,delete buttons.and able to insert the rows also in second page.
    But the submit button to go from page1 to page2 is not working.and also the submit button from page 2 to page1 not working.
    I am giving the following in my URL:
    http://localhost:7001/Dep1wlsApplication1-ViewController-context-root/faces/view1.jspx
    http://localhost:7001/Dep1wlsApplication1-ViewController-context-root/faces/view2.jspx
    What i have to do in order to go from first page to second and second to first.in my IDE i am able to go.
    Is anything i have to change in my URL>
    Plz suggest me.

  • SetJPEGEncodeParam method not found in JPEGImageEncoder jdk 1.5 and jdk 1.6

    Hi,
    We are group of students working on college project.
    We want to capture webcam and show stream on screen.
    We are using JMF and class JPEGImageEncoder.
    Here we are getting setJPEGEncodeParam method not found error.
    Please see detail error message and source code attached below.
    Thanks in advance.
    Regards,
    Vinayak & Surendra
    // Error and Warnings
    SwingCapture.java:125: warning: com.sun.image.codec.jpeg.JPEGImageEncoder is Sun proprietary API and may be removed in a future release
    JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
    ^
    SwingCapture.java:125: warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and may be removed in a future release
    JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
    ^
    SwingCapture.java:126: warning: com.sun.image.codec.jpeg.JPEGEncodeParam is Sun proprietary API and may be removed in a future release
    JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam(bi);
    ^
    SwingCapture.java:128: cannot find symbol
    symbol : method setJPEGEncodeParam(com.sun.image.codec.jpeg.JPEGEncodeParam)
    location: class com.sun.image.codec.jpeg.JPEGImageEncoder
         encoder.setJPEGEncodeParam(param);
    ^
    1 error
    3 warnings
    // Source code
    import javax.swing.*;
    import javax.swing.event.*;
    import java.io.*;
    import javax.media.*;
    import javax.media.format.*;
    import javax.media.util.*;
    import javax.media.control.*;
    import javax.media.protocol.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.image.*;
    import java.awt.event.*;
    import com.sun.image.codec.jpeg.*;
    public class SwingCapture extends Panel implements ActionListener
    public static Player player = null;
    public CaptureDeviceInfo di = null;
    public MediaLocator ml = null;
    public JButton capture = null;
    public Buffer buf = null;
    public Image img = null;
    public VideoFormat vf = null;
    public BufferToImage btoi = null;
    public ImagePanel imgpanel = null;
    public SwingCapture()
    setLayout(new BorderLayout());
    setSize(320,550);
    imgpanel = new ImagePanel();
    capture = new JButton("Capture");
    capture.addActionListener(this);
    String str1 = "vfw:Logitech USB Video Camera:0";
    String str2 = "vfw:Microsoft WDM Image Capture (Win32):0";
    di = CaptureDeviceManager.getDevice(str2);
    ml = di.getLocator();
    try
    player = Manager.createRealizedPlayer(ml);
    player.start();
    Component comp;
    if ((comp = player.getVisualComponent()) != null)
    add(comp,BorderLayout.NORTH);
    add(capture,BorderLayout.CENTER);
    add(imgpanel,BorderLayout.SOUTH);
    catch (Exception e)
    e.printStackTrace();
    public static void main(String[] args)
    Frame f = new Frame("SwingCapture");
    SwingCapture cf = new SwingCapture();
    f.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    playerclose();
    System.exit(0);}});
    f.add("Center",cf);
    f.pack();
    f.setSize(new Dimension(320,550));
    f.setVisible(true);
    public static void playerclose()
    player.close();
    player.deallocate();
    public void actionPerformed(ActionEvent e)
    JComponent c = (JComponent) e.getSource();
    if (c == capture)
    // Grab a frame
    FrameGrabbingControl fgc = (FrameGrabbingControl)
    player.getControl("javax.media.control.FrameGrabbingControl");
    buf = fgc.grabFrame();
    // Convert it to an image
    btoi = new BufferToImage((VideoFormat)buf.getFormat());
    img = btoi.createImage(buf);
    // show the image
    imgpanel.setImage(img);
    // save image
    saveJPG(img,"c:\\test.jpg");
    class ImagePanel extends Panel
    public Image myimg = null;
    public ImagePanel()
    setLayout(null);
    setSize(320,240);
    public void setImage(Image img)
    this.myimg = img;
    repaint();
    public void paint(Graphics g)
    if (myimg != null)
    g.drawImage(myimg, 0, 0, this);
    public static void saveJPG(Image img, String s)
    BufferedImage bi = new BufferedImage(img.getWidth(null),
    img.getHeight(null), BufferedImage.TYPE_INT_RGB);
    Graphics2D g2 = bi.createGraphics();
    g2.drawImage(img, null, null);
    FileOutputStream out = null;
    try
    out = new FileOutputStream(s);
    catch (java.io.FileNotFoundException io)
    System.out.println("File Not Found");
    JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
    JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam(bi);
    param.setQuality(0.5f,false);
    encoder.setJPEGEncodeParam(param);
    try
    encoder.encode(bi);
    out.close();
    catch (java.io.IOException io)
    System.out.println("IOException");

    JPEGImageEncoder isn't a JMF class...so this isn't a JMF question. You need to go to the appropriate forum, which would be Java2D, I believe.
    Also, is there a specific reason you're not just capturing from your web camera directly?

  • Can someone please tell me the cause of the msg-The song could not be used because the original file could not be found- and how I might correct that problem?

    Can anyone please tell me the cause of the msg-The song"    " could no be used
    because the original file could not be found-and how I might correct that problem?  Lou

    I stupidly tried to copy my music files to an external drive so I could transfer them to my new iMac (old Macbook Pro is being retired). I now know I should've tried home sharing or something to transfer the music.
    Anyway, the situation I am in is that I have not managed to transfer anything and I now cannot access the music on my old Macbook Pro either! I have the message "the song 'xyz' could not be used because the original file could not be found. Would you like to locate it?". I understand that this is because iTunes cannot locate the files. When I try to locate the files I find nothing.
    I have tried searching my whole Macbook Pro for mp3 files and m4a files and Spotlight cant find any! The tracks are all still listed in iTunes. I also searched the external hard drive. I definitely haven't deleted anything. So where could they have gone and is there anything else I can do to search for them? I have a feeling I am just not searching for them in the right way because I have not deleted anything.
    Old computer is Macbook Pro OS X 10.6.8 with iTunes 10.4.1
    New computer is iMac OS X 10.7.2 with iTunes 10.5
    All I want to do is to set everything back to how it was so I can try the transfer a better way.
    Please help. Thanks, Dashford.

  • Can't open iTunes, it said it has failed to start because MSVCR80.dll was not found, and I re-installed application many times and still problem persist, how do I solve this?

    can't open iTunes, it said it has failed to start because MSVCR80.dll was not found, and I re-installed application many times and still problem persist, how do I solve this?

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • Hello, just wondering how i can fix my itunes when i keep getting these msges, MSVCR80.dll was not found and error 7 (windows error 126). can anybody help. cheers.

    hello, just wondering how i can fix my itunes when i keep getting these msges, MSVCR80.dll was not found and error 7 (windows error 126). can anybody help. cheers.

    See Troubleshooting issues with iTunes for Windows updates.
    tt2

  • HT1923 After updating Itunes it stopped working. I removed Itunes and reinstalled and i am getting the foloowing errors MSVcr80.dll not found and Itunes not installed correctly error 7 (window errror 126) How do I fix this?

    Yesterday I updated my Itunes account and it stopped working.   I tried installing itunes version 11.1.4  and once done it came back with 2 error messages MsvCR80.dll was not found and I tunes was not installed correctly Error 7 (windows error 126)    I have removed Itunes completely and redownloaded several times with the same result.  Is there an easy fix or can I download an older version of Itunes that works? 

    None of the solutions mentioned in this forum work for me. I've not ever had a problem with your software before. I installed and uninstalled itunes 3 times. No itunes directories exist. I've uninstalled everything labled Apple on my pc withe the same results. The problem is with your software not Windows.

  • Method not found when displaying report in viewer CR Basic for VS 2008

    I searched and couldn't find anything regarding this.  When I try to display a report in the CrystalReportViewer, I get the following error message:
    method not found: 'Void CrystalDecisions.Shared.PageRender.set_ExceptionWindowTitle(System.String)'
    If I call PrintToPrinter for the report, it prints exactly as expected with no errors.  The report viewer control is on a separate generic form (since I have many different reports) and the report is passed to that form after it has been generated.
    I can't find any information regarding this error either on these support forums, or anywhere else on the internet.  I've tried installing the latest service pack and also removing and re-adding teh crystal reports references to my project without any change.
    Thanks for any help you can provide.

    Ok, I tried a completely fresh install of Visual Studio 2008 on a brand new Windows XP machine, same result.  I tried to do this on another developer's machine (who also has Visual Studio 2008 Professional), which resulted in this error when trying to load the ReportViewer (sorry for the long text).  It mentions something about redirecting to version 12 of crystal reports in the error message, which is strange because my project references 10.5, and I don't have crystal reports 12, which as I understand is the full retail version of Crystal reports 2008.  Any ideas?
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in ICE.exe
    System.Transactions Critical: 0 : <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical"><TraceIdentifier>http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/Unhandled</TraceIdentifier><Description>Unhandled exception</Description><AppDomain>ICE.exe</AppDomain><Exception><ExceptionType>System.IO.FileNotFoundException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.</Message><StackTrace> at ICE.basRpt.rpt_showPurchaseOrder(Int64 lngAuto, String strNothing, String strReportTitle, Boolean blnShow, Boolean blnExport, Boolean blnEmail, Int32 numAttachments)
    at ICE.frmPO.mnuPrintPO_Click(Object eventSender, EventArgs eventArgs) in C:\_ICEDOTNET\ICE\Forms\frmPO.vb:line 2545
    at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
    at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
    at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.ToolStrip.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.ToolStripDropDown.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp;amp; msg)
    at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.Run(ApplicationContext context)
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
    at ICE.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81</StackTrace><ExceptionString>System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    File name: 'CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' ---&amp;gt; System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    File name: 'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'
    === Pre-bind state information ===
    LOG: User = SAGENET\aingraham
    LOG: DisplayName = CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
    (Fully-specified)
    LOG: Appbase = file:///C:/_ICEDOTNET/ICE/bin/Debug/
    LOG: Initial PrivatePath = NULL
    Calling assembly : ICE, Version=1.0.0.40, Culture=neutral, PublicKeyToken=null.
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: C:\_ICEDOTNET\ICE\bin\Debug\ICE.exe.Config
    LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
    LOG: Redirect found in application configuration file: 10.5.3700.0 redirected to 12.0.2000.0.
    LOG: Post-policy reference: CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
    LOG: Attempting download of new URL file:///C:/_ICEDOTNET/ICE/bin/Debug/CrystalDecisions.CrystalReports.Engine.DLL.
    LOG: Attempting download of new URL file:///C:/_ICEDOTNET/ICE/bin/Debug/CrystalDecisions.CrystalReports.Engine/CrystalDecisions.CrystalReports.Engine.DLL.
    LOG: Attempting download of new URL file:///C:/_ICEDOTNET/ICE/bin/Debug/CrystalDecisions.CrystalReports.Engine.EXE.
    LOG: Attempting download of new URL file:///C:/_ICEDOTNET/ICE/bin/Debug/CrystalDecisions.CrystalReports.Engine/CrystalDecisions.CrystalReports.Engine.EXE.
    at ICE.basRpt.rpt_showPurchaseOrder(Int64 lngAuto, String strNothing, String strReportTitle, Boolean blnShow, Boolean blnExport, Boolean blnEmail, Int32 numAttachments)
    at ICE.frmPO.mnuPrintPO_Click(Object eventSender, EventArgs eventArgs) in C:\_ICEDOTNET\ICE\Forms\frmPO.vb:line 2545
    at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
    at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
    at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.ToolStrip.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.ToolStripDropDown.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp;amp; msg)
    at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.Run(ApplicationContext context)
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
    at ICE.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
    </ExceptionString><InnerException><ExceptionType>System.IO.FileNotFoundException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.</Message><StackTrace> at ICE.basRpt.rpt_showPurchaseOrder(Int64 lngAuto, String strNothing, String strReportTitle, Boolean blnShow, Boolean blnExport, Boolean blnEmail, Int32 numAttachments)
    at ICE.frmPO.mnuPrintPO_Click(Object eventSender, EventArgs eventArgs)
    at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
    at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
    at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.ToolStrip.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.ToolStripDropDown.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)
    at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp;amp; msg)
    at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.Run(ApplicationContext context)
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
    at ICE.My.MyApplication.Main(String[] Args)
    </StackTrace><ExceptionString>System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    File name: 'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'
    === Pre-bind state information ===
    LOG: User = SAGENET\aingraham
    LOG: DisplayName = CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
    (Fully-specified)
    LOG: Appbase = file:///C:/_ICEDOTNET/ICE/bin/Debug/
    LOG: Initial PrivatePath = NULL
    Calling assembly : ICE, Version=1.0.0.40, Culture=neutral, PublicKeyToken=null.
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: C:\_ICEDOTNET\ICE\bin\Debug\ICE.exe.Config
    LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
    LOG: Redirect found in application configuration file: 10.5.3700.0 redirected to 12.0.2000.0.
    LOG: Post-policy reference: CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
    LOG: Attempting download of new URL file:///C:/_ICEDOTNET/ICE/bin/Debug/CrystalDecisions.CrystalReports.Engine.DLL.
    LOG: Attempting download of new URL file:///C:/_ICEDOTNET/ICE/bin/Debug/CrystalDecisions.CrystalReports.Engine/CrystalDecisions.CrystalReports.Engine.DLL.
    LOG: Attempting download of new URL file:///C:/_ICEDOTNET/ICE/bin/Debug/CrystalDecisions.CrystalReports.Engine.EXE.
    LOG: Attempting download of new URL file:///C:/_ICEDOTNET/ICE/bin/Debug/CrystalDecisions.CrystalReports.Engine/CrystalDecisions.CrystalReports.Engine.EXE.
    </ExceptionString></InnerException></Exception></TraceRecord>

  • J2EE Engine startup page error: File [main.jsp] not found in application..

    Hi Guys,
    I have just uninstalled and reinstalled SAP Netweaver 7.01 portal. The uninstall was clean and the reinstall also went without any errors.
    However, immediately after this, when I open http://<host>:<port> I get the following error:
    404   Not Found
    The requested resource /main.jsp is not available
    Details:   File main.jsp not found in application root of alias [/] of J2EE application [sap.com/com.sap.engine.docs.examples].
    If, instead, I open portal (http://<host>:<port>/irj), it works fine.
    Anybody has any idea why this has happened and how can I resolve this issue?
    Thanks,
    Shitij
    Edited by: Shitij Bagga on May 5, 2010 9:36 AM
    Edited by: Shitij Bagga on May 5, 2010 9:37 AM

    Hi Anil,
    I don't see how this note is relevant here. It is just the j2ee engine start page which is not opening. If I go straight to the systeminfo page or the portal login page, they are all working.
    Any experience on this issue with that note u suggested? Please share.
    Thanks,
    Shitij

  • XPathException: Extension function error: Method not found 'abs'

    Hello,
    I am using -XMLP 5.6.3 on EBS 11.5.10.2
    In XML Publisher Admin, View Template page, I click "Preview". I get a report, but all it contains is a long stack trace containing the following messages:
    java.lang.reflect.InvocationTargetException
    Caused by: oracle.xdo.parser.v2.XPathException: Extension function error: Method not found 'abs'
    In my RTF, the offending code is
    <?when:xdoxslt:abs(ACCOUNTED_CR)>xdoxslt:abs(ACCOUNTED_DR)?>It works fine on my pc where I have BI Publisher Desktop 10.1.3.4

    Hi Vetsrini, Thank you for your response.
    1. I checked the values in the xml and found no nulls. I see all 0 or non-zero numbers.
    2. Following MetaLink Doc ID 362496.1, I find:
    - PDF Producer: PDF file properties shows PDF Producer "Oracle XML Publisher 5.6.3"
    - AD_BUGS SQL: The SQL results show that I have the 5.6.3 patch, but the SQL in the Doc only includes patch numbers up to 5.6.3. I'm not sure how I can find out the patch numbers of more recent patches, to see if i have those.
    - File version of the MetaInfo.class: $Header MetaInfo.java 115.28 2006/08/17 01:24:59 bgkim noship $
    What is the latest XDO patch? I can't find anything newer than what I have in MetaLink, but I probably am missing something...

  • Method not found: 'Void CrystalDecisions.Shared.ReportStateInfo.set_DataSou

    We have a VB.NET project which has recently been migrated from Visual Studio 2003 / .NET 1.1 and Crystal Reports 11 to Visual Studio 2010 / .NET 3.5 and Crystal Reports 2008.
    One of the forms uses the crystaldecisions.windows.forms.crystalreportviewer control, and at the point of trying to display a report, pops up the following error since the migration:
    Method not found: 'Void CrystalDecisions.Shared.ReportStateInfo.set_DataSource(System.Data.DataSet)'.
    All other Crystal Reports functionality is working fine.  As far as I can see, the control being used is version 12.0.2000.0 (although 12.0.1100.0 also seems to be available, and suffers from the same problem).  All of the Crystal Reports references in the project point to files in C:\Program Files\Business Objects\Common\4.0\managed and are version 12.0.1100.0.
    Has anyone else encountered this problem?  Are the wrong versions of the control / DLLs being used?  Any advice on how to get this working would be useful!
    Thanks in advance,
    Anthony.

    Sorry, answering my own question!
    I've since discovered the .NET 2.0 DLLs in C:\Program Files\Business Objects\Common\4.0\managed\dotnet2 (i.e. version 12.0.2000.0) - switching the references to them fixed the problem.
    Anthony.

  • Method not found: 'Void National Instruments.LabVIEW.Interop.LV Runtime.throw MissingDependencyException()'.

    Method not found: 'Void National Instruments.LabVIEW.Interop.LV Runtime.throw MissingDependencyException()'.
    My colleague created a Labview DLL for me to use in .NET.
    I have tried getting this DLL to work in 3.5 framework however it only worked on framework 2.0. 
    I recently tried again and now it will not work in framework 2.0 or any available frameworks.
    He is using Labview 2011. 
    I am a little baffled as to how the application just stopped working. The National Instruments Runtime I am using is Labview 2011, version 1.1.0.0. The labview dll he gave me is using 1.1.0.0 as well. I have tried using 1.0.0.0 and I get an error saying there is a mismatch.
    In addition, for some reason I was never successful in making this work in 3.5, and now I can't make it work in 2.0 either.
    Any help is greatly appreciated. I have tried re-installing the runtime engine, tried different versions like labview 2013 but no luck... 
    Everything works except when I call the dll procedure:
    LabVIEWExports.AxBClusterArrays(out ERR, out OUTDLL, INDLL);
    My Code:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;
    using NationalInstruments.LabVIEW.Interop;
    using InteropAssembly;
    namespace WindowsFormsApplication1
    public partial class Form1 : Form
    public Form1()
    InitializeComponent();
    private void Form1_Load(object sender, EventArgs e)
    InteropAssembly.LVCluster_1 OUTDLL = new InteropAssembly.LVCluster_1();
    InteropAssembly.LVCluster_2 INDLL = new InteropAssembly.LVCluster_2();
    double[] TestA = new double[1];
    double[] TestB = new double[1];
    for (int runs = 0; runs < 1; runs++)
    TestA[runs] = 1;
    TestB[runs] = 1;
    INDLL.A = TestA;
    INDLL.B = TestB;
    NationalInstruments.LabVIEW.Interop.ErrorCluster ERR = new NationalInstruments.LabVIEW.Interop.ErrorCluster();
    MessageBox.Show(NationalInstruments.LabVIEW.Interop.FrameworkVersion.Fx35.ToString());
    try
    //LabVIEWExports LVE = new LabVIEWExports()
    LabVIEWExports.AxBClusterArrays(out ERR, out OUTDLL, INDLL);
    catch (Exception f)
    MessageBox.Show(f.Message.ToString());

    Figured it out, I thought we where using Labview 2011, however it was Labview 2011 SP1. 
    Thus i had to install the runtime envioment 2011 SP1.
    Regards,
    ADL

  • Method not found: Void Crystal decisions.reportappserver

    I have a customer that is using crystal runtime (11.5) through our applicaiton. 
    One user can run, view and print ALL reports
    One user can run, view and print reports that have NOprompts i.e, date ranges
    However, if that same user tries to run a report that has a prompt it immediately throws up this error:
    Method not found: "Void Crystaldecision.ReportAppserver.ReportDefModel.ISCRPromptingRequestInfo.set_RequestOptions(CrystalDecsions.ReportAppServer.DataDefModel.PropertyBag)'.
    I have googled researched and can not find much info on the error message. 
    Since one user has no issues and one user does, I'm assuming it's enviromental ie. permissions, needed .dll is corrupted.
    We have had the user log into their pc with full local administrator rights.  Same results, can run the reports with no prompts, cannot run reports with prompts.
    From what I can see the needed 11.5 crystal .dll are located in:
    C:\Program Files\Business Objects\Common\3.5\bin
    I did notice that their are older  8.5 crystal .dll in the C:\Windows\System32
    However, the user that is not having an issue also has the 8.5 .dll's in that location as well.
    User's O/S: XP SP3

    I found a related issue that threw the same error. In this case it had to do with installed the Crystal .NET assemblies for 1.1 framework instead of the 2.0. I suggest you have a look at the C:\windows\assembly directory and see if you have the 11.5.3300 or 11.5.3500 assembly file for CrystalDecisions.CrystalReports.Engine. If you have the 11.5.3300 that means you have installed the 1.1 framework and it may not work correctly if your site is configured for the 2.0 framework.
    Method not found: 'Void CrystalDecisions.ReportAppServer.ReportDefModel.ISCRPromptingRequestInfo.set_RequestOptions                                        
    (CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag)'"
    1. What .NET framework are you using on the system?
    2. How did you install the Crystal Reports .NET SDK for XI R2?

  • Method not found: 'Int32 Microsoft.VisualStudio.TestTools.UITest.Extension.UITestUtilities.get_IEVersion()'.

    I am trying to use Coded UI record and play back for a web application. If I create a new solution and a project and record and play back, it works fine.
     But when I try to add a new Coded UI project to an existing solution and try to the record and play back, the play back fails with the following error:
     Test Name: Login1
     Test FullName: Test.LoginNS.Login1
     Test Source: c:\CodedUITestProject1\Test\Login.cs : line 29
     Test Outcome: Failed
     Test Duration: 0:00:06.0481823
     Result Message:
     Test method TestWebUI.LoginNS.Login1 threw exception:
     System.MissingMethodException: Method not found: 'Int32 Microsoft.VisualStudio.TestTools.UITest.Extension.UITestUtilities.get_IEVersion()'.
     I looked at the version of the dll "Microsoft.VisualStudio.TestTools.UITest.Extension" and its 11.0.
     Any pointers or help would be really appreciated.

    Hi singhguru87,
    Thanks for posting in the MSDN forum.
    >>If I create a new solution and a project and record and play back, it works fine.
    >>But when I try to add a new Coded UI project to an existing solution and try to the record and play back, the play back fails...
    The real issue is that whether there are other projects in your existing solution, if so, how about unloading the other projects one by one? So we could know that whether other projects impact this coded UI test project.
    Or you could take a backup for your solution , and then copy other projects from existing one to your new solution which works well, how about the results?
    Please compare the new coded UI test code with the previous new one, do you make sure that they have the same code?
    Please also compare the project property like .NET Framework version and Platform target (Any CPU/X86/X64).
    If still no help, please collect the detailed coded UI test log, maybe you could get more useful information.
    https://msdn.microsoft.com/en-us/library/jj159363.aspx?f=255&MSPPError=-2147217396
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • TV shows are not syncing with iCloud

    Two questions. The first is really bugging me: 1. Several years ago I purchased a series of TV shows through iTunes. When I got an iPad about a year ago, and configured all my settings, I was able to play those episdoes on that device (I presume that

  • Access by User ID only

    Hi, I'm wondering if you can give someone access to a 'course' without having to have a categorized credential. In my case, I use the Baker College building block to authenticate from Blackboard - but the credentials only show Instructor or Student r

  • Current Year Formula Variable with SAP-Exit

    Hi Experts , Is there any SAP Exit Formula Variable avaliable that we can use in BEX which gives us the Current Calander Year? I am able to find the current fiscal period ie "0F_CUFPE" which provides the current posting period/month. On similar basis

  • There should be seperate forum for ABAP HR

    Hello folks, I have recently joined SDN community. What I feel is that there should be different forum for ABAP HR. If I have to post a question or if I have to look what other members have asked in concern with ABAP HR then it is difficult to search

  • Default the blank value for MessageChoice

    Hi, I have created a Message Choice Bean and I require to have a blank value as the first value followed by the original values. How to achieve this ? I have also tried setting through personalization 'Add Blank Value' to 'true' and also tried with t