Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] Another AJDT bug

Yep this is a known bug in MyEclipse
 
Ron

________________________________

From: aspectj-users-bounces@xxxxxxxxxxx on behalf of Ron DiFrango
Sent: Wed 11/16/2005 9:10 AM
To: aspectj-users@xxxxxxxxxxx; aspectj-users@xxxxxxxxxxx
Subject: RE: [aspectj-users] Another AJDT bug



Andy,

I am on windows.  But given what you said, I attempted to do a jar tvf and got the following exception:

java.io.EOFException: Unexpected end of ZLIB input stream
        at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:216)
        at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134)
        at java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
        at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:91)
        at sun.tools.jar.Main.list(Main.java:743)
        at sun.tools.jar.Main.run(Main.java:191)
        at sun.tools.jar.Main.main(Main.java:903)

So maybe it is not AJDT after all.

Ron


________________________________

From: aspectj-users-bounces@xxxxxxxxxxx on behalf of Andy Clement
Sent: Wed 11/16/2005 8:55 AM
To: aspectj-users@xxxxxxxxxxx
Subject: Re: [aspectj-users] Another AJDT bug



:(  thats the only two reasons I've seen this happen before...  there
is an open bug on it but it is marked posted 1.5.0 - I will probably
raised it for 1.5.0 fixing based on you also hitting it.  Anything
else you can add about your situation?  Are you on windows? (original
problem was reported on solaris) - are you using any compiler options
like inpath/outjar or aspectpath? (Are you even able to tell or is it
hidden inside the myeclipse spring stuff?)

Does the jar open ok when not using AspectJ - you can 'jar -tvf' on it
to list its contents?

Andy.

On 16/11/05, Ron DiFrango <rdifrango@xxxxxxxxxxxxxxxxxxx> wrote:
> Andy,
>
> There is no outjar on the class path and db-ojb-1.0.3.jar IS NOT null.  This is coming out of MyEclipse Spring support project.
>
> Ron
>
> ________________________________
>
> From: aspectj-users-bounces@xxxxxxxxxxx on behalf of Andy Clement
> Sent: Wed 11/16/2005 3:20 AM
> To: aspectj-users@xxxxxxxxxxx
> Subject: Re: [aspectj-users] Another AJDT bug
>
>
>
> Ron,
>
> Do you by any chance have your outjar on your classpath ?  Or is the
> the jar which is mentioned (db-ojb-1.0.3.jar) 0 bytes in size?
>
> Andy.
>
> On 16/11/05, Ron DiFrango <rdifrango@xxxxxxxxxxxxxxxxxxx> wrote:
> > I downloaded the latest AJDT [below are versions] and I got the exception below:
> >
> > Eclipse SDK
> >
> > Version: 3.1.0
> >
> > Build id: I20050627-1435
> >
> > Eclipse AspectJ Development Tools
> >
> > Version: 1.3.0
> >
> > Build id: 20051114172213
> >
> > AspectJ version: 1.5.0.20051107153637
> >
> > And I get the following:
> >
> > org.aspectj.weaver.BCException
> > at org.aspectj.weaver.bcel.ClassPathManager$ZipFileEntry.ensureOpen(ClassPathManager.java:253)
> > at org.aspectj.weaver.bcel.ClassPathManager$ZipFileEntry.find(ClassPathManager.java:225)
> > at org.aspectj.weaver.bcel.ClassPathManager.find(ClassPathManager.java:92)
> > at org.aspectj.weaver.bcel.BcelWorld.lookupJavaClass(BcelWorld.java:270)
> > at org.aspectj.weaver.bcel.BcelWorld.resolveDelegate(BcelWorld.java:245)
> > at org.aspectj.weaver.World.resolveToReferenceType(World.java:296)
> > at org.aspectj.weaver.World.resolve(World.java:213)
> > at org.aspectj.weaver.World.resolve(World.java:134)
> > at org.aspectj.ajdt.internal.compiler.lookup.EclipseFactory.fromEclipse(EclipseFactory.java:129)
> > at org.aspectj.ajdt.internal.compiler.lookup.AjLookupEnvironment.weaveInterTypeDeclarations(AjLookupEnvironment.java:493)
> > at org.aspectj.ajdt.internal.compiler.lookup.AjLookupEnvironment.weaveInterTypeDeclarations(AjLookupEnvironment.java:483)
> > at org.aspectj.ajdt.internal.compiler.lookup.AjLookupEnvironment.createBinaryTypeFrom(AjLookupEnvironment.java:912)
> > at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.createBinaryTypeFrom(LookupEnvironment.java:480)
> > at org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.accept(Compiler.java:190)
> > at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:137)
> > at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getTypeOrPackage(PackageBinding.java:178)
> > at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.findImport(CompilationUnitScope.java:413)
> > at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.findSingleImport(CompilationUnitScope.java:466)
> > at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.faultInImports(CompilationUnitScope.java:331)
> > at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.faultInTypes(CompilationUnitScope.java:400)
> > at org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:507)
> > at org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:329)
> > at org.aspectj.ajdt.internal.core.builder.AjBuildManager.performCompilation(AjBuildManager.java:799)
> > at org.aspectj.ajdt.internal.core.builder.AjBuildManager.doBuild(AjBuildManager.java:229)
> > at org.aspectj.ajdt.internal.core.builder.AjBuildManager.batchBuild(AjBuildManager.java:155)
> > at org.aspectj.ajde.internal.CompilerAdapter.compile(CompilerAdapter.java:122)
> > at org.aspectj.ajde.internal.AspectJBuildManager$CompilerThread.run(AspectJBuildManager.java:191)
> >
> > BCException thrown: Can't open archive: db-ojb-1.0.3.jar
> > when weaving intertype declarations VelocityEngine
> > when processing compilation unit C:\Documents and Settings\rdifrango\workspace\Tim Migration\src\com\tascon\db\migration\DatabaseMigration.java
> > when batch building BuildConfig[C:\Documents and Settings\rdifrango\workspace\.metadata\.plugins\org.eclipse.ajdt.core\Tim Migration.generated.lst] #Files=1
> >
> >
> >
> > _______________________________________________
> > aspectj-users mailing list
> > aspectj-users@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/aspectj-users
> >
> >
> >
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
>
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users


_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users




Back to the top