Logged in as null

Please reply via email to [email protected]
Forums seems to lose my log in. I will find myself logged in as null, according to the welcome message in the upper left corner. Then I sometimes can't reply to posts.
In fact, in this message screen my ID is shown as null but in the previous screen it was correct. This is causing me great difficulty because I'm supposed to get help on HTMLDB through the forum but this null log in is preventing me from interacting.

Neal,
I'm having the same problem. Every time I go to the forums I have to log in (never used to have to do this), then when I'm logged in, my username is "null". When posting, my name is displayed as a number. This is very inconvenient. It seems to be happening to more and more people now.
I will log a bug in the bug database about this, if I can find a product for OTN forums.
Alison

Similar Messages

  • Log On to null  and  Plugin Manager error

    After installing BOE XI 3.1 Update and SAP Integration Kit 3.1, when attempting to log on to InfoView get a Log On to null showing up in the upper corner and when attempting to use SAP Authentication get:
    Account information not recognized: Plugin Manager error: Unable to locate the requested plugin secSAPR3 on the server. (FWB 00006)
    SAP Authentication doesn't show up in CMC either. Any ideas? Already checked SAP Java Connector.

    Here is the "README":
    wdeploy: Business Objects Deployment tool
    Objective: To deploy Business Objects web applications.
    Location of online deployment guides:
    BusinessObjects Enterprise XI 3.1 Web Application Deployment Guide for Windows
    BusinessObjects Enterprise XI 3.1 Web Application Deployment Guide for UNIX
    1. Go to http://help.sap.com
    2. Click on tab "Business Objects"
    Please note that you will need your SAP Service Marketplace USER ID and PASSWORD to access this material.
    If you do not have the necessary credentials contact your SAP support center.

  • Home DB error (404) and fails logs (Parameter was NULL)

    Hello, I installed the oracle-xe by apt-get like in http://www.oracle.com/technetwork/topics/linux/xe-on-kubuntu-087822.html
    I use Linux debian (mint) with KDE.
    The installation and configuration was successful. BUT when I try open Home (http://127.0.0.1:8080/apex) return error 404.
    This config was in port 8080
    tati@desa462-linux:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts > cat /etc/default/oracle-xe |grep HTTP# HTTP_PORT : HTTP port for Oracle Application Express
    HTTP_PORT=8080
    I run enviroment script like in http://docs.oracle.com/cd/B25329_01/doc/install.102/b25144/toc.htm#BABDGCHH
    ". /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh"
    no return errors and variables was defined.
    listener port
    tati@desa462-linux:~ > netstat -a | grep 1521
    tcp        0      0 *:1521                  *:*                     LISTEN    
    no-listener
    tati@desa462-linux:~ > netstat -a | grep 8080
    tati@desa462-linux:~ >
    error log:
    [  OCRUTL][4132255488]u_set_comp_error: Parameter was NULL
    [  OCRUTL][4132255488]u_set_ocr_error: Parameter was NULL
    2014-12-08 10:21:47.224: [  OCROSD][4132255488]utgdv:2:ocr loc file  cannot  be opened
    2014-12-08 10:21:47.225: [  OCROSD][4132255488]utopen:1: Couldnt find ocr,[ocrmirror] location in config file
    [  OCRUTL][4132255488]u_set_gbl_comp_error: Parameter was NULL
    2014-12-08 10:21:47.225: [  OCRRAW][4132255488]proprinit: Could not open raw device
    2014-12-08 10:21:47.225: [ default][4132255488]a_init:7!: Backend init unsuccessful : [33]
    [  OCRUTL][4132255488]u_set_ocr_error: Parameter was NULL
    2014-12-08 10:21:47.225: [ CSSCLNT][4132255488]clsssinit: error(33 ) in OCR initialization
    Can any one help-me??

    You can have a look at other web applications in /webapps to see how correctly structured look like.
    You can also read this (very old) but still informative post.
    From what you say, it seems you have several challenges:
    * web-inf is in lower case instead of uppercase
    * the web application is named "uk" and not "demo-examples"
    Have you tried with http://localhost:1020/uk/HelloWorld ?

  • Null pointer exception in jserv.log

    Genius,
    I am facing weired exception "Null pointer exception" in jserv.log.
    Apps Login is showing "internal server error"
    I tried enabled debug log level in jserv.conf, httpd.conf, all logs are having Null pointer exception message. not able to trace exactly what is the issue.
    This is 11.5.10 env.
    Can anybody help me out?
    Thanks

    fyi. i am the apps dba of that env.
    Yes bounced many times, after making several setups. found that ATG RUP patch 4 screwed got applied, developers applied the patches directly, which screwed the env.
    now we are recloning the test env.
    thanks folks for your support.

  • Servlet only gets null values from mobile

    OK, i'm doing a project for college which involves inputting data into an application on a mobile device, sending them to a servlet and updating a database. I've got my mobile app working and sending but the servlet is only receiving null values for it. I'll post the code for d servlet and see if anyone can figure out whats wrong. The problem might not even be the servlet so i'll post part of the mobile app as well. The problem could well be when i'm buffering the content on the mobile to a string. Anyway, any help appreciated, thanks.
    The Servletimport java.io.IOException;
    import java.io.PrintWriter;
    import java.sql.*;
    import java.util.logging.*;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class ThisServlet extends HttpServlet
        protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            response.setContentType("text/html;charset=UTF-8");
            PrintWriter out = response.getWriter();
            try {
                out.println("<html>");
                out.println("<head>");
                out.println("<title>ThisServlet</title>"); 
                out.println("</head>");
                out.println("<body>");
                out.println("<h1>Servlet at " + request.getContextPath () + "</h1>");
                out.println("</body>");
                out.println("</html>");
            } finally {
                out.close();
        @Override
        protected void doGet(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        @Override
        public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
            String connectionURL = "jdbc:mysql://localhost:3306/database";
            Connection connection = null;
            Statement stmt = null;
            ResultSet rs = null;
            res.setContentType("text/html");
            PrintWriter out = res.getWriter();
            String MobileNumber = req.getParameter("user");
            String field1 = req.getParameter("h1");
            String field2 = req.getParameter("h2");
            String field3 = req.getParameter("h3");
            try {
                // Load the database driver
                Class.forName("com.mysql.jdbc.Driver");
                // Get a Connection to the database
                connection = DriverManager.getConnection(connectionURL, "root", "root");
                try {
                    stmt = connection.createStatement();
                } catch (SQLException ex) {
                    Logger.getLogger(ThisServlet.class.getName()).log(Level.SEVERE, null, ex);
                rs = stmt.executeQuery("SELECT UserID FROM User WHERE MobileNumber = '" + MobileNumber + "'");
                while (rs.next()) {
                    String UserID = rs.getString("UserID");
                    String insert = "INSERT INTO newTable(UserID, One, Two, Three) VALUES (?,?,?,?)";
                    PreparedStatement pst = connection.prepareStatement(insert);
                    pst.setString(1, UserID);
                    pst.setString(2, field1);
                    pst.setString(3, field2);
                    pst.setString(4, field3);
                    pst.executeUpdate();
                    pst.close();
            catch(ClassNotFoundException e){
                System.out.println(e.toString());
            catch(SQLException e){
                System.out.println(e.toString());
            catch (Exception e){
                System.out.println(e.toString());
            finally {
                // Always close the database connection.
                try {
                    if (connection != null) connection.close();
                    System.out.print("closing db connection ... \n");
                catch (SQLException ignored){
                    out.println(ignored);
        @Override
        public String getServletInfo() {
            return "Short description";
    }The Mobile App (only part where putting the content together to send)
    buffer.append("user="+mobileNumber).append("?h1="+field1)
                        .append("?h2="+field2).append("?h3="+field3);
                content = buffer.toString();
    sendToServer(url, content);

    For sure you would have to do following on your mobile:
    buffer.append("?user="+mobileNumber).append("&h1="+field1)
                        .append("&h2="+field2).append("&h3="+field3);
                content = buffer.toString();
    sendToServer(url, content);'?' - is a delimiter of GET parameters and '&' - is a delimiter between GET parameters
    Edited by: ivanovpv on 30.04.2009 10:57

  • While trying to send mail getting NUll Pointer exception

    Hi,
    I am trying to send email through email notification but instance doesn't through any fault but on opmn log it sends null pointer exception and doesn't send any mail. But some other flow using same SMTP server are able to send mail.
    Exceptions:
    07/11/14 16:46:25 java.lang.NullPointerException
    07/11/14 16:46:25      at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:363)
    07/11/14 16:46:25      at oracle.tip.pc.services.notification.email.EmailDriver.sendMessage(EmailDriver.java:207)
    07/11/14 16:46:25      at oracle.tip.pc.services.notification.email.EmailDriver.send(EmailDriver.java:185)
    07/11/14 16:46:25      at oracle.tip.pc.services.notification.DefaultNotificationServiceImpl.sendEmailNotification(DefaultNotificationServiceImpl.java:251)
    07/11/14 16:46:25      at oracle.tip.pc.services.notification.NotificationServiceImpl.sendEmailNotification(NotificationServiceImpl.java:271)
    07/11/14 16:46:25      at oracle.bpel.services.notification.queue.sender.MDBConsumer.deliverNotification(MDBConsumer.java:256)
    07/11/14 16:46:25      at oracle.bpel.services.notification.queue.sender.MDBConsumer.onMessage(MDBConsumer.java:137)
    07/11/14 16:46:25      at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
    07/11/14 16:46:25      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    07/11/14 16:46:25      at java.lang.reflect.Method.invoke(Method.java:585)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    07/11/14 16:46:25      at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    07/11/14 16:46:25      at com.evermind.server.ejb.MessageDrivenConsumer.onMessage(MessageDrivenConsumer.java:347)
    07/11/14 16:46:25      at com.evermind.server.ejb.MessageDrivenConsumer.processMessages(MessageDrivenConsumer.java:233)
    07/11/14 16:46:25      at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:169)
    07/11/14 16:46:25      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    07/11/14 16:46:25      at java.lang.Thread.run(Thread.java:595)
    Any Idea?

    Hi,
    I am also trying E-mail Activity but I am not able to receive the e-mail.
    I have set the following in the ns_emails.xml
    <EmailAccount>
    <Name>Default</Name>
    <GeneralSettings>
    <FromName>Oracle BPM</FromName>
    <FromAddress>[email protected]</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>Server' IPADRESS</SMTPHost>
    <SMTPPort>25</SMTPPort>
    </OutgoingServerSettings>
    <IncomingServerSettings>
    <SMTPHost>Server' IPADRESS</SMTPHost>
    <SMTPPort>25</SMTPPort>
    </IncomingServerSettings>
    In this "[email protected]" is the user configured and "Server' IPADRESS" is the IPADDRESS of the SMTP server.
    Moreover I have also have SMTP server as the incoming server.
    Now I have a simple BPEL PROCESS having Email Activity of sending a mail.
    The "To" section has "[email protected]".
    I am not able to recive the mail and I have also cheked the SMTP server there is no mail there but BPEL Process runs fine.
    I also have one Script which can send mail to the user Ihave mentioned and it works fine.So server setting seems to be fine.Are there any other setting required.
    If you are able to send the mail then can you give me your inputs on this issue.
    Regards
    Lalit

  • GDM update: directory permissions differ on /var/log/gdm/

    Hello,
    Running Arch 64Bits kernel 3.9.9-1 with systemd and i got the following warning during a gdm update today:
    (1/6) upgrading libgdm [######################] 100%
    (2/6) upgrading gdm [######################] 100%
    warning: directory permissions differ on /var/log/gdm/
    filesystem: 711 package: 1770
    Why would gdm need some 1770 permissions for log files? Looks pretty suspicious to me, especially the sticky bit thing. What did i miss?
    PS: BTW the update is successful (it's a warning afterall, not an error)
    Thanks
    EDIT:
    Looks like the opposite situation than 3 years ago:
    https://bbs.archlinux.org/viewtopic.php?id=94681
    https://bugs.archlinux.org/task/19294
    EDIT2: here's what i have in /var/log:
    msytux666 var # ls -la
    total 64
    drwxr-xr-x 14 root root 4096 Jul 6 15:34 .
    drwxr-xr-x 20 root root 4096 Jul 16 20:24 ..
    -rwxrwxrwx 1 root root 4192 Jun 19 11:27 .com.zerog.registry.xml
    drwxr-xr-x 7 root root 4096 Jul 7 00:07 abs
    drwxr-xr-x 8 root root 4096 Jun 16 17:28 cache
    drwxr-xr-x 3 root root 4096 Jun 17 19:07 db
    drwxr-xr-x 2 root root 4096 May 31 20:40 empty
    drwxrwxr-x 2 root games 4096 May 31 20:40 games
    drwx--x--x 2 gdm gdm 4096 Jun 15 14:23 gdm
    drwxr-xr-x 26 root root 4096 Jul 16 01:13 lib
    drwxr-xr-x 2 root root 4096 May 31 20:40 local
    lrwxrwxrwx 1 root root 11 May 31 20:40 lock -> ../run/lock
    drwxr-xr-x 6 root root 4096 Jul 18 00:33 log
    lrwxrwxrwx 1 root root 10 May 31 20:40 mail -> spool/mail
    drwxr-xr-x 2 root root 4096 May 31 20:40 opt
    lrwxrwxrwx 1 root root 6 May 31 20:40 run -> ../run
    drwxr-xr-x 6 root root 4096 Jun 16 17:28 spool
    drwxrwxrwt 8 root root 4096 Jul 18 00:33 tmp
    gdm is owned by gdm, so why would it needs 1770 permissions?
    EDIT3:
    After further research i appear the way gdm is installed may matter.
    Well i installed gdm through pacman and always update it with pacman as well. Never manually compiled/make_install'd it nor used abs for it.
    Last edited by BGK (2013-07-19 21:37:13)

    Okay I'm confused ...
    Commit:https://projects.archlinux.org/svntogit … 92c38d536d
    @@ -68,8 +68,7 @@ package_gdm() {
    cd $pkgbase-$pkgver
    make DESTDIR="$pkgdir" install
    - chmod 1770 "$pkgdir/var/log/gdm"
    - chmod 700 "$pkgdir/var/lib/gdm/.config/dconf"
    + chmod 711 "$pkgdir/var/log/gdm"
    rm -r "$pkgdir/var/run" "$pkgdir/var/gdm"
    ### Split libgdm
    so that takes away the 1770 permissions, and replaces them with 711. 
    @@ -5,6 +5,7 @@ post_install() {
    getent passwd gdm > /dev/null 2>&1 || usr/sbin/useradd -c 'Gnome Display Manager' -u 120 -g gdm -d /var/lib/gdm -s /sbin/nologin gdm
    passwd -l gdm > /dev/null
    chown -R gdm:gdm /var/lib/gdm > /dev/null
    + chown root:gdm /var/log/gdm > /dev/null
    glib-compile-schemas /usr/share/glib-2.0/schemas
    gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
    however:
    chown root:gdm /var/log/gdm > /dev/null
    .. is where I get confused.  This command makes root and the group gdm the new owners of /var/log/gdm, or did I go wrong somewhere?

  • VSTO 2010 Addin installed on Outlook 2007 Machine: Giving binding error - 0x80070002. The system cannot find the file specified (Fusion Log).

    Fusion log:
    The operation failed.
    Bind result: hr = 0x80070002. The system cannot find the file specified.
    Assembly manager loaded from: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\clr.dll
    Running under executable C:\PROGRA~1\MICROS~2\Office12\OUTLOOK.EXE
    --- A detailed error log follows.
    === Pre-bind state information ===
    LOG: User = XP-2007\Administrator
    LOG: DisplayName = Blue Jeans Outlook Addin, Version=3.0.233.24954, Culture=neutral, processorArchitecture=MSIL
    (Partial)
    WRN: Partial binding information was supplied for an assembly:
    WRN: Assembly Name: Blue Jeans Outlook Addin, Version=3.0.233.24954, Culture=neutral, processorArchitecture=MSIL | Domain ID: 2
    WRN: A partial bind occurs when only part of the assembly display name is provided.
    WRN: This might result in the binder loading an incorrect assembly.
    WRN: It is recommended to provide a fully specified textual identity for the assembly,
    WRN: that consists of the simple name, version, culture, and public key token.
    WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
    LOG: Appbase = file:///C:/Program Files/Blue Jeans/Outlook Addin/
    LOG: Initial PrivatePath = NULL
    LOG: Dynamic Base = NULL
    LOG: Cache Base = NULL
    LOG: AppName = OUTLOOK.EXE
    Calling assembly : (Unknown).
    ===
    LOG: Start binding of native image Blue Jeans Outlook Addin, Version=3.0.233.24954, Culture=neutral, PublicKeyToken=null.
    WRN: No matching native image found.
    LOG: IL assembly loaded from C:\Documents and Settings\Administrator\Local Settings\Application Data\assembly\dl3\LZMMEM67.CTT\397DNQ77.1W9\c337c5e7\0023f77f_891ed001\Blue Jeans Outlook Addin.dll.
    The required correct settings file is present in the location C:\Program Files\Blue Jeans\Outlook Addin but the .NET created user.config in AppData have wrong entries. The machine is installed with VSTO 2010 and .NET 4.0 Client Profile. Also the KB 976477 is
    already installed the registry entry EnableLocalMachineVSTO (KB 976811) is made. May someone please give me a clue on why the user.config file is created with wrong entries and also, why this assembly binding error happening?
    Thanks in advance.
    Prasad

    this might help:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/2601334c-d5cb-4f51-a99a-4d8ea9217938/userconfig-file-problem-after-upgrading-to-outlook-2010-from-2007?forum=vsto
    VSTO Word add-in user.config lost every update

  • [svn:fx-3.x] 10416: Allow null in object properties when sorting.

    Revision: 10416
    Author:   [email protected]
    Date:     2009-09-18 15:30:02 -0700 (Fri, 18 Sep 2009)
    Log Message:
    Allow null in object properties when sorting.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-13585
    Reviewer: Corey
    API Change: No
    Is noteworthy for integration: No
    tests: checkintests mustella/browser/DataGrid
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-13585
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/collections/ListCollectionView .as
        flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/collections/SortField.as

    Hello Sini and all-
    We've applied SP 8 and we're now able to show free characteristics only.  However, in our 3.x reports, we give our users a lot of free characteristics, so we arrange these in different navigation blocks to make thme easier to find.  So far in NW2004s, I find no way to limit specific characteristics to a particular navigation block/pane. In 3.x we use the following parameters in the Nav Item to do this:
    <param name="ITEM_NAV_BLOCK_IOBJNM_1" value="DIVREP"/>
    <param name="ITEM_NAV_BLOCK_IOBJNM_2" value="0COMPANY"/>
    <param name="ITEM_NAV_BLOCK_IOBJNM_3"value="0COMP_CODE"/>
    Please advise if you know of any way to accomplish this in NW2004s.
    Thanks,
    Ray

  • Problem trying to log on to my video library system

    hello.
    i am trying to log on to the video library system that i just developed. the LogOn program works to a certain extent (the appropriate programs are shown below). when i try to log onto my system time. a JOptionPane.ERROR_MESSAGE message appears on screen. when i press OK inside the message, the message disappears but the same one appears again. i press OK again + the JOptionPane messages stop appearing again. when i press ok after entering my login details in the text + password fields, a main menu (either an administrator menu or a user menu) should be displayed on screen. what should i do to make this problem go away?
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    public class HomeEntertainment extends JPanel implements ActionListener{
       private JTabbedPane jtp = new JTabbedPane();
       private JPanel cP1 = new JPanel();
       private JPanel cP2 = new JPanel();
       private JPanel cP3 = new JPanel();
       private JPanel bP1 = new JPanel();
       private JPanel bP2 = new JPanel();
       private JPanel bP3 = new JPanel();
       private JButton jbAdministratorLogOn = new JButton("Log On");
       private JButton jbNewUserRegister = new JButton("Register");
       private JButton jbExistingUserLogOn = new JButton("Log On");
       private JButton jbAdministratorExitTheSystem = new JButton("Exit the system");
       private JButton jbNewUserExitTheSystem = new JButton("Exit the system");
       private JButton jbExistingUserExitTheSystem = new JButton("Exit the system");
       public HomeEntertainment(){
          cP1.setLayout(new BorderLayout());
          cP2.setLayout(new BorderLayout());
          cP3.setLayout(new BorderLayout());
          bP1.setBorder(new TitledBorder("Make a choice"));
          bP2.setBorder(new TitledBorder("Make a choice"));
          bP3.setBorder(new TitledBorder("Make a choice"));
          bP1.add(jbAdministratorLogOn);
          bP2.add(jbNewUserRegister);
          bP3.add(jbExistingUserLogOn);
          bP1.add(jbAdministratorExitTheSystem);
          bP2.add(jbNewUserExitTheSystem);
          bP3.add(jbExistingUserExitTheSystem);
          cP1.add(bP1, BorderLayout.SOUTH);
          cP2.add(bP2, BorderLayout.SOUTH);
          cP3.add(bP3, BorderLayout.SOUTH);
          jtp.addTab("Administrator", cP1);
          jtp.addTab("New User", cP2);
          jtp.addTab("Existing User", cP3);
          JFrame jf = new JFrame("Home Entertainment");          
          jf.getContentPane().add(jtp, BorderLayout.CENTER);
          jf.setSize(500, 500);
          jf.setVisible(true);
          jbAdministratorLogOn.addActionListener(this);
          jbNewUserRegister.addActionListener(this);
          jbExistingUserLogOn.addActionListener(this);
          jbAdministratorExitTheSystem.addActionListener(this);
          jbNewUserExitTheSystem.addActionListener(this);
          jbExistingUserExitTheSystem.addActionListener(this);
       public void actionPerformed(ActionEvent e){
          if(e.getSource() == jbAdministratorLogOn){
             LogOn logOn = new LogOn();
             logOn.setVisible(true);
          if(e.getSource() == jbNewUserRegister){
             RegistrationForm r = new RegistrationForm();
             r.setVisible(true);
          if(e.getSource() == jbExistingUserLogOn){
             LogOn logOn = new LogOn();
             logOn.setVisible(true);
          if(e.getSource() == jbAdministratorExitTheSystem){
             System.exit(0);
          if(e.getSource() == jbNewUserExitTheSystem){
             System.exit(0);
          if(e.getSource() == jbExistingUserExitTheSystem){
             System.exit(0);
       public static void main(String[] args){
          new HomeEntertainment();
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class LogOn extends JFrame{
       JPanel pnlBody, pnlFooter;
       JLabel unLabel = new JLabel("Username: ");
       JLabel pwLabel = new JLabel("Password: ");
       JTextField jtfUN = new JTextField(20);
       JPasswordField jtfPW = new JPasswordField(20);
       JButton jbOK = new JButton("OK");
       JButton jbCancel = new JButton("Cancel");
       Container contentpane;
       public LogOn(){
          super("Welcome to Home Entertainment");
          contentpane = getContentPane();
          contentpane.setLayout(new BorderLayout());
          pnlBody = new JPanel();
          pnlFooter = new JPanel();
          pnlBody.add(unLabel);
          pnlBody.add(jtfUN);
          pnlBody.add(pwLabel);
          pnlBody.add(jtfPW);
          pnlFooter.add(jbOK);
          pnlFooter.add(jbCancel);
          contentpane.add(pnlBody,BorderLayout.NORTH);
          contentpane.add(pnlFooter,BorderLayout.CENTER);
          pack();
          setVisible(true);
          jbOK.addActionListener(new ActionListener(){
             public void actionPerformed(ActionEvent e){
                String username;
                String password;
                String[] userUsernameArray = {"Ann Smyth", "John Murphy"};
                String[] userPasswordArray = {"1", "2"};
                String[] adminUsernameArray = {"Administrator"};
                String[] adminPasswordArray = {"0"};
                username = jtfUN.getText().trim();
                password = new String(jtfPW.getPassword());
                if(username.equals(userUsernameArray) && password.equals(userPasswordArray)){
                   setVisible(false);     
                   UserMainMenu umm = new UserMainMenu();
                   umm.setVisible(true);
                else{
                     JOptionPane.showMessageDialog(null, "Error\n\nYou have entered an incorrect username and/or password\nPlease try again", null, JOptionPane.ERROR_MESSAGE);
                if(username.equals(adminUsernameArray) && password.equals(adminPasswordArray)){
                   setVisible(false);     
                   AdminMainMenu amm = new AdminMainMenu();
                   amm.setVisible(true);
                else{
                     JOptionPane.showMessageDialog(null, "Error\n\nYou have entered an incorrect username and/or password\nPlease try again", null, JOptionPane.ERROR_MESSAGE);
          jbCancel.addActionListener(new ActionListener(){
             public void actionPerformed(ActionEvent e){
                setVisible(false);
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class AdminMainMenu extends JFrame{
       JPanel pnlBody;
       JButton btnOrderSystem = new JButton("Order System");
       JButton btnMaintenance = new JButton("Maintenance");
       JButton btnAdminLogOff = new JButton("Log Off");
       Container contentpane;
       public AdminMainMenu(){
          super("Main Menu");
          contentpane = getContentPane();
          contentpane.setLayout(new BorderLayout());
          pnlBody = new JPanel();
          pnlBody.add(btnOrderSystem);
          pnlBody.add(btnMaintenance);
          pnlBody.add(btnAdminLogOff);
          contentpane.add(pnlBody,BorderLayout.CENTER);
          pack();
          setVisible(true);
          btnOrderSystem.addActionListener(new ActionListener(){
             public void actionPerformed(ActionEvent e){
                setVisible(false);  
                //OrderSystem os = new OrderSystem();
                //os.setVisible(true);    
          btnMaintenance.addActionListener(new ActionListener(){
             public void actionPerformed(ActionEvent e){
                setVisible(false);  
                //Maintenance m = new Maintenance();
                //m.setVisible(true);    
          btnAdminLogOff.addActionListener(new ActionListener(){
             public void actionPerformed(ActionEvent e){
                int result;
                result = JOptionPane.showConfirmDialog(null, "Are you sure you want to log off?", null, JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);
                if(result == JOptionPane.YES_OPTION){
                   setVisible(false);
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class UserMainMenu extends JFrame{
       JPanel pnlBody;
       JButton btnUserProductMenu = new JButton("Product Menu");
       JButton btnUserMemberMenu = new JButton("Member Menu");
       JButton btnUserRentalMenu = new JButton("Rental Menu");
       JButton btnUserLogOff = new JButton("Log Off");
       Container contentpane;
       public UserMainMenu(){
          super("Main Menu");
          contentpane = getContentPane();
          contentpane.setLayout(new BorderLayout());
          pnlBody = new JPanel();
          pnlBody.add(btnUserProductMenu);
          pnlBody.add(btnUserMemberMenu);
          pnlBody.add(btnUserRentalMenu);
          pnlBody.add(btnUserLogOff);
          contentpane.add(pnlBody,BorderLayout.CENTER);
          pack();
          setVisible(true);
          btnUserProductMenu.addActionListener(new ActionListener(){
             public void actionPerformed(ActionEvent e){
                setVisible(false); 
                //UserProductMenu upm = new UserProductMenu();
                //upm.setVisible(true);    
          btnUserMemberMenu.addActionListener(new ActionListener(){
             public void actionPerformed(ActionEvent e){
                setVisible(false); 
                //UserMemberMenu umm = new UserMemberMenu();
                //umm.setVisible(true);  
          btnUserRentalMenu.addActionListener(new ActionListener(){
             public void actionPerformed(ActionEvent e){
                setVisible(false); 
                //UserRentalMenu urm = new UserRentalMenu();
                //urm.setVisible(true);  
          btnUserLogOff.addActionListener(new ActionListener(){
             public void actionPerformed(ActionEvent e){
                int result;
                result = JOptionPane.showConfirmDialog(null, "Are you sure you want to log off?", null, JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);
                if(result == JOptionPane.YES_OPTION){
                   setVisible(false);
    }

    See my answer in your other posting on this topic.
    Please don't start new threads on the same problem; if you have new information (or a better code sample), just continue in the original thread.

  • Exchange Edge clone config import in Exchange Management shell throws error "You cannot call a method on a null-valued expression"

    Hi All,
    During the Coexistence of Exchange 2007 to 2010 Migration..
    I have create new Edge Scubscription in Edge Server 1 and Export the Edge Configuration File from Edge Server 1.
    While trying to Import Edge configuration to Edge Server 2 in Exchange Management Shell, I am getting the below Error.
    I have tried importing on both Exchange 2007 and 2010 Edge Servers, getting the same error.
    "Importing Edge configuration information Failed.
    Reason: You cannot call a method on a null-valued expression."
    Please help in resolving this issue...

    Also found the CloneLogFile as below : I masked my domain name as xxx for security reason..
    Get-TransportServer -Identity:xxx | Set-TransportServer -AntispamAgentsEnabled:$true -ConnectivityLogEnabled:$false -ConnectivityLogMaxAge '30.00:00:00' -ConnectivityLogMaxDirectorySize '250MB' -ConnectivityLogMaxFileSize '10MB' -ConnectivityLogPath 'C:\Program
    Files\Microsoft\Exchange Server\TransportRoles\Logs\Connectivity' -DelayNotificationTimeout '04:00:00' -ExternalDelayDsnEnabled:$true -ExternalDNSAdapterEnabled:$true -ExternalDNSAdapterGuid '00000000-0000-0000-0000-000000000000' -ExternalDNSProtocolOption
    'Any' -ExternalDNSServers:$null -ExternalIPAddress:$null -ExternalDsnDefaultLanguage 'en-US' -ExternalDsnLanguageDetectionEnabled:$true -ExternalDsnMaxMessageAttachSize '10MB' -ExternalDsnSendHtml:$true -InternalDelayDsnEnabled:$true -InternalDNSAdapterEnabled:$true
    -InternalDNSAdapterGuid '00000000-0000-0000-0000-000000000000' -InternalDNSProtocolOption 'Any' -InternalDNSServers:$null -InternalDsnDefaultLanguage 'en-US' -InternalDsnLanguageDetectionEnabled:$true -InternalDsnMaxMessageAttachSize '10MB' -InternalDsnSendHtml:$true
    -MaxConcurrentMailboxDeliveries '7' -MaxConcurrentMailboxSubmissions '20' -MaxConnectionRatePerMinute '1200' -MaxOutboundConnections '1000' -MaxPerDomainOutboundConnections '20' -MessageExpirationTimeout '2.00:00:00' -MessageRetryInterval '00:01:00' -MessageTrackingLogEnabled:$true
    -MessageTrackingLogMaxAge '30.00:00:00' -MessageTrackingLogMaxDirectorySize '1GB' -MessageTrackingLogMaxFileSize '10MB' -MessageTrackingLogPath 'C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs\MessageTracking' -MessageTrackingLogSubjectLoggingEnabled:$true
    -OutboundConnectionFailureRetryInterval '00:30:00' -IntraOrgConnectorProtocolLoggingLevel 'None' -PickupDirectoryMaxHeaderSize '64KB' -PickupDirectoryMaxMessagesPerMinute '100' -PickupDirectoryMaxRecipientsPerMessage '100' -PickupDirectoryPath 'C:\Program
    Files\Microsoft\Exchange Server\TransportRoles\Pickup' -PipelineTracingEnabled:$false -ContentConversionTracingEnabled:$false -PipelineTracingPath 'C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs\PipelineTracing' -PipelineTracingSenderAddress:$null
    -PoisonMessageDetectionEnabled:$true -PoisonThreshold '2' -QueueMaxIdleTime '00:03:00' -ReceiveProtocolLogMaxAge '30.00:00:00' -ReceiveProtocolLogMaxDirectorySize '250MB' -ReceiveProtocolLogMaxFileSize '10MB' -ReceiveProtocolLogPath 'C:\Program Files\Microsoft\Exchange
    Server\TransportRoles\Logs\ProtocolLog\SmtpReceive' -RecipientValidationCacheEnabled:$true -ReplayDirectoryPath 'C:\Program Files\Microsoft\Exchange Server\TransportRoles\Replay' -RoutingTableLogMaxAge '7.00:00:00' -RoutingTableLogMaxDirectorySize '50MB' -RoutingTableLogPath
    'C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs\Routing' -SendProtocolLogMaxAge '30.00:00:00' -SendProtocolLogMaxDirectorySize '250MB' -SendProtocolLogMaxFileSize '10MB' -SendProtocolLogPath 'C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs\ProtocolLog\SmtpSend'
    -TransientFailureRetryCount '6' -TransientFailureRetryInterval '00:10:00'
    New-AcceptedDomain -DomainName 'xxx' -DomainType 'Authoritative' -Name 'xxx'
    Set-AcceptedDomain -DomainType 'Authoritative' -AddressBookEnabled:$true -Name 'xxx'
    Importing Edge configuration information Failed.
    Reason: You cannot call a method on a null-valued expression.

  • Wtmpx log rotated

    Hi,
    I have a problem identifying how the wtmpx log being trimmed / null daily.
    Everyday the output of 'last' command only display the login of the current day not the previous days.
    How could I set that daily the wtmpx file is being copied to other file such as /var/adm/wtmpx.0
    Fyi,
    OS: Solaris 9
    SUNWjass 4.2.0 installed
    logadm configured as cron : "10 3 * * * /usr/sbin/logadm"
    content of /etc/logadm.conf:
    /var/log/syslog -C 8 -P 'Tue Jun 27 19:10:00 2006' -a 'kill -HUP at /var/run/syslog.pid`'
    /var/adm/messages -C 4 -P 'Mon Mar 26 19:10:00 2007' -a 'kill -HUP `cat /var/run/syslog.pid`'
    /var/cron/log -P 'Sat Feb 24 19:10:00 2007' -c -s 10240k -t /var/cron/olog
    /var/lp/logs/lpsched -C 2 -N -P 'Mon Mar 26 19:10:00 2007' -t '$file.$N'
    # The entry below is used by turnacct(1M)
    /var/adm/pacct -C 0 -N -P 'Mon Apr 2 09:00:00 2007' a '/usr/lib/acct/accton pacct' -g adm -m 664 -o adm -p never
    Thx

    Hi,
    I guess the wtmpx files get truncated daily is due to the accouting process running daily by cronjob logadm process and specified in the /etc/logadm.conf file.
    Thus the workaround is to make copies of wtmpx daily.
    How could I create daily wtmpx copies (wtmpx.0, wtmpx.1 ...) up to 6 months and move it to other directories?
    Thanks and cheers

  • Weblogic Gc Logs Rotation Daily

    Hi all,
    I am generated gc.log.But i want to rotate new gc.log file for that day in web logic 9.2.How to rotate new gc.log file for that day?.But i don't want delete old gc.log file.I want old gc.log file rename to previous day date.help me
    Thanks & Regards,
    J Manivel

    Hi Manivel,
    Save this below file as log.sh
    log_path="/opt/app/weblogic/"
    source_path="/var/log/"
    cd $log_path
    date=`date +%d%m%y`
    cp gc.log gc.log_$date
    *>gc.log*
    mv gc.log_* $source_path
    Just change log_path and source_path,can place anywhere on server,
    Execute it as ./log.sh
    You can set it on cron to execute it daily.
    for example:assuming you have saved the file in /opt/monitoring
    58 23 * * * /opt/monitoring/log.sh > /dev/null &
    Regards,
    Fabian

  • [svn:fx-trunk] 5806: Fix null pointer reported by the doc team.

    Revision: 5806
    Author: [email protected]
    Date: 2009-03-31 10:03:36 -0700 (Tue, 31 Mar 2009)
    Log Message:
    Fix null pointer reported by the doc team.
    QE Notes: None.
    Doc Notes: None.
    tests: checkintests, asdoc tests
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va

  • Null problems.

    package stream;
    import java.io.ByteArrayOutputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    public class OutputHandler {
            byte[] bytes = new byte[]{1,2,3,4,5};
            ByteArrayOutputStream baos = null;
            OutputHandler(){
                int b = 0;
                if (/*how do i check if baos is null or not?*/){
                    b = baos.size();
                baos.write(bytes, baos.size(), bytes.length);
                System.out.println(baos.size());
                System.out.println(bytes.length);
            public void Write(String fn){
                FileOutputStream fos = null;
                try {
                    fos = new FileOutputStream(fn);
                    baos.writeTo(fos);
                } catch (IOException ex) {
                    Logger.getLogger(OutputHandler.class.getName()).log(Level.SEVERE, null, ex);
                } finally {
                    try {
                        fos.close();
                    } catch (IOException ex) {
                        Logger.getLogger(OutputHandler.class.getName()).log(Level.SEVERE, null, ex);
            public static void main(String[] args)
                OutputHandler oh = new OutputHandler();
                oh.Write("bla.dat");
    }I can't call .size on an empty ByteArrayOutputStream, it throws a Null Pointer Exception. so, how do i check if it's empty so I can use a 0 for the offset instead?
    thanks in advance,
    Hans

    I can't call .size on an empty ByteArrayOutputStreamYes you can.
    , it throws a Null Pointer Exception. No it doesn't. It returns 0. A null reference, not an empty baos, throws the exception.
    BAOS baos1 = null; // null reference. Not the same as object with empty buffer
    BAOS baos2 = new ByteArrayOutputStream(0); // BAOS with "empty" (size zero) buffer.
    int size1 = baos1.size(); // NPE.
    if (baos1 == null) {
      // it's null
    int size2 = baos2.size(); // returns zero.

Maybe you are looking for

  • Segment not derived if PC is different - New GL Migration

    Hi, My client has acivated to New GL so I'm creating program to migrate existing docs. I have created a Zprogram in which I have used the standard function module 'G_BEB_SPLIT_DOCUMENT'. This function module is used to split document and also derives

  • TES 6.1.x - how do you tell what DB is used by ClientMgr?

    We just externalized the Client Mgr DB to Oracle, updated config files, etc. How do you tell what db is using - Derby or Oracle?        

  • Uprgaded to 6.0.4, now my computer runs like a turtle

    I just upgraded from itunes 5 to 6.0.4 Now my CPU usage is thru the roof and programs take forever to open up. Even tasks as simple as switching windows to other app's take a few seconds. I have 1GB of RAM i don't understand why this is happening but

  • Oracle Form URL with content root's children directories path?

    Hi All In this case , we try to add children directories under default form path ( ex: Oracle_FRHome1/forms/DEPT_001/xx001_01.fmx  and Oracle_FRHome1/forms/DEPT_002/xx002_01.fmx  ) but there are so many children directories in our legacy systems, so

  • Join parent with child on nested object table

    We made a nested table in Oracle 8i with two object types and collection type. We manipulating with it - no problem. However trying to join parent with the child cause the problem in PL/SQL This sintax is OK for Oracle SQL and returns right result: s