Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cobol-dev] how to fix some issues ?


Hi guys,

I just dl the cobol project cause I have to maintain a cobol app in a VAX environment.
I installed the plugin, created a project and a cobol source in which I have copy/paste the code of one of my .cob programs.
And I have some issue :
- the comments line aren't recognized because they are materialized with a * and not a *> ;
- the environment, data and procedure divisions are recognized in the outline but the sections are not and I just see a ? in the outline for some sections (and there is not a ? for each section) ;

So I tried to dl the source code and modify it to fix some issue (at least the comment lines) but I can't export a useful plug in fragment.
When I start my eclipse with my cobol project I can see 4 error messages saying "an internal error occured" and when I look at the detail of the error I have the lines below :

java.lang.NullPointerException
        at org.eclipse.cobol.ui.views.outlineview.COBOLParser.createElement(COBOLParser.java:1330)
        at org.eclipse.cobol.ui.views.outlineview.COBOLParser.parseFile(COBOLParser.java:947)
        at org.eclipse.cobol.ui.views.common.ViewsUtil.restoreData(ViewsUtil.java:353)
        at org.eclipse.cobol.ui.views.common.ViewsTreeModel.restoreData(ViewsTreeModel.java:139)
        at org.eclipse.cobol.ui.views.common.ViewsTreeModel.restoreState(ViewsTreeModel.java:121)
        at org.eclipse.cobol.ui.views.common.ViewsTreeModel.getPopulatedModelInstance(ViewsTreeModel.java:107)
        at org.eclipse.cobol.ui.views.common.ViewsTreeModel.getInstance(ViewsTreeModel.java:87)
        at org.eclipse.cobol.ui.views.common.ViewsUtil.initViewsModel(ViewsUtil.java:1603)
        at org.eclipse.cobol.ui.CBDTUiPlugin.startup(CBDTUiPlugin.java:195)
        at org.eclipse.core.internal.compatibility.PluginActivator.start(PluginActivator.java:50)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:958)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:954)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:937)
        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:421)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:293)
        at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:349)
        at org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin(PluginDescriptor.java:328)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.ui.internal.EarlyStartupRunnable.getPluginForCompatibility(EarlyStartupRunnable.java:140)
        at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:68)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
        at org.eclipse.core.runtime.Platform.run(Platform.java:747)
        at org.eclipse.ui.internal.Workbench$15.run(Workbench.java:1283)
        at java.lang.Thread.run(Unknown Source)


I use eclipse 3.0.1 and no additional plugin atm but I intend to use a clearcase plugin and perhaps an oracle plugin in a really near future.

Can anyone help me plz ? A simple explanation about how to export the plugin fragment would be great.

btw : I tried to use the cvs repository but my firewall doesn't allow me to reach it so I was not able to just import the plugin fragments projects.

Regards

Sebastien RATEL
Tel : 6.23.49
email : ext-sebastien.ratel@xxxxxxx

Ensemble adoptons des gestes responsables : N'imprimez ce mail que si necessaire.

 

Les informations contenues dans ce message et les pieces jointes (ci-apres denomme le message) sont confidentielles et peuvent etre couvertes par le secret professionnel. Si vous n'etes pas le destinataire de ce message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez recu ce message par erreur, nous vous remercions de le supprimer de votre systeme, ainsi que toutes ses copies, et d'en avertir immediatement HSBC France et ses filiales par message de retour. Il est impossible de garantir que les communications par messagerie electronique arrivent en temps utile, sont securisees ou denuees de toute erreur, alteration, falsification ou virus. En consequence, HSBC France et ses filiales declinent toute responsabilite du fait des erreurs, alterations, falsifications ou omissions qui pourraient en resulter.

 

Consider the environment before printing this mail.

 

The information contained in this e-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message by error, please delete it and all copies from your system and notify the sender immediately by return e-mail. E-mail communications cannot be guaranteed to be timely secure, error or virus-free. The sender does not accept liability for any errors or omissions which arise as a result.

 


Back to the top