Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Error opening Gnome Planner project file

Help
2007-11-05
2013-05-15
  • When I tried to open Gnome Planner file, I chose "Gnome Planner (*.planner)" for "Files of Type" field in Open dialog but the file didn't show up. I have to choose "All Files" to see my xxx.planner file.

    After clicked Open my planner file, OpenProj hang. This is the error details in console:

    =============================================================
    Nov 5, 2007 7:05:19 AM com.projity.contrib.util.Log info
    INFO: Reading configuration from jar:file:/usr/share/openproj/openproj.jar!/com/projity/configuration/configuration.xml Mon Nov 05 07:05:18 GMT 2007
    Nov 5, 2007 7:05:24 AM com.projity.contrib.util.Log info
    INFO: Done reading configuration from jar:file:/usr/share/openproj/openproj.jar!/com/projity/configuration/configuration.xml Mon Nov 05 07:05:24 GMT 2007
    Nov 5, 2007 7:05:25 AM com.projity.contrib.util.Log info
    INFO: Reading configuration from jar:file:/usr/share/openproj/openproj.jar!/com/projity/configuration/view.xml Mon Nov 05 07:05:25 GMT 2007
    Nov 5, 2007 7:05:26 AM com.projity.contrib.util.Log info
    INFO: Done reading configuration from jar:file:/usr/share/openproj/openproj.jar!/com/projity/configuration/view.xml Mon Nov 05 07:05:26 GMT 2007
    Nov 5, 2007 7:07:38 AM com.projity.contrib.util.Log info
    INFO: doing file import
    Exception in thread "loadProject" java.lang.InternalError: com.sun.msv.datatype.xsd.XSDatatypeImpl; local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID = 4450432194318937500
            at com.sun.xml.bind.unmarshaller.DatatypeDeserializer.deserialize(DatatypeDeserializer.java:45)
            at net.sf.mpxj.planner.schema.impl.TaskImpl.<clinit>(TaskImpl.java:32)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
            at java.lang.Class.newInstance0(Class.java:355)
            at java.lang.Class.newInstance(Class.java:308)
            at net.sf.mpxj.planner.schema.impl.runtime.AbstractUnmarshallingEventHandlerImpl.spawnChild(AbstractUnmarshallingEventHandlerImpl.java:201)
            at net.sf.mpxj.planner.schema.impl.runtime.AbstractUnmarshallingEventHandlerImpl.spawnChildFromEnterElement(AbstractUnmarshallingEventHandlerImpl.java:215)
            at net.sf.mpxj.planner.schema.impl.TasksImpl$Unmarshaller.enterElement(TasksImpl.java:153)
            at net.sf.mpxj.planner.schema.impl.runtime.SAXUnmarshallerHandlerImpl.startElement(SAXUnmarshallerHandlerImpl.java:125)
            at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527)
            at com.sun.xml.bind.unmarshaller.InterningXMLReader.startElement(InterningXMLReader.java:89)
            at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:192)
            at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:235)
            at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:198)
            at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:235)
            at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:198)
            at com.sun.xml.bind.unmarshaller.DOMScanner.parse(DOMScanner.java:87)
            at net.sf.mpxj.planner.schema.impl.runtime.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168)
            at net.sf.mpxj.planner.PlannerReader.read(PlannerReader.java:114)
            at com.projity.exchange.MicrosoftImporter$1.run(Unknown Source)
            at com.projity.job.Job$InternalRunnable.run(Unknown Source)
            at com.projity.job.Job.runSwing(Unknown Source)
            at com.projity.job.Job.runThread(Unknown Source)
            at com.projity.job.Job.run(Unknown Source)
            at com.projity.job.Job.run(Unknown Source)
    =============================================================

     
    • Howard Katz
      Howard Katz
      2007-11-24

      sorry - our current implementation of that import uses a beta (and forked) version of mpxj. we have to update to the latest mpxj and maybe it's resolved

       
      • Robsteranium
        Robsteranium
        2008-02-06

        Using the v1.0 debian package (xubuntu 7.10) I get:

        Feb 6, 2008 4:45:00 PM com.projity.contrib.util.Log info
        INFO: doing file import
        Exception in thread "loadProject" java.lang.NoClassDefFoundError: Could not initialize class net.sf.mpxj.planner.schema.impl.TaskImpl
                at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
                at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
                at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
                at java.lang.Class.newInstance0(Class.java:355)
                at java.lang.Class.newInstance(Class.java:308)
                at net.sf.mpxj.planner.schema.impl.runtime.AbstractUnmarshallingEventHandlerImpl.spawnChild(AbstractUnmarshallingEventHandlerImpl.java:201)
                at net.sf.mpxj.planner.schema.impl.runtime.AbstractUnmarshallingEventHandlerImpl.spawnChildFromEnterElement(AbstractUnmarshallingEventHandlerImpl.java:215)
                at net.sf.mpxj.planner.schema.impl.TasksImpl$Unmarshaller.enterElement(TasksImpl.java:153)
                at net.sf.mpxj.planner.schema.impl.runtime.SAXUnmarshallerHandlerImpl.startElement(SAXUnmarshallerHandlerImpl.java:125)
                at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527)
                at com.sun.xml.bind.unmarshaller.InterningXMLReader.startElement(InterningXMLReader.java:89)
                at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:192)
                at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:235)
                at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:198)
                at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:235)
                at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:198)
                at com.sun.xml.bind.unmarshaller.DOMScanner.parse(DOMScanner.java:87)
                at net.sf.mpxj.planner.schema.impl.runtime.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168)
                at net.sf.mpxj.planner.PlannerReader.read(PlannerReader.java:114)
                at com.projity.exchange.MicrosoftImporter$1.run(Unknown Source)
                at com.projity.job.Job$InternalRunnable.run(Unknown Source)
                at com.projity.job.Job.runSwing(Unknown Source)
                at com.projity.job.Job.runThread(Unknown Source)
                at com.projity.job.Job.run(Unknown Source)
                at com.projity.job.Job.run(Unknown Source)

         
        • There was a simple Error into the FileFilter for Gnome Planner files.
          The error is located into the FileHelper.java

          the right file filter impl is:
          final FileFilter plannerFilter=new FileFilter(){
             public boolean accept(File f){
              boolean isAllowed;
              String n = f.getName().toLowerCase();
              if (save) isAllowed=false;
                  // first the check was n.endsWith("*.planner");
              else isAllowed=n.endsWith(".planner");           
              return f.isDirectory()||isAllowed;
             }
             public String getDescription(){
                  return Messages.getString("File.planner")+" (*.planner)";
             }
             
          };

          When i get other times i would to let the apps be able to import gnome planner files.

           
    • d g
      d g
      2009-07-30

      I don't know if this problem was ever fixed, but this same problem is evident in version 1.4 (deb and windows versions) nearly two years after the original posting.  Please consider removing this feature of importing planner files if you can't display them in the open dialog box nor process them after selecting them.

       
  • Vito Ianniello
    Vito Ianniello
    2009-09-25

    I have the same problem in the windows version.
    Did I understood, that this problem is unresolved since 2 years?
    Maybe my english is not so perfect as it has to be. I only want to test &gt;openproj&lt; to use it in our company, in collaboration with external services.
    But this seems to be not work?
    Thanks for an actual feedback.