[Personalbackup-users] Re: Re: 2 Bugs found
Status: Beta
Brought to you by:
linuxtuxie
From: Raf <mil...@ho...> - 2006-01-24 22:08:55
|
Kind LinuxTuxie and list's members I've dumped the PG database. I'm attaching the text file to this mesage, hope the list won't cut it. Here is the Java console output with DEBUG=1: ReadParams() - Setting Debug to 1 init() - URLBase: http://192.168.0.5:80/personalbackup/ ReadParams() - Reading Parameters... ReadParams() - Setting FileMode to 0 ReadParams() - Setting BackgroundColor to java.awt.Color[r=229,g=229,b=229] ReadParams() - Setting FormField to document.changeform.folders ReadParams() - Setting ShareName to public ReadParams() - Setting MachineName to m100 ReadParams() - Setting DBMFile to /tmp/3723ea47aee8614c8cabdabfa9ae6aa3.dbm LoadIcons() - Loading Icons... LoadIcons() - Loading MachineIcon from http://192.168.0.5:80/personalbackup/images/net-mypc.gif LoadIcons() - Loading DriveIcon from http://192.168.0.5:80/personalbackup/images/drive-shared.gif LoadIcons() - Loading OnIcon from http://192.168.0.5:80/personalbackup/images/on_box.gif LoadIcons() - Loading OffIcon from http://192.168.0.5:80/personalbackup/images/off_box.gif LoadIcons() - Loading DisabledIcon from http://192.168.0.5:80/personalbackup/images/disabled_box.gif LoadIcons() - Loading PartialIcon from http://192.168.0.5:80/personalbackup/images/partial_box.gif LoadIcons() - Loading ProtectedIcon from http://192.168.0.5:80/personalbackup/images/protected_box.gif LoadIcons() - Loading FileIcon from http://192.168.0.5:80/personalbackup/images/file.gif LoadIcons() - Loading BadFileIcon from http://192.168.0.5:80/personalbackup/images/badfile.gif LoadIcons() - Loading SkipFileIcon from http://192.168.0.5:80/personalbackup/images/skipfile.gif LoadIcons() - Loading LimitFileIcon from http://192.168.0.5:80/personalbackup/images/limitfile.gif LoadIcons() - Loading FolderOpenIcon from http://192.168.0.5:80/personalbackup/images/folder-open.gif LoadIcons() - Loading FolderCloseIcon from http://192.168.0.5:80/personalbackup/images/folder-closed.gif getChildrenFromServer(FileTreeNode, String) - Fetching from server http://192.168.0.5:80/personalbackup/tree.cgi?dbmfile=/tmp/3723ea47aee8614c8cabdabfa9ae6aa3.dbm&share_name=public&folder= DecodeData(FileTreeNode, String) - Error in DecodeData routine: java.util.NoSuchElementException java.lang.NullPointerException: Null child not allowed at javax.swing.tree.TreePath.pathByAddingChild(Unknown Source) at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.setParent(Unknown Source) at javax.swing.tree.DefaultMutableTreeNode.insert(Unknown Source) at javax.swing.tree.DefaultMutableTreeNode.add(Unknown Source) at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Unknown Source) at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Unknown Source) at javax.swing.tree.VariableHeightLayoutCache.rebuild(Unknown Source) at javax.swing.tree.VariableHeightLayoutCache.setModel(Unknown Source) at javax.swing.plaf.basic.BasicTreeUI.setModel(Unknown Source) at javax.swing.plaf.basic.BasicTreeUI$Handler.propertyChange(Unknown Source) at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) at java.awt.Component.firePropertyChange(Unknown Source) at javax.swing.JTree.setModel(Unknown Source) at javax.swing.JTree.<init>(Unknown Source) at javax.swing.JTree.<init>(Unknown Source) at javax.swing.JTree.<init>(Unknown Source) at TreeView.init(TreeView.java:151) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Hope it helps Regards Raf ----- Original Message ----- From: "linuxtuxie" <lin...@sf...> To: "Raf" <mil...@ho...> Cc: <per...@li...> Sent: Tuesday, January 24, 2006 8:05 PM Subject: Re: [Personalbackup-users] 2 Bugs found > Raf wrote: >> Kind Developers and List's Members >> >> I've installed today Personalbackup with >> poor results. >> >> My environment: >> SERVER: >> Fedora Core 2.0 >> perl-5.8.3 >> samba-3.0.10-1 >> Filesys::SmbClient 3.0 (also tested 1.5) > To make PersonalBackup work, you need to have 1.5 not 3.0 >> postgresql-7.4.2-1 >> httpd-2.0.49-4 >> Personalbackup1.01 (CVS downloaded) >> >> CLIENT: >> WinXP Pro >> Explorer 6.0 >> jre-1.5.0.06 >> >> BUG #1 >> - How to reproduce: >> Login->User management->change any value->press Update >> - Output: >> DATABASE ERROR: >> QUERY: UPDATE users SET admin = ?, realname = ?, language = ?, >> emailadres = ? WHERE id = ? >> ERROR: ERROR: invalid input syntax for type bigint: ""DATABASE ERROR: >> QUERY: SELECT u.username , u.admin , u.realname , u.emailadres , >> u.language FROM users u WHERE u.id = '' >> ERROR: ERROR: invalid input syntax for type bigint: ""DATABASE ERROR: >> QUERY: SELECT s.id , s.share_name , m.machine_name , m.id , >> s.maxbackupsize , s.maxvpnsize , s.vpn , s.enabled FROM machines m , >> shares s WHERE m.user_id='' AND s.machine_id=m.id ORDER BY m.machine_name >> ERROR: ERROR: invalid input syntax for type bigint: "" > > It seems that for some reason the user's id is not filled in. PostgreSQL > is expecting a bigint...and the query is showing m.user_id='' > Would it be possible to dump your databasein a file with pg_dump and > attach it to the list ? > >> >> BUG#2 >> - How to reproduce: >> Register, change or delete a share->Add new share->insert share >> data->Add >> - Output: >> samba logs show correct access to given share >> in web browser applet showing tree isn't displayed >> JAVA console reports following errors: >> ReadParams() - Setting Debug to 0 >> ReadParams() - Setting FileMode to 0 >> DecodeData(FileTreeNode, String) - Error in DecodeData routine: >> java.util.NoSuchElementException >> java.lang.NullPointerException: Null child not allowed >> at javax.swing.tree.TreePath.pathByAddingChild(Unknown Source) >> at >> javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.setParent(Unknown >> Source) >> at javax.swing.tree.DefaultMutableTreeNode.insert(Unknown Source) >> at javax.swing.tree.DefaultMutableTreeNode.add(Unknown Source) >> at >> javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Unknown >> Source) >> at >> javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Unknown >> Source) >> at javax.swing.tree.VariableHeightLayoutCache.rebuild(Unknown Source) >> at javax.swing.tree.VariableHeightLayoutCache.setModel(Unknown Source) >> at javax.swing.plaf.basic.BasicTreeUI.setModel(Unknown Source) >> at javax.swing.plaf.basic.BasicTreeUI$Handler.propertyChange(Unknown >> Source) >> at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) >> at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) >> at java.awt.Component.firePropertyChange(Unknown Source) >> at javax.swing.JTree.setModel(Unknown Source) >> at javax.swing.JTree.<init>(Unknown Source) >> at javax.swing.JTree.<init>(Unknown Source) >> at javax.swing.JTree.<init>(Unknown Source) >> at TreeView.init(TreeView.java:151) >> at sun.applet.AppletPanel.run(Unknown Source) >> at java.lang.Thread.run(Unknown Source) >> Exception in thread "thread applet-TreeView.class" >> java.lang.NullPointerException >> at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source) >> at sun.plugin.AppletViewer.showAppletException(Unknown Source) >> at sun.applet.AppletPanel.run(Unknown Source) >> at java.lang.Thread.run(Unknown Source) > > Can you set the parameter $DEBUG in > /etc/personalbackup/personalbackup.conf to '1'? > This will enable debugging, also for the java applet and should show some > more output in the java console. > > Regards, > LinuxTuxie > > -- > - PersonalBackup - > Personalbackup a company-wide solution for backing up all your Windows > machines and Samba shares. > Personalbackup uses a web frontend for the users and administrators. > No client software is needed at all to pull backups of your critical data > > - http://personalbackup.sf.net - > > |