Jump to content
We've recently updated our Privacy Statement, available here ×

jkratz

Members
  • Posts

    13
  • Joined

  • Last visited

jkratz's Achievements

Apprentice

Apprentice (3/14)

  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. I was able to successfully port my stuff to IR 3.5 after jumping thru some hoops: namely going back to release 3.5.0 source distro and setting up part of module in NB 6.01 since 6.7 was complaining that adding an option pane required NB platform 6.5+. The biggest problem right now is that I can't just distribute the module since I had to add a new data connection type to the IReportManager class. But still happy I was able to get this stuff to work...
  2. In iReport 3.0 there was a mechanism in place to create your own custom datasource connections. I used this facility to add some oracle-specific features we needed in-house. It was a simple matter of creating the class and adding the information to plugin.xml, jarring up the class and putting the plugin.xml inside an ireport folder in the jar. It would appear this isn't possible in iReport 3.5 based on netbeans but I wanted to double check. I was able to get the same functionality by modifying IReportManager and adding my new connection class to addDefaultConnectionImplementations(). Is there a way to do this externally? Or is that planned for a future release? Thanks Jason
  3. Also just checked the 3.5.0 source vs 3.5.1. 3.5.0 doesn't have the jasperreports-components module. 3.5.1 binary distribution has the jar but its not in the source distribution anywhere. there are also two build.xml files in the main root of the 3.5.1 src project. there are several in other areas as well. perhaps this source distribution isnt correct?
  4. Oops. forgot to mention this is on NB 6.7 beta with the 6.01 platform installed (and lastest jdk 1.6)
  5. There are lots of problems with the source distribution building on my install of NetBeans. The jasperreprots-components project is missing. I completely removed it and the build then occurs. There are a *ton* of warnings generated during the build and I'm not sure if they are important since the build completes without any errors and I can run whats there. Are there supposed to be lots of warnings generated during this process? and why the missing module?
  6. Hey thanks much! Can't believe I missed that thread while searching. I kind of figured that it was just creating a NetBeans plugin so I started down that road already. Looks like the other part of my plugin (a new JDBC connection) will work unmodified.
  7. I wrote a plugin for iReport 3.0 (the non-NB version) and would like to update it to work int the 3.5.1 NB version. Are there any documents anywhere about what is required for updating plugins for the new platform? Thanks, Jason
  8. Does the built-in hyperlink handling in jasper handle encoding or URLs? I'm taking a look in the source code and dont see any such handling. We are running into a problem where we have amperands in some url parameters (in company names). right now we get around it by doing a replaceall with the escape sequence but I'd expect this would be something the library should be handling itself under the covers? Am I missing something or does the library just not function like I'm expecting? thanks, Jason
  9. Is there any way to set the background color of the Flash viewer? the bgcolor param for the movie player doesn't seem to work and I need to set the color to something other than the gray- blue thats used . thanks, Jason
  10. OK. This is really odd and I'm posting this just in case someone might find themselves in the same situation with the same software. I'm running MyEclipse 6.5 with Weblogic 9.2 on Windows XP. We have been using JasperReports 3.0 for several releases of one of our web applications. I started with Jasper 2.0.5. Weblogic, when it runs, keeps a cache of items in your domain directory in a location similar to: C:optbeauser_projectsdomainsf58_domainserversAdminServertmp_WL_user_appsdir_rocketscienceApp_dirr6vnzfAPP-INFlib For some reason all 4 versions of the JasperReports library are in there when we only deploy one version to APP-INF/lib. The odd thing is that its not even the javaflow version we switched to when we moved to version 3 of the library. We now have versions 2.0.5, 3.0 (javaflow), 3.0.1 (javaflow), 3.1.0 (javaflow). (I had tried 3.1.0 in desperation). So not only did Lucian solve my problem but I also learned something new about the Class class and how to find out where resources are loading from.
  11. Lucian- You were right :) Somehow an old copy made its way into the deployment dir in a cache location and the system was loading stuff from there. Very odd but thanks a lot! I'll stop losing my hair now :) Jason
  12. Thanks Lucian. I'll give that a try. Pretty sure there arent older copies anywhere since I deleted even the copy of jasper 2.x that I had in a download directory :) But none of this makes sense so I'll follow your suggestion and see if somehow I missed something. Thanks, Jason
  13. On Windows I'm getting the follow stack trace when trying to load a compiled .jasper file (happens with any report...even very simple ones) java.lang.NullPointerException at net.sf.jasperreports.engine.JRPropertiesMap.readObject(JRPropertiesMap.java:185) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) Truncated. see log file for complete stacktrace I've seen this before when trying to load a compiled version of a report on a different version of JasperReports but in this case the library i'm using on Weblogic is jasperreports-3.0.1-javaflow.jar and the report was written/comiled with iReport 3.0.0. I have not set older compatibility, etc. The report actually runs fine in iReport as well. It also runs fine in the web environment when run on Linux or Mac OS X. I am having the issue on Windows XP and Vista. Java 1.5.0_16 running both the app server and iReport. I do not have any older versions of Jasper on my system .... everything is version 3. Doesn't make a difference whether I'm exporting to HTML, PDF, whatever. It simply can't load the compiled report. I've almost lost all my hair due to tearing it out over not being able to get around this NPE. I'm hoping someone here has an idea of what is going on. I've tried searching the bug tracker but, quite frankly, that tracker doesnt work worth a damn and I couldn't find anything. Why an open source java project isn't using JIRA is beyond me but thats another post. Thanks, Jason
×
×
  • Create New...