Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

An internal error occurred during: "Opening".

2 posts in General Discussion Last posting was on 2009-04-28 01:58:03.0Z
Pieter Coene Posted on 2009-04-22 10:45:18.0Z
Sender: 4703.49eef475.1804289383@sybase.com
From: Pieter Coene
Newsgroups: sybase.public.workspace.general
Subject: An internal error occurred during: "Opening".
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <49eef53e.4727.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 22 Apr 2009 03:45:18 -0700
X-Trace: forums-1-dub 1240397118 10.22.241.41 (22 Apr 2009 03:45:18 -0700)
X-Original-Trace: 22 Apr 2009 03:45:18 -0700, 10.22.241.41
Lines: 67
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.workspace.general:845
Article PK: 1088496

Hi,

in WS 2.1, i get this error when i want to do 'Open
Declaration' on a table. I only have this error on one
database.

This is the Log:

java.lang.NullPointerException
at
org.eclipse.datatools.enablement.ase.catalog.SybaseASECatalogColumn.getInlineDefault(Unknown
Source)
at
org.eclipse.datatools.enablement.ase.catalog.SybaseASECatalogColumn.loadInlineDefault(Unknown
Source)
at
org.eclipse.datatools.enablement.ase.catalog.SybaseASECatalogColumn.getDefaultValue(Unknown
Source)
at
org.eclipse.datatools.enablement.ase.catalog.SybaseASECatalogColumn.eIsSet(Unknown
Source)
at
org.eclipse.emf.ecore.util.EcoreUtil$Copier.copyAttribute(EcoreUtil.java:576)
at
org.eclipse.emf.ecore.util.EcoreUtil$Copier.copy(EcoreUtil.java:470)
at
com.sybase.stf.dmp.tableeditor.privileges.CustomizedCopier.copy(Unknown
Source)
at
org.eclipse.emf.ecore.util.EcoreUtil$Copier.copyAll(EcoreUtil.java:447)
at
org.eclipse.emf.ecore.util.EcoreUtil$Copier.copyContainment(EcoreUtil.java:556)
at
org.eclipse.emf.ecore.util.EcoreUtil$Copier.copy(EcoreUtil.java:477)
at
com.sybase.stf.dmp.tableeditor.privileges.CustomizedCopier.copy(Unknown
Source)
at
org.eclipse.datatools.sqltools.schemaobjecteditor.model.AbstractSchemaObjectEditModel.cloneSQLObjects(Unknown
Source)
at
org.eclipse.datatools.sqltools.schemaobjecteditor.model.AbstractSchemaObjectEditModel.generateEditModel(Unknown
Source)
at
org.eclipse.datatools.sqltools.schemaobjecteditor.model.AbstractSchemaObjectEditModel.<init>(Unknown
Source)
at
com.sybase.stf.dmp.ase.editors.tableeditor.model.ASETableSchemaEditModel.<init>(Unknown
Source)
at
com.sybase.stf.dmp.ui.actions.EditASETableSchemaAction.run(Unknown
Source)
at
org.eclipse.datatools.sqltools.schemaobjecteditor.action.EditSchemaObjectAction$OpenSchemaEditorJob.run(Unknown
Source)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


eclipse.buildId=M20080221-1800
java.version=1.5.0_15
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=nl_BE
Command-line arguments: -os win32 -ws win32 -arch x86


Greetz
Pieter


Li huang [Sybase] Posted on 2009-04-28 01:58:03.0Z
From: "Li huang [Sybase]" <lihuang@sybase.com>
Reply-To: lihuang@sybase.com
Organization: Sybase Software Co., Ltd
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
Newsgroups: sybase.public.workspace.general
Subject: Re: An internal error occurred during: "Opening".
References: <49eef53e.4727.1681692777@sybase.com>
In-Reply-To: <49eef53e.4727.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <49f662ab$1@forums-1-dub>
Date: 27 Apr 2009 18:58:03 -0700
X-Trace: forums-1-dub 1240883883 10.22.241.152 (27 Apr 2009 18:58:03 -0700)
X-Original-Trace: 27 Apr 2009 18:58:03 -0700, vip152.sybase.com
Lines: 91
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.workspace.general:848
Article PK: 1088502

Hi, Pieter:

Thanks for your reporting!

This exception will be fixed in WorkSpace 2.1.2 which will be released later.

Pieter Coene wrote:
> Hi,
>
> in WS 2.1, i get this error when i want to do 'Open
> Declaration' on a table. I only have this error on one
> database.
>
> This is the Log:
>
> java.lang.NullPointerException
> at
> org.eclipse.datatools.enablement.ase.catalog.SybaseASECatalogColumn.getInlineDefault(Unknown
> Source)
> at
> org.eclipse.datatools.enablement.ase.catalog.SybaseASECatalogColumn.loadInlineDefault(Unknown
> Source)
> at
> org.eclipse.datatools.enablement.ase.catalog.SybaseASECatalogColumn.getDefaultValue(Unknown
> Source)
> at
> org.eclipse.datatools.enablement.ase.catalog.SybaseASECatalogColumn.eIsSet(Unknown
> Source)
> at
> org.eclipse.emf.ecore.util.EcoreUtil$Copier.copyAttribute(EcoreUtil.java:576)
> at
> org.eclipse.emf.ecore.util.EcoreUtil$Copier.copy(EcoreUtil.java:470)
> at
> com.sybase.stf.dmp.tableeditor.privileges.CustomizedCopier.copy(Unknown
> Source)
> at
> org.eclipse.emf.ecore.util.EcoreUtil$Copier.copyAll(EcoreUtil.java:447)
> at
> org.eclipse.emf.ecore.util.EcoreUtil$Copier.copyContainment(EcoreUtil.java:556)
> at
> org.eclipse.emf.ecore.util.EcoreUtil$Copier.copy(EcoreUtil.java:477)
> at
> com.sybase.stf.dmp.tableeditor.privileges.CustomizedCopier.copy(Unknown
> Source)
> at
> org.eclipse.datatools.sqltools.schemaobjecteditor.model.AbstractSchemaObjectEditModel.cloneSQLObjects(Unknown
> Source)
> at
> org.eclipse.datatools.sqltools.schemaobjecteditor.model.AbstractSchemaObjectEditModel.generateEditModel(Unknown
> Source)
> at
> org.eclipse.datatools.sqltools.schemaobjecteditor.model.AbstractSchemaObjectEditModel.<init>(Unknown
> Source)
> at
> com.sybase.stf.dmp.ase.editors.tableeditor.model.ASETableSchemaEditModel.<init>(Unknown
> Source)
> at
> com.sybase.stf.dmp.ui.actions.EditASETableSchemaAction.run(Unknown
> Source)
> at
> org.eclipse.datatools.sqltools.schemaobjecteditor.action.EditSchemaObjectAction$OpenSchemaEditorJob.run(Unknown
> Source)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
>
> eclipse.buildId=M20080221-1800
> java.version=1.5.0_15
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=nl_BE
> Command-line arguments: -os win32 -ws win32 -arch x86
>
>
> Greetz
> Pieter

--
Thanks and regards,

Daniel(Li) Huang [Sybase]
WorkSpace Database Development Tooling Dev Manager

Sybase
Sybase Software (China) Co., Ltd
Room 1202-1203, Building One,
Zhangjiang Semiconductor Industry Park
3000 Longdong Avenue
Pudong, Shanghai 201203
Tel 8621-38657420
Email: lihuang@sybase.com