#4 no templates

rc
closed
Rob
XSLT editor (1)
5
2003-06-14
2003-05-03
Larry Hamel
No

just trying latest 2may03 version, trying new xsl, following manual line:

To create a stylesheet, simply select 'File' then 'New XSLT' in the Ent. You will be presented with a choice of base templates to use. Choose 'Basic XML'.

but there are no templates--empty list.

windows xp

packaging problem??

larry

Discussion

  • Rob

    Rob - 2003-05-03

    Logged In: YES
    user_id=570959

    odd, works ok on windows2k - could you do me a favor and see
    if there is a file called templates.xml in the config
    directory right under the install dir for Treebeard - Also
    if not try downloading the installer again - I'll have
    access to XP in the morning and I will try to duplicate.

     
  • Rob

    Rob - 2003-05-03
    • assigned_to: nobody --> rohanr2
     
  • Rob

    Rob - 2003-05-03
    • milestone: 227560 --> rc
     
  • Larry Hamel

    Larry Hamel - 2003-05-03

    Logged In: YES
    user_id=300957

    yes, found those files.

    download 0.7 and the templates are fine there.

    larry

     
  • Loren Rosen

    Loren Rosen - 2003-05-05

    Logged In: YES
    user_id=387536

    The same thing happens on MacOSX. There is a templates.xml
    file in the config directory. The error window shows a null
    pointer exception. I can't seem to cut and paste from that
    window, so I made a screen shot. But now sourceforge doesn't
    appear to support adding attachments here.

     
  • Rob

    Rob - 2003-05-05

    Logged In: YES
    user_id=570959

    I am beginning to think it has to do with the fact that it
    expects the crimson parser to exist. If you would be so kind
    could you tell me if the syntax highlighting and everything
    else works as expected (if you still have it installed)?
    Also, do you know what version of the JRE you are running?
    If you still have the screen shot would you please send it to

    [treebeard AT robrohan DOT com]

    Thanks lorenrosen

     
  • Loren Rosen

    Loren Rosen - 2003-05-05

    Logged In: YES
    user_id=387536

    Syntax highlighting appears to work. So does the tree
    display of the input XML.

    Looking more at the error logs, I see that there are earlier
    exceptions that occur when the enting is created. I'll send
    you screen shots of both sets of errors.

    I'm running MacOSX 10.1.5, which includes Apple's port of
    the Sun 1.3.1 JDK.

     
  • Rob

    Rob - 2003-05-05

    Logged In: YES
    user_id=570959

    Coo, that might be part of the problem. 1.3.1 doesn't come
    with the crimson parser by default (I am pretty sure) 1.4
    does though. You might want to upgrade to the newer VM (it
    just came out on mac a couple months ago).

    There may be more to it, but I do recommend you upgrade if
    you can - apple menu / system prefs / check for updates.

    Well look into this more...

     
  • Loren Rosen

    Loren Rosen - 2003-05-05

    Logged In: YES
    user_id=387536

    The 1.4 JDK only runs on OSX 10.2, which costs money... I'm
    hoping I can hold out for 10.3 which comes out in the fall.

    I tried putting the crimson.jar in my Treebeard directory
    but that didn't seem to help.

     
  • Rob

    Rob - 2003-05-05

    Logged In: YES
    user_id=570959

    Ok, I have a friend who has a Mac with 10.2 - Let me try to
    figure something out - I am not 100% sure on how mac loads
    .jars too, but if you could add the crimson.jar to your
    classpath that might help.

    If you don't know how to set your classpath (I didn't) you
    can try this
    http://developer.apple.com/techpubs/macosx/Java/JavaDevelopment/overview/chapter_2_section_13.html

    I'll post back when I know more

     
  • Loren Rosen

    Loren Rosen - 2003-05-06

    Logged In: YES
    user_id=387536

    Usually OSX uses the same mechanisms as other Unix systems,
    but it looks like the application packaging here is using
    its own class loader and class path. I was able to modify
    that to look for the crimson jar, but the program then
    crashes during startup.

    Some error messages appear on the system console before the
    crash (evidently the app is directing stderr there):

    Trying to connect to jdbc:ashpool:file://config

    Connecting to: config

    Invocation of this Java Application has caused an
    InvocationTargetException. This application will now exit. (LAX)

    Stack Trace:

    java.lang.NoSuchMethodError

    at
    com.rohanclan.ashpool.core.CommandManager.executeSQLStatement(CommandManager.java:125)

    at
    com.rohanclan.ashpool.core.CommandManager.executeStatement(CommandManager.java:210)

    at
    com.rohanclan.ashpool.core.ConnectionManager.executeStatement(ConnectionManager.java:58)

    at
    com.rohanclan.ashpool.jdbc.Statement.executeQuery(Statement.java:358)

    at com.robrohan.tools.AshpoolDB.executeQuery(AshpoolDB.java:42)

    at com.robrohan.fangorn.Fangorn.<init>(Fangorn.java:64)

    at com.robrohan.fangorn.Fangorn.main(Fangorn.java:490)

    at java.lang.reflect.Method.invoke(Native Method)

    at com.zerog.lax.LAX.launch(Unknown Source)

    at com.zerog.lax.LAX.main(Unknown Source)

    at java.lang.reflect.Method.invoke(Native Method)

    at
    com.apple.buckyball.app.LaunchRunner.run(LaunchRunner.java:82)

    at
    com.apple.buckyball.app.LaunchRunner.callMain(LaunchRunner.java:44)

    at
    com.apple.buckyball.app.CarbonLibApp.launch(CarbonLibApp.java:67)

    GUI-

    java.lang.NoClassDefFoundError: ZeroGfo

    at ZeroGq.show(Unknown Source)

    at java.awt.Component.show(Component.java:946)

    at java.awt.Component.setVisible(Component.java:903)

    at ZeroGq.setVisible(Unknown Source)

    at com.zerog.lax.LAX.showExceptionDialog(Unknown Source)

    at com.zerog.lax.LAX.launch(Unknown Source)

    at com.zerog.lax.LAX.main(Unknown Source)

    at java.lang.reflect.Method.invoke(Native Method)

    at
    com.apple.buckyball.app.LaunchRunner.run(LaunchRunner.java:82)

    at
    com.apple.buckyball.app.LaunchRunner.callMain(LaunchRunner.java:44)

    at
    com.apple.buckyball.app.CarbonLibApp.launch(CarbonLibApp.java:67)

    Now if I remove the crimson.jar from the class path, it does
    start up
    successfully. But some errors do appear on the console:

    Trying to connect to jdbc:ashpool:file://config

    Connecting to: config

    java.lang.ClassNotFoundException:
    org.apache.crimson.parser.XMLReaderImpl

    Ashpool Query Error: java.sql.SQLException: Ashpool error:
    java.lang.NullPointerException

    java.sql.SQLException: Ashpool error:
    java.lang.NullPointerException

    at
    com.rohanclan.ashpool.jdbc.Statement.executeQuery(Statement.java:361)

    at com.robrohan.tools.AshpoolDB.executeQuery(AshpoolDB.java:42)

    at com.robrohan.fangorn.Fangorn.<init>(Fangorn.java:64)

    at com.robrohan.fangorn.Fangorn.main(Fangorn.java:490)

    at java.lang.reflect.Method.invoke(Native Method)

    at com.zerog.lax.LAX.launch(Unknown Source)

    at com.zerog.lax.LAX.main(Unknown Source)

    at java.lang.reflect.Method.invoke(Native Method)

    at
    com.apple.buckyball.app.LaunchRunner.run(LaunchRunner.java:82)

    at
    com.apple.buckyball.app.LaunchRunner.callMain(LaunchRunner.java:44)

    at
    com.apple.buckyball.app.CarbonLibApp.launch(CarbonLibApp.java:67)

    Startup Error: java.lang.NullPointerException

    java.lang.NullPointerException

    at com.robrohan.fangorn.Fangorn.<init>(Fangorn.java:71)

    at com.robrohan.fangorn.Fangorn.main(Fangorn.java:490)

    at java.lang.reflect.Method.invoke(Native Method)

    at com.zerog.lax.LAX.launch(Unknown Source)

    at com.zerog.lax.LAX.main(Unknown Source)

    at java.lang.reflect.Method.invoke(Native Method)

    at
    com.apple.buckyball.app.LaunchRunner.run(LaunchRunner.java:82)

    at
    com.apple.buckyball.app.LaunchRunner.callMain(LaunchRunner.java:44)

    at
    com.apple.buckyball.app.CarbonLibApp.launch(CarbonLibApp.java:67)

    Ashpool Query Error: java.sql.SQLException: Ashpool error:
    java.lang.NullPointerException

    java.sql.SQLException: Ashpool error:
    java.lang.NullPointerException

    at
    com.rohanclan.ashpool.jdbc.Statement.executeQuery(Statement.java:361)

    at com.robrohan.tools.AshpoolDB.executeQuery(AshpoolDB.java:42)

    at com.robrohan.fangorn.Fangorn.<init>(Fangorn.java:210)

    at com.robrohan.fangorn.Fangorn.main(Fangorn.java:490)

    at java.lang.reflect.Method.invoke(Native Method)

    at com.zerog.lax.LAX.launch(Unknown Source)

    at com.zerog.lax.LAX.main(Unknown Source)

    at java.lang.reflect.Method.invoke(Native Method)

    at
    com.apple.buckyball.app.LaunchRunner.run(LaunchRunner.java:82)

    at
    com.apple.buckyball.app.LaunchRunner.callMain(LaunchRunner.java:44)

    at
    com.apple.buckyball.app.CarbonLibApp.launch(CarbonLibApp.java:67)

    Desktop load error: java.lang.NullPointerException

    java.lang.NullPointerException

    at com.robrohan.fangorn.Fangorn.<init>(Fangorn.java:221)

    at com.robrohan.fangorn.Fangorn.main(Fangorn.java:490)

    at java.lang.reflect.Method.invoke(Native Method)

    at com.zerog.lax.LAX.launch(Unknown Source)

    at com.zerog.lax.LAX.main(Unknown Source)

    at java.lang.reflect.Method.invoke(Native Method)

    at
    com.apple.buckyball.app.LaunchRunner.run(LaunchRunner.java:82)

    at
    com.apple.buckyball.app.LaunchRunner.callMain(LaunchRunner.java:44)

    at
    com.apple.buckyball.app.CarbonLibApp.launch(CarbonLibApp.java:67)

    May 6 09:29:09 localhost /Applications/Treebeard
    0.8.2/Fangorn.app/Contents/MacOS/Fangorn: kCGErrorFailure :
    can't find name id 6 for font id 8494

    May 6 09:29:09 localhost /Applications/Treebeard
    0.8.2/Fangorn.app/Contents/MacOS/Fangorn: kCGErrorFailure :
    can't find name id 6 for font id 8495

    May 6 09:29:09 localhost /Applications/Treebeard
    0.8.2/Fangorn.app/Contents/MacOS/Fangorn: kCGErrorFailure :
    can't find name id 6 for font id 8497

    May 6 09:29:09 localhost /Applications/Treebeard
    0.8.2/Fangorn.app/Contents/MacOS/Fangorn: kCGErrorFailure :
    can't find name id 6 for font id 8498

    May 6 09:29:09 localhost /Applications/Treebeard
    0.8.2/Fangorn.app/Contents/MacOS/Fangorn: kCGErrorFailure :
    can't find name id 6 for font id 8499

     
  • Rob

    Rob - 2003-05-06

    Logged In: YES
    user_id=570959

    I am 99% sure this is due to the fact that you are running
    JVM 1.3 and not JVM1.4. I tried v0.8rc4 last night on XP
    with 1.4.0 and it worked fine. It says in the (limited) docs
    that you need 1.4 to run treebeard (actually 0.7 will work
    with 1.3 apparently).

    0.8rc4 will work with 1.3 but you will lose several things
    some of which are they following:
    * advanced syntax highlighting
    * templates
    * the ability to save the current desktop layout (Ents and
    file references)
    * skins

    Other than that is should still work, meaning the core of
    the program will still function. So there are a couple
    things you can do
    * upgrade to 1.4 (if possible)
    * down grade to Treebeard 0.7 (you can still use xslt 2.0
    parsers you just have to set them up yourself)

    Even if you have crimson.jar in your classpath and loaded,
    0.8rc4 uses functions that dont exist in JVM 1.3 so it will
    probably still error.

    Not what you wanted to hear I know, but the good news is if
    you are running XP upgrade to JVM1.4 and youll be fine.
    MacOSX pre 10.2 though will need to be downgraded to
    Treebeard 0.7 :(

     
  • Loren Rosen

    Loren Rosen - 2003-05-06

    Logged In: YES
    user_id=387536

    I think you're correct. I tracked down the place where the
    NoSuchMethod is occuring, and it's a call to
    String.replaceAll, which was added with JDK 1.4.

    I was kinda hoping to contribute to the development of the
    program, so it looks like I'll have to upgrade sooner rather
    than later.

     
  • Rob

    Rob - 2003-06-14
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks